제출 #729364

#제출 시각아이디문제언어결과실행 시간메모리
729364pccDango Maker (JOI18_dango_maker)C++14
컴파일 에러
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; }

컴파일 시 표준 에러 (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;
      |         ^