제출 #722655

#제출 시각아이디문제언어결과실행 시간메모리
722655bin9638수천개의 섬 (IOI22_islands)C++17
0 / 100
4 ms596 KiB
#include <bits/stdc++.h>

#ifndef SKY
#include "islands.h"
#endif // SKY

using namespace std;

#define N 2010
#define ll long long
#define fs first
#define sc second
#define ii pair<int,int>
#define pb push_back

variant<bool, vector<int>> find_journey(int NNN, int MMM, vector<int> canh_fs, vector<int> canh_sc)
{

}

#ifdef SKY
int main()
{
    freopen("A.inp","r",stdin);
    freopen("A.out","w",stdout);
    ios::sync_with_stdio(0);
    cin.tie(NULL);
    cout.tie(NULL);

    return 0;
}
#endif

컴파일 시 표준 에러 (stderr) 메시지

islands.cpp: In function 'std::variant<bool, std::vector<int, std::allocator<int> > > find_journey(int, int, std::vector<int>, std::vector<int>)':
islands.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
   19 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...