cf/mirror

Letters Removing

CF
899F2100· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
4 2
abac
1 3 a
2 2 c
Output
b
Sample 2of 4
Input
3 2
A0z
1 3 0
1 1 z
Output
Az
Sample 3of 4
Input
10 4
agtFrgF4aF
2 5 g
4 9 F
1 5 4
1 7 a
Output
tFrg4
Sample 4of 4
Input
9 5
aAAaBBccD
1 4 a
5 6 c
2 3 B
4 4 D
2 3 A
Output
AB
899F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)