1138求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N; cin >> N; int arr[15][15]; l…… 题解列表 2024年07月07日 0 点赞 0 评论 342 浏览 评分:0.0
1139求素数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int k = 2;//1 不是素数…… 题解列表 2024年07月07日 0 点赞 0 评论 166 浏览 评分:0.0
1140求车速(直接输出95959) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << "95959"; return 0;}…… 题解列表 2024年07月07日 0 点赞 0 评论 325 浏览 评分:0.0
1141百钱百鸡问题(暴力求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ for (int i = 0; i <= 20; i++) { fo…… 题解列表 2024年07月07日 0 点赞 0 评论 286 浏览 评分:0.0
1142立方和不等式(while循环) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int n; cin >> n; in…… 题解列表 2024年07月07日 0 点赞 0 评论 334 浏览 评分:0.0
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:n=int(input())s=list(map(int,input().split()))sq=s[::-1]print(*sq)…… 题解列表 2024年07月07日 0 点赞 0 评论 213 浏览 评分:0.0
分阶段咖啡粉就更加丰富和空间 摘要:解题思路:无注意事项:无参考代码:k=99while k<999: k=k+1 bai=k/100 bai=int(bai) shi=(int)((k-bai*100)/10)…… 题解列表 2024年07月07日 0 点赞 0 评论 157 浏览 评分:0.0
题解 1009 数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,d,e,x; int i = 0,j,k; scanf("%…… 题解列表 2024年07月07日 0 点赞 0 评论 134 浏览 评分:0.0
汽水瓶(能通过,有问题欢迎大佬指出) 摘要:```cpp #include using namespace std; int main() { int num; while(cin >> num) …… 题解列表 2024年07月07日 0 点赞 0 评论 149 浏览 评分:0.0
1147: C语言训练-角谷猜想 摘要:解题思路:循环注意事项:参考代码:#include <iomanip>#define PI 3.14159#include <bits/stdc++.h>using namespace std;int…… 题解列表 2024年07月07日 0 点赞 0 评论 101 浏览 评分:0.0