题解列表

筛选

编写题解 1954: 话费计算

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define p 50#define a 0.4int main(){ int n; float m; scanf("%d",&n);……

C语言训练-排序问题<1>

摘要:#include<stdio.h>   int main() {     int a[4];     int i,j,t;     for(i=0;i<4;i++)         sc……

题解 1169: 绝对值排序

摘要:#include<stdio.h> #include<math.h> int main() {     int i,j,t,n;     while(scanf("%d",&n)!=EO……

数组插入处理——c语言版

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10],n,j; for(i=0;i<9;i++) scanf("%d",&a[i]); sc……

字符串编码(C++)

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){   string str;   cin >> str;   int ……

超好懂的字符串的连接

摘要:解题思路:就两个char 类型的函数呗,先输入,在写一个函数用另一个数组将它们存储,最后输出即可;注意事项:注意先后顺序即可;参考代码:#include<stdio.h>#include<string……

[编程入门]选择排序

摘要:#include<stdio.h> int main() { int a[10],min,key,i,j; for(i=0;i<10;i++) {     scanf("%d ……

SInzoL--题解 1264: 防御导弹

摘要:####看到大多数的题解都是用数组记忆,再比较最大值来做的,我给大家提供一个不同的思路:dfs(超弱的) ###粘代码: ```cpp #include using namespace std……