Problem modulochain
User Hijackedsoul
Submission Time 2024-04-02 20:49:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

modulochain.cpp:3:13: error: ‘int128_t’ does not name a type; did you mean ‘int32_t’?
3 | #define int int128_t
| ^~~~~~~~
modulochain.cpp:4:1: note: in expansion of macro ‘int’
4 | int MOD=1e9+7;
| ^~~
modulochain.cpp: In function ‘int main()’:
modulochain.cpp:3:13: error: ‘int128_t’ was not declared in this scope; did you mean ‘int32_t’?
3 | #define int int128_t
| ^~~~~~~~
modulochain.cpp:6:2: note: in expansion of macro ‘int’
6 | int n, sum=0;
| ^~~
modulochain.cpp:7:14: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | std::cin >> n;
| ^
| yn
modulochain.cpp:8:18: error: template argument 2 is invalid
8 | std::vector <int> arr(n);
| ^
modulochain.cpp:9:10: error: expected ‘;’ before ‘i’
9 | for(int i=0; i<n; i++){
| ^
modulochain.