QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#673873#9485. (mod N² + 1)ucup-team5330WA 1ms3632kbC++14849b2024-10-25 11:18:182024-10-25 11:18:18

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3632kb

input:

3
2 4
3 3
4 2

output:

Yes
1 2
3 4
No
Yes
4 5 13 12
7 9 10 8
14 16 3 1
11 15 6 2

result:

ok Correct Answer

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3512kb

input:

100
14 4
14 6
14 7
14 9
14 10
14 15
14 19
14 22
14 25
14 26
14 33
14 39
14 41
14 43
14 47
14 55
14 62
14 64
14 65
14 83
14 92
14 93
14 96
14 97
14 107
14 109
14 112
14 116
14 121
14 127
14 134
14 136
14 137
14 138
14 143
14 144
14 146
14 148
14 155
14 157
14 160
14 161
14 163
14 168
14 169
14 173
14...

output:

No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No

result:

wrong answer Yes/No token is different