제출 #331641

#제출 시각아이디문제언어결과실행 시간메모리
331641rocks03게임 (IOI14_game)C++14
0 / 100
1 ms380 KiB
#include "game.h" #pragma GCC target("avx2") #pragma GCC optimization("O3") #pragma GCC optimization("unroll-loops") #include<bits/stdc++.h> using namespace std; #define ll long long #define pii pair<int, int> #define pll pair<ll, ll> #define ff first #define ss second #define pb push_back #define SZ(x) ((int)(x).size()) #define all(x) x.begin(), x.end() mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); vector<int> cnt; void initialize(int n) { cnt.resize(n, n-1); } int hasEdge(int u, int v){ cnt[u]--, cnt[v]--; return (cnt[u] && cnt[v]); }

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

game.cpp:3: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
    3 | #pragma GCC optimization("O3")
      | 
game.cpp:4: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
    4 | #pragma GCC optimization("unroll-loops")
      |
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...