当前位置:网站首页>大马驮2石粮食,中马驮1石粮食,两头小马驮一石粮食,要用100匹马,驮100石粮食,如何分配?
大马驮2石粮食,中马驮1石粮食,两头小马驮一石粮食,要用100匹马,驮100石粮食,如何分配?
2022-08-11 03:06:00 【Slxa 安.】
目录
1.运行代码
<script>
for(x=1;x<=50;x++){
for(y=1;y<=100;y++){
for(z=1;z<=100;z++){
if(x+y+z==100 && 2*x+y+z/2==100){
console.log(x,y,z);
}
}
}
}
</script>2.运行结果

边栏推荐
- Vim and copy and paste from the outside (don't need to install the plugin)
- 【idea 报错】 无效的目标发行版:17 的解决参考
- The 125th day of starting a business - a note
- Mysql_Note3
- What does the sanction of the mixer Tornado mean for the DeFi market?
- 二叉树相关代码题【较全】C语言
- "How to kick a bad habit to read notes?
- Idea (优选)cherry-pick操作
- BUU刷题记录
- AI+医疗:使用神经网络进行医学影像识别分析
猜你喜欢
随机推荐
输入起始位置,终止位置截取链表
What does the sanction of the mixer Tornado mean for the DeFi market?
CSDN blog replacement skin
MongoDB 基础了解(二)
深度学习中的模型设计
JS-DOM元素对象
Mysql_Note6
Vulnhub靶机:GEMINI INC_ 2
Economic Misunderstandings in the Crypto World: Is Cash a Savings?Scarcity creates value?
混币器Tornado遭制裁 对DeFi市场意味着什么?
添加用户报错useradd: cannot open /etc/passwd
7 sorting algorithms that are often tested in interviews
ES进阶 函数功能语法新特性详解
互换性测量技术-几何误差
The most unlucky and the luckiest
[4G/5G/6G专题基础-154]: 5G无线准入控制RAC(Radio Admission Control)
面试常考的7种排序算法
四大组件---ContentResolver
带你系统学习MySQL索引
ES进阶 数组功能语法新特性详解









