首页
DreamJudge
院校信息
考研初试
机试真题
讨论区
兑换中心
登录
注册
上岸
苍灵
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
26
发帖
0
笔记
0
Ta的粉丝
0
关注数
1
粉丝数
0
获赞数
27
阅读数
3142
求S(n) 题解:费马小定理
#include<bits/stdc++.h> using namespace std; int main(){ long long n; while(cin>>n){ cout<<n%3<<endl; } re...
P1500
2025年6月23日 14:22
回复 0
|
赞 0
|
浏览 115
水仙花数 题解:C++
#include<bits/stdc++.h> using namespace std; int sumG(int a){ int sum=0; while(a!=0){ sum=sum+pow(a%10,3); a=a/10; } retu...
P1034
2025年6月23日 13:55
回复 0
|
赞 1
|
浏览 131
翻转数的和 题解:C++
#include<bits/stdc++.h> using namespace std; //定义翻转函数(实现了翻转之后去掉最前面的0) string fanzhuan(string s){ string s1,s2; int n; for(int ...
P1003
2025年6月23日 13:42
回复 0
|
赞 0
|
浏览 91
整数和 题解:C++
#include<bits/stdc++.h> using namespace std; int main(){ int m; cin>>m; int num[100]; for(int i=0;i<m;i++){ cin>...
P1428
2025年6月23日 12:20
回复 0
|
赞 0
|
浏览 92
身份证校验 题解:C++ 数组
#include<bits/stdc++.h> using namespace std; int main(){ string s; while(cin>>s){ int num[17]={7,9,10,5,8,4,2,1,6,3,7,9,10...
P1722
2025年6月23日 12:09
回复 0
|
赞 3
|
浏览 152
利润提成 题解:
#include<bits/stdc++.h> using namespace std; int main(){ long long sum,res=0; cin>>sum; while(sum>100000){ if(sum>...
P1040
2025年6月23日 11:49
回复 0
|
赞 1
|
浏览 151
1
2
本科学校:无
目标学校:无
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!