QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#87889#4906. 球球_____5 3ms3424kbC++232.7kb2023-03-14 18:39:282023-03-14 18:39:32

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 0ms
memory: 3372kb

input:

5
2 1
3 2
9 6
10 5
13 -1

output:

NO

result:

ok single line: 'NO'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3272kb

input:

5
1 1
3 2
4 -1
6 4
10 -1

output:

NO

result:

ok single line: 'NO'

Test #3:

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

input:

4
16 13
18 4
20 3
21 5

output:

NO

result:

ok single line: 'NO'

Test #4:

score: 0
Accepted
time: 2ms
memory: 3356kb

input:

5
2 1
3 2
8 6
10 5
13 0

output:

YES

result:

ok single line: 'YES'

Test #5:

score: 0
Accepted
time: 2ms
memory: 3232kb

input:

5
2 1
3 2
9 6
10 5
13 0

output:

YES

result:

ok single line: 'YES'

Test #6:

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

input:

5
1 1
3 2
4 0
6 4
10 -1

output:

YES

result:

ok single line: 'YES'

Test #7:

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

input:

3
1 0
5 5
6 2

output:

YES

result:

ok single line: 'YES'

Test #8:

score: 0
Accepted
time: 2ms
memory: 3288kb

input:

5
2 1
6 0
7 -1
8 2
9 -2

output:

YES

result:

ok single line: 'YES'

Test #9:

score: 0
Accepted
time: 2ms
memory: 3256kb

input:

5
30 10
40 -10
51 9
52 8
53 20

output:

YES

result:

ok single line: 'YES'

Test #10:

score: 0
Accepted
time: 2ms
memory: 3348kb

input:

3
2 2
5 5
6 1

output:

YES

result:

ok single line: 'YES'

Subtask #2:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #11:

score: 5
Accepted
time: 2ms
memory: 3416kb

input:

100
51823 -51823
80072 -23574
152202 48556
263343 -14629
356859 -38607
441850 -193136
442857 -192129
471412 -108145
504392 -187704
582081 -265393
680615 -220684
775219 -261463
781624 -267868
801370 -287614
899570 -166859
982377 -272221
1048767 -338611
1094930 -189414
1170308 -460152
1222829 -512673
...

output:

YES

result:

ok single line: 'YES'

Test #12:

score: 0
Accepted
time: 2ms
memory: 3280kb

input:

100
106661 51112
155727 44629
204995 -4639
289968 -89612
352826 -26754
358628 -32556
456755 -130683
458435 -4437
484255 -103183
506353 -125281
537685 -93949
599460 -129003
697511 -32174
746550 -179264
749060 -176754
751112 -178806
756783 -173135
847195 -82723
886372 -43546
953837 23919
1050796 -7304...

output:

YES

result:

ok single line: 'YES'

Test #13:

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

input:

100
51953 51953
178909 4607
255989 -75003
303522 -152083
375771 -271865
422215 -318309
446399 -294125
534441 -382167
591666 -324942
665189 -398465
759160 -492436
856968 -394628
878236 -415896
978225 -199616
1004339 -342021
1011649 -349331
1056555 -304425
1121330 -315907
1124074 -242394
1192744 -3110...

output:

YES

result:

ok single line: 'YES'

Test #14:

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

input:

100
73696 -73696
130808 -16584
148097 -33873
159200 -31805
188326 -40840
268182 -69966
348208 89916
447670 9890
496101 38885
513498 56282
573623 -3843
583217 -13437
657874 61220
710362 -9546
801558 204904
803207 203255
815582 215630
821981 113708
825066 206146
833562 214642
916609 209231
985412 3664...

output:

YES

result:

ok single line: 'YES'

Test #15:

score: 0
Accepted
time: 2ms
memory: 3304kb

input:

100
66236 -66236
106931 -25541
163181 30709
203283 70811
234361 101889
307135 174663
327411 154387
341023 140775
473140 102431
484717 196204
524294 224204
612604 312514
669989 255129
767775 157343
803254 184627
824552 100566
889399 35719
968028 -42910
1006330 121864
1073474 -148356
1153800 -68030
12...

output:

YES

result:

ok single line: 'YES'

Test #16:

score: 0
Accepted
time: 2ms
memory: 3304kb

input:

100
82834 -82834
248482 -53442
338177 -150962
437708 -63278
483691 -17295
518642 -52246
567982 36253
649231 -101586
674192 -182835
765490 -249172
826825 -187837
855184 -157874
924507 -146873
948896 -122484
972376 -216196
978161 -99004
1048080 -104789
1147957 -274585
1160059 -262483
1184037 -286461
1...

output:

YES

result:

ok single line: 'YES'

Test #17:

score: 0
Accepted
time: 2ms
memory: 3360kb

input:

100
91929 91929
188131 188131
198025 154664
210890 165372
211317 165799
290526 245008
290567 178237
340724 295124
405545 244967
496543 268947
553096 212394
573058 232356
654081 313379
678974 338272
762176 421474
862069 359945
866678 316972
903067 321581
980960 358476
1012412 280583
1032656 306780
10...

output:

YES

result:

ok single line: 'YES'

Test #18:

score: 0
Accepted
time: 2ms
memory: 3296kb

input:

100
4483 4483
89756 89756
213487 -33975
259610 5989
280159 -100647
353529 -174017
367495 -160051
417893 -80098
506283 -21263
543352 -58332
550427 -109653
631669 15835
656725 -65407
664733 -1213
728813 62867
782181 9499
868600 95918
958063 6455
1015984 -9221
1059787 64376
1104762 20573
1163127 -24402...

output:

YES

result:

ok single line: 'YES'

Test #19:

score: 0
Accepted
time: 2ms
memory: 3368kb

input:

100
34147 -34147
125881 -345
202224 57587
295718 40436
346068 90786
402776 34078
468919 133930
528960 40180
617215 -48075
665464 100221
738036 72746
769757 174
783894 55162
864594 -25538
938947 48815
1005807 115675
1070941 50541
1147275 41025
1230377 43773
1324332 137728
1401300 214696
1430687 18530...

output:

YES

result:

ok single line: 'YES'

Test #20:

score: 0
Accepted
time: 2ms
memory: 3240kb

input:

100
77792 -77792
169295 13711
305132 -55629
399497 105233
434076 10868
494655 131233
588394 70654
673278 309856
761111 397689
768489 390311
814988 343812
877420 406244
931377 460201
981245 410333
1041309 470397
1046667 465039
1062707 448999
1065990 452282
1068470 454762
1079487 443745
1174576 538834...

output:

YES

result:

ok single line: 'YES'

Test #21:

score: 0
Accepted
time: 2ms
memory: 3280kb

input:

100
53894 53894
135442 135442
200367 110566
243624 193872
332119 282367
340178 274308
385363 150615
399225 305631
476516 228340
540645 292469
570313 322137
593223 299227
651531 357535
668057 319493
727163 341009
759414 400115
832493 359287
918275 432366
961384 273505
1021849 290861
1031313 230396
11...

output:

YES

result:

ok single line: 'YES'

Test #22:

score: 0
Accepted
time: 2ms
memory: 3416kb

input:

100
52893 -52893
101814 -3972
239224 -87898
265563 -141382
266345 -114261
313693 -115043
394360 13754
493999 -85885
497056 -82828
575421 -66913
628962 -58004
725367 38401
757850 -4463
803225 116259
894789 24695
964839 70884
1044708 34514
1127864 -45355
1131503 117670
1170887 81925
1246292 6520
13038...

output:

YES

result:

ok single line: 'YES'

Test #23:

score: 0
Accepted
time: 2ms
memory: 3412kb

input:

100
121036 47104
155723 155723
208299 103147
225499 120347
321564 216412
415194 121036
458597 310042
492954 300996
575691 383733
632527 326897
647556 266639
672666 336978
701097 311868
723032 365409
737937 402249
802710 337476
869271 270915
939270 387344
987072 388716
1070505 340914
1076499 299289
1...

output:

YES

result:

ok single line: 'YES'

Test #24:

score: 0
Accepted
time: 2ms
memory: 3292kb

input:

100
19066 -19066
79299 41167
248978 -128512
341368 -38641
415112 -147158
486846 -75424
509843 -98421
597101 -220902
605342 -193920
660614 -249192
695083 -214723
778077 -131729
789682 -143334
851784 -205436
892446 -246098
928768 -185679
937603 -200941
999196 -262534
1030177 -209776
1055175 -256551
10...

output:

YES

result:

ok single line: 'YES'

Test #25:

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

input:

100
104982 -104982
194273 -15691
231648 21684
253273 43309
277325 19257
351385 93317
386548 128480
411038 -42838
478035 170987
500232 103990
520396 213348
562937 255889
592884 193184
643292 235428
659690 251826
659920 252056
669036 261172
683945 285836
767694 330012
863454 425772
936414 246263
10076...

output:

YES

result:

ok single line: 'YES'

Test #26:

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

input:

100
70425 70425
165404 165404
229545 101263
297118 137503
366451 106170
438717 -35429
441973 -32173
457797 -16349
480072 -38624
534875 -93427
612510 -15792
667662 36837
722947 39360
802272 -15925
890279 -95250
892397 -9361
955792 -7243
987819 86061
1040030 54034
1125407 52895
1217142 138272
1255132 ...

output:

YES

result:

ok single line: 'YES'

Test #27:

score: -5
Wrong Answer
time: 1ms
memory: 3192kb

input:

100
76981 -76981
232876 -20663
320578 -32538
403941 -120240
496213 -41447
544550 50825
581113 6890
632861 -29673
649124 -65158
668174 -46108
681614 -32668
737144 -88198
780617 -81421
790720 -121568
837225 -168073
891831 -131671
900080 -214430
930505 -244855
1018493 -156867
1027988 -147372
1066446 -2...

output:

NO

result:

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

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Wrong Answer

Test #91:

score: 0
Wrong Answer
time: 3ms
memory: 3264kb

input:

5000
6 6
80 80
170 48
240 106
243 179
329 176
412 93
485 176
552 249
555 316
613 371
650 313
733 251
735 253
736 334
815 254
893 333
943 255
965 227
1022 284
1116 205
1174 320
1230 376
1318 378
1336 288
1430 212
1494 276
1562 344
1597 309
1638 350
1716 272
1793 349
1809 365
1908 306
1951 464
2037 42...

output:

NO

result:

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

Subtask #5:

score: 0
Skipped

Dependency #3:

0%

Subtask #6:

score: 0
Skipped

Dependency #5:

0%

Subtask #7:

score: 0
Skipped

Dependency #4:

0%

Subtask #8:

score: 0
Skipped

Dependency #7:

0%