首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
阿灿
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
81
发帖
0
笔记
0
Ta的粉丝
0
关注数
0
粉丝数
0
获赞数
282
阅读数
11063
矩阵翻转 题解:打印
#include<bits/stdc++.h> using namespace std; int main(){ int n,i,j; int sn[100][100]; cin>>n; for(i=0;i<n;i++){ for(j...
P1134
2025年3月15日 17:22
回复 0
|
赞 3
|
浏览 148
疯狂的小面包 题解:
#include<bits/stdc++.h> using namespace std; int main(){ float D,X,Y,T; while(cin>>D>>X>>Y>>T){ ((D/X+T)&l...
P1128
2025年3月15日 17:17
回复 0
|
赞 1
|
浏览 195
求三角形的面积 题解:海伦公式 注意一下精度
//海伦公式 #include<bits/stdc++.h> using namespace std; int main(){ double a[6]; int i; double x,y,z,p,ans; while (cin >> a[0]...
P1125
2025年3月15日 17:05
回复 0
|
赞 9
|
浏览 243
陶陶摘苹果 题解:
#include<bits/stdc++.h> using namespace std; int main(){ int sn[11],n=10,h,ans=0; while(n--){ cin>>sn[n]; } cin>>h...
P1084
2025年3月15日 16:44
回复 0
|
赞 1
|
浏览 74
杨辉三角形 题解:直接画一个就行了吧
#include<bits/stdc++.h> using namespace std; int main(){ int n,i,j,sn[21][21]={0}; sn[1][1]=1; sn[2][1]=1; sn[2][2]=1; for(i=3;...
P1062
2025年3月15日 16:30
回复 0
|
赞 8
|
浏览 250
阶乘和 题解:直接算吧
#include<bits/stdc++.h> using namespace std; long long n[22]={1}; long long sn[22]={0}; int main(){ int i,num; for(i=1;i<=20;i++...
P1044
2025年3月15日 06:35
回复 0
|
赞 1
|
浏览 151
变位词 题解:直接删除 很爽的
#include<bits/stdc++.h> using namespace std; int main(){ int n,flag; string a,b; cin>>n; while(n--){ cin>>a>...
P1032
2025年3月15日 06:26
回复 0
|
赞 4
|
浏览 186
删除字符串2 题解:直接八种情况上
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; while(s.find("gzu")!= string::npos){ s.erase(s....
P1027
2025年3月15日 06:09
回复 0
|
赞 3
|
浏览 171
删除字符串 题解:
#include<bits/stdc++.h> using namespace std; int main(){ string input,ans; int i; getline(cin,input); while(input.find("gzu")!= s...
P1026
2025年3月15日 06:01
回复 0
|
赞 9
|
浏览 201
最长连续因子 题解:
#include<bits/stdc++.h> using namespace std; bool yz(int n,int x){ if(n%x==0){ return true; }else{ return false; } } int ma...
P1020
2025年3月15日 05:41
回复 0
|
赞 2
|
浏览 210
字符分类 题解:
#include<bits/stdc++.h> using namespace std; int main(){ string input,z,num,fu; cin>>input; for(char c:input){ if(c>='A'...
P1016
2025年3月15日 04:11
回复 0
|
赞 1
|
浏览 95
加密算法 题解:
#include<bits/stdc++.h> using namespace std; char encode(char x){ if(x=='X' ) return 'A'; if(x=='Y' ) return 'B'; if(x=='Z' ) retur...
P1014
2025年3月15日 04:04
回复 0
|
赞 7
|
浏览 210
字符移动 题解:
#include<bits/stdc++.h> using namespace std; int main(){ string tmp; int n,i; cin>>tmp; string ans,num,aws; n = tmp.lengt...
P1012
2025年3月15日 03:46
回复 0
|
赞 3
|
浏览 176
日期 题解:
#include <bits/stdc++.h> using namespace std; // 返回某个月的天数 int mon(int x) { switch (x) { case 4: return 30; case...
P1011
2025年3月15日 03:36
回复 0
|
赞 10
|
浏览 253
字符串翻转 题解:string length
#include<bits/stdc++.h> using namespace std; int main(){ string a; int n; cin>>a; n = a.length(); while(n--){ cout<...
P1006
2025年3月15日 03:05
回复 0
|
赞 6
|
浏览 318
求1到n的和 题解:
#include<bits/stdc++.h> using namespace std; int main(){ int n,i,ans; cin>>n; cout<<(1+n)*n/2<<endl...
P1133
2025年3月15日 03:00
回复 0
|
赞 3
|
浏览 141
欢迎来到NoobDream 题解:
#include<bits/stdc++.h> using namespace std; int main(){ cout<<"Welcome to NoobDream!"; }
P1122
2025年3月15日 02:51
回复 0
|
赞 0
|
浏览 110
斐波那契数列 题解:
#include<bits/stdc++.h> using namespace std; long long ans[72]; int main(){ ans[0]=1; ans[1]=1; ans[2]=2; int i,n; for(i=3;i&l...
P1111
2025年3月15日 02:49
回复 0
|
赞 6
|
浏览 332
促销计算 题解:
#include<bits/stdc++.h> using namespace std; int main(){ float n; while(cin>>n){ if(n <= 1000){ cout<<"discount...
P1091
2025年3月15日 02:21
回复 0
|
赞 3
|
浏览 149
分数求和 题解:
#include<bits/stdc++.h> using namespace std; int aws[1000]={0}; double ans[1000]={0}; int main(){ int n,i; aws[0]=1; aws[1]=2; ...
P1047
2025年3月15日 02:14
回复 0
|
赞 2
|
浏览 144
1
2
3
4
5
本科学校:湘潭大学
目标学校:湘潭大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!