首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
cc12345
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
28
发帖
0
笔记
0
Ta的粉丝
0
关注数
0
粉丝数
0
获赞数
98
阅读数
3590
默契考验 题解:采用sort函数整理大小
#include<bits/stdc++.h> using namespace std; int main() { int count; cin>>count; int stu[3]; for(int i=0;i<count;i++) { ...
P1873
2025年3月17日 18:46
回复 0
|
赞 0
|
浏览 49
字符串排序 题解:
#include<bits/stdc++.h> using namespace std; bool cmp_up(char a,char b) { return a<b; } int main(){ string s; getline(cin,s); ...
P1254
2025年3月17日 16:35
回复 0
|
赞 1
|
浏览 92
排序 题解:采用冒泡排序将奇数分在左边,偶数在右边,然后找到奇偶分界点,后stable_sort
#include<bits/stdc++.h> using namespace std; bool cmp_up(int a,int b) { return a<b; } int main(){ int count; cin>>count; ...
P1010
2025年3月17日 15:30
回复 0
|
赞 3
|
浏览 169
删除字符串2 题解:后值覆盖gzu,判断数目再输出。
#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); int len=s.length(); int num=0; for(int i=0;i<l...
P1027
2025年3月17日 10:41
回复 0
|
赞 8
|
浏览 228
字母统计 题解:用数组1到26记录出现次数;
#include<bits/stdc++.h> using namespace std; int main() { string s; getline(cin,s); int num[27]={0}; for(int i=1;i<=26;i++) //字母循...
P1292
2025年3月16日 20:52
回复 0
|
赞 5
|
浏览 143
字符移动 题解:(假)冒泡排序法
#include< bits/stdc++.h> using namespace std; int main() { string s; getline(cin,s); int len=s.length(); for(int i=0;i<len-1;i++) ...
P1012
2025年3月16日 20:40
回复 0
|
赞 3
|
浏览 142
加密算法 题解:注意使用getline(cin,s);函数,即可;
#include< bits/stdc++.h> using namespace std; char zifu(char s) { if(isupper(s)|| islower(s)){ if(s=='X') return s='A'; ...
P1014
2025年3月16日 19:23
回复 0
|
赞 9
|
浏览 236
消消乐 题解:C++方式题解
#include< bits/stdc++.h> using namespace std; int main() { int num; cin>>num; for(int i=0;i<num;i++) { int count; cin>&g...
P1869
2025年3月16日 11:42
回复 0
|
赞 0
|
浏览 81
1
2
本科学校:昆明学院
目标学校:云南大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!