Problem | magiccarps |
---|---|
User | dev1634 |
Submission Time | 2023-02-01 16:39:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
magiccarps.cpp: In function ‘int main()’:
magiccarps.cpp:6:6: error: expected unqualified-id before ‘=’ token
6 | int = poop , jump , cheer; , answer;
| ^
magiccarps.cpp:6:29: error: expected primary-expression before ‘,’ token
6 | int = poop , jump , cheer; , answer;
| ^
magiccarps.cpp:6:31: error: ‘answer’ was not declared in this scope
6 | int = poop , jump , cheer; , answer;
| ^~~~~~
magiccarps.cpp:7:10: error: ‘poop’ was not declared in this scope
7 | cin >> poop;
| ^~~~
magiccarps.cpp:8:7: error: expected unqualified-id before ‘=’ token
8 | int = jumpe[poop] , cheere[poop];
| ^
magiccarps.cpp:9:23: error: ‘n’ was not declared in this scope
9 | for (int a = 0; a < n; a++) {
| ^
magiccarps.cpp:10:12: error: ‘jump’ was not declared in this scope