Submission #729366

# Submission time Handle Problem Language Result Execution time Memory
729366 2023-04-24T01:20:31 Z pcc Dango Maker (JOI18_dango_maker) C++14
Compilation error
0 ms 0 KB
#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*3];
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

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;
      |         ^