Problem hungrycats
User Zachareeeee
Submission Time 2024-12-02 13:45:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hungrycats.cpp:1:2: error: invalid preprocessing directive #including; did you mean #include?
1 | #including <bits/stdc++.h>
| ^~~~~~~~~
| include
hungrycats.cpp: In function ‘int main()’:
hungrycats.cpp:4:9: error: ‘cin’ was not declared in this scope
4 | long n;cin >> n;
| ^~~
hungrycats.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #including <bits/stdc++.h>
hungrycats.cpp:8:2: error: ‘vector’ was not declared in this scope
8 | vector<long> v;
| ^~~~~~
hungrycats.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #including <bits/stdc++.h>
hungrycats.cpp:8:9: error: expected primary-expression before ‘long’
8 | vector<long> v;