Submission #729364

#TimeUsernameProblemLanguageResultExecution timeMemory
729364pccDango Maker (JOI18_dango_maker)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;

#define ll long long
#define pll pair<ll,ll>
#define fs first
#define sc second

const int mxn = 3030;

struct edge{
	int to;
	int id;
	int cap;
	edge(){}
};

edge edges[mxn*mxn*6];
vector<int> paths[mxn*mxn*2];
int ppp = 0;


void solve(){
	return 0;
}
int main(){
	ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
	int t;cin>>t;
}

Compilation message (stderr)

dango_maker.cpp: In function 'void solve()':
dango_maker.cpp:24:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
   24 |  return 0;
      |         ^