Problem foodchain
User Shadow1
Submission Time 2024-04-27 23:54:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp:3:12: error: ‘uint128’ does not name a type; did you mean ‘rintf128’?
3 | using ll = uint128
| ^~~~~~~
| rintf128
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:6:2: error: ‘ll’ was not declared in this scope
6 | ll ans = 1;
| ^~
foodchain.cpp:7:11: error: template argument 2 is invalid
7 | vector<ll> a(5);
| ^
foodchain.cpp:8:16: error: ‘begin’ was not declared in this scope
8 | for(auto &A : a) {
| ^
foodchain.cpp:8:16: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from foodchain.cpp:1:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
In file included from /usr/include/c++/9/filesystem:38,
from /usr/include/x86_64-linux-gnu/c++/9/b