Submission #1200747

#TimeUsernameProblemLanguageResultExecution timeMemory
1200747china001Swapping Cities (APIO20_swap)C++20
0 / 100
49 ms9168 KiB
#include "swap.h"
#include <bits/stdc++.h>
#include <vector>

using namespace std;

#define fopen(s) freopen(s".in","r",stdin);freopen(s".out","w",stdout)
#define all(x) (x).begin(), (x).end()
#define len(x) (int)x.size()
#define pb push_back
#define F first
#define S second
//#define int long long
#define pii pair<int,int>

const int N = 2e5 + 78 , M = 1e9 + 7 , inf = 1e18;
const double eps = 1e-11;

vector<pii> g[N];
int ww[N];
vector<int> vv;

void init(int N, int M, std::vector<int> U, std::vector<int> V, std::vector<int> W) {

	
    
}

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

Compilation message (stderr)

swap.cpp:16:46: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
   16 | const int N = 2e5 + 78 , M = 1e9 + 7 , inf = 1e18;
      |                                              ^~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...