제출 #986389

#제출 시각아이디문제언어결과실행 시간메모리
986389emad234게임 (IOI14_game)C++17
100 / 100
231 ms18252 KiB
#pragma once #include "bits/stdc++.h" #define F first #define S second #define ll long long #define pii pair<int,int> const int mxN = 1505; const int mod = 1e9 + 7; using namespace std; vector<int>s[mxN]; int N; int cnt[mxN]; void initialize(int n){ N = n; } int hasEdge(int u, int v){ if(u < v) swap(u,v); cnt[u]++; return cnt[u] == u; }

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

game.cpp:1:9: warning: #pragma once in main file
    1 | #pragma once
      |         ^~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...