QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#512190#9177. String and Nailsucup-team3584#WA 344ms47248kbC++208.0kb2024-08-10 13:46:082024-08-10 13:46:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3616kb

input:

1
1000000000 0

output:

YES

result:

ok Everything ok

Test #3:

score: 0
Accepted
time: 340ms
memory: 47096kb

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
500559508 500488018
500732027 499160738
500839262 500732027
500976036 498880984
501119016 500976036
501220045 498601230
501398770 501220045
501464054 498321476
501678524 501464054
501708063 498041722
501952072 497761...

result:

ok Everything ok

Test #4:

score: 0
Accepted
time: 344ms
memory: 47104kb

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
500666468 498936866
500708756 500444312
500888624 498582488
501063134 500666468
501110780 498228110
501332936 497873732
501417512 500888624
501555092 497519354
501771890 501110780
501777248 497164976
501999404 496810...

result:

ok Everything ok

Test #5:

score: -100
Wrong Answer
time: 293ms
memory: 47248kb

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:

YES
500000000 461393948
500000000 464750996
500000000 464471242
500000000 464191488
500000000 463911734
500000000 463631980
500000000 463352226
500000000 463072472
500000000 462792718
500000000 462512964
500000000 462233210
500000000 461953456
500000000 461673702
500000000 465030750
500000000 461114...

result:

wrong answer Wrong answer