제출 #784124

#제출 시각아이디문제언어결과실행 시간메모리
784124AlfraganusArranging Shoes (IOI19_shoes)C++14
25 / 100
21 ms3128 KiB
#include "shoes.h" // #include "grader.cpp" #include <bits/stdc++.h> using namespace std; long long count_swaps(vector<int> s) { long long n = s.size() / 2; if(n == 1)return s[0] > 0; 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...