Problem | trainorbus |
---|---|
User | huyleisme |
Submission Time | 2025-02-23 09:19:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:5:2: error: ‘vi’ was not declared in this scope
5 | vi a(n), b(n);
| ^~
trainorbus.cpp:6:16: error: ‘a’ was not declared in this scope
6 | for (auto &i: a) cin >> i;
| ^
trainorbus.cpp:7:16: error: ‘b’ was not declared in this scope
7 | for (auto &i: b) cin >> i;
| ^
trainorbus.cpp:10:14: error: ‘a’ was not declared in this scope
10 | ans += min(a[i], b[i]);
| ^
trainorbus.cpp:10:20: error: ‘b’ was not declared in this scope
10 | ans += min(a[i], b[i]);
| ^