Problem 3nplus1II
User chenyuming
Submission Time 2026-11-02 11:17:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
3nplus1II.cpp:5:1: note: in expansion of macro ‘int’
5 | int main(){
| ^~~
3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
3nplus1II.cpp:7:2: note: in expansion of macro ‘int’
7 | int length;
| ^~~
3nplus1II.cpp:7:6: error: ‘length’ was not declared in this scope
7 | int length;
| ^~~~~~
3nplus1II.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
3nplus1II.cpp:10:2: note: in expansion of macro ‘int’
10 | int time;
| ^~~
3nplus1II.cpp:11:6: error: no match for ‘operator>>’ (operand types are ‘std::istream’ {aka ‘std::b