Problem 7up
User spidermancoolboy
Submission Time 2024-02-07 21:58:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

7up.cpp: In function ‘int main()’:
7up.cpp:12:16: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
12 | shout=child+num*i;
| ^~~
| enum
7up.cpp:14:22: error: expected ‘)’ before ‘in’
14 | if (shout%7==0 or 7 in shout){
| ~ ^~~
| )