WarOfUnderword
WarOfUnderword
全部文章
题解
基础算法(3)
数据库(1)
归档
标签
去牛客网
登录
/
注册
Alice
全部文章
/ 题解
(共4篇)
基础数学
A输出每个比幸运数字大的最小素数 #include #include #include using namespace std; const int Max=1e6+100; bool a[Max]={0}; int T,N,n; void prime(){ //打出素数表 ...
2020-06-02
0
507
HPU算法协会公开课第二期: 【Wars】
A #include<iostream> #include<bitset> using namespace std; long long P,A; const long long maxn=1e9; bool prime(){ /...
2020-05-23
0
528
HPU算法协会公开课第一期:【Alice】
A暴力求出所有两项之和,排序。 #include<iostream> #include<cstdio> #include<algorithm> using namespace std; const int Max=3000*3000/2; int N,M; int...
2020-05-16
0
491
HPU19级算法训练赛第七场 【wars】
//A #include<iostream> using namespace std; const int Max = 1e6; int main(){ int n,m,s[Max]; int i=0,j=0; cin>>n; while(n...
2020-05-10
0
539