题解列表

筛选

c语言代码解决问题

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

蛇形填数java

摘要:解题思路:注意事项:参考代码:package test;import java.util.*;public class Test1796 {    public static void main(St……

计算星期几java

摘要:解题思路:注意事项:参考代码Scanner scanner = new Scanner(System.in);int a = scanner.nextInt();int b = scanner.nex……

成绩排序(用结构体来做)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct student {     char name[20];     int……

超级玛丽游戏

摘要:解题思路:同理注意事项:参考代码:#include <stdio.h>int main(){    printf( "                ********\n"            " ……

1866: 三位数反转

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() {    ……

奇数单增序列

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

编写题解 2862: 字符串移位包含问题(C语言)

摘要:###strstr 是 C 语言标准库中的一个字符串处理函数,用于在一个字符串中查找另一个子字符串的第一次出现的位置。 strstr 函数返回一个指向第一次出现子字符串的指针。如果没有找到匹配的……

C语言训练-大、小写问题

摘要:解题思路:利用for循环,查看ASCII码值即可注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[100];    ……