1088: A+B for Input-Output Practice (IV) 摘要:#include<bits/stdc++.h> using namespace std; int main(){ int a,n; int sum; while…… 题解列表 2021年12月15日 0 点赞 0 评论 339 浏览 评分:9.9
1087: A+B for Input-Output Practice (III) 摘要:a 和 b 同时为 0 时跳出循环。#include<bits/stdc++.h> using namespace std; int main(){ int a,b; w…… 题解列表 2021年12月15日 0 点赞 0 评论 169 浏览 评分:0.0
1086: A+B for Input-Output Practice (II) 摘要:无脑打印。#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; i…… 题解列表 2021年12月15日 0 点赞 0 评论 239 浏览 评分:0.0
1085: A+B for Input-Output Practice (I) 摘要:无脑打印,没啥可说的。#include<bits/stdc++.h> using namespace std; int main(){ int a,b; while(ci…… 题解列表 2021年12月15日 0 点赞 0 评论 216 浏览 评分:0.0
适用新手代码 摘要:注意事项:1.题目说在所有的测试数据中,结果均不超过2.1*10^9所以long long用不了2.pow精度有问题过不了…… 题解列表 2021年12月14日 0 点赞 0 评论 365 浏览 评分:9.9
C++求1+2!+3!+...+N!的和 摘要:两次解决第一次是int类型,导致越界 改成long long 即可 ```cpp #include using namespace std; typedef long long ll;…… 题解列表 2021年12月14日 0 点赞 0 评论 438 浏览 评分:0.0
编写题解 2004: 统计成绩 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; for(int i=0;i<10;i…… 题解列表 2021年12月14日 0 点赞 0 评论 235 浏览 评分:0.0
编写题解 1065: 二级C语言-最小绝对值 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int a[10]; for…… 题解列表 2021年12月14日 0 点赞 0 评论 289 浏览 评分:0.0
1065: 二级C语言-最小绝对值 摘要:#include<bits/stdc++.h> using namespace std; int main(){ vector<int> a(10,0),b(10,0); …… 题解列表 2021年12月13日 0 点赞 0 评论 232 浏览 评分:0.0