1466: 蓝桥杯基础练习VIP-字符串对比 摘要:方法一: ```c #include #include #include void main() { char arr[10], brr[10]; scanf("%…… 题解列表 2022年02月09日 0 点赞 0 评论 248 浏览 评分:9.9
时间超限解决方案 摘要:解题思路:相信大部分人卡在了时间超限这儿,实际上就是判断质数时的比较次数太多了,如下给出解决注意事项:参考代码:#include<stdio.h>int judge(int n){ int a=1; …… 题解列表 2022年02月09日 0 点赞 0 评论 708 浏览 评分:6.3
python-回文日期 摘要:解题思路:采用循环,数据较大。不建议。直接构造回文日期,可以知道每年最多有一个回文日期。进行查找即可。注意事项:参考代码:s = input().strip() y = int(s[:4]) …… 题解列表 2022年02月09日 0 点赞 0 评论 1066 浏览 评分:9.9
编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 代码可能写的不是特别好还请谅解 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> int main () { int N; scanf("%d",&N); in…… 题解列表 2022年02月09日 0 点赞 0 评论 489 浏览 评分:9.9
连续自然数和(第一想法就是暴力解决) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 218 浏览 评分:0.0
只ac一半,我不理解,不用string头文件 摘要:解题思路:遍历字符串注意事项:判断字符串结尾参考代码:#include <stdio.h>int main() { char a[10010]; gets(a); int s = 0, b = 0, …… 题解列表 2022年02月09日 0 点赞 0 评论 204 浏览 评分:0.0
Hifipsysta-1771-[编程入门]链表之节点删除(C++代码) 摘要:```cpp #include using namespace std; struct node{ int id; int score; node* next;…… 题解列表 2022年02月09日 0 点赞 1 评论 238 浏览 评分:9.9
超级楼梯(递归的是神,迭代的是人) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 252 浏览 评分:0.0
老王赛马(C++语言逐一比较) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<cstdio>#include<cstring>#include<set>#include<string>#inc…… 题解列表 2022年02月09日 0 点赞 0 评论 337 浏览 评分:0.0
Hifipsysta-2024-链表删除练习(C++代码) 摘要:```cpp #include using namespace std; struct node{ int data; node* next; }; node…… 题解列表 2022年02月09日 0 点赞 0 评论 228 浏览 评分:0.0