QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#290592 | #3273. Datalab | MoRanSky | 100 ✓ | 6ms | 4388kb | C++23 | 2.7kb | 2023-12-25 06:00:01 | 2023-12-25 06:00:02 |
Judging History
answer
#include "datalab.h"
#include <vector>
// Skyqwq
#include <bits/stdc++.h>
#define pb push_back
#define fi first
#define se second
#define mp make_pair
using namespace std;
typedef long long LL;
typedef pair<int, int> PII;
template <typename T> bool chkMax(T &x, T y) { return (y > x) ? x = y, 1 : 0; }
template <typename T> bool chkMin(T &x, T y) { return (y < x) ? x = y, 1 : 0; }
template <typename T> void inline read(T &x) {
int f = 1; x = 0; char s = getchar();
while (s < '0' || s > '9') { if (s == '-') f = -1; s = getchar(); }
while (s <= '9' && s >= '0') x = x * 10 + (s ^ 48), s = getchar();
x *= f;
}
using namespace std;
const int B = 90, N = 8200;
int n, pos[N], qe, L[N], R[N], f[N << 1], cnt, w[N];
bool ban[N];
int find(int x) {
return x == f[x] ? x : f[x] = find(f[x]);
}
void inline merge(int x, int y) {
x = find(x), y = find(y);
if (x == y) return;
cnt += 1;
f[x] = y;
}
void inline mg(int x, int y, int o) {
if (!o) {
merge(x, y), merge(x + n, y + n);
} else {
merge(x, y + n), merge(x + n, y);
}
}
vector<int> solve(int k,int LIMIT){
n = k;
cnt = 0; qe = 0;
memset(L, -1, sizeof L);
for (int i = 0; i < k; i++) {
pos[i] = i / B + 1;
if (L[pos[i]] == -1) L[pos[i]] = i, w[pos[i]] = i;
R[pos[i]] = i;
}
for (int i = 0; i < 2 * k; i++) f[i] = i;
mg(k - 2, k - 1, 1);
int tot = pos[k - 1];
// for (int i = 1; i < tot; i++) {
// bitset<8192> T;
// T[R[i]] = 1; qe++;
// bitset<8192> A = Add(T, T);
// if (A[R[i] + 2] == 1) mg(R[i], R[i] + 1, 1);
// else mg(R[i], R[i] + 1, 0);
// }
while (cnt < 16382) {
bitset<8192> T;
for (int i = 1; i <= tot; i++) {
if (ban[i] || w[i] == R[i] + 1 || w[i] >= k - 2) continue;
T[w[i]] = 1;
}
++qe;
bitset<8192> A = Add(T, T);
for (int i = 1; i <= tot; i++) {
if (ban[i] || w[i] == R[i] + 1 || w[i] >= k - 2) continue;
if (i < tot && A[R[i] + 2] && (ban[i + 1] || w[i + 1] == R[i + 1] + 1 || w[i + 1] >= k - 2 || w[i + 1] != L[i + 1])) {
for (int j = w[i] + 1; j <= R[i] + 1; j++)
mg(w[i], j, 1);
ban[i] = 1;
break;
}
if (i < tot && !A[R[i] + 2] && A[R[i] + 1] && w[i + 1] == L[i + 1] && !(ban[i + 1] || w[i + 1] == R[i + 1] + 1 || w[i + 1] >= k - 2)) {
for (int j = w[i] + 1; j <= R[i] + 1; j++)
mg(w[i], j, 1);
ban[i] = 1;
break;
}
int ps = -1;
for (int j = w[i] + 1; j <= R[i] + 1; j++)
if (A[j]) ps = j;
for (int j = w[i] + 1; j < ps; j++)
mg(w[i], j, 1);
mg(w[i], ps, 0);
w[i] = ps;
}
}
vector<int> ans;
for (int i = 0; i < k; i++)
if (find(i) == find(k - 1 + k)) ans.pb(-1);
else ans.pb(1);
return ans;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 5ms
memory: 4116kb
output:
AC 101
result:
ok Correct, 101 queries used
Test #2:
score: 10
Accepted
time: 5ms
memory: 4112kb
output:
AC 86
result:
ok Correct, 86 queries used
Test #3:
score: 10
Accepted
time: 5ms
memory: 4376kb
output:
AC 93
result:
ok Correct, 93 queries used
Test #4:
score: 10
Accepted
time: 5ms
memory: 4044kb
output:
AC 101
result:
ok Correct, 101 queries used
Test #5:
score: 10
Accepted
time: 5ms
memory: 4088kb
output:
AC 97
result:
ok Correct, 97 queries used
Test #6:
score: 10
Accepted
time: 5ms
memory: 4136kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #7:
score: 10
Accepted
time: 5ms
memory: 4048kb
output:
AC 99
result:
ok Correct, 99 queries used
Test #8:
score: 10
Accepted
time: 6ms
memory: 4380kb
output:
AC 93
result:
ok Correct, 93 queries used
Test #9:
score: 10
Accepted
time: 5ms
memory: 4108kb
output:
AC 91
result:
ok Correct, 91 queries used
Test #10:
score: 10
Accepted
time: 5ms
memory: 4132kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #11:
score: 10
Accepted
time: 5ms
memory: 4372kb
output:
AC 83
result:
ok Correct, 83 queries used
Test #12:
score: 10
Accepted
time: 5ms
memory: 4136kb
output:
AC 89
result:
ok Correct, 89 queries used
Test #13:
score: 10
Accepted
time: 5ms
memory: 4132kb
output:
AC 110
result:
ok Correct, 110 queries used
Subtask #2:
score: 15
Accepted
Test #14:
score: 15
Accepted
time: 5ms
memory: 4380kb
output:
AC 97
result:
ok Correct, 97 queries used
Test #15:
score: 15
Accepted
time: 5ms
memory: 4140kb
output:
AC 92
result:
ok Correct, 92 queries used
Test #16:
score: 15
Accepted
time: 5ms
memory: 4140kb
output:
AC 99
result:
ok Correct, 99 queries used
Test #17:
score: 15
Accepted
time: 5ms
memory: 4192kb
output:
AC 97
result:
ok Correct, 97 queries used
Test #18:
score: 15
Accepted
time: 5ms
memory: 4192kb
output:
AC 92
result:
ok Correct, 92 queries used
Test #19:
score: 15
Accepted
time: 5ms
memory: 4068kb
output:
AC 105
result:
ok Correct, 105 queries used
Test #20:
score: 15
Accepted
time: 5ms
memory: 4132kb
output:
AC 102
result:
ok Correct, 102 queries used
Test #21:
score: 15
Accepted
time: 5ms
memory: 4372kb
output:
AC 90
result:
ok Correct, 90 queries used
Test #22:
score: 15
Accepted
time: 5ms
memory: 4136kb
output:
AC 102
result:
ok Correct, 102 queries used
Test #23:
score: 15
Accepted
time: 3ms
memory: 4384kb
output:
AC 54
result:
ok Correct, 54 queries used
Test #24:
score: 15
Accepted
time: 3ms
memory: 4372kb
output:
AC 58
result:
ok Correct, 58 queries used
Test #25:
score: 15
Accepted
time: 3ms
memory: 4136kb
output:
AC 60
result:
ok Correct, 60 queries used
Test #26:
score: 15
Accepted
time: 3ms
memory: 4116kb
output:
AC 65
result:
ok Correct, 65 queries used
Test #27:
score: 15
Accepted
time: 3ms
memory: 4136kb
output:
AC 66
result:
ok Correct, 66 queries used
Test #28:
score: 15
Accepted
time: 0ms
memory: 4172kb
output:
AC 61
result:
ok Correct, 61 queries used
Test #29:
score: 15
Accepted
time: 3ms
memory: 4388kb
output:
AC 58
result:
ok Correct, 58 queries used
Test #30:
score: 15
Accepted
time: 3ms
memory: 4384kb
output:
AC 60
result:
ok Correct, 60 queries used
Test #31:
score: 15
Accepted
time: 4ms
memory: 4140kb
output:
AC 97
result:
ok Correct, 97 queries used
Test #32:
score: 15
Accepted
time: 0ms
memory: 4188kb
output:
AC 86
result:
ok Correct, 86 queries used
Test #33:
score: 15
Accepted
time: 4ms
memory: 4048kb
output:
AC 90
result:
ok Correct, 90 queries used
Test #34:
score: 15
Accepted
time: 4ms
memory: 4136kb
output:
AC 117
result:
ok Correct, 117 queries used
Test #35:
score: 15
Accepted
time: 4ms
memory: 4172kb
output:
AC 118
result:
ok Correct, 118 queries used
Test #36:
score: 15
Accepted
time: 4ms
memory: 4132kb
output:
AC 100
result:
ok Correct, 100 queries used
Test #37:
score: 15
Accepted
time: 0ms
memory: 4380kb
output:
AC 109
result:
ok Correct, 109 queries used
Test #38:
score: 15
Accepted
time: 4ms
memory: 4084kb
output:
AC 100
result:
ok Correct, 100 queries used
Test #39:
score: 15
Accepted
time: 4ms
memory: 4376kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #40:
score: 15
Accepted
time: 4ms
memory: 4192kb
output:
AC 121
result:
ok Correct, 121 queries used
Test #41:
score: 15
Accepted
time: 4ms
memory: 4068kb
output:
AC 93
result:
ok Correct, 93 queries used
Test #42:
score: 15
Accepted
time: 4ms
memory: 4088kb
output:
AC 86
result:
ok Correct, 86 queries used
Test #43:
score: 15
Accepted
time: 4ms
memory: 4088kb
output:
AC 105
result:
ok Correct, 105 queries used
Test #44:
score: 15
Accepted
time: 4ms
memory: 4108kb
output:
AC 92
result:
ok Correct, 92 queries used
Test #45:
score: 15
Accepted
time: 4ms
memory: 4376kb
output:
AC 96
result:
ok Correct, 96 queries used
Subtask #3:
score: 75
Accepted
Test #46:
score: 75
Accepted
time: 5ms
memory: 4128kb
output:
AC 96
result:
ok Correct, 96 queries used
Test #47:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 94
result:
ok Correct, 94 queries used
Test #48:
score: 75
Accepted
time: 2ms
memory: 4044kb
output:
AC 99
result:
ok Correct, 99 queries used
Test #49:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 92
result:
ok Correct, 92 queries used
Test #50:
score: 75
Accepted
time: 5ms
memory: 4064kb
output:
AC 86
result:
ok Correct, 86 queries used
Test #51:
score: 75
Accepted
time: 5ms
memory: 4120kb
output:
AC 92
result:
ok Correct, 92 queries used
Test #52:
score: 75
Accepted
time: 5ms
memory: 4064kb
output:
AC 101
result:
ok Correct, 101 queries used
Test #53:
score: 75
Accepted
time: 2ms
memory: 4060kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #54:
score: 75
Accepted
time: 5ms
memory: 4380kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #55:
score: 75
Accepted
time: 3ms
memory: 4064kb
output:
AC 62
result:
ok Correct, 62 queries used
Test #56:
score: 75
Accepted
time: 3ms
memory: 4356kb
output:
AC 58
result:
ok Correct, 58 queries used
Test #57:
score: 75
Accepted
time: 3ms
memory: 4068kb
output:
AC 60
result:
ok Correct, 60 queries used
Test #58:
score: 75
Accepted
time: 0ms
memory: 4136kb
output:
AC 58
result:
ok Correct, 58 queries used
Test #59:
score: 75
Accepted
time: 3ms
memory: 4136kb
output:
AC 62
result:
ok Correct, 62 queries used
Test #60:
score: 75
Accepted
time: 3ms
memory: 4384kb
output:
AC 62
result:
ok Correct, 62 queries used
Test #61:
score: 75
Accepted
time: 3ms
memory: 4136kb
output:
AC 58
result:
ok Correct, 58 queries used
Test #62:
score: 75
Accepted
time: 3ms
memory: 4068kb
output:
AC 64
result:
ok Correct, 64 queries used
Test #63:
score: 75
Accepted
time: 3ms
memory: 4176kb
output:
AC 61
result:
ok Correct, 61 queries used
Test #64:
score: 75
Accepted
time: 3ms
memory: 4112kb
output:
AC 90
result:
ok Correct, 90 queries used
Test #65:
score: 75
Accepted
time: 4ms
memory: 4372kb
output:
AC 98
result:
ok Correct, 98 queries used
Test #66:
score: 75
Accepted
time: 4ms
memory: 4356kb
output:
AC 91
result:
ok Correct, 91 queries used
Test #67:
score: 75
Accepted
time: 4ms
memory: 4092kb
output:
AC 126
result:
ok Correct, 126 queries used
Test #68:
score: 75
Accepted
time: 4ms
memory: 4388kb
output:
AC 94
result:
ok Correct, 94 queries used
Test #69:
score: 75
Accepted
time: 4ms
memory: 4140kb
output:
AC 98
result:
ok Correct, 98 queries used
Test #70:
score: 75
Accepted
time: 4ms
memory: 4116kb
output:
AC 92
result:
ok Correct, 92 queries used
Test #71:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 110
result:
ok Correct, 110 queries used
Test #72:
score: 75
Accepted
time: 4ms
memory: 4032kb
output:
AC 96
result:
ok Correct, 96 queries used
Test #73:
score: 75
Accepted
time: 4ms
memory: 4376kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #74:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 112
result:
ok Correct, 112 queries used
Test #75:
score: 75
Accepted
time: 4ms
memory: 4140kb
output:
AC 106
result:
ok Correct, 106 queries used
Test #76:
score: 75
Accepted
time: 4ms
memory: 4176kb
output:
AC 97
result:
ok Correct, 97 queries used
Test #77:
score: 75
Accepted
time: 2ms
memory: 4088kb
output:
AC 92
result:
ok Correct, 92 queries used
Test #78:
score: 75
Accepted
time: 4ms
memory: 4352kb
output:
AC 109
result:
ok Correct, 109 queries used
Test #79:
score: 75
Accepted
time: 2ms
memory: 4048kb
output:
AC 94
result:
ok Correct, 94 queries used
Test #80:
score: 75
Accepted
time: 2ms
memory: 4376kb
output:
AC 103
result:
ok Correct, 103 queries used
Test #81:
score: 75
Accepted
time: 0ms
memory: 4068kb
output:
AC 97
result:
ok Correct, 97 queries used
Test #82:
score: 75
Accepted
time: 4ms
memory: 4060kb
output:
AC 105
result:
ok Correct, 105 queries used
Test #83:
score: 75
Accepted
time: 0ms
memory: 4132kb
output:
AC 108
result:
ok Correct, 108 queries used
Test #84:
score: 75
Accepted
time: 4ms
memory: 4112kb
output:
AC 108
result:
ok Correct, 108 queries used
Test #85:
score: 75
Accepted
time: 4ms
memory: 4108kb
output:
AC 113
result:
ok Correct, 113 queries used
Test #86:
score: 75
Accepted
time: 4ms
memory: 4140kb
output:
AC 120
result:
ok Correct, 120 queries used
Test #87:
score: 75
Accepted
time: 4ms
memory: 4116kb
output:
AC 112
result:
ok Correct, 112 queries used
Test #88:
score: 75
Accepted
time: 2ms
memory: 4380kb
output:
AC 119
result:
ok Correct, 119 queries used
Test #89:
score: 75
Accepted
time: 2ms
memory: 4160kb
output:
AC 126
result:
ok Correct, 126 queries used
Test #90:
score: 75
Accepted
time: 4ms
memory: 4120kb
output:
AC 125
result:
ok Correct, 125 queries used
Test #91:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 133
result:
ok Correct, 133 queries used
Test #92:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 138
result:
ok Correct, 138 queries used
Test #93:
score: 75
Accepted
time: 5ms
memory: 4188kb
output:
AC 146
result:
ok Correct, 146 queries used
Test #94:
score: 75
Accepted
time: 5ms
memory: 4356kb
output:
AC 139
result:
ok Correct, 139 queries used
Test #95:
score: 75
Accepted
time: 5ms
memory: 4140kb
output:
AC 146
result:
ok Correct, 146 queries used
Test #96:
score: 75
Accepted
time: 5ms
memory: 4064kb
output:
AC 140
result:
ok Correct, 140 queries used
Test #97:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 149
result:
ok Correct, 149 queries used
Test #98:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 142
result:
ok Correct, 142 queries used
Test #99:
score: 75
Accepted
time: 5ms
memory: 4384kb
output:
AC 142
result:
ok Correct, 142 queries used
Test #100:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 148
result:
ok Correct, 148 queries used
Test #101:
score: 75
Accepted
time: 5ms
memory: 4068kb
output:
AC 154
result:
ok Correct, 154 queries used
Test #102:
score: 75
Accepted
time: 5ms
memory: 4140kb
output:
AC 156
result:
ok Correct, 156 queries used
Test #103:
score: 75
Accepted
time: 2ms
memory: 4112kb
output:
AC 154
result:
ok Correct, 154 queries used
Test #104:
score: 75
Accepted
time: 5ms
memory: 4108kb
output:
AC 161
result:
ok Correct, 161 queries used
Test #105:
score: 75
Accepted
time: 5ms
memory: 4112kb
output:
AC 166
result:
ok Correct, 166 queries used
Test #106:
score: 75
Accepted
time: 5ms
memory: 4064kb
output:
AC 167
result:
ok Correct, 167 queries used
Test #107:
score: 75
Accepted
time: 6ms
memory: 4192kb
output:
AC 170
result:
ok Correct, 170 queries used
Test #108:
score: 75
Accepted
time: 6ms
memory: 4172kb
output:
AC 174
result:
ok Correct, 174 queries used
Test #109:
score: 75
Accepted
time: 6ms
memory: 4384kb
output:
AC 178
result:
ok Correct, 178 queries used
Test #110:
score: 75
Accepted
time: 5ms
memory: 4388kb
output:
AC 138
result:
ok Correct, 138 queries used
Test #111:
score: 75
Accepted
time: 6ms
memory: 4136kb
output:
AC 179
result:
ok Correct, 179 queries used
Test #112:
score: 75
Accepted
time: 6ms
memory: 4136kb
output:
AC 177
result:
ok Correct, 177 queries used
Test #113:
score: 75
Accepted
time: 5ms
memory: 4064kb
output:
AC 170
result:
ok Correct, 170 queries used
Test #114:
score: 75
Accepted
time: 5ms
memory: 4116kb
output:
AC 162
result:
ok Correct, 162 queries used
Test #115:
score: 75
Accepted
time: 5ms
memory: 4044kb
output:
AC 161
result:
ok Correct, 161 queries used
Test #116:
score: 75
Accepted
time: 5ms
memory: 4192kb
output:
AC 164
result:
ok Correct, 164 queries used
Test #117:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 167
result:
ok Correct, 167 queries used
Test #118:
score: 75
Accepted
time: 5ms
memory: 4064kb
output:
AC 168
result:
ok Correct, 168 queries used
Test #119:
score: 75
Accepted
time: 6ms
memory: 4372kb
output:
AC 171
result:
ok Correct, 171 queries used
Test #120:
score: 75
Accepted
time: 6ms
memory: 4068kb
output:
AC 171
result:
ok Correct, 171 queries used
Test #121:
score: 75
Accepted
time: 5ms
memory: 4088kb
output:
AC 165
result:
ok Correct, 165 queries used
Test #122:
score: 75
Accepted
time: 6ms
memory: 4136kb
output:
AC 167
result:
ok Correct, 167 queries used
Test #123:
score: 75
Accepted
time: 2ms
memory: 4064kb
output:
AC 163
result:
ok Correct, 163 queries used
Test #124:
score: 75
Accepted
time: 5ms
memory: 4188kb
output:
AC 164
result:
ok Correct, 164 queries used
Test #125:
score: 75
Accepted
time: 5ms
memory: 4116kb
output:
AC 163
result:
ok Correct, 163 queries used
Test #126:
score: 75
Accepted
time: 2ms
memory: 4372kb
output:
AC 159
result:
ok Correct, 159 queries used
Test #127:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 161
result:
ok Correct, 161 queries used
Test #128:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 159
result:
ok Correct, 159 queries used
Test #129:
score: 75
Accepted
time: 5ms
memory: 4108kb
output:
AC 157
result:
ok Correct, 157 queries used
Test #130:
score: 75
Accepted
time: 2ms
memory: 4136kb
output:
AC 156
result:
ok Correct, 156 queries used
Test #131:
score: 75
Accepted
time: 5ms
memory: 4368kb
output:
AC 154
result:
ok Correct, 154 queries used
Test #132:
score: 75
Accepted
time: 5ms
memory: 4372kb
output:
AC 153
result:
ok Correct, 153 queries used
Test #133:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 154
result:
ok Correct, 154 queries used
Test #134:
score: 75
Accepted
time: 5ms
memory: 4380kb
output:
AC 154
result:
ok Correct, 154 queries used
Test #135:
score: 75
Accepted
time: 5ms
memory: 4108kb
output:
AC 152
result:
ok Correct, 152 queries used
Test #136:
score: 75
Accepted
time: 5ms
memory: 4132kb
output:
AC 149
result:
ok Correct, 149 queries used
Test #137:
score: 75
Accepted
time: 5ms
memory: 4188kb
output:
AC 149
result:
ok Correct, 149 queries used
Test #138:
score: 75
Accepted
time: 5ms
memory: 4116kb
output:
AC 148
result:
ok Correct, 148 queries used
Test #139:
score: 75
Accepted
time: 5ms
memory: 4116kb
output:
AC 149
result:
ok Correct, 149 queries used
Test #140:
score: 75
Accepted
time: 5ms
memory: 4384kb
output:
AC 148
result:
ok Correct, 148 queries used
Test #141:
score: 75
Accepted
time: 5ms
memory: 4136kb
output:
AC 148
result:
ok Correct, 148 queries used
Test #142:
score: 75
Accepted
time: 4ms
memory: 4384kb
output:
AC 97
result:
ok Correct, 97 queries used
Test #143:
score: 75
Accepted
time: 2ms
memory: 4044kb
output:
AC 93
result:
ok Correct, 93 queries used
Test #144:
score: 75
Accepted
time: 4ms
memory: 4140kb
output:
AC 114
result:
ok Correct, 114 queries used
Test #145:
score: 75
Accepted
time: 0ms
memory: 4096kb
output:
AC 94
result:
ok Correct, 94 queries used
Test #146:
score: 75
Accepted
time: 2ms
memory: 4136kb
output:
AC 114
result:
ok Correct, 114 queries used
Test #147:
score: 75
Accepted
time: 4ms
memory: 4384kb
output:
AC 93
result:
ok Correct, 93 queries used
Test #148:
score: 75
Accepted
time: 4ms
memory: 4348kb
output:
AC 90
result:
ok Correct, 90 queries used
Test #149:
score: 75
Accepted
time: 3ms
memory: 4068kb
output:
AC 91
result:
ok Correct, 91 queries used
Test #150:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #151:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 96
result:
ok Correct, 96 queries used
Test #152:
score: 75
Accepted
time: 4ms
memory: 4176kb
output:
AC 99
result:
ok Correct, 99 queries used
Test #153:
score: 75
Accepted
time: 4ms
memory: 4188kb
output:
AC 104
result:
ok Correct, 104 queries used
Test #154:
score: 75
Accepted
time: 4ms
memory: 4176kb
output:
AC 106
result:
ok Correct, 106 queries used
Test #155:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 102
result:
ok Correct, 102 queries used
Test #156:
score: 75
Accepted
time: 4ms
memory: 4140kb
output:
AC 106
result:
ok Correct, 106 queries used
Test #157:
score: 75
Accepted
time: 4ms
memory: 4380kb
output:
AC 95
result:
ok Correct, 95 queries used
Test #158:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 102
result:
ok Correct, 102 queries used
Test #159:
score: 75
Accepted
time: 4ms
memory: 4120kb
output:
AC 108
result:
ok Correct, 108 queries used
Test #160:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 104
result:
ok Correct, 104 queries used
Test #161:
score: 75
Accepted
time: 4ms
memory: 4136kb
output:
AC 112
result:
ok Correct, 112 queries used
Test #162:
score: 75
Accepted
time: 4ms
memory: 4120kb
output:
AC 102
result:
ok Correct, 102 queries used
Test #163:
score: 75
Accepted
time: 4ms
memory: 4320kb
output:
AC 102
result:
ok Correct, 102 queries used
Test #164:
score: 75
Accepted
time: 4ms
memory: 4384kb
output:
AC 112
result:
ok Correct, 112 queries used
Test #165:
score: 75
Accepted
time: 4ms
memory: 4064kb
output:
AC 110
result:
ok Correct, 110 queries used
Test #166:
score: 75
Accepted
time: 4ms
memory: 4088kb
output:
AC 98
result:
ok Correct, 98 queries used
Test #167:
score: 75
Accepted
time: 4ms
memory: 4044kb
output:
AC 106
result:
ok Correct, 106 queries used
Test #168:
score: 75
Accepted
time: 4ms
memory: 4380kb
output:
AC 108
result:
ok Correct, 108 queries used
Test #169:
score: 75
Accepted
time: 4ms
memory: 4384kb
output:
AC 106
result:
ok Correct, 106 queries used
Test #170:
score: 75
Accepted
time: 4ms
memory: 4108kb
output:
AC 110
result:
ok Correct, 110 queries used
Extra Test:
score: 0
Extra Test Passed