#2198 Problem A. The Alphabet Sticker

1 s   128 MB  

Description

문제 링크 (pdf)

Sample Input

Sample Output

4
aa??bb
aaccbb
?a?
a??a
3
1
1
1

Source

2013 ACPC (Arab Collegiate Programming Contest)