QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#177946#6519. X Equals Yucup-team991#WA 2ms3888kbC++173.3kb2023-09-13 16:19:452023-09-13 16:19:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
779 9478

result:

ok correct (6 test cases)

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3832kb

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
590 331
YES
14 148
NO
YES
146 147
NO
YES
77 66
YES
247 42
YES
35 4
YES
214 286
NO
NO
NO
NO
YES
406 136
YES
14 11
YES
12 185
NO
YES
103 5
YES
23 19
YES
10 247
NO
YES
9 11
YES
193 17
YES
132 101
NO
YES
701 297
NO
YES
45 174
NO
YES
65 28
YES
57 11
YES
10 39
YES
89 49
YES
6 5
YES
57 10
NO
NO
NO
NO
Y...

result:

wrong answer wrong solution, (875 in base 35) != (100 in base 4) (test case 8)