ICPC 2022 vòng Regional - J: Joining Letters

View as PDF

Submit solution

Points: 0.50
Time limit: 3.0s
Memory limit: 512M
Input: stdin
Output: stdout

Problem source:
ICPC 2022 vòng Regional
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch

In case the statement didn't load correctly, you can download the statement here: Statement

Sample Input 1

IICCPPCC
INTERNATIONALCOLLIGIATEPROGRAMMINGCONTEST
GOODLUCKHAVEFUN
ENJOYYOURTIMEATHCMUTEANDHAPPYCODDING
WISHYOUMANYACCEPTEDCODE
RIGIONALICPCRIGIONALICPCRIGIONALICPC
$

Sample Output 1

5
2
0
2
2
10

Comments

Please read the guidelines before commenting.


There are no comments at the moment.