模拟
Egqawkq
北航CS研一在读
展开
-
codeforces 883C. Downloading B++
C. Downloading B++time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOnly T milliseconds left before the star原创 2017-10-23 13:50:42 · 634 阅读 · 0 评论 -
codeforces 906 B. Seating of Students
#includeusing namespace std;const int maxn = 500010;int n, m;int pos[maxn];int dx[4] = { 0, 1, 0, -1 }, dy[4] = { 1, 0, -1, 0 };bool check(int i, int j){ int x = (i - 1) / m + 1, y = (i - 1)原创 2017-12-26 20:36:20 · 809 阅读 · 0 评论 -
codeforces 891 B. Gluttony(构造)
B. Gluttonytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an arrayawithndistinct integers. Construct an array...原创 2017-11-18 21:31:20 · 640 阅读 · 0 评论