제출 #1058678

#제출 시각아이디문제언어결과실행 시간메모리
1058678qwusha열쇠 (IOI21_keys)C++17
0 / 100
0 ms344 KiB
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define fi first #define se second typedef long double ld; const ld eps = 1e-8; mt19937 rnd(chrono::high_resolution_clock::now().time_since_epoch().count()); const ll inf = 1e18; const ll mod = 1e9 + 7; #include "keys.h" vector<int> find_reachable(vector<int> r, vector<int> u, vector<int> v, vector<int> c) { ll n = r.size(); int m = u.size(); vector<int> res(n); for (int i = 0; i < n; i++) { res[i] = (r[i] != 0); } return res; }

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

keys.cpp: In function 'std::vector<int> find_reachable(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
keys.cpp:17:9: warning: unused variable 'm' [-Wunused-variable]
   17 |     int m = u.size();
      |         ^
#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...