Problem wv
User WangZhenxuan
Submission Time 2025-06-18 11:04:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wv.cpp: In function ‘int main()’:
wv.cpp:15:19: error: invalid types ‘int[int]’ for array subscript
15 | if (tung[i] == 'v') {
| ^
wv.cpp:17:23: error: invalid types ‘int[int]’ for array subscript
17 | } else (tung[i] == 'w') {
| ^
wv.cpp:22:13: error: ‘spike_count’ was not declared in this scope
22 | cout << spike_count;
| ^~~~~~~~~~~