题解列表

筛选

字符菱形的c语言解法

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    char a;    scanf("%c",&a);    printf( "  %c  \n %c%c%……

老头也能看懂的for循环

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

新手必看,一正常,一函数递归

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() {    int n;    long long cows[55] = {0};     // 初始化前三年的母牛……

新手必看,俩for解决

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

c语言 30306:树的存储

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#define MAX_N 10000// 邻接表节点结构体typedef struct Nod……

通用的思维写出的

摘要:解题思路:注意事项:参考代码: public class Test {     public static void main(String[] args) {         Scanner ……