QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#269664#7450. tmpqFragmentationML 0ms0kbC++146.0kb2023-11-29 21:04:472023-11-29 21:04:48

詳細信息

Test #1:

score: 0
Memory Limit Exceeded

input:

200000 50000
1 2049 4097 6145 8193 10241 12289 14337 16385 18433 20481 22529 24577 26625 28673 30721 32769 34817 36865 38913 40961 43009 45057 47105 49153 51201 53249 55297 57345 59393 61441 63489 65537 67585 69633 71681 73729 75777 77825 79873 81921 83969 86017 88065 90113 92161 94209 96257 98305 1...

output:

0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
...

result: