Problem foodchain
User tjy9
Submission Time 2026-07-15 12:38:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp:4:18: error: ‘vector’ in namespace ‘std’ does not name a template type
4 | using vii = std::vector<int>;
| ^~~~~~
foodchain.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #define FIO std::ios_base::sync_with_stdio(false); std::cin.tie(NULL);
foodchain.cpp:5:18: error: ‘vector’ in namespace ‘std’ does not name a template type
5 | using vll = std::vector<ll>;
| ^~~~~~
foodchain.cpp:5:13: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
5 | using vll = std::vector<ll>;
| ^~~
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:1:18: error: ‘std::ios_base’ has not been declared
1 | #define FIO std::ios_base::sync_with_stdio(false); std::cin.tie(NULL);
|