Problem wv
User cry0rsa
Submission Time 2025-06-18 10:32:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wv.cpp: In function ‘int main()’:
wv.cpp:9:19: error: cannot convert ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘int’ in initialization
9 | int spikecount = S;
| ^
| |
| std::string {aka std::__cxx11::basic_string<char>}
wv.cpp:12:13: error: ‘spikeCount’ was not declared in this scope; did you mean ‘spikecount’?
12 | spikeCount >= 1;
| ^~~~~~~~~~
| spikecount
wv.cpp:14:13: error: ‘spikeCount’ was not declared in this scope; did you mean ‘spikecount’?
14 | spikeCount >= 2;
| ^~~~~~~~~~
| spikecount