# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
147378 | mosiashvililuka | Arranging Shoes (IOI19_shoes) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
long long a,b,c,d,e,f[200009];
long long count_swaps(int N, int S[]){
a=N*2;
for(b=1; b<=a; b++) f[b]=S[b-1];
if(f[1]<0) return 0; else return 1;
return 0;
}