Problem catfight
User chiefoggy
Submission Time 2024-03-26 07:42:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catfight.cpp:4:9: error: ‘ll’ does not name a type
4 | typedef ll long long;
| ^~
catfight.cpp: In function ‘int main()’:
catfight.cpp:11:5: error: ‘ll’ was not declared in this scope
11 | ll N, P;
| ^~
catfight.cpp:12:12: error: ‘N’ was not declared in this scope
12 | cin >> N >> P;
| ^
catfight.cpp:12:17: error: ‘P’ was not declared in this scope
12 | cin >> N >> P;
| ^
catfight.cpp:14:14: error: template argument 2 is invalid
14 | vector<ll> cat_powers(N);
| ^
catfight.cpp:15:12: error: expected ‘;’ before ‘i’
15 | for (ll i = 0; i < N; ++i) {
| ^~
| ;
catfight.cpp:15:20: error: ‘i’ was not declared in this scope
15 | for (ll i = 0; i < N; ++i) {
| ^
catfight.cpp:19:7: error: expected ‘;’ before