| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1364108 | yavor_ptv | Arranging Shoes (IOI19_shoes) | C++20 | 0 ms | 344 KiB |
#include <bits/stdc++.h>
#include "shoes.h"
//#include "grader.cpp"
using namespace std;
vector <int> v;
long long count_swaps(vector<int> s)
{
int n = s.size();
v = s;
if (v[0] > v[1]) return 1;
else return 0;
}
/*
2
2 1 -1 -2
4
3
-2 2 2 -2 -2 2
1
*/
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
