QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#513712#9177. String and Nailsucup-team2622#WA 164ms22404kbC++202.4kb2024-08-10 19:15:022024-08-10 19:15:03

详细

Test #1:

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

input:

3
1 1
2 4
3 1

output:

YES
1 1
2 4

result:

ok Everything ok

Test #2:

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

input:

1
1000000000 0

output:

YES

result:

ok Everything ok

Test #3:

score: 0
Accepted
time: 164ms
memory: 22376kb

input:

200000
500000000 500000000
500244009 499720246
500488018 499440492
500732027 499160738
500976036 498880984
501220045 498601230
501464054 498321476
501708063 498041722
501952072 497761968
502196081 497482214
502440090 497202460
502684099 496922706
502928108 496642952
503172117 496363198
503416126 496...

output:

YES
500000000 500000000
500244009 499720246
500279754 500244009
500488018 499440492
500523763 499964255
500559508 500488018
500732027 499160738
500767772 499684501
500803517 500208264
500839262 500732027
500976036 498880984
501011781 499404747
501047526 499928510
501083271 500452273
501119016 500976...

result:

ok Everything ok

Test #4:

score: 0
Accepted
time: 163ms
memory: 22404kb

input:

200000
500000000 500000000
500222156 499645622
500444312 499291244
500666468 498936866
500888624 498582488
501110780 498228110
501332936 497873732
501555092 497519354
501777248 497164976
501999404 496810598
502221560 496456220
502443716 496101842
502665872 495747464
502888028 495393086
503110184 495...

output:

YES
500000000 500000000
500222156 499645622
500354378 500222156
500444312 499291244
500576534 499867778
500666468 498936866
500708756 500444312
500798690 499513400
500888624 498582488
500930912 500089934
501020846 499159022
501063134 500666468
501110780 498228110
501153068 499735556
501243002 498804...

result:

ok Everything ok

Test #5:

score: -100
Wrong Answer
time: 84ms
memory: 22344kb

input:

200000
500000000 500000000
500000000 499720246
500000000 499440492
500000000 499160738
500000000 498880984
500000000 498601230
500000000 498321476
500000000 498041722
500000000 497761968
500000000 497482214
500000000 497202460
500000000 496922706
500000000 496642952
500000000 496363198
500000000 496...

output:

NO

result:

wrong answer Jury has a bigger answer