题解列表

筛选

通用的思维写出的

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

新手必看,俩for解决

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

字符菱形的c语言解法

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

数据结构-链表的基本操作--C语言

摘要:解题思路:保存题解注意事项:需要确保即使初始元素数量为 0,链表仍然有一个有效的头结点。这样可以避免在后续操作中因为 L 为 NULL 而导致的问题参考代码:#include <stdio.h> #……

简单易懂的解

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    char a[200];        gets(a);    i……

字符类型统计

摘要:解题思路:数组,便于想到注意事项:参考代码:#include<string.h>void fun(char a[]){ int p=0,b=0,c=0,d=0,i; int len=strlen(a)……