2152: 信息学奥赛一本通T1324-整数区间 摘要:解题思路:爱要不要,满星好评注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n; struct hd{ int ks,j…… 题解列表 2023年01月04日 0 点赞 0 评论 736 浏览 评分:8.0
将每个数字存入数组 摘要:解题思路:数组求解注意事项:参考代码:#include<stdio.h>int main(){ int n,t,i=0,j,cnt=0,a[20]; scanf("%d",&n); while(n){…… 题解列表 2023年01月04日 1 点赞 0 评论 571 浏览 评分:8.0
3047: Crossing River 摘要:解题思路:运用双循环,完成多次操作,在运用数学方法注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[100005],t,n;…… 题解列表 2023年01月05日 0 点赞 0 评论 801 浏览 评分:8.0
[编程基础]输入输出练习之输出图案 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c; scanf("%c",&c); printf(" %c\n",c…… 题解列表 2023年01月07日 0 点赞 0 评论 1102 浏览 评分:8.0
甲流疫情死亡率 摘要:解题思路:注意事项:因为有百分号,所以应该给结果乘100参考代码:#include<stdio.h>int main(){ int a,b; double t; scanf("%d %d",&a,&b…… 题解列表 2023年01月07日 0 点赞 0 评论 1085 浏览 评分:8.0
3004: 成绩(c++代码) 摘要:最后的输出结果要是整型才能通过哦! ```cpp #include using namespace std; int main() { int a,b,c; cin>>a…… 题解列表 2023年01月08日 0 点赞 0 评论 707 浏览 评分:8.0
二级C语言-平均值计算(水题) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[11],i,cnt=0,sum=0; double average; for(i=0;i<10;i…… 题解列表 2023年01月09日 0 点赞 0 评论 773 浏览 评分:8.0
二级C语言-最小绝对值(水题) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int i,a[100],min,t,index; for(i=…… 题解列表 2023年01月10日 0 点赞 0 评论 529 浏览 评分:8.0
1320: 字符串展开 ```cpp#include#includeusingnamespacestd;intp1,p2,p3,sub_s,ji=1;strings,s1,s_j;boolf=false;voidp1_otther(){charr=s[sub_s+1]-1, 题解列表 2023年01月11日 0 点赞 0 评论 883 浏览 评分:8.0
1267: A+B Problem 摘要:```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; cout…… 题解列表 2023年01月12日 0 点赞 0 评论 658 浏览 评分:8.0