Submission #961358

# Submission time Handle Problem Language Result Execution time Memory
961358 2024-04-11T22:22:25 Z Mohamed_Kachef06 Swapping Cities (APIO20_swap) C++17
0 / 100
70 ms 10036 KB
#include "swap.h"

// #ifndef ONLINE_JUDGE
// #include "grader.cpp"
// #endif
#include <bits/stdc++.h>
using namespace std;

map<pair<int , int> , int> mp;
multiset<int> ms;

int n , m;
vector<int> u , v , w; 

void init(int N, int M,
          std::vector<int> U, std::vector<int> V, std::vector<int> W) {
      
      n = N;  m = M; 
      u = U; v = V; w = W;
} 

int getMinimumFuelCapacity(int X, int Y) {
  return -1;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 344 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 348 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 464 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 17 ms 4744 KB Output is correct
10 Correct 35 ms 5716 KB Output is correct
11 Correct 21 ms 5632 KB Output is correct
12 Correct 22 ms 6088 KB Output is correct
13 Correct 22 ms 5980 KB Output is correct
14 Correct 21 ms 5056 KB Output is correct
15 Correct 60 ms 9776 KB Output is correct
16 Correct 61 ms 9736 KB Output is correct
17 Correct 70 ms 10036 KB Output is correct
18 Correct 61 ms 9916 KB Output is correct
19 Incorrect 36 ms 5204 KB Output isn't correct
20 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Incorrect 57 ms 5212 KB Output isn't correct
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 344 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 348 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 464 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Incorrect 0 ms 348 KB Output isn't correct
10 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 344 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 348 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 464 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 17 ms 4744 KB Output is correct
10 Correct 35 ms 5716 KB Output is correct
11 Correct 21 ms 5632 KB Output is correct
12 Correct 22 ms 6088 KB Output is correct
13 Correct 22 ms 5980 KB Output is correct
14 Correct 21 ms 5056 KB Output is correct
15 Correct 60 ms 9776 KB Output is correct
16 Correct 61 ms 9736 KB Output is correct
17 Correct 70 ms 10036 KB Output is correct
18 Correct 61 ms 9916 KB Output is correct
19 Incorrect 57 ms 5212 KB Output isn't correct
20 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -