# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1233587 | sakka | Arranging Shoes (IOI19_shoes) | C++20 | 0 ms | 328 KiB |
#include "shoes.h"
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define fi first
#define sec second
#define pll pair<long long, long long>
using namespace std;
ll count_swaps(vector<int> s) {
int sz = s.size();
if(sz==1){
if(s[0]<0)return 0;
else return 1;
}
}
/*
g++ -std=gnu++14 -O2 -Wall -pipe -static -o "shoes" "grader.cpp" "shoes.cpp"
*/
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |