首页
DreamJudge
院校信息
考研初试
机试真题
讨论区
兑换中心
登录
注册
上岸
Candour
天天原神启动不训练,考研还想上岸?
关注
发消息
文章
0
题解
117
发帖
0
笔记
12
Ta的粉丝
69
关注数
2
粉丝数
69
获赞数
866
阅读数
120020
击鼓传花(C++) 题解:
#include<bits/stdc++.h> using namespace std; const int N = 110; int n; bool st[N]; vector<int> res; int main() { ci...
P1018
2024年4月20日 17:03
回复 0
|
赞 4
|
浏览 1.8k
复数 题解:
#include<bits/stdc++.h> using namespace std; float a, b, c, d; char ch; int main() { cin >> a >> b >> c >&g...
P1021
2024年4月20日 16:47
回复 0
|
赞 3
|
浏览 797
链表合并 题解:
#include<bits/stdc++.h> using namespace std; vector<int> A; int n, m; int main() { cin >> n; for(int i = 0; i &...
P1025
2024年4月20日 16:31
回复 0
|
赞 4
|
浏览 983
删除字符串 题解:
#include<bits/stdc++.h> using namespace std; int main() { string str; getline(cin, str); for(int i = 0; i < str.size();...
P1026
2024年4月20日 16:22
回复 0
|
赞 10
|
浏览 1.2k
字母频率 (C++11 哈希表)题解:
#include<bits/stdc++.h> using namespace std; unordered_map<char, int> res; int main() { string str; getline(c...
P1019
2024年4月20日 16:09
回复 0
|
赞 6
|
浏览 811
字符分类 题解:
#include<bits/stdc++.h> using namespace std; int main() { string str; getline(cin, str); string num, c, oth...
P1016
2024年4月20日 16:06
回复 0
|
赞 10
|
浏览 941
幂次方(快速幂) 题解:
#include<bits/stdc++.h> using namespace std; int mod = 233333; int x, n; int qmi(int a, int b) { int res = 1 % mod...
P1017
2024年4月20日 15:58
回复 0
|
赞 6
|
浏览 890
删除最大最小数 题解:
题目叙述不清,需要特判 #include<bits/stdc++.h> using namespace std; const int N = 110; int a[N]; int n; int main() { cin >>...
P1022
2024年4月20日 15:55
回复 0
|
赞 6
|
浏览 779
删除字符串2 题解:
#include<bits/stdc++.h> using namespace std; int main() { string str; getline(cin, str); for(int i = 0; i < str.size();...
P1027
2024年4月20日 15:21
回复 0
|
赞 8
|
浏览 1.2k
加密算法 题解:
#include<bits/stdc++.h> using namespace std; int main() { string str; getline(cin, str); for(int i = 0; i < str....
P1014
2024年4月20日 12:15
回复 0
|
赞 4
|
浏览 878
判断素数 题解:
#include<bits/stdc++.h> using namespace std; int n; bool cheak(int n) { if(n == 1) return false; for(int i = 2; i * i &l...
P1013
2024年4月20日 12:12
回复 0
|
赞 4
|
浏览 795
IP地址 题解:
#include<bits/stdc++.h> using namespace std; char num[1010]; bool cheak(string str) //判断合法性 { int cnt = 0, sum = 0; for(int i ...
P1023
2024年4月20日 00:29
回复 0
|
赞 8
|
浏览 1.2k
日期 题解:
#include<iostream> using namespace std; string w[8] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", ...
P1011
2024年4月20日 00:21
回复 0
|
赞 11
|
浏览 1.4k
字符移动 题解:
#include<bits/stdc++.h> using namespace std; int main() { string str, num, ot; cin >> str; for(int i ...
P1012
2024年4月20日 00:17
回复 0
|
赞 3
|
浏览 1.1k
0和1的个数 (位运算)题解:
#include<bits/stdc++.h> using namespace std; int n, cnt; int main() { cin >> n; while(n) { if(n & 1) cnt ++; ...
P1008
2024年4月20日 00:07
回复 0
|
赞 5
|
浏览 1.1k
整除 题解:
#include<bits/stdc++.h> using namespace std; int cnt; int main() { for(int i = 100; i <= 1000; i ++) { if(i %...
P1007
2024年4月20日 00:03
回复 0
|
赞 16
|
浏览 1.3k
字符串翻转 题解:
#include<bits/stdc++.h> using namespace std; int main() { string s; getline(cin, s); reverse(s.begin(), s.end...
P1006
2024年4月19日 23:51
回复 0
|
赞 8
|
浏览 895
1
...
4
5
6
本科学校:星穹铁道职业技术学院
目标学校:贵州大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!