Submission #396461

# Submission time Handle Problem Language Result Execution time Memory
396461 2021-04-30T01:50:56 Z Kevin_Zhang_TW Swapping Cities (APIO20_swap) C++17
0 / 100
117 ms 8856 KB
#include <bits/stdc++.h>
#include "swap.h"
using namespace std;
using ll = long long;
#define pb emplace_back
#define AI(i) begin(i), end(i)
template<class T> bool chmin(T &a, T b) { return b < a && (a = b, true); }
template<class T> bool chmax(T &a, T b) { return a < b && (a = b, true); }
#ifdef KEV
#define DE(args...) kout("[ " + string(#args) + " ] = ", args)
void kout() { cerr << endl; }
template<class T, class ...U> void kout(T a, U ...b) { cerr << a << ' ', kout(b...); }
template<class T> void debug(T l, T r) { while (l != r) cerr << *l << " \n"[next(l)==r], ++l; }
#else
#define DE(...) 0
#define debug(...) 0
#endif

const int MAX_N = 300010;

void init(int N, int M,
          std::vector<int> U, std::vector<int> V, std::vector<int> W) {
	assert(M == N-1);

}

int getMinimumFuelCapacity(int X, int Y) {
  return -1;
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 292 KB Output is correct
3 Correct 1 ms 204 KB Output is correct
4 Correct 1 ms 204 KB Output is correct
5 Correct 1 ms 332 KB Output is correct
6 Correct 1 ms 308 KB Output is correct
7 Correct 1 ms 332 KB Output is correct
8 Correct 2 ms 308 KB Output is correct
9 Correct 33 ms 3764 KB Output is correct
10 Correct 34 ms 4484 KB Output is correct
11 Correct 33 ms 4464 KB Output is correct
12 Correct 35 ms 4656 KB Output is correct
13 Correct 36 ms 4668 KB Output is correct
14 Correct 35 ms 4036 KB Output is correct
15 Correct 117 ms 8632 KB Output is correct
16 Correct 98 ms 8500 KB Output is correct
17 Correct 98 ms 8844 KB Output is correct
18 Correct 99 ms 8856 KB Output is correct
19 Runtime error 43 ms 5676 KB Execution killed with signal 6
20 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 292 KB Output is correct
3 Incorrect 93 ms 7964 KB Output isn't correct
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 292 KB Output is correct
3 Correct 1 ms 204 KB Output is correct
4 Correct 1 ms 204 KB Output is correct
5 Correct 1 ms 332 KB Output is correct
6 Correct 1 ms 308 KB Output is correct
7 Correct 1 ms 332 KB Output is correct
8 Correct 2 ms 308 KB Output is correct
9 Runtime error 1 ms 332 KB Execution killed with signal 6
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 332 KB Execution killed with signal 6
# Verdict Execution time Memory Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 292 KB Output is correct
3 Correct 1 ms 204 KB Output is correct
4 Correct 1 ms 204 KB Output is correct
5 Correct 1 ms 332 KB Output is correct
6 Correct 1 ms 308 KB Output is correct
7 Correct 1 ms 332 KB Output is correct
8 Correct 2 ms 308 KB Output is correct
9 Correct 33 ms 3764 KB Output is correct
10 Correct 34 ms 4484 KB Output is correct
11 Correct 33 ms 4464 KB Output is correct
12 Correct 35 ms 4656 KB Output is correct
13 Correct 36 ms 4668 KB Output is correct
14 Correct 35 ms 4036 KB Output is correct
15 Correct 117 ms 8632 KB Output is correct
16 Correct 98 ms 8500 KB Output is correct
17 Correct 98 ms 8844 KB Output is correct
18 Correct 99 ms 8856 KB Output is correct
19 Incorrect 93 ms 7964 KB Output isn't correct
20 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 332 KB Execution killed with signal 6