QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#461023#6883. Noblesse CodeZhaoZiLongAC ✓3887ms97256kbC++172.6kb2024-07-02 15:15:472024-07-02 15:15:48

詳細信息

Test #1:

score: 100
Accepted
time: 3887ms
memory: 97256kb

input:

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

output:

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

result:

ok 495000 lines