python-回文日期 摘要:解题思路:采用循环,数据较大。不建议。直接构造回文日期,可以知道每年最多有一个回文日期。进行查找即可。注意事项:参考代码:s = input().strip() y = int(s[:4]) …… 题解列表 2022年02月09日 0 点赞 0 评论 1219 浏览 评分:9.9
编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 代码可能写的不是特别好还请谅解 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main () { int N; scanf("%d",&N); in…… 题解列表 2022年02月09日 0 点赞 0 评论 616 浏览 评分:9.9
连续自然数和(第一想法就是暴力解决) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 341 浏览 评分:0.0
只ac一半,我不理解,不用string头文件 摘要:解题思路:遍历字符串注意事项:判断字符串结尾参考代码:#include <stdio.h>int main() { char a[10010]; gets(a); int s = 0, b = 0, …… 题解列表 2022年02月09日 0 点赞 0 评论 349 浏览 评分:0.0
Hifipsysta-1771-[编程入门]链表之节点删除(C++代码) 摘要:```cpp #include using namespace std; struct node{ int id; int score; node* next;…… 题解列表 2022年02月09日 0 点赞 1 评论 346 浏览 评分:9.9
超级楼梯(递归的是神,迭代的是人) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 404 浏览 评分:0.0
老王赛马(C++语言逐一比较) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 452 浏览 评分:0.0
Hifipsysta-2024-链表删除练习(C++代码) 摘要:```cpp #include using namespace std; struct node{ int data; node* next; }; node…… 题解列表 2022年02月09日 0 点赞 0 评论 374 浏览 评分:0.0
1118: Tom数(C语言版) 摘要:```c #include #include void main() { char str[10]={ '0' }; while (scanf("%s", str) != …… 题解列表 2022年02月09日 0 点赞 4 评论 687 浏览 评分:7.3
统计立方数(C++语言) 摘要:解题思路:将int范围内所有的立方数统计在一个数组里注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set…… 题解列表 2022年02月09日 0 点赞 0 评论 537 浏览 评分:0.0