题解列表
1094: 字符串的输入输出处理
摘要:解题思路:题目描述:编写一个程序,从标准输入读取一系列字符串,并将它们输出到标准输出。首先读取一个整数N,表示接下来要读取的字符串数量。然后读取N个字符串,每个字符串后都有一个换行符。接着,程序会继续……
1147: C语言训练-角谷猜想
摘要:解题思路:循环注意事项:参考代码:#include <iomanip>#define PI 3.14159#include <bits/stdc++.h>using namespace std;int……
汽水瓶(能通过,有问题欢迎大佬指出)
摘要:```cpp
#include
using namespace std;
int main()
{
int num;
while(cin >> num)
……
题解 1009 数字的处理与判断
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,d,e,x; int i = 0,j,k; scanf("%……
分阶段咖啡粉就更加丰富和空间
摘要:解题思路:无注意事项:无参考代码:k=99while k<999: k=k+1 bai=k/100 bai=int(bai) shi=(int)((k-bai*100)/10)……
2836: 数组逆序重放
摘要:解题思路:注意事项:参考代码:n=int(input())s=list(map(int,input().split()))sq=s[::-1]print(*sq)……
1142立方和不等式(while循环)
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int n; cin >> n; in……
1141百钱百鸡问题(暴力求解)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ for (int i = 0; i <= 20; i++) { fo……
1140求车速(直接输出95959)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << "95959"; return 0;}……