- 博客(5)
- 收藏
- 关注
原创 北京信息科技大学第十二届程序设计竞赛暨ACM选拔赛(同步赛)
A 爱丽丝的人偶(一) #include<bits/stdc++.h> using namespace std; int n ; int main (){ scanf("%d",&n); int i=1,j=(n+1)/2+1; while(i<=(n+1)/2){ printf("%d ",i); i++; if(j<=n){ printf("%d ",j); j+
2021-04-20 15:54:47 222
原创 2021年度训练联盟热身训练赛第五场
2021年度训练联盟热身训练赛第五场 链接:https://ac.nowcoder.com/acm/contest/13926 A Binary Seating #include<bits/stdc++.h> using namespace std; const int M=1e7+10,inf=1e9+7; #define ll long long int a[50]; int main() { int n; cin>>n; for(int i=1;i<
2021-04-11 22:55:40 480
原创 2021年度训练联盟热身训练赛第二场
2021年度训练联盟热身训练赛第二场 A Binarize It #include<bits/stdc++.h> using namespace std; const int M=1e5+10,mod=1e9+7; #define ll long long double cx,cy,sx,sy,fx,fy; int n; int main() { int cnt=0; scanf("%d",&n); while(n--) { cnt++; int a; scanf("%
2021-03-20 00:17:55 252
原创 C. Pekora and Trampoline
C. Pekora and Trampoline There is a trampoline park with n trampolines in a line. The i-th of which has strength Si. Pekora can jump on trampolines in multiple passes. She starts the pass by jumping on any trampoline of her choice. If at the moment Pekora
2021-03-09 17:56:48 183
原创 2019南京icpc K - Triangle
2019南京icpc K - Triangle #include<bits/stdc++.h> using namespace std; #define ll long long const double eps=1e-7; const int M=50,mod=1e9+7; int n; double px,py; int main() { cin>>n; double x1,y1,x2,yy,x3,y3,x,y; while(n--) { scanf("%lf%lf%l
2020-12-23 21:28:04 313 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人