2120: 信息学奥赛一本通T1312-昆虫繁殖 摘要:解题思路:设两个数组,一个代表总数,一个代表卵数。注意事项:参考代码:#include<bits/stdc++.h> using namespace std; long long a[10000]…… 题解列表 2022年11月19日 0 点赞 0 评论 645 浏览 评分:9.9
1013: [编程入门]Sn的公式求和(通过通项公式实现) 摘要:解题思路:这里是应用高中内容求出2 22 222 2222......的通项公式求解首先我们可以很容易知道在n =(1,2,3......)时10^n = 10,100,1000......而再减去1…… 题解列表 2022年11月19日 0 点赞 0 评论 314 浏览 评分:9.9
糖果游戏(简单一般法) 摘要:解题思路:就是一个很简单的循环加上条件分支。注意事项:参考代码:#include<stdio.h>int main(){ int a[5]; int i=0; for(i=0;i<5…… 题解列表 2022年11月19日 0 点赞 6 评论 1071 浏览 评分:9.9
只是写写注意事项 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); getchar(); //这里写…… 题解列表 2022年11月19日 0 点赞 0 评论 839 浏览 评分:9.9
1181: 不容易系列2 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) { …… 题解列表 2022年11月19日 0 点赞 0 评论 448 浏览 评分:9.9
1182: 人民币问题 摘要:```cpp #include using namespace std; int main() { int a,b,c,count=0; int sum; cin…… 题解列表 2022年11月19日 0 点赞 0 评论 358 浏览 评分:9.9
1183: 人见人爱A+B 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; while(n--) …… 题解列表 2022年11月19日 0 点赞 0 评论 458 浏览 评分:9.9
1087: A+B for Input-Output Practice (III) C语言代码 摘要: #include int main() { int a,b; while(1) { …… 题解列表 2022年11月19日 0 点赞 0 评论 543 浏览 评分:9.9
大整数加法 摘要:解题思路:说白了,就是进位与ASCII码值的转换注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10000]={&…… 题解列表 2022年11月19日 0 点赞 6 评论 828 浏览 评分:9.9
通俗易懂好理解 摘要:参考代码:#include <stdio.h>int main(){ int i; int a[10000]; int n; scanf("%d",&n); for(i=0;i<n;i++){ a[…… 题解列表 2022年11月19日 0 点赞 0 评论 422 浏览 评分:9.9