Problem party_noi
User NuggetsAreNice
Submission Time 2024-08-08 21:11:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party_noi.cpp: In function ‘int main()’:
party_noi.cpp:8:2: error: ‘ll’ was not declared in this scope
8 | ll n;
| ^~
party_noi.cpp:9:4: error: expected ‘;’ before ‘numSeats’
9 | ll numSeats = 0;
| ^~~~~~~~~
| ;
party_noi.cpp:10:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
10 | cin >> n;
| ^
| yn
party_noi.cpp:11:11: error: template argument 2 is invalid
11 | vector<ll> happiness(n);
| ^
party_noi.cpp:12:4: error: expected ‘;’ before ‘happy’
12 | ll happy;
| ^~~~~~
| ;
party_noi.cpp:13:4: error: expected ‘;’ before ‘tHappiness’
13 | ll tHappiness = 0;
| ^~~~~~~~~~~
| ;
party_noi.cpp:14:9: error: expected ‘;’ before ‘i’
14 | for (ll i = 0; i < n; i++) {
| ^~
| ;
party_noi.cpp:14:17: error: ‘i’ was not declared in