1094: 字符串的输入输出处理 摘要:解题思路:题目描述:编写一个程序,从标准输入读取一系列字符串,并将它们输出到标准输出。首先读取一个整数N,表示接下来要读取的字符串数量。然后读取N个字符串,每个字符串后都有一个换行符。接着,程序会继续…… 题解列表 2024年07月07日 1 点赞 0 评论 429 浏览 评分:10.0
1147: C语言训练-角谷猜想 摘要:解题思路:循环注意事项:参考代码:#include <iomanip>#define PI 3.14159#include <bits/stdc++.h>using namespace std;int…… 题解列表 2024年07月07日 0 点赞 0 评论 93 浏览 评分:0.0
汽水瓶(能通过,有问题欢迎大佬指出) 摘要:```cpp #include using namespace std; int main() { int num; while(cin >> num) …… 题解列表 2024年07月07日 0 点赞 0 评论 138 浏览 评分: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 评论 125 浏览 评分: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 评论 150 浏览 评分:0.0
2836: 数组逆序重放 摘要:解题思路:注意事项:参考代码:n=int(input())s=list(map(int,input().split()))sq=s[::-1]print(*sq)…… 题解列表 2024年07月07日 0 点赞 0 评论 204 浏览 评分:0.0
1142立方和不等式(while循环) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int n; cin >> n; in…… 题解列表 2024年07月07日 0 点赞 0 评论 301 浏览 评分:0.0
1141百钱百鸡问题(暴力求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ for (int i = 0; i <= 20; i++) { fo…… 题解列表 2024年07月07日 0 点赞 0 评论 271 浏览 评分:0.0
1140求车速(直接输出95959) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << "95959"; return 0;}…… 题解列表 2024年07月07日 0 点赞 0 评论 313 浏览 评分:0.0
1139求素数问题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin >> n; int k = 2;//1 不是素数…… 题解列表 2024年07月07日 0 点赞 0 评论 159 浏览 评分:0.0