Problem magiccarps
User dev1634
Submission Time 2023-02-01 16:39:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

magiccarps.cpp: In function ‘int main()’:
magiccarps.cpp:6:27: error: expected primary-expression before ‘,’ token
6 | int poop , jump , cheer; , answer;
| ^
magiccarps.cpp:6:29: error: ‘answer’ was not declared in this scope
6 | int poop , jump , cheer; , answer;
| ^~~~~~
magiccarps.cpp:9:23: error: ‘n’ was not declared in this scope
9 | for (int a = 0; a < n; a++) {
| ^
magiccarps.cpp:13:23: error: ‘n’ was not declared in this scope
13 | for (int b = 0; b < n; b++) {
| ^