2826: 雇佣兵(python) 摘要:解题思路:注意事项:参考代码:from decimal import * M,N,X = map(int,input().split()) while X > 0 and X * N >= M: …… 题解列表 2023年02月22日 0 点赞 0 评论 519 浏览 评分:0.0
2867: 单词的长度 c++简洁版 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main() { boo…… 题解列表 2023年02月22日 0 点赞 0 评论 526 浏览 评分:0.0
<计算机二级>计负均正(C语言) 摘要:#include<stdio.h> int main() { int arr[20],count=0,sum=0; float ave; for (int i = 0; i < 20;…… 题解列表 2023年02月22日 0 点赞 0 评论 356 浏览 评分:0.0
辗转相除求因子(极简C语言) 解题思路:从最小质数开始除,辗转相除,除出所有同一个质数,才到下一个质数,除到最后一个质数为止注意事项:不将数n直接循环遍历,用中介t代替,因为过程中数n会被重赋值,进入死循环。参考代码:#includeintmain(){intx, 题解列表 2023年02月22日 0 点赞 0 评论 464 浏览 评分:0.0
简单易懂!!! 摘要:解题思路:注意事项:scanf("%d\n",&n);只有这样写是对的,如果写成scanf("%d",&n);getchar();//用getchar读取换行符是错的,不知道为什么,希望有大神指导参考…… 题解列表 2023年02月22日 0 点赞 0 评论 528 浏览 评分:0.0
C语言 破解简单密码 算法简单 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>void fun(char s[]){ int i; …… 题解列表 2023年02月23日 0 点赞 0 评论 496 浏览 评分:0.0
C语言链表解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> typedef struct Link{ int data; struct Link *next; }Link; //循…… 题解列表 2023年02月23日 0 点赞 0 评论 547 浏览 评分:0.0
记录解题过程。 摘要:解题思路: 注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double x1, x2,x3,x4; d…… 题解列表 2023年02月23日 0 点赞 0 评论 514 浏览 评分:0.0
简单易懂!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[25],str2[25]; gets(str); char…… 题解列表 2023年02月23日 0 点赞 0 评论 514 浏览 评分:0.0
借鉴楼上的 存下来 以后多看看 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char a[1000];int b[1000],c[1000],d[1000],k…… 题解列表 2023年02月23日 0 点赞 0 评论 497 浏览 评分:0.0