QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#213381#6641. XOR DiceZhaoZiLongAC ✓1ms3612kbC++20621b2023-10-14 13:59:052023-10-14 13:59:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 2

output:

0 8192 128 8320 8322 2 
8194 130 0 8192 128 8320 
8322 2 8194 130 0 8192 

result:

ok Correct answer

Test #2:

score: 0
Accepted
time: 0ms
memory: 3452kb

input:

100 60

output:

0 245760 3840 249600 249660 60 
245820 3900 0 245760 3840 249600 
249660 60 245820 3900 0 245760 
3840 249600 249660 60 245820 3900 
0 245760 3840 249600 249660 60 
245820 3900 0 245760 3840 249600 
249660 60 245820 3900 0 245760 
3840 249600 249660 60 245820 3900 
0 245760 3840 249600 249660 60 
24...

result:

ok Correct answer

Test #3:

score: 0
Accepted
time: 1ms
memory: 3464kb

input:

99 2

output:

0 8192 128 8320 8322 2 
8194 130 0 8192 128 8320 
8322 2 8194 130 0 8192 
128 8320 8322 2 8194 130 
0 8192 128 8320 8322 2 
8194 130 0 8192 128 8320 
8322 2 8194 130 0 8192 
128 8320 8322 2 8194 130 
0 8192 128 8320 8322 2 
8194 130 0 8192 128 8320 
8322 2 8194 130 0 8192 
128 8320 8322 2 8194 130 
...

result:

ok Correct answer

Test #4:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

99 59

output:

0 241664 3776 245440 245499 59 
241723 3835 0 241664 3776 245440 
245499 59 241723 3835 0 241664 
3776 245440 245499 59 241723 3835 
0 241664 3776 245440 245499 59 
241723 3835 0 241664 3776 245440 
245499 59 241723 3835 0 241664 
3776 245440 245499 59 241723 3835 
0 241664 3776 245440 245499 59 
24...

result:

ok Correct answer

Test #5:

score: 0
Accepted
time: 1ms
memory: 3456kb

input:

93 17

output:

0 69632 1088 70720 70737 17 
69649 1105 0 69632 1088 70720 
70737 17 69649 1105 0 69632 
1088 70720 70737 17 69649 1105 
0 69632 1088 70720 70737 17 
69649 1105 0 69632 1088 70720 
70737 17 69649 1105 0 69632 
1088 70720 70737 17 69649 1105 
0 69632 1088 70720 70737 17 
69649 1105 0 69632 1088 70720...

result:

ok Correct answer

Test #6:

score: 0
Accepted
time: 0ms
memory: 3380kb

input:

100 49

output:

0 200704 3136 203840 203889 49 
200753 3185 0 200704 3136 203840 
203889 49 200753 3185 0 200704 
3136 203840 203889 49 200753 3185 
0 200704 3136 203840 203889 49 
200753 3185 0 200704 3136 203840 
203889 49 200753 3185 0 200704 
3136 203840 203889 49 200753 3185 
0 200704 3136 203840 203889 49 
20...

result:

ok Correct answer

Test #7:

score: 0
Accepted
time: 0ms
memory: 3496kb

input:

100 5

output:

0 20480 320 20800 20805 5 
20485 325 0 20480 320 20800 
20805 5 20485 325 0 20480 
320 20800 20805 5 20485 325 
0 20480 320 20800 20805 5 
20485 325 0 20480 320 20800 
20805 5 20485 325 0 20480 
320 20800 20805 5 20485 325 
0 20480 320 20800 20805 5 
20485 325 0 20480 320 20800 
20805 5 20485 325 0 ...

result:

ok Correct answer

Test #8:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

1 57

output:

0 233472 3648 237120 237177 57 

result:

ok Correct answer

Test #9:

score: 0
Accepted
time: 0ms
memory: 3444kb

input:

1 22

output:

0 90112 1408 91520 91542 22 

result:

ok Correct answer

Test #10:

score: 0
Accepted
time: 1ms
memory: 3428kb

input:

1 60

output:

0 245760 3840 249600 249660 60 

result:

ok Correct answer

Test #11:

score: 0
Accepted
time: 0ms
memory: 3376kb

input:

1 2

output:

0 8192 128 8320 8322 2 

result:

ok Correct answer

Test #12:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

10 24

output:

0 98304 1536 99840 99864 24 
98328 1560 0 98304 1536 99840 
99864 24 98328 1560 0 98304 
1536 99840 99864 24 98328 1560 
0 98304 1536 99840 99864 24 
98328 1560 0 98304 1536 99840 
99864 24 98328 1560 0 98304 
1536 99840 99864 24 98328 1560 
0 98304 1536 99840 99864 24 
98328 1560 0 98304 1536 99840 

result:

ok Correct answer