Submission #940024

#TimeUsernameProblemLanguageResultExecution timeMemory
940024vjudge1Lottery (CEOI18_lot)C++17
0 / 100
8 ms344 KiB
#include <bits/stdc++.h> using namespace std; #define all(x) x.begin(), x.end() #define ar array #define pb push_back #define ln '\n' //#define int long long using i64 = long long; template <class F, class _S> bool chmin(F &u, const _S &v){ bool flag = false; if ( u > v ){ u = v; flag |= true; } return flag; } template <class F, class _S> bool chmax(F &u, const _S &v){ bool flag = false; if ( u < v ){ u = v; flag |= true; } return flag; } const int N = 1e4 + 1; signed main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); for ( int i = 0; i < N; i++ ){ vector <int> cnt(N); for ( int j = 0; j < N; j++ ){ cnt[j] = -1; } } int n, l; cin >> n >> l; vector <int> a(n); for ( auto &u: a ) cin >> u; int q; cin >> q; while ( q-- ){ int k; cin >> k; cout << "ok\n"; } cout << '\n'; }
#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...