# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
940024 |
2024-03-07T04:07:39 Z |
vjudge1 |
Lottery (CEOI18_lot) |
C++17 |
|
8 ms |
344 KB |
#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 time |
Memory |
Grader output |
1 |
Incorrect |
8 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
8 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
5 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
5 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
8 ms |
344 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |