Problem funnysequence
User YSH2020
Submission Time 2025-10-29 16:16:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnysequence.cpp:3:13: error: template argument 1 is invalid
3 | #define int __int128;
| ^~~~~~~~
funnysequence.cpp:4:8: note: in expansion of macro ‘int’
4 | vector<int> a(1e6+5);
| ^~~
funnysequence.cpp:3:13: error: template argument 2 is invalid
3 | #define int __int128;
| ^~~~~~~~
funnysequence.cpp:4:8: note: in expansion of macro ‘int’
4 | vector<int> a(1e6+5);
| ^~~
funnysequence.cpp:4:11: error: expected unqualified-id before ‘>’ token
4 | vector<int> a(1e6+5);
| ^
funnysequence.cpp: In function ‘void init()’:
funnysequence.cpp:6:2: error: ‘a’ was not declared in this scope
6 | a[0] = 0;
| ^
funnysequence.cpp:3:13: error: declaration does not declare anything [-fpermissive]
3 | #define int __int128;
| ^~~~~~~~
funnysequence.cpp:8:7: note: in expansion of macro ‘i