回文数(python中函数的递归) 摘要:解题思路:注意事项:参考代码:while True: try: n = int(input()) count = 0 &n 题解列表 2023年01月26日 0 点赞 0 评论 1088 浏览 评分:9.9
快 速 排 序 ```c#include#includeintgg(constvoid*x,constvoid*y){return*(int*)x-*(int*)y;}intmain(){intn;inta[100000]={0};scanf("%d",&n);for(inti=0;i 题解列表 2023年01月26日 0 点赞 0 评论 927 浏览 评分:9.9
C++的通俗易懂方法 摘要:解题思路:拆解题目的过程,一次接一次地分析反弹的过程,从而能分析出反弹过程的共性和不同点注意事项:参考代码:#include <iostream>#include<cmath>#include<iom…… 题解列表 2023年01月27日 0 点赞 0 评论 740 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d %d…… 题解列表 2023年01月27日 0 点赞 1 评论 840 浏览 评分:9.9
过滤多余空格,不可能有比这还简单的!!!!!一看就懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i; char s[1000]; gets(s); for(i=0;s[i]!='…… 题解列表 2023年01月27日 0 点赞 0 评论 965 浏览 评分:9.9
2177 信息学奥赛一本通T1252-走迷宫(c++bfs版) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> #include<algorithm> #include…… 题解列表 2023年01月27日 0 点赞 0 评论 994 浏览 评分:9.9
2797: 最高的分数 摘要:```cpp #include using namespace std; int main() { int a,n,max; cin>>n; max=0; …… 题解列表 2023年01月29日 0 点赞 0 评论 954 浏览 评分:9.9
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 评论 1012 浏览 评分: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 评论 710 浏览 评分:9.9
2953: 特殊日历计算 ```cpp#include#includeusingnamespacestd;inta[100],yue[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};intmain(){intmyear=0,mmonth=0, 题解列表 2023年01月29日 0 点赞 0 评论 701 浏览 评分:9.9