首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
camling
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
44
发帖
0
笔记
22
Ta的粉丝
18
关注数
1
粉丝数
18
获赞数
334
阅读数
25606
句子正序 题解:用vector将每个单词存储再进行输出
#include <iostream> #include <vector> #include <sstream> using namespace std; int main() { string sentence; ...
P1004
2025年3月26日 16:00
回复 0
|
赞 0
|
浏览 14
最大公共子串 题解:
#include <iostream> #include <cstring> #include <bits/stdc++.h> using namespace std; int main() { string s1,...
P1855
2025年3月26日 15:45
回复 0
|
赞 0
|
浏览 21
分组统计 题解:
#include<iostream> #include<map> #include<set> #include<iomanip> #include<vector> #include<string> using ...
P1448
2025年3月20日 15:02
回复 0
|
赞 1
|
浏览 83
字符串解析 题解:
#include<iostream> #include<string> #include<sstream> #include<set> using namespace std; //aaabbcaaabaa int main(){ ...
P1903
2025年3月20日 13:53
回复 0
|
赞 1
|
浏览 131
完数与盈数 题解:
#include<iostream> #include<cmath> #include<vector> #include<set> using namespace std; bool isE(int x){ ...
P1460
2025年3月20日 00:31
回复 0
|
赞 0
|
浏览 50
多项式的值 题解:
#include<iostream> #include<vector> #include<cmath> using namespace std; int main(){ int m; ...
P1436
2025年3月20日 00:02
回复 0
|
赞 0
|
浏览 73
邮票2 题解:
#include<iostream> #include<map> using namespace std; int main(){ map<int,int> m; map&...
P1462
2025年3月19日 23:47
回复 0
|
赞 0
|
浏览 56
复数相加 题解:
#include<iostream> #include<string> #include<iomanip> using namespace std; class fushu{ public: &n...
P1438
2025年3月19日 23:29
回复 0
|
赞 0
|
浏览 31
重载运算符 题解:
#include<iostream> #include<iomanip> #include<cmath> using namespace std; class angle{ public: &nb...
P1434
2025年3月19日 23:09
回复 0
|
赞 2
|
浏览 67
旋转矩阵 - 北航 题解:
一直80%,找不到哪里错了,求大佬解惑 #include <bits/stdc++.h> using namespace std; int main(){ int a; &n...
P1377
2025年3月11日 16:50
回复 0
|
赞 4
|
浏览 210
字符移动 题解:简洁版
#include <iostream> using namespace std; int main(){ string s,s1,s2; getline(cin,s); for(int i = 0;i < s.size();i ++){ ...
P1012
2024年6月30日 15:44
回复 2
|
赞 14
|
浏览 993
查找1 题解:bool数组标记+map标记
bool数组标记 #include <iostream> #include <string.h> using namespace std; int n,m,a[1000],x,f[1000]; int main(){ int n; ...
P1388
2024年8月16日 16:17
回复 0
|
赞 1
|
浏览 594
字符串翻转 题解:getline
#include <iostream> using namespace std; int main(){ string s; getline(cin,s); for(int i = s.size() - 1;i >= 0;i --){ ...
P1006
2024年6月30日 15:21
回复 1
|
赞 15
|
浏览 1.1k
南京理工-搬箱子 题解:最长递增子序列
#include <bits/stdc++.h> using namespace std; const int N = 1e3 + 10; int s[N],dp[N]; int longSeq(int s[],int n){ for(int i = 0...
P1840
2024年7月25日 15:25
回复 0
|
赞 3
|
浏览 421
南京理工-求阶乘 题解:注意可能爆int
#include <iostream> using namespace std; typedef long long LL; int main(){ int n; cin >> n; LL ans = 1; for(LL...
P1837
2024年7月25日 14:33
回复 0
|
赞 1
|
浏览 491
南京理工-括号匹配 题解:stack + 顺序入栈(跟普通括号匹配有差别)
#include <bits/stdc++.h> using namespace std; int main(){ string s; while(cin >> s){ stack<char> ss; for(int...
P1838
2024年7月25日 14:30
回复 0
|
赞 8
|
浏览 607
整数奇偶排序 题解:模板题
#include <bits/stdc++.h> using namespace std; const int maxn = 1000 + 10; int arr[maxn]; bool cmp(int x,int y){ if(x % 2 == 1 &...
P1248
2024年7月6日 21:35
回复 0
|
赞 10
|
浏览 601
进制转换 题解:模板+二进制+字符串的处理
#include <iostream> #include <string.h> #include <algorithm> #include <string> using namespace std; string conve...
P1178
2024年7月6日 21:34
回复 0
|
赞 25
|
浏览 915
字符串排序 题解:sort(s.begin(),s.end())
#include <iostream> #include <algorithm> using namespace std; int main(){ string s; cin >> s; sort(s.begin(),s.end...
P1254
2024年7月6日 21:22
回复 0
|
赞 9
|
浏览 721
最简真分数 题解:最小公倍数+最大公约数
#include <iostream> #include <algorithm> using namespace std; const int N = 1000; int gcdx(int a,int b){ return b ? gcdx(...
P1180
2024年7月6日 21:21
回复 0
|
赞 2
|
浏览 653
1
2
3
本科学校:郑州大学
目标学校:桂林电子科技大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!