Problem splithunny
User AltheaZ
Submission Time 2023-07-14 17:13:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

splithunny.cpp: In function ‘int main()’:
splithunny.cpp:17:3: error: ‘count’ was not declared in this scope
17 | count=1;
| ^~~~~
splithunny.cpp:21:4: error: ‘count’ was not declared in this scope
21 | count+=1;
| ^~~~~
splithunny.cpp:24:16: error: expected ‘;’ before ‘<’ token
24 | for (int j=1,j<r;j++){
| ^
| ;
splithunny.cpp:24:16: error: expected primary-expression before ‘<’ token
splithunny.cpp:27:5: error: ‘count’ was not declared in this scope
27 | count+=1;
| ^~~~~
splithunny.cpp:31:8: error: ‘count’ was not declared in this scope
31 | cout<<count;
| ^~~~~