3011: 余数相同问题 摘要:``` #include using namespace std; int main(){ int a,b,c,x=2; cin>>a>>b>>c; for( int i=1; ;i…… 题解列表 2023年11月13日 0 点赞 0 评论 224 浏览 评分:6.0
2788: 晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d", &a); if (1==a || 3==a || 5==…… 题解列表 2023年11月13日 0 点赞 0 评论 169 浏览 评分:0.0
2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d", &a, &b); if (a<60 && b>…… 题解列表 2023年11月13日 0 点赞 0 评论 256 浏览 评分:0.0
2823: 计算分数加减表达式的值 摘要:``` #include using namespace std; int main(){ int n; double sum=0; cin>>n; for( int i=1; …… 题解列表 2023年11月13日 0 点赞 0 评论 238 浏览 评分:9.9
链表报数问题(Python) 摘要:解题思路:注意事项:参考代码:def find_last_person(n): people = list(range(1, n + 1)) current = 0 # 当前报数人的…… 题解列表 2023年11月13日 0 点赞 0 评论 310 浏览 评分:0.0
c代码记录之自定义函数数字分离-C 摘要:解题思路:注意事项:参考代码:#includevoid output(char num[]) { int i; for(i=0;i<4;i++) printf(…… 题解列表 2023年11月13日 0 点赞 0 评论 168 浏览 评分:0.0
python编写a%b 摘要:解题思路:跟a+b一样的思路只是改运算符,具体注意事项参照a+b参考代码:while True: try: a,b=map(int,input().strip().split()) print(a…… 题解列表 2023年11月13日 0 点赞 0 评论 247 浏览 评分:0.0
c代码记录之自定义函数字符提取 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> void imp(char str[],char output[],int n) …… 题解列表 2023年11月13日 0 点赞 0 评论 168 浏览 评分:0.0
python编写a+b 摘要:解题思路:用while语句让它一直循环,不然直接打印会只对百分之五十。while语句有始有终,需要用break跳出注意事项:注意代码前面空格的位置参考代码:while True: try: …… 题解列表 2023年11月13日 1 点赞 0 评论 1112 浏览 评分:0.0
计算浮点数相除的余数 摘要:解题思路:按要求做答注意事项:参考代码:#include<stdio.h>#define PI 3.14159void main(){ //计算两个双精度浮点数a和b的相除的余数,a和b都是正数的。 …… 题解列表 2023年11月13日 0 点赞 0 评论 706 浏览 评分:9.3