Problem 4russians
User penguin1234
Submission Time 2024-07-09 08:58:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

4russians.cpp: In function ‘int main()’:
4russians.cpp:14:13: error: expected primary-expression at end of input
14 | cin >> S[
| ^
4russians.cpp:14:14: error: expected ‘]’ at end of input
14 | cin >> S[
| ~^
| ]
4russians.cpp:14:13: error: expected ‘}’ at end of input
14 | cin >> S[
| ^
4russians.cpp:13:31: note: to match this ‘{’
13 | for (int i = 0; i < N; ++i) {
| ^
4russians.cpp:14:13: error: expected ‘}’ at end of input
14 | cin >> S[
| ^
4russians.cpp:5:12: note: to match this ‘{’
5 | int main() {
| ^