数字整除(水题但投机取巧) 摘要:```c #include int main(){ char s[200]; int i,sum; while(scanf("%s",s)&&(s[0]!='0')){ s…… 题解列表 2023年01月11日 2 点赞 0 评论 314 浏览 评分:9.9
思路清晰,看了就懂 摘要:#include<stdio.h> int main(){ long long a,b,n,sum=0; long long t=0,day,T=0,i=0; scanf("%lld %lld %l…… 题解列表 2023年01月11日 0 点赞 3 评论 630 浏览 评分:9.9
[编程入门]报数问题(水题) 摘要:```c #include int f(int n,int m){ if(n==1) return 0;//递归出口 else return (f(n-1,3)+3)%n; } in…… 题解列表 2023年01月11日 0 点赞 0 评论 219 浏览 评分:9.9
2900: 螺旋加密 摘要:```cpp #include using namespace std; int a[25][25],b[90],c[25][25],d[410]; int main() { in…… 题解列表 2023年01月11日 0 点赞 0 评论 352 浏览 评分:9.9
2795: 财务管理 摘要:解题思路:注意事项:参考代码:s = ave = 0for i in range(0,12): a = float(input()) s = s + aave = s / 12print(…… 题解列表 2023年01月11日 0 点赞 0 评论 806 浏览 评分:9.9
2849: 石头剪子布 摘要:```cpp #include using namespace std; int main() { int N; cin>>N; string str1,str2…… 题解列表 2023年01月11日 0 点赞 0 评论 512 浏览 评分:9.9
Hello, world!(水题) 摘要:```c #include int main(){ int a[100],i=0,j; while(scanf("%d",&a[i])!=EOF){ i++; } fo…… 题解列表 2023年01月11日 0 点赞 3 评论 308 浏览 评分:9.9
关于“金银岛”的普通解法 摘要:关于“金银岛”的普通解法 前言:刚学完贪心算法初步,本来想看看大佬们的代码,但是题解很少也看不懂(~—~),所以只好自己写。代码及思路可能比较low,欢迎各位大佬斧正! 大致思路: 1.用一…… 题解列表 2023年01月11日 0 点赞 2 评论 658 浏览 评分:9.9
最简约易懂求平方根 摘要:解题思路:一直迭代注意事项:迭代参考代码:a=float(input())x1=a/2x2=(x1+a/x1)/2while abs(x1-x2)>0.00001: x1=x2 x2=(x…… 题解列表 2023年01月11日 1 点赞 0 评论 745 浏览 评分:9.9
成绩(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,s; scanf("%d%d%d",&a,&b,&c); s=a*0…… 题解列表 2023年01月11日 0 点赞 0 评论 522 浏览 评分:9.9