| Problem | tourist_noi |
|---|---|
| User | WANCH5789W |
| Submission Time | 2026-02-19 18:26:35 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
tourist_noi.cpp: In function ‘int main()’:
tourist_noi.cpp:14:20: error: conflicting declaration ‘std::vector<long long int> x’
14 | vector <long long> x(n), y(n)
| ^
tourist_noi.cpp:11:8: note: previous declaration as ‘int x’
11 | int n, x, y;
| ^
tourist_noi.cpp:14:26: error: conflicting declaration ‘std::vector<long long int> y’
14 | vector <long long> x(n), y(n)
| ^
tourist_noi.cpp:11:11: note: previous declaration as ‘int y’
11 | int n, x, y;
| ^
tourist_noi.cpp:15:18: error: ‘i’ was not declared in this scope
15 | for (int i = 0; i < n; i++) cin >> x[i];
| ^
tourist_noi.cpp:16:40: error: invalid types ‘int[int]’ for array subscript
16 | for (int i = 0; i < n; i++) cin >> y[i];
| ^
tourist_noi.cpp:18:2: error: exp