QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#523592#8675. Scheduleucup-team1005WA 0ms3848kbC++202.3kb2024-08-18 14:18:502024-08-18 14:18:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 4

output:

infinity

result:

ok infinity

Test #2:

score: 0
Accepted
time: 0ms
memory: 3848kb

input:

3 4

output:

4
122
212
221
111

result:

ok 

Test #3:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

4 15

output:

5
1222
2112
2121
2211
1111
1222
2112
2121
2211
1111
1222
2112
2121
2211
1111

result:

ok 

Test #4:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

5 52

output:

6
22222
11211
12112
21121
11122
22211
22222
11211
12112
21121
11122
22211
22222
11211
12112
21121
11122
22211
22222
11211
12112
21121
11122
22211
22222
11211
12112
21121
11122
22211
22222
11211
12112
21121
11122
22211
22222
11211
12112
21121
11122
22211
22222
11211
12112
21121
11122
22211
22222
1121...

result:

ok 

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 3596kb

input:

10 52

output:

8
2222222222
1121121121
1211211211
2112112112
1112221112
2221112221
1111112222
2222221111
2222222222
1121121121
1211211211
2112112112
1112221112
2221112221
1111112222
2222221111
2222222222
1121121121
1211211211
2112112112
1112221112
2221112221
1111112222
2222221111
2222222222
1121121121
1211211211
2...

result:

wrong answer your plan is not optimal