Problem | potatosalad |
---|---|
User | Wheezycantcode |
Submission Time | 2024-02-27 17:44:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:3:18: error: template argument 1 is invalid
3 | #define int long long;
| ^~~~
potatosalad.cpp:12:28: note: in expansion of macro ‘int’
12 | sort(arr, arr + n,greater<int>());
| ^~~
potatosalad.cpp:12:31: error: expected primary-expression before ‘>’ token
12 | sort(arr, arr + n,greater<int>());
| ^
potatosalad.cpp:12:33: error: expected primary-expression before ‘)’ token
12 | sort(arr, arr + n,greater<int>());
| ^