QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#502957 | #5631. Robots | xiaowuc1 | 100 ✓ | 661ms | 4576kb | C++17 | 1.8kb | 2024-08-03 15:38:33 | 2024-08-03 15:38:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Pretests
Final Tests
Test #1:
score: 100
Accepted
time: 661ms
memory: 4576kb
input:
500 1 26 3 14 15 25 16 15 24 14 2 20 3 15 23 1 11 2 20 7 4 15 16 1 14 13 0 21 19 21 13 24 16 15 17 25 5 6 15 18 21 1 13 25 23 13 20 13 9 3 1 17 2 9 2 33 10 0 27 17 14 1 31 4 2 12 32 29 9 2 13 3 5 29 29 29 13 29 26 18 20 24 21 22 13 7 5 6 30 32 32 11 17 25 30 23 25 27 30 12 6 0 29 8 11 12 14 21 29 25...
output:
1 YES 2 NO 3 YES 4 NO 5 NO 6 NO 7 YES 8 YES 9 YES 10 YES 11 YES 12 YES 13 YES 14 NO 15 NO 16 NO 17 YES 18 YES 19 NO 20 NO 21 NO 22 NO 23 YES 24 YES 25 YES 26 NO 27 YES 28 YES 29 NO 30 NO 31 YES 32 NO 33 YES 34 NO 35 YES 36 YES 37 NO 38 NO 39 NO 40 YES 41 YES 42 YES 43 NO 44 NO 45 YES 46 YES 47 NO 48...
result:
ok 500 lines