邮票组合问题——桶排 摘要:解题思路: 建立一个数组当作桶,把每次的算出的结果对应桶中的位置加一,遍历桶数组,如果此位置大于一 说明有这种情况 res++,遍历完res要减去1(0张3分 0张5分的情况),输出res `…… 题解列表 2023年10月09日 0 点赞 0 评论 559 浏览 评分:9.9
C语言训练-大、小写问题 摘要:解题思路:利用for循环,查看ASCII码值即可注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; …… 题解列表 2023年10月09日 0 点赞 0 评论 351 浏览 评分:0.0
编写题解 2862: 字符串移位包含问题(C语言) 摘要:###strstr 是 C 语言标准库中的一个字符串处理函数,用于在一个字符串中查找另一个子字符串的第一次出现的位置。 strstr 函数返回一个指向第一次出现子字符串的指针。如果没有找到匹配的…… 题解列表 2023年10月09日 0 点赞 0 评论 709 浏览 评分:9.9
谁考了第k名(这例子不明显,题意也不够明确,这是从大到小排序的,用二维数组做下) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n,k; scanf("%d%d",&n,&k); double a[n][2];/…… 题解列表 2023年10月09日 0 点赞 0 评论 375 浏览 评分:0.0
奇数单增序列 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); int a[n]; int b; in…… 题解列表 2023年10月09日 0 点赞 0 评论 259 浏览 评分:0.0
1866: 三位数反转 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<bits/stdc++.h> using namespace std; int main() { …… 题解列表 2023年10月09日 0 点赞 0 评论 390 浏览 评分:0.0
超级玛丽游戏 摘要:解题思路:同理注意事项:参考代码:#include <stdio.h>int main(){ printf( " ********\n" " …… 题解列表 2023年10月09日 1 点赞 0 评论 1097 浏览 评分:10.0
成绩排序(用结构体来做) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct student { char name[20]; int…… 题解列表 2023年10月09日 0 点赞 0 评论 488 浏览 评分:0.0
计算星期几java 摘要:解题思路:注意事项:参考代码Scanner scanner = new Scanner(System.in);int a = scanner.nextInt();int b = scanner.nex…… 题解列表 2023年10月09日 0 点赞 0 评论 431 浏览 评分:9.9
蛇形填数java 摘要:解题思路:注意事项:参考代码:package test;import java.util.*;public class Test1796 { public static void main(St…… 题解列表 2023年10月09日 0 点赞 0 评论 645 浏览 评分:9.9