1760: 字符序列模式识别 (Java代码) 摘要:import java.util.Scanner; public class Main { public static void main(String[] args) { Sca…… 题解列表 2022年01月28日 0 点赞 0 评论 590 浏览 评分:0.0
单词比较解决 摘要:解题思路:先用两个字符串记录关键词和待检查内容,然后用字符串数组放两行字符串中的单词,通过编写一个单词的比较函数解决注意事项:因为输入的字符串有空格,故要用nextLine()参考代码:import …… 题解列表 2022年01月28日 0 点赞 0 评论 364 浏览 评分:0.0
这个为啥不行(思路简单,过程繁多) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,n,x[100],y[100],z[100],k,t1,t2,t3; scanf("%d",&n…… 题解列表 2022年01月28日 0 点赞 0 评论 377 浏览 评分:0.0
自定义函数之字符提取 摘要:解题思路:定义两个字符数组,在第一个输入的数组中判断字符串中是否有元音字母,如果有则输入第二个数组。注意事项:调用函数时只需输入数组名即可,不需要再输入[],在将数组a的值赋给b数组之后,需要加一个b…… 题解列表 2022年01月28日 0 点赞 0 评论 357 浏览 评分:0.0
计算数字个数-题解(C++代码) 摘要:#include<iostream> using namespace std; const int N = 10010; char c[N]; //定义一…… 题解列表 2022年01月28日 0 点赞 0 评论 292 浏览 评分:0.0
二级C语言-最小绝对值 摘要:解题思路:寻找绝对值最小的数,与最后一位交换!注意事项:fabs:绝对值(需要头文件cmath或math.h)参考代码:…… 题解列表 2022年01月28日 0 点赞 0 评论 354 浏览 评分:0.0
蓝桥杯算法提高-秘密行动( C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int jump[10005];int climb[10005];int m_min(int x,int y){ return x…… 题解列表 2022年01月28日 0 点赞 0 评论 465 浏览 评分:0.0
1153: C语言训练-谁家孩子跑最慢* 摘要:解题思路:跑的慢没事,孩子,你可以好好学习,在其他方面胜过他们,加油,奥利给!注意事项:参考代码:#include<stdio.h>int a,b,c,d;void fun1(){ for(a=…… 题解列表 2022年01月28日 0 点赞 0 评论 382 浏览 评分:0.0
1154: C语言训练-邮票组合问题* 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[50],i,j,k,len;void fun1(){ len=0; for(i=0;i<=4;i++) {…… 题解列表 2022年01月28日 0 点赞 0 评论 329 浏览 评分:0.0
2059: [STL训练]sort练习 摘要:#include <bits/stdc++.h> using namespace std; bool cmp(int &a,int &b){ return a>b; } in…… 题解列表 2022年01月28日 0 点赞 0 评论 392 浏览 评分:0.0