답안 #394265

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
394265 2021-04-26T09:23:30 Z Sugardorj 자매 도시 (APIO20_swap) C++14
6 / 100
119 ms 5860 KB
//#include "swap.h"
#include <bits/stdc++.h>
using namespace std;
int  i,j,s,t;
int a[261523],b[234567],l,r,tt,k,y,z,n,m,N,M,x;
vector<int>te,so, p[1234],an;


void init(int NN, int MM, vector <int> U,vector <int> V, vector <int> W) {
    m= W[0];
    N=NN;
    M=MM;
    for (auto u:W)
        m=max (m,u);
}
int getMinimumFuelCapacity(int u, int v) {
    if (N==M+1)
        return -1;
    return m;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 332 KB Output is correct
3 Correct 1 ms 204 KB Output is correct
4 Correct 1 ms 332 KB Output is correct
5 Correct 1 ms 332 KB Output is correct
6 Correct 1 ms 332 KB Output is correct
7 Correct 1 ms 332 KB Output is correct
8 Correct 1 ms 332 KB Output is correct
9 Correct 27 ms 2160 KB Output is correct
10 Correct 33 ms 2488 KB Output is correct
11 Correct 32 ms 2472 KB Output is correct
12 Correct 36 ms 2672 KB Output is correct
13 Correct 34 ms 2668 KB Output is correct
14 Correct 35 ms 2280 KB Output is correct
15 Correct 119 ms 4296 KB Output is correct
16 Correct 99 ms 4304 KB Output is correct
17 Correct 102 ms 4432 KB Output is correct
18 Correct 112 ms 4560 KB Output is correct
19 Correct 62 ms 4108 KB Output is correct
20 Correct 96 ms 5444 KB Output is correct
21 Correct 100 ms 5732 KB Output is correct
22 Correct 107 ms 5860 KB Output is correct
23 Correct 105 ms 5852 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 332 KB Output is correct
3 Incorrect 91 ms 4244 KB Output isn't correct
4 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 332 KB Output is correct
3 Correct 1 ms 204 KB Output is correct
4 Correct 1 ms 332 KB Output is correct
5 Correct 1 ms 332 KB Output is correct
6 Correct 1 ms 332 KB Output is correct
7 Correct 1 ms 332 KB Output is correct
8 Correct 1 ms 332 KB Output is correct
9 Incorrect 1 ms 332 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 332 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 332 KB Output is correct
3 Correct 1 ms 204 KB Output is correct
4 Correct 1 ms 332 KB Output is correct
5 Correct 1 ms 332 KB Output is correct
6 Correct 1 ms 332 KB Output is correct
7 Correct 1 ms 332 KB Output is correct
8 Correct 1 ms 332 KB Output is correct
9 Correct 27 ms 2160 KB Output is correct
10 Correct 33 ms 2488 KB Output is correct
11 Correct 32 ms 2472 KB Output is correct
12 Correct 36 ms 2672 KB Output is correct
13 Correct 34 ms 2668 KB Output is correct
14 Correct 35 ms 2280 KB Output is correct
15 Correct 119 ms 4296 KB Output is correct
16 Correct 99 ms 4304 KB Output is correct
17 Correct 102 ms 4432 KB Output is correct
18 Correct 112 ms 4560 KB Output is correct
19 Incorrect 91 ms 4244 KB Output isn't correct
20 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 332 KB Output isn't correct