编写题解 2791: 计算邮资向上取整 摘要:解题思路:注意事项:500克整数倍参考代码:#include <stdio.h>int main(){ int x,y; char z; scanf("%d %c",&x,&z); …… 题解列表 2023年07月04日 0 点赞 0 评论 375 浏览 评分:0.0
2791: 计算邮资 摘要: #include int main() { int a,b,m; char c; scanf("%d %c",&a,&c); if(a1000) { …… 题解列表 2023年07月04日 0 点赞 0 评论 469 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数(三种方法) 摘要:解题思路:注意事项:参考代码: 方法一:#include <stdio.h>/*输入两个正整数m和n,求其最大公约数和最小公倍数。*/int m1011(){ int m,n; int mm=0,ss…… 题解列表 2023年07月05日 0 点赞 0 评论 379 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码: #include <stdio.h> #include <string.h> /* 输入一行字符,分别统计出其中英文字母、数字、空格和其他字符的…… 题解列表 2023年07月05日 0 点赞 0 评论 363 浏览 评分:0.0
机器翻译(队列写法) 摘要:解题思路:按照队列的思想依次引入单词,并附加st来记录单词是否已经学过。注意事项:参考代码:#include<iostream>#include<algorithm>#include<queue>#i…… 题解列表 2023年07月05日 0 点赞 0 评论 462 浏览 评分:0.0
1042题 :电报加密 摘要:# 自己写的代码 ```c #include #include int main() { char a[20]; gets(a); int len; len=strlen…… 题解列表 2023年07月05日 0 点赞 0 评论 355 浏览 评分:0.0
1043题 : 三个数字的排序 摘要:# 自己写代码 ```c #include int main() { int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a>b){ …… 题解列表 2023年07月05日 0 点赞 0 评论 444 浏览 评分:0.0
1044题 : 三个字符串的排序 摘要:# 自己写的代码(没有写完,代码不好) ```c #include #include int main() { char a[20],b[20],c[20]; get…… 题解列表 2023年07月05日 0 点赞 0 评论 373 浏览 评分:0.0
负值 平均值 正值 代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[20]; float b=0; int c=0; double j=0; …… 题解列表 2023年07月06日 0 点赞 0 评论 384 浏览 评分:0.0