过滤多余空格,不可能有比这还简单的!!!!!一看就懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; char s[1000]; gets(s); for(i=0;s[i]!='…… 题解列表 2023年01月27日 0 点赞 0 评论 783 浏览 评分:9.9
2177 信息学奥赛一本通T1252-走迷宫(c++bfs版) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年01月27日 0 点赞 0 评论 853 浏览 评分:9.9
2797: 最高的分数 摘要:```cpp #include using namespace std; int main() { int a,n,max; cin>>n; max=0; …… 题解列表 2023年01月29日 0 点赞 0 评论 792 浏览 评分:9.9
2969: 打印月历 摘要:```cpp #include using namespace std; int fun(int a,int b,int q); int main() { int i,j,m,n,…… 题解列表 2023年01月29日 0 点赞 0 评论 810 浏览 评分:9.9
2972: 除以13(c++代码) 摘要:```cpp #include #include using namespace std; const int N=1e5+10; void fwrite(int n) { if(n>…… 题解列表 2023年01月29日 0 点赞 0 评论 518 浏览 评分:9.9
2953: 特殊日历计算 摘要:```cpp #include #include using namespace std; int a[100],yue[13]={0,31,28,31,30,31,30,31,31,30,3…… 题解列表 2023年01月29日 0 点赞 0 评论 464 浏览 评分:9.9
1669: 求圆的面积 摘要:```cpp #include #include #define pi 3.1415926 using namespace std; int main() { float r; …… 题解列表 2023年01月29日 0 点赞 0 评论 642 浏览 评分:9.9
1670: 拆分位数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年01月29日 0 点赞 0 评论 509 浏览 评分:9.9
1671: 小九九 摘要:```cpp #include using namespace std; int main() { int i=1,p=1; for(p=1;p…… 题解列表 2023年01月29日 0 点赞 0 评论 776 浏览 评分:9.9
编写题解 2839: 石头剪刀布 摘要:解题思路:m[i]表示A,t[i]表示Bq表示A胜得次数,W表示B胜得次数同时注意输入完AB各自的出题规律后要循坏填补后面的对决,即创建一个满足N轮的对局数组注意事项:参考代码:a#include<s…… 题解列表 2023年01月29日 0 点赞 0 评论 756 浏览 评分:9.9