题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<…… 题解列表 2023年11月25日 0 点赞 0 评论 279 浏览 评分:0.0
题解 2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double r; scanf("%lf",&r); pr…… 题解列表 2023年11月25日 0 点赞 0 评论 423 浏览 评分:0.0
字符串处理回文数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;int main(){ int n; int sum=0,…… 题解列表 2023年11月25日 0 点赞 0 评论 353 浏览 评分:9.9
大小写转换(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char ch[100]; while(gets(ch)){//while多…… 题解列表 2023年11月25日 0 点赞 0 评论 552 浏览 评分:0.0
结构体之时间设计 摘要:解题思路:注意事项:参考代码:def leap(year): if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0: …… 题解列表 2023年11月24日 1 点赞 0 评论 292 浏览 评分:10.0
发工资咯(C语言) 摘要:解题思路:使用贪心算法在每次循环迭代中,定义整数变量 salary 用于存储每个人的工资,并初始化一个计数变量 count 用于记录需要的纸币数量。同时,定义一个整数数组 money,其中包含了货币纸…… 题解列表 2023年11月24日 0 点赞 0 评论 834 浏览 评分:9.9
运用strtok函数和动态分配函数解决 摘要:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> int main() { char str[5000]; ch…… 题解列表 2023年11月24日 0 点赞 0 评论 341 浏览 评分:0.0
1003密码破译 摘要:解题思路:字符+4操作/*要将"China"译成密码,译码规律是:用原来字母后面的第4个字母代替原来的字母.例如,字母"A"后面第4个字母是"E"."E"代替"A"。因此,"China"应译为"Glm…… 题解列表 2023年11月24日 0 点赞 0 评论 451 浏览 评分:0.0
为什么我写的这么简单1 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<algorithm>using namespace std;int a[1111],b[1111],c[1111],d…… 题解列表 2023年11月24日 0 点赞 0 评论 355 浏览 评分:0.0
同因查找(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=10;i<1000;i++){ if(i%2==0&&i%3==0&&i%7==0) p…… 题解列表 2023年11月24日 0 点赞 0 评论 293 浏览 评分:0.0