| Problem | f7 |
|---|---|
| User | aanyabiswas |
| Submission Time | 2025-01-11 20:25:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
f7.cpp: In function ‘int main()’:
f7.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N;
| ^~~
f7.cpp:4:5: error: ‘string’ was not declared in this scope
4 | string pb = "yes"; // possibility
| ^~~~~~
f7.cpp:7:5: error: ‘vector’ was not declared in this scope
7 | vector<int> drivers;
| ^~~~~~
f7.cpp:7:12: error: expected primary-expression before ‘int’
7 | vector<int> drivers;
| ^~~
f7.cpp:11:9: error: ‘drivers’ was not declared in this scope; did you mean ‘driver’?
11 | drivers.push_back(driver);
| ^~~~~~~
| driver
f7.cpp:14:10: error: ‘drivers’ was not declared in this scope
14 | sort(drivers.begin(), drivers.end());
| ^~~~~~~
f7.cpp:14:5: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
14 | sort(drivers.begin(), drivers.end(