제출 #826083

#제출 시각아이디문제언어결과실행 시간메모리
826083LittleCube수천개의 섬 (IOI22_islands)C++17
5 / 100
33 ms6124 KiB
#include "islands.h" #include <bits/stdc++.h> #define ll long long #define pii pair<int, int> #define F first #define S second using namespace std; namespace { int K; int adj[405][405]; } variant<bool, vector<int>> find_journey(int N, int M, vector<int> U, vector<int> V) { for (int i = 0; i < M; i++) adj[U[i]][V[i]] = i; if (N == 2) return false; return vector<int>{adj[0][1], adj[1][2], adj[2][0], adj[0][2], adj[2][1], adj[1][0], adj[2][0], adj[1][2], adj[0][1], adj[1][0], adj[2][1], adj[0][2]}; }

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

islands.cpp:11:9: warning: '{anonymous}::K' defined but not used [-Wunused-variable]
   11 |     int K;
      |         ^
#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...