# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
971909 | 2024-04-29T13:13:56 Z | Stinny | Arranging Shoes (IOI19_shoes) | C++17 | 0 ms | 0 KB |
#include <bits/stdc++.h> #define int long long using namespace std; void solve() { int n; cin >> n; int a[2 * n]; for (int i = 0; i < 2 * n; i++) cin >> a[i]; cout << (a[0] < 0 ? 0 : 1); } int32_t main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); solve(); }