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 评论 658 浏览 评分:9.9
2963: Tomorrow never knows? 摘要:输入的时候‘-’可以用getchar直接屏蔽掉 ```cpp #include #include using namespace std; bool IsLeapYear(int year)…… 题解列表 2023年01月29日 0 点赞 0 评论 604 浏览 评分:7.3
2969: 打印月历 ```cpp#includeusingnamespacestd;intfun(inta,intb,intq);intmain(){inti,j,m,n,t,d,s=0;cin>>m>>n;t=abs(fun(m,n,1));if(m%4==0&&m%100!=0||m%400==0)s=1;switc 题解列表 2023年01月29日 0 点赞 0 评论 982 浏览 评分: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 评论 595 浏览 评分:0.0
2797: 最高的分数 摘要:```cpp #include using namespace std; int main() { int a,n,max; cin>>n; max=0; …… 题解列表 2023年01月29日 0 点赞 0 评论 911 浏览 评分:9.9
表达式括号匹配(stack) 栈的基本应用 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;stack<char>ver;//存放'(' 如果遇到 ')…… 题解列表 2023年01月29日 0 点赞 0 评论 719 浏览 评分:0.0
自定义函数之整数处理 摘要:解题思路:注意事项:参考代码:#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 评论 464 浏览 评分:0.0
编写题解 2263: 蓝桥杯2015年第六届真题-饮料换购 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main1 { public static void main(String[] arg…… 题解列表 2023年01月28日 0 点赞 0 评论 492 浏览 评分:0.0
同行列对角线的格子 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ //同行列对角线的格子 int n; scanf("%d", &n);//n*n形式的矩阵(从1开始) i…… 题解列表 2023年01月28日 0 点赞 0 评论 716 浏览 评分:0.0
2877: 同行列对角线的格子 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d", &n);//n*n int i, j; scanf("%d %d", …… 题解列表 2023年01月28日 0 点赞 0 评论 512 浏览 评分:0.0