
模拟
Egqawkq
北航CS研一在读
展开
-
codeforces 883C. Downloading B++
C. Downloading B++ time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Only T milliseconds left before the star原创 2017-10-23 13:50:42 · 693 阅读 · 0 评论 -
codeforces 906 B. Seating of Students
#include using 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 · 834 阅读 · 0 评论 -
codeforces 891 B. Gluttony(构造)
B. Gluttony time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given an arrayawithndistinct integers. Construct an array...原创 2017-11-18 21:31:20 · 674 阅读 · 0 评论