cf/mirror

Complete the Word

CF
716B1300· pupil2s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
ABC??FGHIJK???OPQR?TUVWXY?
Output
ABCDEFGHIJKLMNOPQRZTUVWXYS
Sample 2of 4
Input
WELCOMETOCODEFORCESROUNDTHREEHUNDREDANDSEVENTYTWO
Output
-1
Sample 3of 4
Input
??????????????????????????
Output
MNBVCXZLKJHGFDSAQPWOEIRUYT
Sample 4of 4
Input
AABCDEFGHIJKLMNOPQRSTUVW??M
Output
-1
716B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)