Submission #307959

# Submission time Handle Problem Language Result Execution time Memory
307959 2020-09-29T16:40:27 Z tjdgus4384 Swapping Cities (APIO20_swap) C++14
0 / 100
1 ms 384 KB
#include<bits/stdc++.h>
using namespace std;
vector<int> U, V, W;
vector<pair<int, pair<int, int> > > mv;
int N, M, pa[100001];

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

int getMinimumFuelCapacity(int X, int Y){
    return -1;
}

Compilation message

swap.cpp: In function 'int init(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
swap.cpp:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
    9 | }
      | ^
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 384 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 384 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 384 KB Execution killed with signal 11 (could be triggered by violating memory limits)
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 384 KB Execution killed with signal 11 (could be triggered by violating memory limits)
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 384 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 384 KB Execution killed with signal 11 (could be triggered by violating memory limits)