251、3166:练27.3 称心如意
#include<iostream>
using namespace std;
int main()
{
int x;
//cout<<"请输入成绩:";
//当输入的成绩小于0
//或大于100时要重新输入
do
{
cin>>x;
/*
if ( x< 0 || x>100)
{
//cout<<"请重新输入(1-100之间的数:)"<<endl;
}
*/
}while( x<0 || x>100 );
cout<<"成绩:"<<x<<endl;
return 0;
}
/*
作业:
2024:【例4.10】末两位数
http://ybt.ssoier.cn:8088/problem_show.php?pid=2024
2025:【例4.11】体操队
http://ybt.ssoier.cn:8088/problem_show.php?pid=2025
*/
252、3167:【例28.1】 统计奖牌
253、3168:【例28.2】 求出e的值
/*
1.5编程基础之循环控制_35求出e的值
http://noi.openjudge.cn/ch0105/35/
*/
#include<iostream>
#include<iomanip>
using namespace std;
int main(){
double n, e = 0, num = 1;
cin >> n;
for ( int i = 1; i <= n; i++){
num = num / i;
e = e + num;
}
e = e + 1;
cout << fixed << setprecision(10) << e << endl;
return 0;
}
254、3169:【例28.3】 数列分段
255、3170:练28.1 多边形内角和
/*
1.5编程基础之循环控制 08 多边形内角和
http://noi.openjudge.cn/ch0105/08/
*/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int n,sum,x,i;
scanf("%d",&n);
sum=(n-2)*180;
for(i=1;i<=n-1;i++)
{
scanf("%d",&x);
sum-=x;
}
printf("%d\n",sum);
return 0;
}
256、942.求N个输入数字的和 ( 课程A)
扫描二维码关注公众号,回复: 17352585 查看本文章
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,num,ans=0;
cin>>n;
for(int i=1;i<=n;i++)
{
cin>>num;
ans+=num;
}
cout<<ans<<endl;
return 0;
}
257、943.求正整数和 (课程A)
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,num,ans=0;
cin>>n;
for(int i=1;i<=n;i++)
{
cin>>num;
if( num>0 )
{
ans+=num;
}
}
cout<<ans<<endl;
return 0;
}
258、89.显示分数高低 (魔法学院第14课)
259、676.乐谱 (魔法学院第14课)
int main(){
int a,b;
cin>>a;
pen.size(10);
for(int i=1;i<=a;i++){
cin>>b;
pen.rr(10,b*30,b).up().rt(90).fd(15).lt(90).down();
}
return 0;
}
260、677.同心圆 (魔法学院第14课)
int main(){
int a,b;
cin>>a;
for(int i=1;i<=a;i++){
cin>>b;
pen.o(b,1).up().fd(b+10).text(b,2).bk(b+10);
}
return 0;
}
Go C画图 视频集与习题集
https://blog.csdn.net/dllglvzhenfeng/article/details/133845903
go c 程序填空题 go c 编程题 38-50题
https://blog.csdn.net/dllglvzhenfeng/article/details/132709267
GoC模拟赛、教学质量测试(第1关 -- 第13关)
https://blog.csdn.net/dllglvzhenfeng/article/details/134656314
GoC正式比赛集(第1关 -- 第12关)
https://blog.csdn.net/dllglvzhenfeng/article/details/134664798
Go C编程题(2745--2749)-- 5题
https://blog.csdn.net/dllglvzhenfeng/article/details/134698576
Go C 编程题(5359--5816)--6题
https://blog.csdn.net/dllglvzhenfeng/article/details/134697416
Go C编程题(7661--7674)-- 5题
https://blog.csdn.net/dllglvzhenfeng/article/details/134699387
Go C编程题(12504-12535)--6题
https://blog.csdn.net/dllglvzhenfeng/article/details/134705310
Go C编程题(20855--20862)-- 8题
https://blog.csdn.net/dllglvzhenfeng/article/details/134708317
Go C编程题(21811--21816)-- 6题
https://blog.csdn.net/dllglvzhenfeng/article/details/134709954
Go C编程题(32968-34079)-- 7题
https://blog.csdn.net/dllglvzhenfeng/article/details/134710066
GOC信息学竞赛真题讲解(15集)
https://blog.csdn.net/dllglvzhenfeng/article/details/134491910
2023年慧通信息学月度网络赛——GOC组(8题)
https://blog.csdn.net/dllglvzhenfeng/article/details/134687745
Go C画图 CSP-J CSP-S NOIP 信息学奥赛 测试题(81套)
https://blog.csdn.net/dllglvzhenfeng/article/details/134491215
GoC编程(C++画图) 视频和资料集 -- 2022.07.26
https://blog.csdn.net/dllglvzhenfeng/article/details/125986617
慧通教育 Go C编程 C++画图 学习资料、视频、习题集
https://blog.csdn.net/dllglvzhenfeng/article/details/134689774
小学生适宜几年级开始学C++
https://blog.csdn.net/dllglvzhenfeng/article/details/134476092