QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#492767#6519. X Equals YCirnoWA 0ms3816kbC++141.3kb2024-07-26 15:56:232024-07-26 15:56:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3816kb

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
5 2
YES
3 2
Yes
789 9488

result:

wrong answer wrong solution, (157 in base 5) != (291 in base 2) (test case 4)