Problem lis
User Midnight
Submission Time 2026-11-09 16:45:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
lis.cpp: In function ‘int main()’:
lis.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
lis.cpp:4:11: note: in expansion of macro ‘int’
4 | #define t int
| ^~~
lis.cpp:40:10: note: in expansion of macro ‘t’
40 | cout<<t(p-1);
| ^
lis.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
lis.cpp:4:11: note: in expansion of macro ‘int’
4 | #define t int
| ^~~
lis.cpp:44:8: note: in expansion of macro ‘t’
44 | cout<<t(N);
| ^