自定义函数之整数处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i = 0,j=0,num=0,max=0,min=0; int a[10]; for (i = 0; …… 题解列表 2023年01月29日 0 点赞 0 评论 305 浏览 评分:0.0
表达式括号匹配(stack) 栈的基本应用 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;stack<char>ver;//存放'(' 如果遇到 ')…… 题解列表 2023年01月29日 0 点赞 0 评论 537 浏览 评分:0.0
2797: 最高的分数 摘要:```cpp #include using namespace std; int main() { int a,n,max; cin>>n; max=0; …… 题解列表 2023年01月29日 0 点赞 0 评论 779 浏览 评分:9.9
]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d", &n); int i = 0; int m = 0; int a[100]…… 题解列表 2023年01月29日 0 点赞 0 评论 443 浏览 评分:0.0
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 评论 785 浏览 评分:9.9
2963: Tomorrow never knows? 摘要:输入的时候‘-’可以用getchar直接屏蔽掉 ```cpp #include #include using namespace std; bool IsLeapYear(int year)…… 题解列表 2023年01月29日 0 点赞 0 评论 425 浏览 评分:7.3
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 评论 499 浏览 评分: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 评论 444 浏览 评分:9.9
1669: 求圆的面积 摘要:```cpp #include #include #define pi 3.1415926 using namespace std; int main() { float r; …… 题解列表 2023年01月29日 0 点赞 0 评论 627 浏览 评分:9.9
1670: 拆分位数 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年01月29日 0 点赞 0 评论 483 浏览 评分:9.9