# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
940023 |
2024-03-07T04:05:28 Z |
vjudge1 |
Lottery (CEOI18_lot) |
C++17 |
|
25 ms |
65536 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;
int cnt[N][N];
signed main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
for ( int i = 0; i < N; i++ ){
for ( int j = 0; j < N; j++ ){
cnt[i][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 |
Runtime error |
25 ms |
65536 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
25 ms |
65536 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
13 ms |
65536 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
13 ms |
65536 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
25 ms |
65536 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |