Submission #1058678

#TimeUsernameProblemLanguageResultExecution timeMemory
1058678qwushaKeys (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; }

Compilation message (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...