QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#51535#1439. Football MatchGuanYunchangWA 2ms3852kbC++113.7kb2022-10-02 16:15:272022-10-02 16:15:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3752kb

input:

4
YNNY

output:

YES
1 9999 10000 1 

result:

ok OK

Test #2:

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

input:

3
NNN

output:

YES
10000 2 1 

result:

ok OK

Test #3:

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

input:

4
NNNN

output:

YES
10000 10000 1 1 

result:

ok OK

Test #4:

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

input:

5
NNNNN

output:

YES
10000 2 1 1 1 

result:

ok OK

Test #5:

score: 0
Accepted
time: 2ms
memory: 3572kb

input:

3
YNN

output:

YES
1 2 2 

result:

ok OK

Test #6:

score: 0
Accepted
time: 2ms
memory: 3636kb

input:

4
NNYN

output:

YES
1 1 10000 2 

result:

ok OK

Test #7:

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

input:

5
NNYNN

output:

YES
2 2 1 2 2 

result:

ok OK

Test #8:

score: 0
Accepted
time: 2ms
memory: 3720kb

input:

3
YYN

output:

NO

result:

ok OK

Test #9:

score: 0
Accepted
time: 2ms
memory: 3804kb

input:

4
NNYY

output:

YES
9999 10000 1 1 

result:

ok OK

Test #10:

score: 0
Accepted
time: 2ms
memory: 3804kb

input:

5
YNYNN

output:

YES
1 5400 1 4600 9999 

result:

ok OK

Test #11:

score: 0
Accepted
time: 2ms
memory: 3636kb

input:

3
YYY

output:

YES
1 1 1 

result:

ok OK

Test #12:

score: 0
Accepted
time: 2ms
memory: 3732kb

input:

4
YYNY

output:

YES
1 1 2 1 

result:

ok OK

Test #13:

score: 0
Accepted
time: 2ms
memory: 3632kb

input:

5
YYNNY

output:

YES
1 1 2 2 1 

result:

ok OK

Test #14:

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

input:

4
YYYY

output:

NO

result:

ok OK

Test #15:

score: 0
Accepted
time: 2ms
memory: 3784kb

input:

5
YNYYY

output:

YES
5 3 1 1 1 

result:

ok OK

Test #16:

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

input:

5
YYYYY

output:

YES
1 1 1 1 1 

result:

ok OK

Test #17:

score: 0
Accepted
time: 2ms
memory: 3748kb

input:

49
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

output:

YES
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 

result:

ok OK

Test #18:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

50
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

output:

NO

result:

ok OK

Test #19:

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

input:

49
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

output:

YES
10000 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 

result:

ok OK

Test #20:

score: 0
Accepted
time: 2ms
memory: 3764kb

input:

50
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

output:

YES
10000 10000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 

result:

ok OK

Test #21:

score: 0
Accepted
time: 2ms
memory: 3812kb

input:

50
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYN

output:

YES
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 

result:

ok OK

Test #22:

score: 0
Accepted
time: 2ms
memory: 3780kb

input:

49
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYNYYYYYYYYYYYYYYYYY

output:

YES
93 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 47 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 

result:

ok OK

Test #23:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

50
NNNNNNNNNNNNNNNNNNNNNYNNNNNNNNNNNNNNNNNNNNNNNNNNNN

output:

YES
1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 10000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 

result:

ok OK

Test #24:

score: 0
Accepted
time: 2ms
memory: 3756kb

input:

49
YNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

output:

YES
1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 

result:

ok OK

Test #25:

score: 0
Accepted
time: 1ms
memory: 3852kb

input:

37
YNYYYYYYYYYNYNNYYNNNYYYNNYNYNYNYYYNNY

output:

YES
1 2 1 1 1 1 1 1 1 1 1 2 1 2 2 1 1 2 2 2 1 1 1 2 2 1 2 1 2 1 2 1 1 1 2 2 1 

result:

ok OK

Test #26:

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

input:

4
NYNN

output:

YES
1 10000 1 2 

result:

ok OK

Test #27:

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

input:

29
NNYNNNNNNNNYNNNNNNNNNNNNNNNNN

output:

YES
4599 2500 1 2500 5000 5000 5000 5000 5000 5000 5000 1 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 5000 

result:

wrong answer Wrong answer