QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#460946#6883. Noblesse CodeMaMengQiWA 3526ms116568kbC++171.4kb2024-07-02 14:04:202024-07-02 14:04:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 3526ms
memory: 116568kb

input:

54
1000 1000
437949642385872929 860965504436928836
549207725345251140 807757620153191620
595135374173197122 535841165330085586
284216015123638122 991606310035186132
380255965462330700 718440783553992066
600098959546211922 568697564089219926
561489079983301188 490903512830837710
917947220777629314 45...

output:

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

result:

wrong answer 1st lines differ - expected: '1', found: '0'