Problem | lunchbox |
---|---|
User | themadpotato |
Submission Time | 2023-01-11 16:31:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:2:17: error: ‘st’ is not a namespace-name
2 | using namespace st
| ^~
lunchbox.cpp:2:19: error: expected ‘;’ before ‘int’
2 | using namespace st
| ^
| ;
3 |
4 | int m, n;
| ~~~
lunchbox.cpp:5:1: error: ‘vector’ does not name a type
5 | vector<int> k, dp, left;
| ^~~~~~
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:7:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
7 | cin >> n >> m;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from lunchbox.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
lunchbox.cpp:12:3: error: ‘k’ was not declared in this scop