Start: Dec, 14, 2021 13:30:00
2021年秋季学期程序设计基础(C语言)第三次考试
End: Dec, 25, 2022 16:30:00
Time elapsed:
Time remaining:

解开束缚缠丝Ⅱ 2995

Time Limit:  1 s      Memory Limit:   256 MB
Submission:250     AC:121     Score:0

Description

/OJ/upload/file/20211213/20211213160434_56061.pdf

Input


Samples

input
2 2 A a 3 v a a
output
1 3

Hint