题解列表

筛选

P1025 (C语言代码)

摘要:解题思路:注意事项:输入数据的范围1~10^60,需要采用字符数组存储参考代码:#include<stdio.h> #include<string.h> int main(void) { ……

陶陶摘苹果 (C语言代码)

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

Manchester-字符串的输入输出处理

摘要:解题思路:1.有n+个待输入字符串;前面n个有空格,后面的字符串没有空格 (即后面:D O T CPP是四个字符串);2.因为前面n个字符串原样输出,先用for循环输入( 用gets() )前n个字符……

校门外的树 (C语言代码)

摘要:解题思路:我们只需要用数组模拟一下即可。参考代码:#include <stdio.h> #include <string.h> int main() {     int l, m;     ……