# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1177719 | alwaus424 | Arranging Shoes (IOI19_shoes) | C++17 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n; cin >> n;
vector<int> v(n*2);
for(int i = 0;i<n*2;i++) cin >> v[i];
if (v[1] < 0) cout << 1;
else cout << 0;
return 0;
}