QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#835940#3230. Beautiful NowMaMengQi0 19ms6940kbC++171.0kb2024-12-28 15:33:282024-12-28 15:33:30

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 19ms
memory: 6940kb

input:

100
645637224 8
397815246 8
239758591 7
152472214 2
485635752 8
128947635 5
938124675 8
311384311 8
665595968 7
284675191 6
3596920 776160768
428993752 4
796354812 4
342871569 7
952970714 2
399469166 8
774997047 1
534968712 5
574918236 3
564999511 645561291
791543286 7
171222224 7
319647582 2
241573...

output:

223445667 766544322
123456789 987654321
123557899 998755321
112452274 754412212
234555678 876555432
123457689 987652134
123456789 987654321
111133348 843331111
555666899 998666555
112456798 987654211
3025699 9965320
223498759 998753242
123456879 987654312
123456789 987654312
902579714 997570214
1346...

result:

wrong answer 4th lines differ - expected: '112272454 754412212', found: '112452274 754412212'