1088——————A+B for Input-Output Practice (IV) 摘要:题目:1088: A+B for Input-Output Practice (IV) **题目描述** Your task is to Calculate the sum of some int…… 题解列表 2022年08月20日 0 点赞 0 评论 486 浏览 评分:0.0
1132: C语言训练-最大数问题(答案提示标记数不输出不运算) 摘要:解题思路:do while语句输入,for语句比较运算注意事项:题目中没有明确标记数-1的处理。从提交结果看,-1只是标记,既不输出,也不参与比较运算,否则就会‘答案错误’参考代码:#include<…… 题解列表 2022年08月20日 0 点赞 0 评论 327 浏览 评分:0.0
1087——————A+B for Input-Output Practice (III) 摘要:题目:1087: A+B for Input-Output Practice (III) **题目描述** Your task is to Calculate a + b. ——翻译(来源百度翻…… 题解列表 2022年08月20日 0 点赞 0 评论 495 浏览 评分:0.0
1086——————A+B for Input-Output Practice (II) 摘要:题目:1086: A+B for Input-Output Practice (II) **题目描述** The first line integer means the number of in…… 题解列表 2022年08月20日 0 点赞 0 评论 508 浏览 评分:0.0
1085——————A+B for Input-Output Practice (I) 摘要:题目:1085: A+B for Input-Output Practice (I) **题目描述** Your task is to Calculate a + b. Too easy?! Of…… 题解列表 2022年08月20日 0 点赞 0 评论 472 浏览 评分:0.0
2576——————解码 摘要: n = input() #输入字符串 H3el5o2 s = '' #建空字符串 because输入是字符串 for i in range(len(n…… 题解列表 2022年08月20日 0 点赞 0 评论 504 浏览 评分:9.9
用一个数组存储 摘要:```cpp #include //挺简单的用一个数组各个数字 using namespace std; int q[5]; int main() { int n,cnt=0,num=…… 题解列表 2022年08月20日 0 点赞 0 评论 352 浏览 评分:0.0
[编程入门]矩阵对角线求和 摘要:解题思路:利用二维数组,用两层for循环将元素输入,之后再输出。注意事项:无。参考代码:#include<stdio.h>int main(){ int arr[3][3]; for(in…… 题解列表 2022年08月20日 0 点赞 1 评论 457 浏览 评分:9.9
开心的金明-C语言 摘要:解题思路: 典型0/1背包问题,套用0/1背包问题公式sum[i][j]=max(sum[i-1][j],sum[i-1][j-v[i]]+p[i]*v[i])即可。总钱数N代表背包容量,物品…… 题解列表 2022年08月19日 0 点赞 0 评论 576 浏览 评分:4.7
编写题解 1120: C语言训练-"水仙花数"问题2 摘要:C语言训练-"水仙花数"问题1https://blog.dotcpp.com/a/89516 ```c //水仙花数问题2 #include #include void IsDaffod…… 题解列表 2022年08月19日 0 点赞 0 评论 435 浏览 评分:9.9