1310基础解法(Python) 摘要:解题思路:轮子有巨人给我们造好了,只要好好利用起来就很简单(eval())注意事项:注意题目的输入,多试错几次看看是哪些数据有问题,更正即可参考代码:string = input()string = …… 题解列表 2022年11月18日 0 点赞 0 评论 407 浏览 评分:9.9
1391基础解法(Python) 摘要:解题思路:注意事项:参考代码:import sysfor line in sys.stdin: line = list(map(int,line[1:].split())) line.so…… 题解列表 2022年11月18日 0 点赞 0 评论 411 浏览 评分:9.9
高精度加法(简单版) 摘要:解题思路:用数组用数组用数组(重要的事情说三遍)注意事项:注意进位和逆序输入输出参考代码:#include<stdio.h>#include<string…… 题解列表 2022年11月19日 1 点赞 0 评论 424 浏览 评分:9.9
2120: 信息学奥赛一本通T1312-昆虫繁殖 摘要:解题思路:设两个数组,一个代表总数,一个代表卵数。注意事项:参考代码:#include<bits/stdc++.h> using namespace std; long long a[10000]…… 题解列表 2022年11月19日 0 点赞 0 评论 777 浏览 评分:9.9
1013: [编程入门]Sn的公式求和(通过通项公式实现) 摘要:解题思路:这里是应用高中内容求出2 22 222 2222......的通项公式求解首先我们可以很容易知道在n =(1,2,3......)时10^n = 10,100,1000......而再减去1…… 题解列表 2022年11月19日 0 点赞 0 评论 377 浏览 评分:9.9
糖果游戏(简单一般法) 摘要:解题思路:就是一个很简单的循环加上条件分支。注意事项:参考代码:#include<stdio.h>int main(){ int a[5]; int i=0; for(i=0;i<5…… 题解列表 2022年11月19日 0 点赞 6 评论 1144 浏览 评分:9.9
只是写写注意事项 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); getchar(); //这里写…… 题解列表 2022年11月19日 0 点赞 0 评论 912 浏览 评分:9.9
1181: 不容易系列2 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) { …… 题解列表 2022年11月19日 0 点赞 0 评论 518 浏览 评分:9.9
1182: 人民币问题 摘要:```cpp #include using namespace std; int main() { int a,b,c,count=0; int sum; cin…… 题解列表 2022年11月19日 0 点赞 0 评论 422 浏览 评分:9.9
1183: 人见人爱A+B 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; while(n--) …… 题解列表 2022年11月19日 0 点赞 0 评论 523 浏览 评分:9.9