Problem catlunch
User shenshiqi
Submission Time 2025-09-03 17:02:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp:3:1: error: ‘include’ does not name a type
3 | include <bits/stdc++.h>
| ^~~~~~~
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:8:5: error: ‘ios’ has not been declared
8 | ios::sync_with_stdio(false);
| ^~~
catlunch.cpp:9:5: error: ‘cin’ was not declared in this scope
9 | cin.tie(nullptr);
| ^~~
catlunch.cpp:13:5: error: ‘vector’ was not declared in this scope
13 | vector<ll> fishes(N);
| ^~~~~~
catlunch.cpp:5:12: error: expected primary-expression before ‘long’
5 | #define ll long long
| ^~~~
catlunch.cpp:13:12: note: in expansion of macro ‘ll’
13 | vector<ll> fishes(N);
| ^~
catlunch.cpp:14:39: error: ‘fishes’ was not declared in this scope
14 | for (ll i = 0; i < N; i++) cin >> fishes[i];
| ^~~~~~
catlunch.cpp:16:5: