Problem | eight |
---|---|
User | SideQuesting |
Submission Time | 2025-06-16 16:47:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eight.cpp: In function ‘int main()’:
eight.cpp:6:28: error: ‘N’ cannot be used as a function
6 | cin >> N (1<= N <= 2*10^5);
| ^
eight.cpp:7:17: error: ‘counter’ was not declared in this scope
7 | if ( N == 8) {counter ++;}
| ^~~~~~~
eight.cpp:8:8: error: ‘counter’ was not declared in this scope
8 | else {counter = 0;}
| ^~~~~~~
eight.cpp:9:12: error: redeclaration of ‘long long int N’
9 | long long N;
| ^
eight.cpp:5:12: note: ‘long long int N’ previously declared here
5 | long long N;
| ^
eight.cpp:10:26: error: ‘N’ cannot be used as a function
10 | cin >> N (1<= N <= 10^18);
| ^
eight.cpp:11:16: error: ‘counter’ was not declared in this scope
11 | if ( N == 8) {counter ++;}
| ^~~~~~~
eight.cpp:12:8: error: ‘c