Problem arcade
User ptk8627
Submission Time 2023-03-16 11:20:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arcade.cpp: In function ‘int main()’:
arcade.cpp:12:41: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘a’
12 | for(ll i = 1; i <= m; i++) cin >> b[i].a;
| ^
arcade.cpp:13:41: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘t’
13 | for(ll i = 1; i <= m; i++) cin >> b[i].t;
| ^
arcade.cpp:17:44: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘t’
17 | for(ll i = 2; i <= m; i++) check &= (b[i].t - b[i - 1].t >= abs(b[i].a - b[i - 1].a));
| ^
arcade.cpp:17:57: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘t’
17 | for(ll i = 2; i <= m; i++) check &= (b[i].t - b[i - 1].t >= abs(b[i].a - b[i - 1].a));
|