QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#434373 | #8784. Dwarfs' Bedtime | ucup-team037# | AC ✓ | 18ms | 4136kb | C++20 | 2.5kb | 2024-06-08 15:55:05 | 2024-06-08 15:55:07 |
Judging History
answer
// Hallelujah, praise the one who set me free
// Hallelujah, death has lost its grip on me
// You have broken every chain, There's salvation in your name
// Jesus Christ, my living hope
#include <bits/stdc++.h>
using namespace std;
#define REP(i, s, e) for (int i = (s); i < (e); i++)
#define RREP(i, s, e) for (int i = (s); i >= (e); i--)
template <class T>
inline bool mnto(T& a, T b) {return b < a ? a = b, 1 : 0;}
template <class T>
inline bool mxto(T& a, T b) {return a < b ? a = b, 1: 0;}
typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
#define FI first
#define SE second
typedef pair<int, int> ii;
typedef pair<ll, ll> pll;
typedef tuple<int, int, int> iii;
#define ALL(_a) _a.begin(), _a.end()
#define SZ(_a) (int) _a.size()
#define pb push_back
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<ii> vii;
typedef vector<iii> viii;
#ifndef DEBUG
#define cerr if (0) cerr
#endif
const int INF = 1000000005;
const ll LINF = 1000000000000000005ll;
const int MAXN = 105;
const int MAXQ = 50;
const int MOD = 1440;
int n;
bool b[MAXN];
bool fnd[MAXN];
bool done[MAXN];
int ans[MAXN];
vi qry[MOD];
string cvt(int t) {
char s[20];
sprintf(s, "%02d:%02d", t / 60, t % 60);
return string(s);
}
bool ask(int t, int i) {
cout << "at " << cvt(t) << " check " << i << endl;
string s; cin >> s;
return s == "awake";
}
int main() {
cin >> n;
REP (i, 1, n + 1) {
b[i] = ask(0, i);
}
int p = 0;
RREP (g, 49, 1) {
int pp = p;
p += g;
mnto(p, MOD / 2);
REP (i, 1, n + 1) {
if (fnd[i]) {
continue;
}
if (b[i] != ask(p, i)) {
ans[i] = p + MOD / 2;
REP (j, pp + MOD / 2 + 1, ans[i]) {
qry[j].pb(i);
}
if (ans[i] == MOD) {
ans[i] = 0;
}
fnd[i] = 1;
}
}
}
REP (i, 1, n + 1) {
assert(fnd[i]);
}
REP (p, 0, MOD) {
for (int i : qry[p]) {
if (done[i]) {
continue;
}
if (ask(p, i) == b[i]) {
ans[i] = p;
done[i] = 1;
}
}
}
cout << "answer" << endl;
REP (i, 1, n + 1) {
if (b[i]) {
ans[i] += MOD / 2;
if (ans[i] >= MOD) {
ans[i] -= MOD;
}
}
cout << cvt(ans[i]) << '\n';
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3848kb
input:
2 asleep awake asleep awake asleep awake asleep asleep asleep asleep asleep asleep asleep asleep asleep awake asleep asleep asleep awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake a...
output:
at 00:00 check 1 at 00:00 check 2 at 00:49 check 1 at 00:49 check 2 at 01:37 check 1 at 01:37 check 2 at 02:24 check 1 at 02:24 check 2 at 03:10 check 1 at 03:55 check 1 at 04:39 check 1 at 05:22 check 1 at 06:04 check 1 at 06:45 check 1 at 07:25 check 1 at 08:04 check 1 at 13:38 check 2 at 13:39 ch...
result:
ok n = 2, total = 55, max = 47
Test #2:
score: 0
Accepted
time: 1ms
memory: 3804kb
input:
1 asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake
output:
at 00:00 check 1 at 00:49 check 1 at 01:37 check 1 at 02:24 check 1 at 03:10 check 1 at 03:55 check 1 at 04:39 check 1 at 05:22 check 1 at 06:04 check 1 at 06:45 check 1 at 07:25 check 1 at 08:04 check 1 at 08:42 check 1 at 09:19 check 1 at 09:55 check 1 at 10:30 check 1 at 11:04 check 1 at 11:37 ch...
result:
ok n = 1, total = 41, max = 41
Test #3:
score: 0
Accepted
time: 1ms
memory: 3904kb
input:
3 awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake asleep awake awake a...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:49 check 1 at 00:49 check 2 at 00:49 check 3 at 01:37 check 1 at 01:37 check 2 at 01:37 check 3 at 02:24 check 1 at 02:24 check 2 at 02:24 check 3 at 03:10 check 1 at 03:10 check 2 at 03:10 check 3 at 03:55 check 1 at 03:55 check 2 at 03:55 ch...
result:
ok n = 3, total = 123, max = 41
Test #4:
score: 0
Accepted
time: 0ms
memory: 4060kb
input:
24 asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep awake awake awake awake awake awake awake awake awake awake awake awake asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep awake awake awake awake awake awake awake awake awake awake awak...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 24, total = 768, max = 47
Test #5:
score: 0
Accepted
time: 0ms
memory: 4136kb
input:
24 awake asleep asleep asleep awake asleep asleep awake asleep awake awake awake asleep asleep awake awake awake asleep asleep asleep awake awake asleep awake awake asleep asleep asleep awake asleep asleep awake asleep awake awake awake asleep asleep awake awake awake asleep asleep asleep awake awak...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 24, total = 746, max = 46
Test #6:
score: 0
Accepted
time: 5ms
memory: 4056kb
input:
100 asleep awake awake asleep asleep awake asleep asleep asleep asleep asleep awake awake awake asleep awake asleep asleep asleep asleep awake asleep awake asleep asleep awake asleep awake asleep awake asleep asleep asleep awake awake asleep asleep asleep awake awake awake asleep awake awake awake a...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3172, max = 50
Test #7:
score: 0
Accepted
time: 3ms
memory: 3780kb
input:
100 asleep asleep asleep awake awake asleep awake asleep awake asleep asleep asleep awake asleep asleep awake awake asleep awake asleep asleep awake awake asleep asleep awake awake awake asleep awake asleep awake asleep asleep awake awake awake asleep awake awake awake asleep awake awake awake awake...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3071, max = 50
Test #8:
score: 0
Accepted
time: 5ms
memory: 3804kb
input:
100 awake awake awake asleep asleep awake awake asleep asleep awake awake asleep awake asleep asleep awake asleep asleep asleep asleep awake asleep asleep asleep asleep awake asleep asleep asleep asleep asleep asleep asleep awake asleep awake awake asleep awake asleep awake awake awake asleep awake ...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3061, max = 50
Test #9:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
100 awake awake asleep awake asleep awake asleep awake asleep awake awake asleep awake awake asleep awake asleep awake awake awake awake asleep awake awake awake awake awake asleep asleep asleep awake asleep asleep awake asleep awake asleep asleep awake asleep awake awake asleep awake awake awake as...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3146, max = 50
Test #10:
score: 0
Accepted
time: 10ms
memory: 3788kb
input:
100 awake awake awake awake awake asleep awake awake asleep asleep awake awake awake asleep awake awake awake asleep asleep awake asleep asleep asleep awake awake awake asleep asleep awake asleep asleep asleep awake awake asleep awake asleep awake awake awake asleep awake asleep asleep asleep awake ...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 2966, max = 50
Test #11:
score: 0
Accepted
time: 5ms
memory: 3792kb
input:
100 asleep awake awake awake asleep asleep awake awake awake awake awake asleep awake awake asleep asleep awake awake awake awake asleep asleep asleep awake asleep asleep asleep awake asleep asleep asleep asleep asleep asleep awake asleep asleep awake asleep awake asleep awake awake asleep awake asl...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 2824, max = 50
Test #12:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
100 awake awake awake asleep asleep awake asleep awake asleep awake awake awake asleep asleep asleep awake awake awake asleep awake awake asleep awake awake awake awake asleep awake asleep awake asleep asleep awake awake asleep awake asleep asleep asleep awake asleep awake awake awake awake awake as...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3076, max = 50
Test #13:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
100 asleep awake awake awake asleep awake awake asleep asleep awake awake asleep awake awake awake awake asleep asleep asleep awake asleep awake awake awake asleep asleep awake asleep awake asleep asleep asleep awake asleep awake asleep asleep awake asleep awake awake asleep awake awake asleep aslee...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3207, max = 50
Test #14:
score: 0
Accepted
time: 0ms
memory: 4084kb
input:
100 awake asleep asleep asleep asleep asleep asleep asleep asleep awake asleep asleep asleep awake asleep asleep asleep asleep asleep asleep awake asleep asleep awake asleep awake awake asleep asleep awake awake awake asleep awake awake awake awake awake asleep asleep awake asleep awake asleep aslee...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 2944, max = 50
Test #15:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
100 awake awake awake asleep awake asleep awake asleep asleep awake asleep awake awake asleep awake asleep awake awake asleep awake awake asleep asleep asleep asleep awake asleep awake asleep awake awake awake asleep asleep awake asleep asleep awake awake asleep awake awake awake awake awake awake a...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3109, max = 50
Test #16:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
100 awake asleep awake asleep awake awake awake awake awake asleep asleep awake asleep awake asleep awake awake asleep asleep asleep asleep awake awake awake asleep awake awake asleep asleep asleep awake asleep asleep asleep awake asleep asleep asleep awake awake awake awake asleep asleep asleep awa...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 2962, max = 50
Test #17:
score: 0
Accepted
time: 5ms
memory: 4076kb
input:
100 asleep asleep asleep awake awake awake awake asleep awake asleep awake asleep asleep asleep awake asleep awake awake awake asleep asleep asleep asleep asleep awake asleep asleep asleep awake awake awake asleep asleep asleep asleep asleep awake awake awake awake asleep awake awake awake awake asl...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3216, max = 50
Test #18:
score: 0
Accepted
time: 15ms
memory: 3788kb
input:
100 awake asleep asleep awake awake asleep asleep asleep asleep asleep awake asleep awake asleep awake asleep asleep asleep awake awake asleep asleep asleep awake awake awake asleep asleep awake asleep asleep awake awake asleep asleep awake awake asleep asleep asleep awake asleep asleep awake asleep...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 2914, max = 50
Test #19:
score: 0
Accepted
time: 18ms
memory: 3848kb
input:
100 asleep awake awake asleep awake awake awake asleep asleep asleep awake awake asleep awake asleep asleep awake asleep awake awake asleep awake asleep awake awake awake asleep asleep asleep awake awake asleep awake asleep asleep awake asleep awake awake awake asleep asleep asleep awake awake awake...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 2861, max = 50
Test #20:
score: 0
Accepted
time: 4ms
memory: 3796kb
input:
100 awake awake awake asleep asleep awake asleep awake asleep awake awake awake asleep asleep asleep awake awake asleep awake awake asleep asleep awake asleep asleep asleep asleep awake asleep awake asleep asleep asleep asleep asleep awake asleep asleep asleep asleep asleep awake awake asleep awake ...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 100, total = 3115, max = 50
Test #21:
score: 0
Accepted
time: 16ms
memory: 4080kb
input:
98 asleep asleep awake asleep awake awake asleep awake awake awake awake awake asleep awake awake asleep awake asleep asleep awake awake awake awake asleep asleep awake asleep asleep asleep asleep awake awake asleep asleep awake awake asleep awake asleep awake asleep awake asleep asleep awake asleep...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 98, total = 2934, max = 50
Test #22:
score: 0
Accepted
time: 0ms
memory: 3796kb
input:
99 asleep asleep asleep awake awake awake awake awake asleep awake asleep asleep awake asleep asleep asleep asleep awake awake awake asleep asleep asleep asleep asleep asleep asleep awake asleep awake asleep awake asleep asleep asleep asleep asleep asleep awake asleep asleep asleep asleep awake awak...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 99, total = 2913, max = 50
Test #23:
score: 0
Accepted
time: 6ms
memory: 4048kb
input:
95 asleep awake awake awake asleep asleep asleep awake awake awake asleep awake asleep awake asleep asleep awake asleep awake asleep asleep awake awake asleep awake awake awake awake awake awake awake awake awake awake awake asleep awake asleep awake asleep asleep awake awake asleep awake asleep asl...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 95, total = 2878, max = 50
Test #24:
score: 0
Accepted
time: 4ms
memory: 3848kb
input:
93 awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awa...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 93, total = 2962, max = 50
Test #25:
score: 0
Accepted
time: 15ms
memory: 4084kb
input:
93 awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awa...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 93, total = 2833, max = 50
Test #26:
score: 0
Accepted
time: 4ms
memory: 3844kb
input:
97 awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awa...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 97, total = 3099, max = 50
Test #27:
score: 0
Accepted
time: 5ms
memory: 3884kb
input:
95 asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asl...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 95, total = 3099, max = 50
Test #28:
score: 0
Accepted
time: 8ms
memory: 3792kb
input:
97 asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asl...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 97, total = 2965, max = 50
Test #29:
score: 0
Accepted
time: 3ms
memory: 4084kb
input:
96 asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asl...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 96, total = 3008, max = 50
Test #30:
score: 0
Accepted
time: 0ms
memory: 4088kb
input:
92 awake awake awake awake awake awake asleep awake awake asleep awake awake awake asleep asleep awake asleep awake awake awake asleep awake asleep awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake asleep awake awake awake a...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 92, total = 2698, max = 50
Test #31:
score: 0
Accepted
time: 2ms
memory: 3856kb
input:
95 awake asleep asleep awake awake awake asleep awake awake awake asleep asleep asleep asleep asleep awake awake awake awake awake awake awake asleep awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake awake asleep awake awake...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 95, total = 2721, max = 50
Test #32:
score: 0
Accepted
time: 17ms
memory: 3728kb
input:
99 awake asleep awake awake awake awake asleep awake awake awake awake awake awake awake awake awake asleep awake awake awake awake awake awake asleep awake awake awake awake asleep awake asleep asleep asleep awake awake awake awake awake asleep awake awake asleep awake awake asleep awake asleep awa...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 99, total = 2982, max = 50
Test #33:
score: 0
Accepted
time: 4ms
memory: 3788kb
input:
96 asleep awake asleep asleep asleep asleep asleep asleep asleep asleep awake asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep awake asleep asleep awake awake asleep asleep asleep asleep asleep asleep awake asleep asleep asleep awake asleep awake asleep asleep asle...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 96, total = 2989, max = 49
Test #34:
score: 0
Accepted
time: 4ms
memory: 3848kb
input:
97 asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep awake asleep asleep asleep asleep asleep asleep asleep awake asleep asleep asleep asleep awake awake asleep asleep asleep awake asleep asleep asleep asleep awake awake asleep asleep asleep asleep awake asle...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 97, total = 3176, max = 50
Test #35:
score: 0
Accepted
time: 8ms
memory: 3792kb
input:
98 asleep asleep asleep asleep awake asleep awake asleep asleep awake asleep asleep asleep asleep asleep asleep asleep asleep asleep asleep awake asleep awake asleep asleep awake awake asleep asleep asleep asleep asleep asleep awake asleep asleep awake asleep awake asleep asleep asleep asleep asleep...
output:
at 00:00 check 1 at 00:00 check 2 at 00:00 check 3 at 00:00 check 4 at 00:00 check 5 at 00:00 check 6 at 00:00 check 7 at 00:00 check 8 at 00:00 check 9 at 00:00 check 10 at 00:00 check 11 at 00:00 check 12 at 00:00 check 13 at 00:00 check 14 at 00:00 check 15 at 00:00 check 16 at 00:00 check 17 at ...
result:
ok n = 98, total = 3041, max = 50
Extra Test:
score: 0
Extra Test Passed