답안 #962351

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
962351 2024-04-13T11:05:42 Z Mohamed_Kachef06 자매 도시 (APIO20_swap) C++17
0 / 100
2000 ms 9916 KB
#include "swap.h"
//#include "grader.cpp"
#include <vector>
#include <bits/stdc++.h>
using namespace std;

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 (m == n-1 ? -1 : *max_element(w.begin() , w.end()));
}
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 600 KB Output is correct
2 Correct 1 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 344 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 17 ms 4680 KB Output is correct
10 Correct 22 ms 5644 KB Output is correct
11 Correct 21 ms 5724 KB Output is correct
12 Correct 29 ms 5968 KB Output is correct
13 Correct 28 ms 5936 KB Output is correct
14 Correct 21 ms 5196 KB Output is correct
15 Correct 61 ms 9764 KB Output is correct
16 Correct 62 ms 9844 KB Output is correct
17 Correct 62 ms 9916 KB Output is correct
18 Correct 63 ms 9912 KB Output is correct
19 Execution timed out 2029 ms 4688 KB Time limit exceeded
20 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 600 KB Output is correct
2 Correct 1 ms 348 KB Output is correct
3 Incorrect 68 ms 9204 KB Output isn't correct
4 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 600 KB Output is correct
2 Correct 1 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 344 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Incorrect 1 ms 348 KB Output isn't correct
10 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 600 KB Output is correct
2 Correct 1 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 344 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 17 ms 4680 KB Output is correct
10 Correct 22 ms 5644 KB Output is correct
11 Correct 21 ms 5724 KB Output is correct
12 Correct 29 ms 5968 KB Output is correct
13 Correct 28 ms 5936 KB Output is correct
14 Correct 21 ms 5196 KB Output is correct
15 Correct 61 ms 9764 KB Output is correct
16 Correct 62 ms 9844 KB Output is correct
17 Correct 62 ms 9916 KB Output is correct
18 Correct 63 ms 9912 KB Output is correct
19 Incorrect 68 ms 9204 KB Output isn't correct
20 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 348 KB Output isn't correct
2 Halted 0 ms 0 KB -