QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#278692#6519. X Equals YmonstersqwqWA 3ms3728kbC++142.8kb2023-12-07 19:21:152023-12-07 19:21:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
3 11
YES
4 5
NO
YES
6 10

result:

ok correct (6 test cases)

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3728kb

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
94 131
NO
NO
YES
182 183
NO
YES
75 86
YES
10 25
NO
YES
270 342
NO
NO
NO
NO
YES
61 151
YES
84 107
NO
NO
NO
YES
29 35
YES
4 7
NO
NO
YES
5 16
YES
120 151
NO
YES
148 249
NO
YES
44 130
NO
YES
29 66
NO
NO
YES
41 73
YES
5 6
NO
NO
NO
NO
NO
YES
82 212
NO
YES
213 226
YES
109 209
NO
NO
NO
NO
NO
NO
NO
NO
YE...

result:

wrong answer wrong solution, (920 in base 94) != (661 in base 131) (test case 1)