题目 1117: K-进制数 摘要:解题思路:本题采用排列组合的方式,保证严格递增,以题目为例,共七位,分为三组;最高位为0时,只需要后两位严格递增即可,如何保证呢,从范围内抽取两个数即可满足,抽取两个数,我们就指定它用递增方式去放。所…… 题解列表 2022年12月25日 0 点赞 1 评论 382 浏览 评分:9.9
1144:自守数问题-C语言printf大法 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { printf("0 1 5 6 25 76 376 625 9376 90625 …… 题解列表 2022年12月24日 0 点赞 0 评论 424 浏览 评分:0.0
吾乃元始天尊!1083: Hello, world! 摘要:#### 输入然后输出(简单so easy:beers:) ```cpp #include using namespace std; int main() { int n; whil…… 题解列表 2022年12月24日 0 点赞 0 评论 473 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题6.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double M,sum=0,N,t; int i; scanf("%lf %lf",&M,&N);…… 题解列表 2022年12月24日 0 点赞 0 评论 376 浏览 评分:9.9
石头剪子布,硬解(doge) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n; char a[10],b[10]; scan…… 题解列表 2022年12月24日 1 点赞 0 评论 1126 浏览 评分:9.9
1144一行解(Python) 摘要:解题思路:掌握lambda写法注意事项:注意结构的顺序,不建议解题这样书写参考代码:print((' '.join(n for n in list(map(lambda x : &#…… 题解列表 2022年12月24日 0 点赞 0 评论 540 浏览 评分:9.0
1479:删除数组中的0元素 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int count = 0; void CompactIntegers(int a[], int gt); //数组元素,数组元…… 题解列表 2022年12月24日 0 点赞 0 评论 597 浏览 评分:10.0
公共子序列 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int dp[1005][1005];int main(){ string s1,…… 题解列表 2022年12月24日 0 点赞 0 评论 380 浏览 评分:0.0
简单明了,看了就懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while (scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2022年12月24日 0 点赞 0 评论 366 浏览 评分:0.0
用筛法求之N内的素数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,t; scanf("%d",&n); for(i=2;i<=n…… 题解列表 2022年12月24日 0 点赞 0 评论 288 浏览 评分:0.0