1007: [编程入门]分段函数求值(简单易懂) 摘要:```c #include int main() { int x,y; scanf("%d", &x); if (x < 1) { y = x; } else if…… 题解列表 2023年01月29日 0 点赞 0 评论 271 浏览 评分:9.9
编写题解 2839: 石头剪刀布 摘要:解题思路:m[i]表示A,t[i]表示Bq表示A胜得次数,W表示B胜得次数同时注意输入完AB各自的出题规律后要循坏填补后面的对决,即创建一个满足N轮的对局数组注意事项:参考代码:a#include<s…… 题解列表 2023年01月29日 0 点赞 0 评论 589 浏览 评分:9.9
1671: 小九九 摘要:```cpp #include using namespace std; int main() { int i=1,p=1; for(p=1;p…… 题解列表 2023年01月29日 0 点赞 0 评论 673 浏览 评分:9.9
字符排列问题 摘要:解题思路:注意事项:参考代码:方法一:直接全排列再去重from itertools import permutationstry: while True: a=input() …… 题解列表 2023年01月29日 0 点赞 0 评论 188 浏览 评分:0.0
1670: 拆分位数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年01月29日 0 点赞 0 评论 338 浏览 评分:9.9
1669: 求圆的面积 摘要:```cpp #include #include #define pi 3.1415926 using namespace std; int main() { float r;…… 题解列表 2023年01月29日 0 点赞 0 评论 522 浏览 评分: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 评论 257 浏览 评分: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 评论 376 浏览 评分:9.9
2963: Tomorrow never knows? 摘要:输入的时候‘-’可以用getchar直接屏蔽掉 ```cpp #include #include using namespace std; bool IsLeapYear(int year)…… 题解列表 2023年01月29日 0 点赞 0 评论 281 浏览 评分:7.3
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 评论 629 浏览 评分:9.9