Problem | splithunny |
---|---|
User | AltheaZ |
Submission Time | 2023-07-14 17:13:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘int main()’:
splithunny.cpp:7:2: error: ‘vector’ was not declared in this scope
7 | vector<vector<int>>pools(r,vector<int>(c));
| ^~~~~~
splithunny.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>
+++ |+#include <vector>
2 | using namespace std;
splithunny.cpp:7:16: error: expected primary-expression before ‘int’
7 | vector<vector<int>>pools(r,vector<int>(c));
| ^~~
splithunny.cpp:11:9: error: ‘pools’ was not declared in this scope
11 | cin>>pools[i][j];
| ^~~~~
splithunny.cpp:15:6: error: ‘pools’ was not declared in this scope
15 | if (pools[0][0]=='H'){
| ^~~~~
splithunny.cpp:16:3: error: ‘count’ was not declared in this scope
16 | count=1;
| ^~~~~
splithunny.cpp