对于初学者来说这个比较合适 摘要:解题思路:注意事项:参考代码#include<math.h>int main(){ double M,N; double h,s; scanf("%lf%lf",&M,&N); h=pow(0.5,N…… 题解列表 2021年11月06日 0 点赞 0 评论 394 浏览 评分:9.9
求s=a+aa+aaa+aaaa+aa...a的值(两种解法,不懂可私信) 摘要:参考代码:代码一:a,n=map(int,input().split())sum,s=0,0for i in range(n): s=10*s+a sum+=sprint(sum)代码二:…… 题解列表 2021年11月06日 0 点赞 0 评论 693 浏览 评分:6.0
1087我的主宰好困C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b;while (~scanf("%d %d",&a,&b)) { if (a!=0||b!=0…… 题解列表 2021年11月06日 0 点赞 1 评论 590 浏览 评分:9.9
1086 我好累成员你知道吗C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int x,y,z,n,m,a,b;scanf("%d\n%d %d\n%d %d",&n,&a,&b,&x…… 题解列表 2021年11月06日 0 点赞 0 评论 343 浏览 评分:0.0
1121: C语言训练-8除不尽的数 摘要:解题思路:if语句注意事项:参考代码:#include<stdio.h>int main(){ int n; for(n=9;n<2000;n++) { if(n%8==1) i…… 题解列表 2021年11月06日 0 点赞 0 评论 640 浏览 评分:9.9
1141: C语言训练-百钱百鸡问题(python) 摘要:解题思路:注意事项:参考代码:price = [5,3,1]s = 0cock = 0hen = 0chicken = 0num = 0for i in range(0,20): cock = …… 题解列表 2021年11月06日 0 点赞 0 评论 695 浏览 评分:0.0
2211 抱歉我投机取巧了C语言这 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int n,x,y;scanf("%d %d",&x,&y); n=x;x=y;y=n;printf("%d…… 题解列表 2021年11月06日 0 点赞 0 评论 516 浏览 评分:0.0
1669sorry 我失误得的C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ float s,r;scanf("%f",&r); s=3.1415*r*r;printf("%…… 题解列表 2021年11月06日 0 点赞 0 评论 352 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码)简单易懂 摘要:解题思路:将输入的字符串通过strlen判断长度,再将字符串和长度导入自定义函数中,并在自定义函数中完成对字母的提取注意事项:参考代码:#include<stdio.h>#include<string…… 题解列表 2021年11月06日 0 点赞 0 评论 879 浏览 评分:6.0
1668不好意思我是说C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ long long x;scanf("%ld",&x); printf("%#o %d %#x",x,x,x…… 题解列表 2021年11月06日 0 点赞 0 评论 390 浏览 评分:0.0