QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#51496#1439. Football MatchHuangHanShengWA 3ms3696kbC++202.0kb2022-10-02 15:29:542022-10-02 15:29:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 3620kb

input:

4
YNNY

output:

YES
2 1 1 2 

result:

ok OK

Test #2:

score: 0
Accepted
time: 3ms
memory: 3520kb

input:

3
NNN

output:

YES
1 2 4

result:

ok OK

Test #3:

score: 0
Accepted
time: 3ms
memory: 3600kb

input:

4
NNNN

output:

YES
1 1 1 1 

result:

ok OK

Test #4:

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

input:

5
NNNNN

output:

YES
1 2 2 2 8

result:

ok OK

Test #5:

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

input:

3
YNN

output:

YES
1 2 2 

result:

ok OK

Test #6:

score: 0
Accepted
time: 3ms
memory: 3608kb

input:

4
NNYN

output:

YES
2 2 1 4 

result:

ok OK

Test #7:

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

input:

5
NNYNN

output:

YES
2 2 1 2 2 

result:

ok OK

Test #8:

score: 0
Accepted
time: 3ms
memory: 3660kb

input:

3
YYN

output:

NO

result:

ok OK

Test #9:

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

input:

4
NNYY

output:

YES
1 1 2 2 

result:

ok OK

Test #10:

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

input:

5
YNYNN

output:

YES
4998 5000 5002 1 1 

result:

ok OK

Test #11:

score: 0
Accepted
time: 3ms
memory: 3600kb

input:

3
YYY

output:

YES
1 1 1 

result:

ok OK

Test #12:

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

input:

4
YYNY

output:

YES
1 1 2 1 

result:

ok OK

Test #13:

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

input:

5
YYNNY

output:

YES
1 1 2 2 1 

result:

ok OK

Test #14:

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

input:

4
YYYY

output:

NO

result:

ok OK

Test #15:

score: 0
Accepted
time: 3ms
memory: 3540kb

input:

5
YNYYY

output:

YES
3 1 3 5 7 

result:

ok OK

Test #16:

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

input:

5
YYYYY

output:

YES
1 1 1 1 1 

result:

ok OK

Test #17:

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

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: 2ms
memory: 3696kb

input:

50
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

output:

NO

result:

ok OK

Test #19:

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

input:

49
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

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 96

result:

ok OK

Test #20:

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

input:

50
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN

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 1 

result:

ok OK

Test #21:

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

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: -100
Wrong Answer
time: 2ms
memory: 3608kb

input:

49
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYNYYYYYYYYYYYYYYYYY

output:

YES
3 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 1 63 65 67 69 71 73 75 77 79 81 83 85 87 89 91 93 95 

result:

wrong answer Wrong answer