Problem duckeatduck
User CKCodeBreaker55
Submission Time 2024-12-06 14:03:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckeatduck.cpp: In function ‘int main()’:
duckeatduck.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
duckeatduck.cpp:8:2: note: in expansion of macro ‘int’
8 | int N;
| ^~~
duckeatduck.cpp:8:6: error: ‘N’ was not declared in this scope
8 | int N;
| ^
duckeatduck.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
duckeatduck.cpp:9:2: note: in expansion of macro ‘int’
9 | int count = 0;
| ^~~
duckeatduck.cpp:9:14: error: overloaded function with no contextual type information
9 | int count = 0;
| ^
duckeatduck.cpp:19:8: error: no post-increment operator for type
19 | count++;
| ^~
duckeatduck.cpp:21:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘