Submission #827923

#TimeUsernameProblemLanguageResultExecution timeMemory
827923smatcsuArranging Shoes (IOI19_shoes)C++17
10 / 100
1 ms216 KiB
#include<bits/stdc++.h> #define ll long long using namespace std; ll count_swaps(vector<int> v){ if(abs(v[0])==v[1] and v[0]<=0 and v[1]>=0) return 0; else{ if(abs(v[1])==v[0] and v[1]<=0 and v[0]>=0) return 1; else return -1; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...