信息学奥赛一本通T1260-拦截导弹 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义数组a和b,长度为1100,n初…… 题解列表 2024年12月01日 0 点赞 0 评论 139 浏览 评分:0.0
1765: 循环入门练习2题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int sum=0; for(int i=0;i…… 题解列表 2024年12月01日 1 点赞 0 评论 177 浏览 评分:9.9
1766: 循环入门练习3题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int sum=0; int n; cin…… 题解列表 2024年12月01日 1 点赞 0 评论 188 浏览 评分:9.9
1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:注意阶乘不要超过20,否则超了LONG LONG的范围参考代码:#include<bits/stdc++.h>using namespace std;int main(){ lon…… 题解列表 2024年12月01日 1 点赞 0 评论 266 浏览 评分:9.9
编写题解 2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<…… 题解列表 2024年12月01日 2 点赞 0 评论 546 浏览 评分:9.9
3010: 奇偶数之和题解 摘要:参考代码:#include<iostream>using namespace std;int main(){ int n,s=0,t=0; cin>>n; for(int i=1;i<=n…… 题解列表 2024年12月01日 1 点赞 0 评论 248 浏览 评分:9.9
编写题解 1004: [递归]母牛的故事 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std; int main () { int cow[56] = {0,1,2,3,4}; …… 题解列表 2024年12月01日 4 点赞 0 评论 757 浏览 评分:9.9
2000: 偶数列举题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; for(int i=2;i<…… 题解列表 2024年12月01日 1 点赞 0 评论 419 浏览 评分:9.9
1004: [递归]母牛的故事题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std; int main () { int cow[56] = {0,1,2,3,4}; …… 题解列表 2024年12月01日 2 点赞 0 评论 543 浏览 评分:10.0
编写题解 3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,s=0,t=0; cin>>n; for(in…… 题解列表 2024年12月01日 3 点赞 1 评论 246 浏览 评分:9.9