3011:【例4.2】 天安门广场的面积
[例 4.2] 求天安门广场的面积
3011:【例4.2】 天安门广场的面积
第3课 天安门广场 《小学生C++趣味编程》--C++、Scratch
/*
3011:【例4.2】 天安门广场的面积
http://bas.ssoier.cn:8086/problem_show.php?pid=3011
*/
#include <bits/stdc++.h>
using namespace std;
int main( void )
{
int ans;
ans=880*500;
cout<<ans<<endl;
return 0;
}
3012:练4.1 阿布拉1
练 4.1 阿布拉 1
3012:练4.1 阿布拉1
第7课 阿布拉卡达布拉《小学生C++趣味编程》
第7课 阿布拉卡达布拉《小学生C++趣味编程》_尼克是一位好学的学生,他经常做实验。有一天他在做实验的时候需要交换一瓶x毫升的红墨水和一瓶y毫升的蓝-CSDN博客
#include<bits/stdc++.h>
using namespace std;
int main()
{
cout<<"a=10 b=20"<<endl<<"a=20 b=10"<<endl;
return 0;
}
scratch3代码:
3013:练4.2 列朋波骨
练 4.2 列朋波骨
3013:练4.2 列朋波骨
第4课 列朋波骨《小学生C++趣味编程》
#include<bits/stdc++.h>
using namespace std;
int main(){
printf("5");
return 0;
}
3014:练4.3 3个连续数
练4.3 3个连续数
3014:练4.3 3个连续数
#include<bits/stdc++.h>
using namespace std;
int main(){
cout<<"100\n101\n102";
return 0;
}
3015:练4.4 牛吃牧草
练 4.4 牛吃牧草 2063:【例1.4】牛吃牧草
3015:练4.4 牛吃牧草
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a;
a=(15*20-20*10)/(20-10);
cout<<a;
return 0;
}
信息学奥赛一本通·编程启蒙 C++版 3001-3010(10题)
信息学奥赛一本通·编程启蒙 C++版 3011-3020(10题)