编写题解 2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; for(int i=0…… 题解列表 2023年04月25日 0 点赞 0 评论 206 浏览 评分:0.0
1005题: 温度转换 摘要:# 自己写的代码 ```c #include int main() { float n; scanf("%f",&n); printf("c=%.2f",5*(n-32)/9);…… 题解列表 2023年04月25日 0 点赞 0 评论 184 浏览 评分:0.0
亲和串-手写函数解决(c语言) 摘要:```c #include #include char str1[100000]; char str2[100000]; void cycle_str(char*,int len); …… 题解列表 2023年04月25日 0 点赞 0 评论 320 浏览 评分:9.9
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n; scanf("%d", &n); int a[n]; for (int…… 题解列表 2023年04月25日 0 点赞 0 评论 251 浏览 评分:0.0
[STL训练]寻梦(c语言gets过不了) 摘要:```c #include #include int main() { int n; scanf("%d", &n); getchar(); while (n--) {…… 题解列表 2023年04月25日 0 点赞 1 评论 293 浏览 评分:9.9
[STL训练]壮志难酬(c语言) 摘要:```c int main() { int t; scanf("%d", &t); while (t--) { char str[20] = { 0 }; int n;…… 题解列表 2023年04月25日 0 点赞 0 评论 297 浏览 评分:9.9
动态规划:类似最长递增子序列 摘要:# 动态规划 ## 解题思路 思考:如果求出了所有以每个数字结尾的且和为偶数的数量,则最终的答案是什么? $$ res = 1 + \sum_{1}^n 以nums[i]结尾且和为偶数…… 题解列表 2023年04月25日 0 点赞 1 评论 900 浏览 评分:9.7
C语言训练-通俗易懂代码---亲密数 摘要:解题思路:第一步:把这3000个数的因子全部统计下来 第二步:利用循环在循环中寻找符合条件的数注意事项:参考代码:#include<stdio.h>int kiss_num(…… 题解列表 2023年04月25日 0 点赞 1 评论 513 浏览 评分:9.9
有点浪费时间,不过稳定通过 摘要:参考代码:def fun(n): min_num=int(n[-1]) n=list(n) del n[-1] new_n='' for i in n: …… 题解列表 2023年04月25日 0 点赞 0 评论 278 浏览 评分:9.9
编写题解 3010: 奇偶数之和 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ int n; int sum=0,a=0; if(scanf("%d",&n)==EOF){…… 题解列表 2023年04月25日 0 点赞 0 评论 205 浏览 评分:0.0