A+B for Input-Output Practice (V) from beiqiao (C++) 摘要:#include<iostream> using namespace std; int main() { int m; int n=0; int sum=0; …… 题解列表 2022年01月23日 0 点赞 0 评论 135 浏览 评分:0.0
A+B for Input-Output Practice (IV) from beiqiao (C++) 摘要:#include<iostream> using namespace std; int main() { int m; int n=0; int sum=0; …… 题解列表 2022年01月23日 0 点赞 0 评论 160 浏览 评分:0.0
python-质因数2 摘要:解题思路:注意事项:注意输入为质数时直接输出参考代码:from math import sqrt def Isprime(x): for i in range(…… 题解列表 2022年01月23日 0 点赞 0 评论 356 浏览 评分:0.0
A+B for Input-Output Practice (III) from beiqiao (C++) 摘要:#include<iostream> using namespace std; int main() { int a,b; while((cin>>a>>b)&&!(a==0&…… 题解列表 2022年01月23日 0 点赞 0 评论 152 浏览 评分:0.0
A+B for Input-Output Practice (II) from beiqiao (C++) 摘要:for循环:#include<iostream> using namespace std; int main() { int a,b; int c; cin>>c;…… 题解列表 2022年01月23日 0 点赞 0 评论 136 浏览 评分:0.0
A+B from beiqiao(C++) 摘要:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b) //编译器…… 题解列表 2022年01月23日 0 点赞 0 评论 175 浏览 评分:0.0
蚂蚁感冒 python 思路非常棒的一道题,编程即数学 摘要:解题思路:可以把碰头回头改为交叉带病,完全等价注意事项:参考代码:n=int(input())q=list(map(int,input().split()))x=q[0]num=1for i in r…… 题解列表 2022年01月23日 0 点赞 1 评论 302 浏览 评分:9.9
[编程入门]求和训练 摘要:```python a,b,c = map(int,input().split()) seq_a = [i for i in range(1,a+1)] seq_b = [i**2 for …… 题解列表 2022年01月22日 0 点赞 0 评论 247 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:```python def gcd(a, b): return a if b == 0 else gcd(b,a%b) a,b = map(int,input().split()) …… 题解列表 2022年01月22日 0 点赞 0 评论 269 浏览 评分:0.0
分糖果 python 考验copy的使用 摘要:解题思路:注意事项:参考代码:import copyn=int(input())v=list(map(int,input().split()))num=0def check(v): flag=1 …… 题解列表 2022年01月22日 0 点赞 0 评论 287 浏览 评分:0.0