제출 #316655

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