| Problem | trainorbus |
|---|---|
| User | yoshiokalili |
| Submission Time | 2026-02-05 21:14:09 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:3:5: error: ‘ios_base’ has not been declared
3 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
trainorbus.cpp:4:5: error: ‘cin’ was not declared in this scope
4 | cin.tie(nullptr);
| ^~~
trainorbus.cpp:25:16: error: ‘min’ was not declared in this scope; did you mean ‘main’?
25 | ans += min(a[i], b[i]);
| ^~~
| main
trainorbus.cpp:28:5: error: ‘cout’ was not declared in this scope
28 | cout << ans << "\n";
| ^~~~