Problem wv
User cry0rsa
Submission Time 2025-06-18 10:31:47
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
wv.cpp:17:1: error: expected ‘}’ at end of input
17 | }
| ^
wv.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^