Submission #654807

# Submission time Handle Problem Language Result Execution time Memory
654807 2022-11-01T16:57:19 Z atigun Arranging Shoes (IOI19_shoes) C++14
15 / 100
21 ms 3124 KB
#include<bits/stdc++.h>
#include"shoes.h"

using namespace std;
typedef long long ll;

ll count_swaps(vector<int> S){
  int N = S.size()/2;
  return (N-1)*1ll*(N)/2;
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 1 ms 212 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 1 ms 304 KB Output is correct
5 Correct 21 ms 2988 KB Output is correct
6 Correct 19 ms 3116 KB Output is correct
7 Correct 20 ms 3124 KB Output is correct
8 Correct 19 ms 3124 KB Output is correct
9 Correct 19 ms 2988 KB Output is correct
10 Correct 19 ms 3120 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Incorrect 0 ms 212 KB Output isn't correct
3 Halted 0 ms 0 KB -