QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#274776#6407. Classical A+B Problemucup-team2262#WA 1ms3488kbC++202.7kb2023-12-03 22:21:512023-12-03 22:21:52

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
2
786
1332
89110
2333333
10000000000000000000000000001

output:

1 1
777 9
999 333
88888 222
111111 2222222
9999999999999999999999999999 2

result:

ok ok (6 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3488kb

input:

100
854
77777777781111111111111111110
44444450
11111111111111333
2310
5
333333333333333333333343332
888999
10
11113333
335
77779
88888888888888888888889111111111111111111110
55555555555555777777
72222222222222222222221
666
5777
1111555555
444444444544444444443
88888888888891111111111110
673332
97
77...

output:

777 77
77777777777777777777777777777 3333333333333333333
44444444 6
222 11111111111111111
2222 88
1 4
333333333333333333333333333 9999
111 888888
9 1
2222 11111111
333 2
77777 2
88888888888888888888888888888888888888888888 222222222222222222222
222222 55555555555555555555
66666666666666666666666 555...

result:

wrong answer Token parameter [name=y] equals to "-2", doesn't correspond to pattern "[1-9]{1,2}" (test case 22)