답안 #680329

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
680329 2023-01-10T15:09:34 Z bin9638 CEOI16_icc (CEOI16_icc) C++17
컴파일 오류
0 ms 0 KB
#include<bits/stdc++.h>
#include <icc.h>

using namespace std;
#define N  100010
#define ll long long
#define ii pair<int,int>
#define fs first
#define sc second
#define pb push_back
#define iii pair<int,ii>
#define int ll

void run()
{
    //freopen("A.inp","r",stdin);
   // freopen("A.out","w",stdout);
    ios::sync_with_stdio(0);
    cin.tie(NULL);
    cout.tie(NULL);
    return 0;
}

Compilation message

icc.cpp: In function 'void run()':
icc.cpp:21:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
   21 |     return 0;
      |            ^