python版本题解 摘要:解题思路:条件判断注意事项:这里自己写了一个四舍五入,直接用int也一样参考代码:s = int(input())def round(x): x = str(x) if x[x.index…… 题解列表 2023年01月16日 0 点赞 0 评论 437 浏览 评分:8.0
数字逆序输出(C语言指针) 摘要:解题思路:通过指针解决,通俗易懂注意事项:见代码注释参考代码:#include<stdio.h> //输入10个数字,然后逆序输出。 int main(){ int a[10] = {0};/…… 题解列表 2023年01月25日 1 点赞 1 评论 510 浏览 评分:8.0
菜鸟首次尝试(python)超简单解法 摘要:解题思路:注意事项:参考代码:n=int(input())for _ in range(n): x,y=map(int,input().split()) def realsum(n): …… 题解列表 2023年01月29日 0 点赞 0 评论 274 浏览 评分:8.0
ikun崩溃代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d ",&a,&b); c=a*b; printf("%d"…… 题解列表 2023年01月30日 0 点赞 0 评论 441 浏览 评分:8.0
1082: Tetrahedrons and Spheres 摘要:```cpp #include #include #include #include #include #define sqr(x)(x)*(x) using namespace std…… 题解列表 2023年01月31日 0 点赞 1 评论 351 浏览 评分:8.0
1782—————找出最长的字符串来 摘要: import java.util.Scanner; public class Main { public static void main(String[] …… 题解列表 2023年02月01日 0 点赞 0 评论 393 浏览 评分:8.0
第一个写题解的 有点意外哈哈 摘要:```c #include #include int main() { char a[1000]; int flag=0;//flag作为间断点 gets(a);//gets能接收…… 题解列表 2023年02月02日 0 点赞 0 评论 446 浏览 评分:8.0
文科生的悲哀(找规律) 摘要:解题思路:第一次第二次第三次第四次第五次政治历史政治历史政治地理历史地理综合政治地理地理观察题目和表格可以发现,奇数次的政治和地理的数目分别和上一奇数次的政治和地理的数目有关系,即第x次的政治数量为x…… 题解列表 2023年02月03日 0 点赞 0 评论 381 浏览 评分:8.0
鸡兔同笼问题 摘要:解题思路:数学方法解方程注意事项:参考代码:#include<stdio.h>int main(){ int n,x,y,m; scanf("%d%d",&x,&y); …… 题解列表 2023年02月03日 0 点赞 0 评论 538 浏览 评分:8.0
编写题解 3008: 买笔, 摘要:解题思路:注意事项:只因你太美参考代码:#include <iostream>using namespace std;int main(int argc, char** argv) {int x,y,…… 题解列表 2023年02月06日 0 点赞 2 评论 328 浏览 评分:8.0