제출 #521033

#제출 시각아이디문제언어결과실행 시간메모리
521033Valaki2Arranging Shoes (IOI19_shoes)C++14
25 / 100
28 ms2720 KiB
#include "shoes.h" #define ll long long using namespace std; ll count_swaps(vector<int> s) { ll n = s.size() / 2; if(n == 1) return s[0] > s[1]; return n * (n - 1) / 2; }
#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...