QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#262320#6519. X Equals Yucup-team1332#TL 50ms3824kbC++143.2kb2023-11-23 18:21:192023-11-23 18:21:19

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3700kb

input:

6
1 1 1000 1000
1 2 1000 1000
3 11 1000 1000
157 291 5 6
157 291 3 6
10126 114514 789 12345

output:

YES
2 2
NO
YES
2 10
YES
4 5
NO
YES
6 10

result:

ok correct (6 test cases)

Test #2:

score: 0
Accepted
time: 50ms
memory: 3824kb

input:

1000
920 661 756 534
52 454 31 218
980 77 812 6
729 733 289 660
161 643 21 475
602 525 329 274
782 167 279 113
875 100 388 16
426 498 341 417
433 751 312 39
91 50 47 39
941 388 247 46
725 808 148 486
945 405 700 145
647 509 152 445
45 564 16 468
843 40 530 3
722 36 323 22
568 472 443 41
38 749 25 42...

output:

YES
120 83
YES
8 75
NO
YES
146 147
NO
YES
51 44
YES
25 10
NO
YES
23 27
NO
NO
NO
NO
YES
52 22
YES
96 73
YES
12 185
NO
NO
YES
34 28
YES
10 247
NO
NO
YES
16 5
YES
132 101
NO
YES
220 119
NO
YES
20 63
NO
YES
65 28
NO
NO
YES
37 21
YES
6 5
NO
NO
NO
NO
NO
YES
43 17
NO
YES
36 34
YES
17 25
YES
95 14
NO
NO
NO
...

result:

ok correct (1000 test cases)

Test #3:

score: -100
Time Limit Exceeded

input:

1000
312788 308299 292039 230765
263760 329714 198045 86472
945524 951268 792172 748100
922790 262573 363596 34883
755556 714487 234743 610394
413603 489527 114329 351936
409240 356171 378350 234973
300813 97383 263307 49846
579258 900270 84403 704902
563965 876076 387516 770189
36896 156893 23161 1...

output:


result: