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