Problem holiday
User YSH2020
Submission Time 2024-12-28 11:28:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

holiday.cpp:5:13: error: ‘long long long’ is too long for GCC
5 | #define int long long int
| ^~~~
holiday.cpp:6:11: note: in expansion of macro ‘int’
6 | long long int findMaxAttraction(int n, int start, int d, int attraction[]) {
| ^~~
holiday.cpp:5:18: error: ‘long long long’ is too long for GCC
5 | #define int long long int
| ^~~~
holiday.cpp:6:11: note: in expansion of macro ‘int’
6 | long long int findMaxAttraction(int n, int start, int d, int attraction[]) {
| ^~~
holiday.cpp: In function ‘long long int findMaxAttraction(long long int, long long int, long long int, long long int*)’:
holiday.cpp:5:13: error: ‘long long long’ is too long for GCC
5 | #define int long long int
| ^~~~
holiday.cpp:7:15: note: in expansion of macro ‘int’
7 | long long int ans = 0;
| ^~~
holiday.cpp:5:18: error