Submission #1200753

#TimeUsernameProblemLanguageResultExecution timeMemory
1200753china001자매 도시 (APIO20_swap)C++20
Compilation error
0 ms0 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 NN = 2e5 + 78 , MOD = 1e9 + 7 , inf = 1e18;
const double eps = 1e-11;

vector<pii> g[NN]
int ww[NN];
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:49: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
   16 | const int NN = 2e5 + 78 , MOD = 1e9 + 7 , inf = 1e18;
      |                                                 ^~~~
swap.cpp:20:1: error: expected initializer before 'int'
   20 | int ww[NN];
      | ^~~