编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include<string.h>int main(){ int x,count; …… 题解列表 2024年09月06日 0 点赞 0 评论 149 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char str[100];…… 题解列表 2024年09月06日 1 点赞 0 评论 276 浏览 评分:0.0
编写题解 1013: [编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int everyresult(int n);int ma…… 题解列表 2024年09月06日 0 点赞 0 评论 145 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:解题思路:注意事项:注意结果范围,防止溢出参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>long long everyres…… 题解列表 2024年09月06日 0 点赞 0 评论 441 浏览 评分:0.0
数字的处理与判断(新手) 摘要:解题思路:我这个没有用数组的方法来写,非常简单,新手都看得懂,但是不是满分注意事项:希望大佬帮我调一下参考代码:import java.util.Scanner;public class Main {…… 题解列表 2024年09月07日 0 点赞 0 评论 272 浏览 评分:0.0
1042: [编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; gets(a); for(int…… 题解列表 2024年09月07日 0 点赞 0 评论 282 浏览 评分:0.0
[编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100]; for(int i=0;i<3;i++) { scanf…… 题解列表 2024年09月07日 0 点赞 0 评论 409 浏览 评分:0.0
台球碰撞,有没有会员爸爸把测试用例截一下图发出来啊,在这给您磕头了 摘要:这是我的代码,思路是走一步,就做一次边界碰撞检测,如果碰到边界了就改变角度 a 继续走。题示的测试用例能算出正确结果,提交后的第一个测试用例也能通过,但第二个就通不过了,四条边界正向,负向的反弹考虑了…… 题解列表 2024年09月07日 1 点赞 0 评论 305 浏览 评分:0.0
我不敢说我的最简洁,但是我的代码肯定是最简单易懂的 摘要:```c #include #include #define MAX 256 // 定义字符数组的最大长度为256 void STRCAT(char *s1, char *s2) { …… 题解列表 2024年09月07日 0 点赞 0 评论 102 浏览 评分:0.0
01背包问题(一个物品只能选一次) 摘要:解题思路:注意事项:1. 动态规划问题,它的思想其实就是先保存所有情况,然后在所有情况中找到解,可以创建一个”备忘录“,把每一个情况写到这个备忘录中,直到所有的情况都写到备忘录的时候,找到我们满意的…… 题解列表 2024年09月09日 0 点赞 0 评论 229 浏览 评分:0.0