找第一个只出现一次的字符 摘要:参考代码: ```c #include #include int main() { char a[100000]; gets(a); int len=strlen(a); c…… 题解列表 2023年09月29日 0 点赞 0 评论 425 浏览 评分:9.9
单词倒排(使用 isalpha( ) ) 摘要:参考代码: ```c #include #include #include int main() { char a[1000]; fgets(a,sizeof(a),stdin);…… 题解列表 2023年09月29日 0 点赞 0 评论 329 浏览 评分:0.0
2781-奇偶ASCII值判断 char转int 摘要:import java.util.Scanner;public class Main{ public static void main(String[] args){ Scanne…… 题解列表 2023年09月28日 0 点赞 0 评论 538 浏览 评分:9.9
简单明了的解题法 摘要:解题思路:转置不就是吧(a,b)换成(b,a)么,我直接把循环嵌套输入的i,j倒过来不就实现了么注意事项:参考代码:#include<stdio.h>#include<math.h>int main(…… 题解列表 2023年09月28日 0 点赞 0 评论 478 浏览 评分:0.0
遍历树——直接硬搜(思路超简单) 摘要:解题思路:开多几个数组分别记录每个店的各种元素(也可以考虑用结构体)(a-父亲节点,b-该点具体值,c-左孩子节点,d-右孩子节点,p-旗帜 )本题的关键在于一个点距离另一个点的距离,函数中可设一个该…… 题解列表 2023年09月27日 0 点赞 0 评论 385 浏览 评分:9.9
标题五个字 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int m1,m2,n1,n2,isok=1; scanf("%d %d",&m1,&m2);…… 题解列表 2023年09月27日 0 点赞 0 评论 414 浏览 评分:9.9
1853: 蓝桥杯基础练习-数列排序 摘要:解题思路:注意事项:参考代码: #include<iostream> using namespace std; #include<vector> #include<algorithm> …… 题解列表 2023年09月27日 0 点赞 0 评论 382 浏览 评分:0.0
1850: 判断第几天 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string str; in…… 题解列表 2023年09月27日 0 点赞 0 评论 303 浏览 评分:0.0
简单重新排序一下列表,就可以了 摘要:解题思路:1、使输入的10个整数,组成一个列表2、在列表中寻找最小值的位置3、将最小值与列表第一位互换位置4、因为第一位已经是10个数的最小值了,所有从第二位开始,寻找第二位到第10位的最小值5、如上…… 题解列表 2023年09月27日 0 点赞 0 评论 288 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:#include<stdio.h>#include<stdlib.h>int partion(int a[], int i, int j){ int temp = a[i];…… 题解列表 2023年09月27日 0 点赞 0 评论 275 浏览 评分:0.0