| Problem | justright |
|---|---|
| User | sussygoose |
| Submission Time | 2026-11-06 14:39:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
justright.cpp: In function ‘int main()’:
justright.cpp:13:9: error: ‘class std::vector<long long int>’ has no member named ‘pus_back’; did you mean ‘push_back’?
13 | pre.pus_back(0);
| ^~~~~~~~
| push_back
justright.cpp:27:67: error: ‘class std::vector<bool>’ has no member named ‘length’
27 | if (curr.second.first-1 >= 0 && (vis[curr.second.first-1].length() > curr.second.second && !vis[curr.second.first -1][curr.second.second])) {
| ^~~~~~
justright.cpp:31:66: error: ‘class std::vector<bool>’ has no member named ‘length’
31 | if (curr.second.second+1 <= n && (vis[curr.second.first].length() > curr.second.second + 1 && !vis[curr.second.first][curr.second.second +1])) {
| ^~~~~~