QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#115324 | #6649. 那些脑海里最珍贵的 | applese | AC ✓ | 111ms | 3832kb | C++14 | 10.0kb | 2023-06-25 17:13:49 | 2023-06-25 17:13:50 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define weak 0
#define average 1
#define strong 2
const double eps = 1e-7;
const int pid[7] = {0, 5, 3, 1, 2, 4, 6}, pos[7] = {0, 3, 4, 2, 5, 1, 6};
const char team[2][6] = {"South", "North"}, type[3][10] = {"Weak", "Average", "Strong"};
const double skl[3][6] = {{0, 0.1, 0.12, 0.15, 0.17, 0.20}, {0, 0.06, 0.07, 0.08, 0.09, 0.10}, {0, 2.1, 2.17, 2.24, 2.32, 2.4}};
double ty[3][3], dir[6] = {1.25, 1.00, 0.75, 0.00, 0.75, 1.00};
struct Soldier {
int type, lv, maxhp, nowhp, skilllv, passivelv, wtype, rd;
double atk, def, watk, skleff, dechp;
void Read() {
char str[10], wstr[10];
scanf("%s Lv=%d maxhp=%d atk=%lf def=%lf skillLv=%d passivesklLv=%d %s weaponatk=%lf", str + 1, &lv, &maxhp, &atk, &def, &skilllv, &passivelv, wstr + 1, &watk);
if(str[1] == 'W')
type = weak;
if(str[1] == 'A')
type = average;
if(str[1] == 'S')
type = strong;
if(wstr[1] == 'B')
wtype = 0;
if(wstr[1] == 'G')
wtype = 1;
if(wstr[1] == 'M')
wtype = 2;
nowhp = maxhp;
skleff = 1;
dechp = 0;
rd = 0;
}
}player[2][7];
int Alive(int p, int id) {
return player[p][id].nowhp > 0;
}
int AllDead(int p) {
for(int i = 1; i <= 6; ++ i)
if(Alive(p, i))
return 0;
return 1;
}
void Passive(int p) {
double eff = 0;
for(int i = 1; i <= 6; ++ i) {
if(Alive(p, i) && player[p][i].type == weak && player[p][i].passivelv) {
eff += player[p][i].passivelv * 0.003 + 0.01;
}
}
if(eff) {
eff = min(eff, 0.05);
for(int i = 1; i <= 6; ++ i) {
if(Alive(p, i) && player[p][i].nowhp < player[p][i].maxhp) {
int inc = floor(player[p][i].maxhp * eff + eps);
int x = min(player[p][i].maxhp, player[p][i].nowhp + inc);
printf("%s %d recovered +%d hp -> %d/%d\n", team[p], i, inc, x, player[p][i].maxhp);
player[p][i].nowhp = x;
}
}
}
}
int n[2], q, pre[2];
double CalcDef(int p, int id) {
double d = player[p][id].def, x = 0;
for(int i = 1; i <= 6; ++ i) {
if(Alive(p, i) && player[p][i].type == average) {
x += player[p][i].passivelv / 100.0;
}
}
x = min(x, 0.1);
x += 1;
// cerr << "Def " << player[p][id].def << " Defeff = " << x << endl;
return d * x;
}
double CalcAtk(int p, int id, double spe = 1.0) {
double a = player[p][id].atk * player[p][id].watk * spe * player[p][id].skleff, x = 0;
for(int i = 1; i <= 6; ++ i) {
if(Alive(p, i) && player[p][i].type == strong) {
x += player[p][i].passivelv / 100.0;
}
}
// cerr << x << endl;
x = min(x, 0.1);
x += 1;
// cerr << "Atk = " << a << " " << player[p][id].atk << " " << player[p][id].watk << " " << spe << " " << player[p][id].skleff << " Atk Passive = " << x << endl;
return a * x;
}
char tmp[105];
int Parse() {
scanf("%s", tmp + 1);
int len = strlen(tmp + 1);
assert(isdigit(tmp[len]));
return tmp[len] - '0';
}
void Basic(int p, int id) {
int tar = 0, atkp = 0, dgp = 0;
tar = Parse(), atkp = Parse(), dgp = Parse();
double d = CalcDef(p ^ 1, tar);
double a = CalcAtk(p, id);
a *= ty[player[p][id].type][player[p ^ 1][tar].type] * dir[(atkp - dgp + 6) % 6];
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][tar].nowhp - dec);
// cerr << a << " " << d << " " << dec << " " << rem << endl;
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], tar, dec, team[p], id, rem, player[p ^ 1][tar].maxhp);
player[p ^ 1][tar].nowhp = rem;
player[p][id].skleff = 1;
}
void Special(int p, int id) {
int tar = 0, atkp = 0, dgp = 0;
tar = Parse(), atkp = Parse(), dgp = Parse();
if(player[p][id].wtype == 0) { // B
double d = CalcDef(p ^ 1, tar);
double a = CalcAtk(p, id, 1.25);
a *= ty[player[p][id].type][player[p ^ 1][tar].type] * dir[(atkp - dgp + 6) % 6];
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][tar].nowhp - dec);
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], tar, dec, team[p], id, rem, player[p ^ 1][tar].maxhp);
player[p ^ 1][tar].nowhp = rem;
player[p][id].skleff = 1;
}
if(player[p][id].wtype == 1) { // G
int x = tar, y = 0, z = 0, c = 1;
for(int i = pos[tar] - 1; i > 0; -- i) {
if(Alive(p ^ 1, pid[i])) {
y = pid[i];
++ c;
break;
}
}
for(int i = pos[tar] + 1; i <= 6; ++ i) {
if(Alive(p ^ 1, pid[i])) {
z = pid[i];
++ c;
break;
}
}
// cerr << x << " " << y << " " << z << " " << c << " " << (1.35 / c) << endl;
double a = CalcAtk(p, id, 1.35 / c);
a *= ty[player[p][id].type][player[p ^ 1][x].type] * dir[(atkp - dgp + 6) % 6];
double d = CalcDef(p ^ 1, x);
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][x].nowhp - dec);
// cerr << x << ": " << a << " " << d << " " << dec << " " << rem << endl;
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], x, dec, team[p], id, rem, player[p ^ 1][x].maxhp);
player[p ^ 1][x].nowhp = rem;
if(y) {
double a = CalcAtk(p, id, 1.35 / c);
a *= ty[player[p][id].type][player[p ^ 1][y].type] * dir[(atkp - dgp + 6) % 6];
double d = CalcDef(p ^ 1, y);
// printf("%.15f %.15f %.15f\n", a, d, a / d);
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][y].nowhp - dec);
// cerr << y << ": " << a << " " << d << " " << dec << " " << rem << endl;
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], y, dec, team[p], id, rem, player[p ^ 1][y].maxhp);
player[p ^ 1][y].nowhp = rem;
}
if(z) {
double a = CalcAtk(p, id, 1.35 / c);
a *= ty[player[p][id].type][player[p ^ 1][z].type] * dir[(atkp - dgp + 6) % 6];
double d = CalcDef(p ^ 1, z);
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][z].nowhp - dec);
// cerr << z << ": " << a << " " << d << " " << dec << " " << rem << endl;
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], z, dec, team[p], id, rem, player[p ^ 1][z].maxhp);
player[p ^ 1][z].nowhp = rem;
}
player[p][id].skleff = 1;
}
if(player[p][id].wtype == 2) { // M
int x = tar, y = 0, z = 0;
for(int i = pos[tar] - 1; i > 0; -- i) {
if(Alive(p ^ 1, pid[i])) {
y = pid[i];
break;
}
}
for(int i = pos[tar] + 1; i <= 6; ++ i) {
if(Alive(p ^ 1, pid[i])) {
z = pid[i];
break;
}
}
double a = CalcAtk(p, id, 1.15);
a *= ty[player[p][id].type][player[p ^ 1][x].type] * dir[(atkp - dgp + 6) % 6];
double d = CalcDef(p ^ 1, x);
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][x].nowhp - dec);
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], x, dec, team[p], id, rem, player[p ^ 1][x].maxhp);
player[p ^ 1][x].nowhp = rem;
if(y) {
double a = CalcAtk(p, id, 0.23);
a *= ty[player[p][id].type][player[p ^ 1][y].type] * dir[(atkp - dgp + 6) % 6];
double d = CalcDef(p ^ 1, y);
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][y].nowhp - dec);
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], y, dec, team[p], id, rem, player[p ^ 1][y].maxhp);
player[p ^ 1][y].nowhp = rem;
}
if(z) {
double a = CalcAtk(p, id, 0.23);
a *= ty[player[p][id].type][player[p ^ 1][z].type] * dir[(atkp - dgp + 6) % 6];
double d = CalcDef(p ^ 1, z);
int dec = floor(a / d + eps), rem = max(0, player[p ^ 1][z].nowhp - dec);
printf("%s %d took %d damage from %s %d -> %d/%d\n", team[p ^ 1], z, dec, team[p], id, rem, player[p ^ 1][z].maxhp);
player[p ^ 1][z].nowhp = rem;
}
player[p][id].skleff = 1;
}
}
void Skill(int p, int id) {
int tar = 0;
tar = Parse();
if(player[p][id].type == weak) {
double eff = skl[player[p][id].type][player[p][id].skilllv];
int inc = floor(player[p][tar].maxhp * eff + eps), rem = min(player[p][tar].maxhp, player[p][tar].nowhp + inc);
printf("%s %d applied %s skill to %s %d\n", team[p], id, type[player[p][id].type], team[p], tar);
if(player[p][tar].maxhp > player[p][tar].nowhp) {
printf("%s %d recovered +%d hp -> %d/%d\n", team[p], tar, inc, rem, player[p][tar].maxhp);
}
player[p][tar].nowhp = rem;
}
if(player[p][id].type == average) {
player[p ^ 1][tar].rd = 3;
player[p ^ 1][tar].dechp = skl[player[p][id].type][player[p][id].skilllv];
printf("%s %d applied %s skill to %s %d\n", team[p], id, type[player[p][id].type], team[p ^ 1], tar);
}
if(player[p][id].type == strong) {
player[p][tar].skleff = skl[player[p][id].type][player[p][id].skilllv];
printf("%s %d applied %s skill to %s %d\n", team[p], id, type[player[p][id].type], team[p], tar);
}
}
void CalcDec(int p) {
for(int i = 1; i <= 6; ++ i) {
if(Alive(p, i) && player[p][i].rd) {
int dec = floor(player[p][i].maxhp * player[p][i].dechp + eps);
int rem = max(0, player[p][i].nowhp - dec);
printf("%s %d took %d damage from skill -> %d/%d\n", team[p], i, dec, rem, player[p][i].maxhp);
player[p][i].nowhp = rem;
-- player[p][i].rd;
}
}
}
int main() {
ty[weak][weak] = 1.0;
ty[weak][average] = 0.9;
ty[weak][strong] = 1.1;
ty[average][weak] = 1.1;
ty[average][average] = 1.0;
ty[average][strong] = 0.9;
ty[strong][weak] = 0.9;
ty[strong][average] = 1.1;
ty[strong][strong] = 1.0;
scanf("%d%d", &n[0], &n[1]);
for(int i = 1; i <= n[0]; ++ i) {
player[0][i].Read();
}
for(int i = 1; i <= n[1]; ++ i) {
player[1][i].Read();
}
pre[0] = pre[1] = 6;
scanf("%d", &q);
for(int i = 0; i < q; ++ i) {
int p = i & 1;
Passive(p);
int cho = -1;
for(int i = pre[p] + 1; i <= 6; ++ i) {
if(Alive(p, i)) {
cho = i;
break;
}
}
if(cho == -1) {
for(int i = 1; i <= 6; ++ i) {
if(Alive(p, i)) {
cho = i;
break;
}
}
}
pre[p] = cho;
assert(cho != -1);
char atktype[15];
scanf("%s", atktype + 1);
if(atktype[1] == 'B') {
Basic(p, cho);
}
else if(atktype[2] == 'p') {
Special(p, cho);
}
else {
Skill(p, cho);
}
CalcDec(p ^ 1);
for(int j = 1; j >= 0; -- j) {
printf("%s: ", team[j]);
for(int k = 1; k <= 6; ++ k) {
if(pid[k] <= n[j]) {
printf("%d/%d ", player[j][pid[k]].nowhp, player[j][pid[k]].maxhp);
}
}
puts("");
}
puts("");
// if(i == 2)
// break;
if(AllDead(p ^ 1)) {
printf("Team %s won.\n", team[p]);
break;
}
}
}
详细
Test #1:
score: 100
Accepted
time: 1ms
memory: 3596kb
input:
2 2 Weak Lv=25 maxhp=287601 atk=80590e-5 def=17668e-6 skillLv=5 passivesklLv=0 B weaponatk=30000e-2 Average Lv=31 maxhp=16405 atk=92912e-5 def=38987e-5 skillLv=0 passivesklLv=0 G weaponatk=30000e-2 Average Lv=91 maxhp=176604 atk=12532e-4 def=14815e-4 skillLv=4 passivesklLv=1 G weaponatk=14325e0 Weak...
output:
North 1 took 136 damage from South 1 -> 176468/176604 North: 176468/176604 864367/864367 South: 287601/287601 16405/16405 South 1 took 838265 damage from North 1 -> 0/287601 North: 176468/176604 864367/864367 South: 0/287601 16405/16405 North 2 took 0 damage from South 2 -> 864367/864367 North...
result:
ok 45 lines
Test #2:
score: 0
Accepted
time: 1ms
memory: 3600kb
input:
2 2 Average Lv=23 maxhp=11950 atk=89277e-5 def=32630e-5 skillLv=2 passivesklLv=3 B weaponatk=30000e-2 Average Lv=42 maxhp=25362 atk=98151e-5 def=49799e-5 skillLv=5 passivesklLv=2 B weaponatk=59374e-2 Strong Lv=33 maxhp=315 atk=11730e-4 def=22629e-3 skillLv=2 passivesklLv=5 G weaponatk=34707e-2 Weak ...
output:
South 1 applied Average skill to North 2 North 2 took 401602 damage from skill -> 5335581/5737183 North: 315/315 5335581/5737183 South: 11950/11950 25362/25362 South 2 took 674 damage from North 1 -> 24688/25362 North: 315/315 5335581/5737183 South: 11950/11950 24688/25362 North 1 took 0 damag...
result:
ok 20 lines
Test #3:
score: 0
Accepted
time: 1ms
memory: 3648kb
input:
3 3 Weak Lv=82 maxhp=3535245 atk=95595e-5 def=68280e-6 skillLv=0 passivesklLv=1 B weaponatk=13091e0 Average Lv=30 maxhp=15768 atk=92449e-5 def=38129e-5 skillLv=5 passivesklLv=3 G weaponatk=30000e-2 Weak Lv=58 maxhp=1229216 atk=88964e-5 def=38645e-6 skillLv=2 passivesklLv=5 B weaponatk=23303e-1 Stron...
output:
North 1 took 402 damage from South 1 -> 320/722 North: 5858/5858 320/722 21646/21646 South: 1229216/1229216 3535245/3535245 15768/15768 South 1 took 0 damage from North 1 -> 3535245/3535245 North: 5858/5858 320/722 21646/21646 South: 1229216/1229216 3535245/3535245 15768/15768 South 2 applied ...
result:
ok 97 lines
Test #4:
score: 0
Accepted
time: 1ms
memory: 3816kb
input:
6 3 Average Lv=28 maxhp=14567 atk=91532e-5 def=36470e-5 skillLv=3 passivesklLv=4 B weaponatk=30000e-2 Average Lv=24 maxhp=12433 atk=89724e-5 def=33364e-5 skillLv=4 passivesklLv=4 M weaponatk=30000e-2 Average Lv=79 maxhp=109798 atk=11804e-4 def=11344e-4 skillLv=0 passivesklLv=0 B weaponatk=68408e-1 W...
output:
North 1 took 1 damage from South 1 -> 3386/3387 North: 5737183/5737183 3386/3387 34816/34816 South: 53825/53825 109798/109798 14567/14567 12433/12433 211337/211337 757441/757441 South 4 took 0 damage from North 1 -> 211337/211337 South 2 took 0 damage from North 1 -> 12433/12433 South 6 took 0 da...
result:
ok 228 lines
Test #5:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
6 2 Average Lv=54 maxhp=40793 atk=10420e-4 def=65040e-5 skillLv=0 passivesklLv=3 B weaponatk=11792e-1 Strong Lv=82 maxhp=1838 atk=14977e-4 def=79030e-3 skillLv=5 passivesklLv=2 M weaponatk=67883e-1 Strong Lv=39 maxhp=391 atk=12086e-4 def=26374e-3 skillLv=4 passivesklLv=1 G weaponatk=46356e-2 Strong ...
output:
North 1 took 0 damage from South 1 -> 109202/109202 North: 109202/109202 791526/791526 South: 144876/144876 391/391 40793/40793 1838/1838 1330/1330 30916/30916 South 1 took 102 damage from North 1 -> 40691/40793 South 3 took 3 damage from North 1 -> 388/391 South 2 took 1 damage from North 1 -> 1...
result:
ok 160 lines
Test #6:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
1 2 Average Lv=27 maxhp=14001 atk=91076e-5 def=35667e-5 skillLv=2 passivesklLv=3 B weaponatk=30000e-2 Weak Lv=56 maxhp=1125630 atk=88432e-5 def=36855e-6 skillLv=4 passivesklLv=4 M weaponatk=18955e-1 Weak Lv=21 maxhp=241171 atk=79630e-5 def=16069e-6 skillLv=3 passivesklLv=4 M weaponatk=30000e-2 18 Sk...
output:
South 1 applied Average skill to North 1 North 1 took 78794 damage from skill -> 1046836/1125630 North: 1046836/1125630 241171/241171 South: 14001/14001 North 1 recovered +49527 hp -> 1096363/1125630 South 1 took 3541 damage from North 1 -> 10460/14001 North: 1096363/1125630 241171/241171 South:...
result:
ok 96 lines
Test #7:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
2 1 Strong Lv=76 maxhp=1481 atk=14536e-4 def=67809e-3 skillLv=2 passivesklLv=2 B weaponatk=43929e-1 Strong Lv=56 maxhp=722 atk=13156e-4 def=40701e-3 skillLv=5 passivesklLv=2 B weaponatk=12356e-1 Strong Lv=92 maxhp=2634 atk=15743e-4 def=10200e-2 skillLv=1 passivesklLv=5 G weaponatk=12271e0 12 Basicat...
output:
North 1 took 65 damage from South 1 -> 2569/2634 North: 2569/2634 South: 1481/1481 722/722 South 1 took 224 damage from North 1 -> 1257/1481 North: 2569/2634 South: 1257/1481 722/722 North 1 took 12 damage from South 2 -> 2557/2634 North: 2557/2634 South: 1257/1481 722/722 South 2 took 373 ...
result:
ok 50 lines
Test #8:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
4 6 Weak Lv=95 maxhp=6265147 atk=99391e-5 def=92938e-6 skillLv=4 passivesklLv=1 B weaponatk=29082e0 Average Lv=20 maxhp=10611 atk=87951e-5 def=30523e-5 skillLv=0 passivesklLv=4 M weaponatk=30000e-2 Average Lv=2 maxhp=5202 atk=80400e-5 def=20450e-5 skillLv=3 passivesklLv=0 B weaponatk=30000e-2 Weak L...
output:
North 2 took 18106 damage from South 1 -> 132623/150729 North: 582/582 123651/123651 144876/144876 132623/150729 791526/791526 7141/7141 South: 5202/5202 6265147/6265147 10611/10611 1229216/1229216 North 2 recovered +3768 hp -> 136391/150729 North 1 applied Average skill to South 2 South 2 took 7...
result:
ok 880 lines
Test #9:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
2 6 Strong Lv=40 maxhp=406 atk=12147e-4 def=27056e-3 skillLv=1 passivesklLv=3 B weaponatk=51309e-2 Strong Lv=86 maxhp=2123 atk=15279e-4 def=87524e-3 skillLv=1 passivesklLv=5 M weaponatk=98398e-1 Average Lv=78 maxhp=105534 atk=11745e-4 def=11094e-4 skillLv=4 passivesklLv=0 B weaponatk=61035e-1 Weak L...
output:
South 1 applied Strong skill to South 2 North: 378/378 487737/487737 105534/105534 693612/693612 65613/65613 406/406 South: 406/406 2123/2123 South 1 took 239 damage from North 1 -> 167/406 North: 378/378 487737/487737 105534/105534 693612/693612 65613/65613 406/406 South: 167/406 2123/2123 No...
result:
ok 165 lines
Test #10:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
3 5 Strong Lv=29 maxhp=273 atk=11498e-4 def=20433e-3 skillLv=4 passivesklLv=1 G weaponatk=30000e-2 Weak Lv=54 maxhp=1030773 atk=87904e-5 def=35147e-6 skillLv=1 passivesklLv=0 M weaponatk=17275e-1 Strong Lv=8 maxhp=128 atk=10355e-4 def=11956e-3 skillLv=5 passivesklLv=2 B weaponatk=30000e-2 Weak Lv=4 ...
output:
North 5 took 0 damage from South 1 -> 130226/130226 North 3 took 0 damage from South 1 -> 107/107 North: 130226/130226 107/107 114116/114116 23430/23430 804/804 South: 128/128 273/273 1030773/1030773 North 1 applied Weak skill to North 4 North: 130226/130226 107/107 114116/114116 23430/23430 804/...
result:
ok 308 lines
Test #11:
score: 0
Accepted
time: 9ms
memory: 3596kb
input:
6 5 Strong Lv=81 maxhp=1773 atk=14903e-4 def=77038e-3 skillLv=0 passivesklLv=4 G weaponatk=34146e-2 Average Lv=78 maxhp=105534 atk=11745e-4 def=11094e-4 skillLv=0 passivesklLv=3 B weaponatk=30000e-2 Weak Lv=80 maxhp=3237329 atk=95024e-5 def=65117e-6 skillLv=0 passivesklLv=0 G weaponatk=48681e-2 Stro...
output:
North 3 took 5536 damage from South 1 -> 2709163/2714699 North: 109798/109798 2709163/2714699 105534/105534 118849/118849 109798/109798 South: 109798/109798 3237329/3237329 1773/1773 105534/105534 1429/1429 109798/109798 South 6 took 0 damage from North 1 -> 109798/109798 South 4 took 0 damage fr...
result:
ok 16277 lines
Test #12:
score: 0
Accepted
time: 10ms
memory: 3596kb
input:
5 5 Weak Lv=77 maxhp=2836861 atk=94174e-5 def=60645e-6 skillLv=0 passivesklLv=0 M weaponatk=39220e-2 Weak Lv=78 maxhp=2964519 atk=94456e-5 def=62100e-6 skillLv=0 passivesklLv=0 B weaponatk=44908e-2 Average Lv=82 maxhp=123651 atk=11982e-4 def=12127e-4 skillLv=0 passivesklLv=4 G weaponatk=30767e-2 Ave...
output:
North 1 took 3 damage from South 1 -> 1770/1773 North: 3694331/3694331 114234/114234 1770/1773 123651/123651 109798/109798 South: 1711/1711 123651/123651 2836861/2836861 2964519/2964519 101436/101436 South 4 took 492 damage from North 1 -> 100944/101436 North: 3694331/3694331 114234/114234 1770/1...
result:
ok 17548 lines
Test #13:
score: 0
Accepted
time: 2ms
memory: 3812kb
input:
5 6 Average Lv=83 maxhp=128646 atk=12042e-4 def=12400e-4 skillLv=0 passivesklLv=1 B weaponatk=36994e-2 Strong Lv=84 maxhp=1975 atk=15128e-4 def=83168e-3 skillLv=0 passivesklLv=4 G weaponatk=34955e-2 Weak Lv=80 maxhp=3237329 atk=95024e-5 def=65117e-6 skillLv=0 passivesklLv=0 G weaponatk=45599e-2 Stro...
output:
North 6 took 8046 damage from South 1 -> 3229283/3237329 North: 2123/2123 4215845/4215845 139251/139251 2048/2048 3383009/3383009 3229283/3237329 South: 128646/128646 3237329/3237329 128646/128646 1975/1975 1711/1711 South 2 took 5 damage from North 1 -> 1970/1975 North: 2123/2123 4215845/4215845...
result:
ok 14520 lines
Test #14:
score: 0
Accepted
time: 5ms
memory: 3716kb
input:
6 6 Weak Lv=87 maxhp=4405558 atk=97037e-5 def=76876e-6 skillLv=0 passivesklLv=0 B weaponatk=83750e-2 Average Lv=86 maxhp=144876 atk=12223e-4 def=13255e-4 skillLv=0 passivesklLv=1 M weaponatk=44798e-2 Average Lv=83 maxhp=128646 atk=12042e-4 def=12400e-4 skillLv=0 passivesklLv=0 B weaponatk=39383e-2 A...
output:
North 5 took 521 damage from South 1 -> 162633/163154 North: 162633/163154 4810980/4810980 1905/1905 4810980/4810980 1975/1975 139251/139251 South: 1905/1905 128646/128646 4405558/4405558 144876/144876 139251/139251 128646/128646 South 1 took 2432 damage from North 1 -> 4403126/4405558 South 3 to...
result:
ok 17924 lines
Test #15:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
5 6 Strong Lv=67 maxhp=1072 atk=13898e-4 def=53893e-3 skillLv=0 passivesklLv=5 B weaponatk=30000e-2 Weak Lv=64 maxhp=1600760 atk=90577e-5 def=44555e-6 skillLv=0 passivesklLv=0 G weaponatk=30000e-2 Average Lv=63 maxhp=58262 atk=10898e-4 def=79461e-5 skillLv=0 passivesklLv=4 M weaponatk=30000e-2 Stron...
output:
North 2 took 6 damage from South 1 -> 922/928 North: 1748070/1748070 1072/1072 997/997 922/928 65613/65613 895/895 South: 63065/63065 58262/58262 1072/1072 1600760/1600760 1034/1034 South 1 took 8 damage from North 1 -> 1064/1072 South 3 took 127 damage from North 1 -> 58135/58262 South 2 took 18...
result:
ok 7817 lines
Test #16:
score: 0
Accepted
time: 5ms
memory: 3720kb
input:
5 6 Strong Lv=71 maxhp=1238 atk=14178e-4 def=59685e-3 skillLv=0 passivesklLv=4 B weaponatk=30000e-2 Strong Lv=72 maxhp=1283 atk=14249e-4 def=61228e-3 skillLv=0 passivesklLv=4 G weaponatk=30000e-2 Weak Lv=73 maxhp=2378882 atk=93052e-5 def=55156e-6 skillLv=0 passivesklLv=0 B weaponatk=31476e-2 Weak Lv...
output:
North 4 took 7814 damage from South 1 -> 1901122/1908936 North: 1111/1111 79982/79982 73891/73891 76876/76876 1901122/1908936 2378882/2378882 South: 83213/83213 2378882/2378882 1238/1238 1283/1283 2178413/2178413 South 4 took 5082 damage from North 1 -> 2173331/2178413 North: 1111/1111 79982/7998...
result:
ok 14235 lines
Test #17:
score: 0
Accepted
time: 9ms
memory: 3600kb
input:
5 6 Average Lv=95 maxhp=206919 atk=12784e-4 def=16195e-4 skillLv=0 passivesklLv=3 G weaponatk=80367e-2 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=0 passivesklLv=2 B weaponatk=71412e-2 Strong Lv=92 maxhp=2634 atk=15743e-4 def=10200e-2 skillLv=0 passivesklLv=5 M weaponatk=55550e-2 Avera...
output:
North 2 took 216 damage from South 1 -> 223760/223976 North 1 took 3 damage from South 1 -> 2538/2541 North 4 took 3 damage from South 1 -> 2727/2730 North: 215279/215279 6265147/6265147 2538/2541 223760/223976 2727/2730 6265147/6265147 South: 215279/215279 2634/2634 206919/206919 3041/3041 183738/...
result:
ok 14852 lines
Test #18:
score: 0
Accepted
time: 5ms
memory: 3824kb
input:
6 6 Strong Lv=62 maxhp=895 atk=13555e-4 def=47436e-3 skillLv=0 passivesklLv=0 B weaponatk=30000e-2 Strong Lv=67 maxhp=1072 atk=13898e-4 def=53893e-3 skillLv=0 passivesklLv=2 G weaponatk=30000e-2 Strong Lv=66 maxhp=1034 atk=13829e-4 def=52535e-3 skillLv=0 passivesklLv=0 B weaponatk=30000e-2 Average L...
output:
North 1 took 681 damage from South 1 -> 59935/60616 North: 1465864/1465864 1908936/1908936 59935/60616 1111/1111 1072/1072 997/997 South: 58262/58262 1034/1034 895/895 1072/1072 65613/65613 60616/60616 South 6 took 365 damage from North 1 -> 60251/60616 South 4 took 69 damage from North 1 -> 6554...
result:
ok 8446 lines
Test #19:
score: 0
Accepted
time: 1ms
memory: 3716kb
input:
5 6 Average Lv=93 maxhp=191162 atk=12658e-4 def=15490e-4 skillLv=0 passivesklLv=3 M weaponatk=72009e-2 Average Lv=92 maxhp=183738 atk=12595e-4 def=15149e-4 skillLv=0 passivesklLv=1 M weaponatk=58623e-2 Strong Lv=92 maxhp=2634 atk=15743e-4 def=10200e-2 skillLv=0 passivesklLv=2 B weaponatk=57383e-2 St...
output:
North 3 took 10 damage from South 1 -> 2441/2451 North: 2541/2541 2441/2451 215279/215279 169746/169746 2634/2634 183738/183738 South: 5737183/5737183 2634/2634 191162/191162 183738/183738 3041/3041 South 2 took 910 damage from North 1 -> 182828/183738 North: 2541/2541 2441/2451 215279/215279 169...
result:
ok 15998 lines
Test #20:
score: 0
Accepted
time: 9ms
memory: 3688kb
input:
6 5 Strong Lv=77 maxhp=1536 atk=14609e-4 def=69562e-3 skillLv=0 passivesklLv=0 G weaponatk=30000e-2 Strong Lv=80 maxhp=1711 atk=14829e-4 def=75097e-3 skillLv=0 passivesklLv=5 M weaponatk=30000e-2 Weak Lv=80 maxhp=3237329 atk=95024e-5 def=65117e-6 skillLv=0 passivesklLv=0 G weaponatk=43077e-2 Weak Lv...
output:
North 5 took 6538 damage from South 1 -> 2957981/2964519 North: 2957981/2964519 1429/1429 101436/101436 2836861/2836861 1429/1429 South: 2964519/2964519 3237329/3237329 1536/1536 1711/1711 2964519/2964519 2714699/2714699 South 5 took 0 damage from North 1 -> 2964519/2964519 North: 2957981/2964519...
result:
ok 15399 lines
Test #21:
score: 0
Accepted
time: 2ms
memory: 3692kb
input:
6 5 Average Lv=76 maxhp=97498 atk=11629e-4 def=10611e-4 skillLv=0 passivesklLv=1 M weaponatk=90863e-1 Strong Lv=75 maxhp=1429 atk=14464e-4 def=66100e-3 skillLv=0 passivesklLv=0 G weaponatk=61278e-1 Strong Lv=77 maxhp=1536 atk=14609e-4 def=69562e-3 skillLv=1 passivesklLv=1 G weaponatk=10369e0 Average...
output:
North 3 took 142948 damage from South 1 -> 2571751/2714699 North: 114234/114234 2571751/2714699 93712/93712 3237329/3237329 1650/1650 South: 3237329/3237329 1536/1536 97498/97498 1429/1429 97498/97498 101436/101436 North 3 recovered +119446 hp -> 2691197/2714699 South 2 took 61 damage from North ...
result:
ok 2961 lines
Test #22:
score: 0
Accepted
time: 6ms
memory: 3720kb
input:
6 5 Weak Lv=99 maxhp=7471304 atk=10058e-4 def=10218e-5 skillLv=2 passivesklLv=4 B weaponatk=60859e0 Strong Lv=99 maxhp=3387 atk=16303e-4 def=12196e-2 skillLv=5 passivesklLv=5 M weaponatk=30695e0 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=5 passivesklLv=5 G weaponatk=38327e0 Strong ...
output:
North 4 took 927352 damage from South 1 -> 5068004/5995356 North: 3387/3387 7149574/7149574 6547079/6547079 2730/2730 5068004/5995356 South: 7149574/7149574 233025/233025 7471304/7471304 3387/3387 3041/3041 3268/3268 North 4 recovered +191851 hp -> 5259855/5995356 South 1 took 352002 damage from ...
result:
ok 48522 lines
Test #23:
score: 0
Accepted
time: 39ms
memory: 3816kb
input:
6 6 Weak Lv=88 maxhp=4603808 atk=97329e-5 def=78722e-6 skillLv=4 passivesklLv=2 B weaponatk=32923e0 Strong Lv=83 maxhp=1905 atk=15052e-4 def=81073e-3 skillLv=3 passivesklLv=4 M weaponatk=12327e0 Weak Lv=87 maxhp=4405558 atk=97037e-5 def=76876e-6 skillLv=3 passivesklLv=3 B weaponatk=29094e0 Average L...
output:
South 1 applied Weak skill to South 5 North: 1975/1975 4034301/4034301 4405558/4405558 2048/2048 4810980/4810980 128646/128646 South: 3694331/3694331 4405558/4405558 4603808/4603808 1905/1905 150729/150729 1975/1975 South 4 took 14639 damage from North 1 -> 136090/150729 North: 1975/1975 4034301/...
result:
ok 140839 lines
Test #24:
score: 0
Accepted
time: 17ms
memory: 3828kb
input:
5 5 Strong Lv=92 maxhp=2634 atk=15743e-4 def=10200e-2 skillLv=1 passivesklLv=4 M weaponatk=23619e0 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=4 passivesklLv=0 M weaponatk=33320e0 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=1 passivesklLv=3 G weaponatk=27383e0 Average ...
output:
North 4 took 317717 damage from South 1 -> 4935993/5253710 North: 2541/2541 3041/3041 2830/2830 2541/2541 4935993/5253710 South: 5995356/5995356 2933/2933 2634/2634 215279/215279 198884/198884 North 4 recovered +99820 hp -> 5035813/5253710 North 1 applied Strong skill to North 2 North: 2541/2541 ...
result:
ok 39207 lines
Test #25:
score: 0
Accepted
time: 1ms
memory: 3832kb
input:
5 5 Average Lv=85 maxhp=139251 atk=12162e-4 def=12964e-4 skillLv=5 passivesklLv=1 G weaponatk=11416e0 Strong Lv=83 maxhp=1905 atk=15052e-4 def=81073e-3 skillLv=5 passivesklLv=2 B weaponatk=69065e-1 Strong Lv=89 maxhp=2364 atk=15510e-4 def=94488e-3 skillLv=2 passivesklLv=3 G weaponatk=16777e0 Strong ...
output:
North 1 took 68418 damage from South 1 -> 4742562/4810980 North 3 took 51 damage from South 1 -> 2072/2123 North 2 took 50 damage from South 1 -> 2150/2200 North: 156819/156819 2072/2123 4742562/4810980 2150/2200 2364/2364 South: 139251/139251 2364/2364 139251/139251 1905/1905 2200/2200 North 1 r...
result:
ok 709 lines
Test #26:
score: 0
Accepted
time: 3ms
memory: 3688kb
input:
5 5 Strong Lv=100 maxhp=3511 atk=16384e-4 def=12511e-2 skillLv=2 passivesklLv=3 G weaponatk=27085e0 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=4 passivesklLv=5 B weaponatk=15477e0 Weak Lv=95 maxhp=6265147 atk=99391e-5 def=92938e-6 skillLv=1 passivesklLv=0 M weaponatk=26358e0 Average L...
output:
North 2 took 159 damage from South 1 -> 3352/3511 North 1 took 198020 damage from South 1 -> 5797336/5995356 North 4 took 13563 damage from South 1 -> 193356/206919 North: 3387/3387 242439/242439 5797336/5995356 3352/3511 193356/206919 South: 7807513/7807513 6265147/6265147 3511/3511 3041/3041 2239...
result:
ok 6184 lines
Test #27:
score: 0
Accepted
time: 1ms
memory: 3596kb
input:
5 5 Strong Lv=79 maxhp=1650 atk=14755e-4 def=73205e-3 skillLv=5 passivesklLv=2 G weaponatk=83540e-1 Strong Lv=76 maxhp=1481 atk=14536e-4 def=67809e-3 skillLv=1 passivesklLv=5 B weaponatk=68467e-1 Strong Lv=79 maxhp=1650 atk=14755e-4 def=73205e-3 skillLv=0 passivesklLv=4 B weaponatk=91963e-1 Average ...
output:
North 2 took 101359 damage from South 1 -> 3135970/3237329 North 1 took 108833 damage from South 1 -> 2728028/2836861 North 4 took 97 damage from South 1 -> 1614/1711 North: 105534/105534 2964519/2964519 2728028/2836861 3135970/3237329 1614/1711 South: 1773/1773 1650/1650 1650/1650 1481/1481 109798...
result:
ok 692 lines
Test #28:
score: 0
Accepted
time: 61ms
memory: 3816kb
input:
5 5 Weak Lv=93 maxhp=5737183 atk=98797e-5 def=88633e-6 skillLv=5 passivesklLv=1 B weaponatk=28307e0 Strong Lv=89 maxhp=2364 atk=15510e-4 def=94488e-3 skillLv=2 passivesklLv=5 M weaponatk=14785e0 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=5 passivesklLv=5 B weaponatk=23615e0 Average Lv...
output:
South 1 applied Weak skill to South 1 North: 4603808/4603808 2200/2200 4603808/4603808 5737183/5737183 2281/2281 South: 2451/2451 2730/2730 5737183/5737183 2364/2364 163154/163154 North 1 applied Weak skill to North 3 North: 4603808/4603808 2200/2200 4603808/4603808 5737183/5737183 2281/2281 Sou...
result:
ok 208730 lines
Test #29:
score: 0
Accepted
time: 95ms
memory: 3784kb
input:
6 6 Weak Lv=89 maxhp=4810980 atk=97621e-5 def=80611e-6 skillLv=4 passivesklLv=4 M weaponatk=25822e0 Strong Lv=86 maxhp=2123 atk=15279e-4 def=87524e-3 skillLv=4 passivesklLv=1 G weaponatk=11915e0 Strong Lv=87 maxhp=2200 atk=15356e-4 def=89786e-3 skillLv=0 passivesklLv=4 G weaponatk=11367e0 Weak Lv=92...
output:
South 1 applied Weak skill to South 4 North: 2634/2634 4603808/4603808 2364/2364 4603808/4603808 176604/176604 4215845/4215845 South: 4810980/4810980 2200/2200 4810980/4810980 2123/2123 5490127/5490127 2451/2451 South 4 took 0 damage from North 1 -> 5490127/5490127 North: 2634/2634 4603808/460380...
result:
ok 280879 lines
Test #30:
score: 0
Accepted
time: 1ms
memory: 3716kb
input:
6 5 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=3 passivesklLv=2 B weaponatk=39673e0 Strong Lv=94 maxhp=2830 atk=15901e-4 def=10734e-2 skillLv=0 passivesklLv=0 B weaponatk=29840e0 Strong Lv=99 maxhp=3387 atk=16303e-4 def=12196e-2 skillLv=4 passivesklLv=3 B weaponatk=32533e0 Average ...
output:
North 1 took 30211 damage from South 1 -> 185068/215279 North: 223976/223976 3268/3268 185068/215279 6841697/6841697 7471304/7471304 South: 3268/3268 3387/3387 233025/233025 2830/2830 242439/242439 7807513/7807513 North 1 recovered +4736 hp -> 189804/215279 North 1 applied Average skill to South ...
result:
ok 3356 lines
Test #31:
score: 0
Accepted
time: 26ms
memory: 3712kb
input:
6 5 Average Lv=95 maxhp=206919 atk=12784e-4 def=16195e-4 skillLv=5 passivesklLv=3 B weaponatk=19775e0 Average Lv=93 maxhp=191162 atk=12658e-4 def=15490e-4 skillLv=2 passivesklLv=5 M weaponatk=14116e0 Strong Lv=94 maxhp=2830 atk=15901e-4 def=10734e-2 skillLv=3 passivesklLv=4 M weaponatk=13136e0 Weak ...
output:
North 2 took 298170 damage from South 1 -> 6851404/7149574 North: 5737183/5737183 6265147/6265147 5490127/5490127 6851404/7149574 215279/215279 South: 5995356/5995356 2830/2830 206919/206919 191162/191162 5995356/5995356 2730/2730 North 2 recovered +357478 hp -> 7149574/7149574 South 5 took 46733...
result:
ok 60726 lines
Test #32:
score: 0
Accepted
time: 2ms
memory: 3780kb
input:
6 5 Weak Lv=96 maxhp=6547079 atk=99689e-5 def=95169e-6 skillLv=2 passivesklLv=1 B weaponatk=43451e0 Average Lv=94 maxhp=198884 atk=12721e-4 def=15838e-4 skillLv=1 passivesklLv=4 G weaponatk=19000e0 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=5 passivesklLv=3 B weaponatk=27597e0 Weak...
output:
South 1 applied Weak skill to South 5 North: 176604/176604 191162/191162 2730/2730 3152/3152 6841697/6841697 South: 223976/223976 223976/223976 6547079/6547079 198884/198884 6547079/6547079 176604/176604 South 6 took 13439 damage from North 1 -> 163165/176604 North: 176604/176604 191162/191162 27...
result:
ok 3241 lines
Test #33:
score: 0
Accepted
time: 105ms
memory: 3816kb
input:
5 5 Weak Lv=88 maxhp=4603808 atk=97329e-5 def=78722e-6 skillLv=0 passivesklLv=1 G weaponatk=19825e0 Strong Lv=87 maxhp=2200 atk=15356e-4 def=89786e-3 skillLv=3 passivesklLv=5 G weaponatk=11724e0 Weak Lv=89 maxhp=4810980 atk=97621e-5 def=80611e-6 skillLv=3 passivesklLv=3 G weaponatk=24004e0 Average L...
output:
North 5 took 10847 damage from South 1 -> 134029/144876 North 3 took 198189 damage from South 1 -> 4612791/4810980 North: 134029/144876 4612791/4810980 150729/150729 2048/2048 4405558/4405558 South: 169746/169746 4810980/4810980 4603808/4603808 2200/2200 163154/163154 North 3 recovered +197250 hp...
result:
ok 305248 lines
Test #34:
score: 0
Accepted
time: 33ms
memory: 3688kb
input:
6 6 Strong Lv=86 maxhp=2123 atk=15279e-4 def=87524e-3 skillLv=4 passivesklLv=2 G weaponatk=11326e0 Strong Lv=86 maxhp=2123 atk=15279e-4 def=87524e-3 skillLv=4 passivesklLv=3 M weaponatk=87960e-1 Strong Lv=87 maxhp=2200 atk=15356e-4 def=89786e-3 skillLv=5 passivesklLv=4 G weaponatk=81898e-1 Weak Lv=9...
output:
North 6 took 0 damage from South 1 -> 163154/163154 North 4 took 0 damage from South 1 -> 183738/183738 North: 176604/176604 4215845/4215845 2200/2200 150729/150729 183738/183738 163154/163154 South: 2364/2364 2200/2200 2123/2123 2123/2123 5490127/5490127 4215845/4215845 South 5 took 310 damage f...
result:
ok 105381 lines
Test #35:
score: 0
Accepted
time: 109ms
memory: 3604kb
input:
6 6 Average Lv=94 maxhp=198884 atk=12721e-4 def=15838e-4 skillLv=2 passivesklLv=2 B weaponatk=14840e0 Strong Lv=97 maxhp=3152 atk=16141e-4 def=11589e-2 skillLv=3 passivesklLv=2 G weaponatk=16335e0 Weak Lv=95 maxhp=6265147 atk=99391e-5 def=92938e-6 skillLv=0 passivesklLv=3 M weaponatk=34606e0 Average...
output:
South 1 applied Average skill to North 3 North 3 took 438560 damage from skill -> 5826587/6265147 North: 3268/3268 5826587/6265147 191162/191162 7149574/7149574 3152/3152 191162/191162 South: 7149574/7149574 6265147/6265147 198884/198884 3152/3152 233025/233025 233025/233025 North 3 recovered +21...
result:
ok 313141 lines
Test #36:
score: 0
Accepted
time: 22ms
memory: 3784kb
input:
5 5 Average Lv=84 maxhp=133843 atk=12102e-4 def=12679e-4 skillLv=5 passivesklLv=0 B weaponatk=12195e0 Average Lv=90 maxhp=169746 atk=12470e-4 def=14489e-4 skillLv=5 passivesklLv=3 G weaponatk=17304e0 Strong Lv=86 maxhp=2123 atk=15279e-4 def=87524e-3 skillLv=3 passivesklLv=4 B weaponatk=78010e-1 Weak...
output:
North 1 took 0 damage from South 1 -> 4405558/4405558 North: 2200/2200 144876/144876 4405558/4405558 156819/156819 4603808/4603808 South: 5027474/5027474 2123/2123 133843/133843 169746/169746 5027474/5027474 North 1 applied Weak skill to North 4 North: 2200/2200 144876/144876 4405558/4405558 1568...
result:
ok 52074 lines
Test #37:
score: 0
Accepted
time: 2ms
memory: 3608kb
input:
5 5 Strong Lv=98 maxhp=3268 atk=16222e-4 def=11888e-2 skillLv=0 passivesklLv=1 B weaponatk=26547e0 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=2 passivesklLv=3 B weaponatk=12437e0 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=2 passivesklLv=3 B weaponatk=18991e0 Weak Lv=92 ...
output:
North 1 took 402 damage from South 1 -> 2531/2933 North: 215279/215279 223976/223976 2531/2933 191162/191162 5490127/5490127 South: 2730/2730 2933/2933 3268/3268 2730/2730 5490127/5490127 South 4 took 332025 damage from North 1 -> 5158102/5490127 North: 215279/215279 223976/223976 2531/2933 19116...
result:
ok 1065 lines
Test #38:
score: 0
Accepted
time: 1ms
memory: 3720kb
input:
5 6 Weak Lv=88 maxhp=4603808 atk=97329e-5 def=78722e-6 skillLv=5 passivesklLv=4 M weaponatk=21746e0 Average Lv=88 maxhp=156819 atk=12346e-4 def=13859e-4 skillLv=0 passivesklLv=2 B weaponatk=13364e0 Weak Lv=87 maxhp=4405558 atk=97037e-5 def=76876e-6 skillLv=1 passivesklLv=2 G weaponatk=15563e0 Strong...
output:
North 5 took 0 damage from South 1 -> 4603808/4603808 North: 4603808/4603808 2048/2048 2123/2123 1975/1975 139251/139251 2364/2364 South: 2364/2364 4405558/4405558 4603808/4603808 156819/156819 2281/2281 South 1 took 181497 damage from North 1 -> 4422311/4603808 North: 4603808/4603808 2048/2048 2...
result:
ok 915 lines
Test #39:
score: 0
Accepted
time: 8ms
memory: 3596kb
input:
6 6 Weak Lv=93 maxhp=5737183 atk=98797e-5 def=88633e-6 skillLv=3 passivesklLv=4 M weaponatk=39388e0 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=5 passivesklLv=2 B weaponatk=20622e0 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=1 passivesklLv=3 B weaponatk=24257e0 Stro...
output:
South 1 applied Weak skill to South 6 North: 242439/242439 6841697/6841697 7149574/7149574 7149574/7149574 191162/191162 206919/206919 South: 3152/3152 215279/215279 5737183/5737183 215279/215279 3387/3387 3268/3268 South 2 took 23750 damage from North 1 -> 191529/215279 South 1 took 98603 damage...
result:
ok 16208 lines
Test #40:
score: 0
Accepted
time: 33ms
memory: 3696kb
input:
6 5 Weak Lv=97 maxhp=6841697 atk=99988e-5 def=97453e-6 skillLv=0 passivesklLv=4 G weaponatk=35519e0 Strong Lv=97 maxhp=3152 atk=16141e-4 def=11589e-2 skillLv=5 passivesklLv=1 G weaponatk=28744e0 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=5 passivesklLv=1 B weaponatk=22837e0 Strong ...
output:
North 3 took 0 damage from South 1 -> 7471304/7471304 North: 3268/3268 7471304/7471304 6265147/6265147 233025/233025 3268/3268 South: 6265147/6265147 215279/215279 6841697/6841697 3152/3152 3387/3387 7471304/7471304 North 1 applied Weak skill to North 3 North: 3268/3268 7471304/7471304 6265147/62...
result:
ok 140557 lines
Test #41:
score: 0
Accepted
time: 18ms
memory: 3716kb
input:
6 6 Strong Lv=85 maxhp=2048 atk=15203e-4 def=85318e-3 skillLv=2 passivesklLv=5 B weaponatk=35656e-1 Weak Lv=90 maxhp=5027474 atk=97913e-5 def=82546e-6 skillLv=4 passivesklLv=3 B weaponatk=13645e0 Strong Lv=85 maxhp=2048 atk=15203e-4 def=85318e-3 skillLv=0 passivesklLv=5 B weaponatk=57339e-1 Average ...
output:
North 2 took 0 damage from South 1 -> 2123/2123 North: 5253710/5253710 176604/176604 4215845/4215845 2123/2123 176604/176604 2364/2364 South: 2364/2364 2048/2048 2048/2048 5027474/5027474 150729/150729 5253710/5253710 South 6 took 0 damage from North 1 -> 5253710/5253710 South 4 took 0 damage fro...
result:
ok 75096 lines
Test #42:
score: 0
Accepted
time: 90ms
memory: 3716kb
input:
6 5 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=0 passivesklLv=3 M weaponatk=10723e0 Weak Lv=97 maxhp=6841697 atk=99988e-5 def=97453e-6 skillLv=1 passivesklLv=4 B weaponatk=20557e0 Strong Lv=94 maxhp=2830 atk=15901e-4 def=10734e-2 skillLv=0 passivesklLv=5 M weaponatk=65548e-1 Average L...
output:
North 3 took 0 damage from South 1 -> 183738/183738 North: 5995356/5995356 183738/183738 6547079/6547079 3041/3041 183738/183738 South: 2933/2933 2830/2830 2730/2730 6841697/6841697 215279/215279 2933/2933 South 5 took 152 damage from North 1 -> 2781/2933 North: 5995356/5995356 183738/183738 6547...
result:
ok 280426 lines
Test #43:
score: 0
Accepted
time: 51ms
memory: 3652kb
input:
5 5 Strong Lv=90 maxhp=2451 atk=15587e-4 def=96931e-3 skillLv=3 passivesklLv=0 G weaponatk=93779e-1 Strong Lv=90 maxhp=2451 atk=15587e-4 def=96931e-3 skillLv=2 passivesklLv=1 M weaponatk=64986e-1 Weak Lv=90 maxhp=5027474 atk=97913e-5 def=82546e-6 skillLv=0 passivesklLv=0 G weaponatk=87534e-1 Strong ...
output:
North 3 took 4581 damage from South 1 -> 186581/191162 North 5 took 63 damage from South 1 -> 2571/2634 North 1 took 65508 damage from South 1 -> 5671675/5737183 North: 2571/2634 186581/191162 5671675/5737183 2541/2541 5253710/5253710 South: 5737183/5737183 5027474/5027474 2451/2451 2451/2451 2730/...
result:
ok 172751 lines
Test #44:
score: 0
Accepted
time: 2ms
memory: 3820kb
input:
6 6 Average Lv=92 maxhp=183738 atk=12595e-4 def=15149e-4 skillLv=1 passivesklLv=2 G weaponatk=10647e0 Weak Lv=92 maxhp=5490127 atk=98502e-5 def=86555e-6 skillLv=2 passivesklLv=3 G weaponatk=14561e0 Weak Lv=98 maxhp=7149574 atk=10028e-4 def=99792e-6 skillLv=2 passivesklLv=3 B weaponatk=21658e0 Weak L...
output:
North 3 took 2513 damage from South 1 -> 230512/233025 North 5 took 36 damage from South 1 -> 2794/2830 North 1 took 37 damage from South 1 -> 2693/2730 North: 2794/2830 230512/233025 2693/2730 3041/3041 215279/215279 2730/2730 South: 223976/223976 7149574/7149574 183738/183738 5490127/5490127 6841...
result:
ok 1130 lines
Test #45:
score: 0
Accepted
time: 60ms
memory: 3652kb
input:
6 6 Average Lv=86 maxhp=144876 atk=12223e-4 def=13255e-4 skillLv=3 passivesklLv=1 B weaponatk=43351e-1 Weak Lv=85 maxhp=4034301 atk=96458e-5 def=73315e-6 skillLv=5 passivesklLv=4 M weaponatk=89784e-1 Weak Lv=87 maxhp=4405558 atk=97037e-5 def=76876e-6 skillLv=4 passivesklLv=4 B weaponatk=13125e0 Stro...
output:
North 5 took 53967 damage from South 1 -> 4973507/5027474 North: 4973507/5027474 2048/2048 150729/150729 156819/156819 5027474/5027474 2281/2281 South: 2281/2281 4405558/4405558 144876/144876 4034301/4034301 2048/2048 4034301/4034301 North 5 recovered +206126 hp -> 5027474/5027474 South 6 took 11...
result:
ok 185892 lines
Test #46:
score: 0
Accepted
time: 75ms
memory: 3600kb
input:
6 5 Average Lv=86 maxhp=144876 atk=12223e-4 def=13255e-4 skillLv=2 passivesklLv=3 B weaponatk=51379e-1 Average Lv=86 maxhp=144876 atk=12223e-4 def=13255e-4 skillLv=5 passivesklLv=5 G weaponatk=76300e-1 Weak Lv=89 maxhp=4810980 atk=97621e-5 def=80611e-6 skillLv=5 passivesklLv=1 G weaponatk=11113e0 St...
output:
North 3 took 63 damage from South 1 -> 2388/2451 North: 4405558/4405558 2388/2451 5027474/5027474 4034301/4034301 2200/2200 South: 150729/150729 4810980/4810980 144876/144876 144876/144876 2451/2451 2364/2364 North 3 recovered +122 hp -> 2451/2451 North 1 applied Weak skill to North 2 North: 4405...
result:
ok 272656 lines
Test #47:
score: 0
Accepted
time: 2ms
memory: 3828kb
input:
5 5 Strong Lv=88 maxhp=2281 atk=15432e-4 def=92107e-3 skillLv=0 passivesklLv=5 M weaponatk=51572e-1 Strong Lv=90 maxhp=2451 atk=15587e-4 def=96931e-3 skillLv=4 passivesklLv=5 G weaponatk=54199e-1 Weak Lv=84 maxhp=3860576 atk=96169e-5 def=71597e-6 skillLv=3 passivesklLv=0 G weaponatk=10061e0 Strong L...
output:
North 4 took 145 damage from South 1 -> 1830/1975 North 2 took 1920 damage from South 1 -> 154899/156819 North: 156819/156819 4405558/4405558 150729/150729 154899/156819 1830/1975 South: 144876/144876 3860576/3860576 2281/2281 2451/2451 2364/2364 North 2 recovered +2038 hp -> 156819/156819 North ...
result:
ok 1116 lines
Test #48:
score: 0
Accepted
time: 31ms
memory: 3720kb
input:
6 5 Strong Lv=92 maxhp=2634 atk=15743e-4 def=10200e-2 skillLv=0 passivesklLv=0 M weaponatk=86534e-1 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=2 passivesklLv=2 M weaponatk=11997e0 Strong Lv=97 maxhp=3152 atk=16141e-4 def=11589e-2 skillLv=0 passivesklLv=0 B weaponatk=11803e0 Strong ...
output:
North 1 took 6555 damage from South 1 -> 226470/233025 North: 5737183/5737183 5490127/5490127 226470/233025 198884/198884 5737183/5737183 South: 6547079/6547079 3152/3152 2634/2634 223976/223976 2730/2730 206919/206919 North 1 recovered +11185 hp -> 233025/233025 South 4 took 45 damage from North...
result:
ok 146489 lines
Test #49:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
5 6 Weak Lv=87 maxhp=4405558 atk=97037e-5 def=76876e-6 skillLv=5 passivesklLv=5 M weaponatk=94397e-1 Average Lv=85 maxhp=139251 atk=12162e-4 def=12964e-4 skillLv=4 passivesklLv=4 M weaponatk=56701e-1 Weak Lv=90 maxhp=5027474 atk=97913e-5 def=82546e-6 skillLv=0 passivesklLv=2 G weaponatk=10253e0 Weak...
output:
North 6 took 4570 damage from South 1 -> 172034/176604 North 4 took 20525 damage from South 1 -> 4013776/4034301 North: 2451/2451 150729/150729 2048/2048 144876/144876 4013776/4034301 172034/176604 South: 5253710/5253710 5027474/5027474 4405558/4405558 139251/139251 4215845/4215845 South 4 took 1...
result:
ok 1689 lines
Test #50:
score: 0
Accepted
time: 3ms
memory: 3692kb
input:
5 6 Weak Lv=94 maxhp=5995356 atk=99094e-5 def=90760e-6 skillLv=4 passivesklLv=2 M weaponatk=13449e0 Strong Lv=98 maxhp=3268 atk=16222e-4 def=11888e-2 skillLv=5 passivesklLv=1 G weaponatk=84148e-1 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=4 passivesklLv=5 G weaponatk=81848e-1 Weak Lv=...
output:
North 3 took 7688 damage from South 1 -> 199231/206919 North: 252234/252234 199231/206919 233025/233025 215279/215279 7149574/7149574 7149574/7149574 South: 3387/3387 2933/2933 5995356/5995356 3268/3268 5995356/5995356 North 3 recovered +4552 hp -> 203783/206919 South 3 took 133 damage from North...
result:
ok 4186 lines
Test #51:
score: 0
Accepted
time: 1ms
memory: 3700kb
input:
6 6 Strong Lv=50 maxhp=582 atk=12768e-4 def=34923e-3 skillLv=5 passivesklLv=4 B weaponatk=20010e-1 Average Lv=1 maxhp=5000 atk=80000e-5 def=20000e-5 skillLv=0 passivesklLv=3 G weaponatk=20020e-1 Strong Lv=51 maxhp=603 atk=12832e-4 def=35826e-3 skillLv=4 passivesklLv=5 M weaponatk=20030e-1 Weak Lv=50...
output:
South 1 applied Strong skill to South 3 North: 582/582 34817/34817 100000/100000 864367/864367 36223/36223 603/603 South: 34817/34817 603/603 582/582 5000/5000 864367/864367 903264/903264 South 5 took 2297 damage from North 1 -> 32520/34817 North: 582/582 34817/34817 100000/100000 864367/864367 3...
result:
ok 532 lines
Test #52:
score: 0
Accepted
time: 1ms
memory: 3784kb
input:
5 6 Average Lv=94 maxhp=198884 atk=12721e-4 def=15838e-4 skillLv=3 passivesklLv=3 B weaponatk=11916e-1 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=5 passivesklLv=0 M weaponatk=12836e-1 Average Lv=99 maxhp=242439 atk=13042e-4 def=17702e-4 skillLv=3 passivesklLv=2 B weaponatk=16656e-1...
output:
North 5 took 11 damage from South 1 -> 3030/3041 North: 3030/3041 233025/233025 3387/3387 2830/2830 3041/3041 2730/2730 South: 198884/198884 242439/242439 198884/198884 223976/223976 2933/2933 South 2 took 1618 damage from North 1 -> 222358/223976 North: 3030/3041 233025/233025 3387/3387 2830/283...
result:
ok 897 lines
Test #53:
score: 0
Accepted
time: 0ms
memory: 3720kb
input:
5 5 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=3 passivesklLv=4 G weaponatk=11658e-1 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=2 passivesklLv=1 M weaponatk=12001e-1 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=1 passivesklLv=1 B weaponatk=13791e-1...
output:
South 1 applied Average skill to North 3 North 3 took 261 damage from skill -> 3007/3268 North: 2830/2830 3007/3268 215279/215279 252234/252234 3152/3152 South: 3511/3511 215279/215279 223976/223976 215279/215279 3511/3511 South 4 took 11 damage from North 1 -> 3500/3511 North: 2830/2830 3007/326...
result:
ok 1278 lines
Test #54:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
6 5 Average Lv=94 maxhp=198884 atk=12721e-4 def=15838e-4 skillLv=3 passivesklLv=5 M weaponatk=11344e-1 Strong Lv=94 maxhp=2830 atk=15901e-4 def=10734e-2 skillLv=4 passivesklLv=3 M weaponatk=10173e-1 Average Lv=94 maxhp=198884 atk=12721e-4 def=15838e-4 skillLv=5 passivesklLv=5 M weaponatk=10988e-1 St...
output:
North 1 took 0 damage from South 1 -> 223976/223976 North 3 took 0 damage from South 1 -> 183738/183738 North 2 took 0 damage from South 1 -> 198884/198884 North: 206919/206919 183738/183738 223976/223976 198884/198884 215279/215279 South: 3268/3268 198884/198884 198884/198884 2830/2830 3268/3268 3...
result:
ok 866 lines
Test #55:
score: 0
Accepted
time: 2ms
memory: 3596kb
input:
5 6 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=2 passivesklLv=4 G weaponatk=15083e-1 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=5 passivesklLv=1 B weaponatk=11163e-1 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=3 passivesklLv=1 G weaponatk=13395e-1 Avera...
output:
North 5 took 11 damage from South 1 -> 3376/3387 North 3 took 13 damage from South 1 -> 2717/2730 North: 3376/3387 2717/2730 2830/2830 3268/3268 191162/191162 215279/215279 South: 233025/233025 3041/3041 233025/233025 2933/2933 223976/223976 North 1 applied Strong skill to North 5 North: 3376/338...
result:
ok 1172 lines
Test #56:
score: 0
Accepted
time: 2ms
memory: 3692kb
input:
6 5 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=2 passivesklLv=2 M weaponatk=10636e-1 Strong Lv=92 maxhp=2634 atk=15743e-4 def=10200e-2 skillLv=4 passivesklLv=4 M weaponatk=98779e-2 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=5 passivesklLv=1 B weaponatk=10479e-1 Strong L...
output:
North 4 took 13 damage from South 1 -> 2920/2933 North 2 took 2 damage from South 1 -> 2828/2830 North: 206919/206919 183738/183738 2933/2933 2828/2830 2920/2933 South: 206919/206919 2730/2730 2730/2730 2634/2634 3152/3152 183738/183738 South 4 took 17 damage from North 1 -> 3135/3152 North: 2069...
result:
ok 1658 lines
Test #57:
score: 0
Accepted
time: 2ms
memory: 3780kb
input:
5 5 Average Lv=92 maxhp=183738 atk=12595e-4 def=15149e-4 skillLv=1 passivesklLv=3 M weaponatk=10087e-1 Average Lv=94 maxhp=198884 atk=12721e-4 def=15838e-4 skillLv=1 passivesklLv=1 B weaponatk=11802e-1 Strong Lv=94 maxhp=2830 atk=15901e-4 def=10734e-2 skillLv=5 passivesklLv=5 B weaponatk=11070e-1 St...
output:
North 1 took 689 damage from South 1 -> 206230/206919 North 3 took 134 damage from South 1 -> 215145/215279 North 2 took 1 damage from South 1 -> 2829/2830 North: 2730/2730 215145/215279 206230/206919 2829/2830 2933/2933 South: 2634/2634 2830/2830 183738/183738 198884/198884 2933/2933 South 3 too...
result:
ok 1254 lines
Test #58:
score: 0
Accepted
time: 2ms
memory: 3816kb
input:
5 6 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=4 passivesklLv=3 G weaponatk=15327e-1 Strong Lv=97 maxhp=3152 atk=16141e-4 def=11589e-2 skillLv=0 passivesklLv=4 G weaponatk=14445e-1 Average Lv=95 maxhp=206919 atk=12784e-4 def=16195e-4 skillLv=3 passivesklLv=2 B weaponatk=12209e-1 Av...
output:
South 1 applied Average skill to North 5 North 5 took 20157 damage from skill -> 203819/223976 North: 203819/223976 206919/206919 2933/2933 223976/223976 3387/3387 3268/3268 South: 3387/3387 206919/206919 233025/233025 3152/3152 215279/215279 South 1 took 566 damage from North 1 -> 232459/233025 ...
result:
ok 1221 lines
Test #59:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
5 5 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=4 passivesklLv=4 M weaponatk=13817e-1 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=2 passivesklLv=1 M weaponatk=14825e-1 Average Lv=94 maxhp=198884 atk=12721e-4 def=15838e-4 skillLv=3 passivesklLv=5 G weaponatk=11559e-1...
output:
North 1 took 0 damage from South 1 -> 3268/3268 North: 198884/198884 233025/233025 3268/3268 2634/2634 2634/2634 South: 233025/233025 198884/198884 233025/233025 223976/223976 3041/3041 South 4 took 23 damage from North 1 -> 3018/3041 North: 198884/198884 233025/233025 3268/3268 2634/2634 2634/26...
result:
ok 815 lines
Test #60:
score: 0
Accepted
time: 2ms
memory: 3600kb
input:
6 6 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=1 passivesklLv=2 M weaponatk=88720e-2 Average Lv=91 maxhp=176604 atk=12532e-4 def=14815e-4 skillLv=3 passivesklLv=5 M weaponatk=80247e-2 Strong Lv=91 maxhp=2541 atk=15665e-4 def=99436e-3 skillLv=1 passivesklLv=2 G weaponatk=91379e-2 Stron...
output:
South 1 applied Strong skill to South 3 North: 191162/191162 176604/176604 206919/206919 3041/3041 183738/183738 191162/191162 South: 215279/215279 2541/2541 2730/2730 176604/176604 2830/2830 2830/2830 North 1 applied Average skill to South 6 South 6 took 226 damage from skill -> 2604/2830 North:...
result:
ok 1088 lines
Test #61:
score: 0
Accepted
time: 5ms
memory: 3716kb
input:
5 5 Weak Lv=97 maxhp=6841697 atk=99988e-5 def=97453e-6 skillLv=2 passivesklLv=5 M weaponatk=35278e0 Strong Lv=100 maxhp=3511 atk=16384e-4 def=12511e-2 skillLv=2 passivesklLv=0 B weaponatk=26181e0 Strong Lv=99 maxhp=3387 atk=16303e-4 def=12196e-2 skillLv=5 passivesklLv=4 B weaponatk=21494e0 Average L...
output:
North 3 took 333 damage from South 1 -> 3054/3387 North: 3152/3152 3054/3387 6841697/6841697 3511/3511 242439/242439 South: 3152/3152 3387/3387 6841697/6841697 3511/3511 242439/242439 North 3 recovered +84 hp -> 3138/3387 South 1 took 284906 damage from North 1 -> 6556791/6841697 North: 3152/3152...
result:
ok 22277 lines
Test #62:
score: 0
Accepted
time: 65ms
memory: 3600kb
input:
5 5 Weak Lv=96 maxhp=6547079 atk=99689e-5 def=95169e-6 skillLv=2 passivesklLv=3 B weaponatk=31515e0 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=0 passivesklLv=3 B weaponatk=17447e0 Weak Lv=94 maxhp=5995356 atk=99094e-5 def=90760e-6 skillLv=2 passivesklLv=5 B weaponatk=25566e0 Strong Lv...
output:
North 1 took 318770 damage from South 1 -> 6228309/6547079 North: 5737183/5737183 5995356/5995356 6228309/6547079 2933/2933 3041/3041 South: 5737183/5737183 5995356/5995356 6547079/6547079 2933/2933 3041/3041 North 1 recovered +327353 hp -> 6547079/6547079 North 1 applied Weak skill to North 2 No...
result:
ok 215738 lines
Test #63:
score: 0
Accepted
time: 4ms
memory: 3816kb
input:
6 6 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=5 passivesklLv=4 B weaponatk=16453e0 Weak Lv=95 maxhp=6265147 atk=99391e-5 def=92938e-6 skillLv=5 passivesklLv=4 G weaponatk=25813e0 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=2 passivesklLv=0 M weaponatk=19234e0 Weak...
output:
North 1 took 15355 damage from South 1 -> 199924/215279 North: 198884/198884 215279/215279 199924/215279 6265147/6265147 6547079/6547079 3152/3152 South: 198884/198884 215279/215279 215279/215279 6265147/6265147 6547079/6547079 3152/3152 North 1 recovered +4736 hp -> 204660/215279 South 6 took 19...
result:
ok 29143 lines
Test #64:
score: 0
Accepted
time: 80ms
memory: 3824kb
input:
5 5 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=3 passivesklLv=5 B weaponatk=18311e0 Average Lv=95 maxhp=206919 atk=12784e-4 def=16195e-4 skillLv=5 passivesklLv=5 B weaponatk=14924e0 Weak Lv=95 maxhp=6265147 atk=99391e-5 def=92938e-6 skillLv=1 passivesklLv=5 M weaponatk=31318e0 Weak Lv...
output:
North 5 took 264 damage from South 1 -> 2888/3152 North: 2888/3152 6265147/6265147 2933/2933 206919/206919 7149574/7149574 South: 3152/3152 6265147/6265147 2933/2933 206919/206919 7149574/7149574 North 5 recovered +148 hp -> 3036/3152 South 1 took 260 damage from North 1 -> 2673/2933 North: 3036/...
result:
ok 286476 lines
Test #65:
score: 0
Accepted
time: 93ms
memory: 3640kb
input:
6 6 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=1 passivesklLv=1 B weaponatk=16462e0 Weak Lv=100 maxhp=7807513 atk=10089e-4 def=10463e-5 skillLv=5 passivesklLv=2 M weaponatk=42800e0 Strong Lv=98 maxhp=3268 atk=16222e-4 def=11888e-2 skillLv=5 passivesklLv=1 B weaponatk=19580e0 Weak L...
output:
South 1 applied Average skill to North 4 North 4 took 428974 damage from skill -> 6720600/7149574 North: 3268/3268 3268/3268 215279/215279 7807513/7807513 6720600/7149574 223976/223976 South: 3268/3268 3268/3268 215279/215279 7807513/7807513 7149574/7149574 223976/223976 North 4 recovered +207337...
result:
ok 366499 lines
Test #66:
score: 0
Accepted
time: 111ms
memory: 3600kb
input:
6 6 Weak Lv=96 maxhp=6547079 atk=99689e-5 def=95169e-6 skillLv=4 passivesklLv=1 G weaponatk=35534e0 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=0 passivesklLv=1 B weaponatk=18242e0 Weak Lv=99 maxhp=7471304 atk=10058e-4 def=10218e-5 skillLv=1 passivesklLv=5 M weaponatk=45511e0 Averag...
output:
North 1 took 422973 damage from South 1 -> 6124106/6547079 North: 6841697/6841697 7471304/7471304 6124106/6547079 223976/223976 223976/223976 223976/223976 South: 6841697/6841697 7471304/7471304 6547079/6547079 223976/223976 223976/223976 223976/223976 North 1 recovered +327353 hp -> 6451459/6547...
result:
ok 313018 lines
Test #67:
score: 0
Accepted
time: 5ms
memory: 3720kb
input:
5 5 Average Lv=95 maxhp=206919 atk=12784e-4 def=16195e-4 skillLv=1 passivesklLv=0 M weaponatk=15202e0 Weak Lv=97 maxhp=6841697 atk=99988e-5 def=97453e-6 skillLv=0 passivesklLv=5 B weaponatk=32289e0 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=4 passivesklLv=3 G weaponatk=18980e0 Stro...
output:
North 4 took 180 damage from South 1 -> 2972/3152 North 2 took 52413 damage from South 1 -> 6789284/6841697 North: 2933/2933 233025/233025 206919/206919 6789284/6841697 2972/3152 South: 2933/2933 233025/233025 206919/206919 6841697/6841697 3152/3152 North 2 recovered +171042 hp -> 6841697/6841697...
result:
ok 9642 lines
Test #68:
score: 0
Accepted
time: 73ms
memory: 3604kb
input:
5 5 Weak Lv=97 maxhp=6841697 atk=99988e-5 def=97453e-6 skillLv=0 passivesklLv=1 B weaponatk=31669e0 Strong Lv=98 maxhp=3268 atk=16222e-4 def=11888e-2 skillLv=5 passivesklLv=1 B weaponatk=16103e0 Weak Lv=96 maxhp=6547079 atk=99689e-5 def=95169e-6 skillLv=1 passivesklLv=1 M weaponatk=27974e0 Strong Lv...
output:
North 5 took 0 damage from South 1 -> 6547079/6547079 North: 6547079/6547079 6547079/6547079 6841697/6841697 3268/3268 3152/3152 South: 6547079/6547079 6547079/6547079 6841697/6841697 3268/3268 3152/3152 South 3 took 428384 damage from North 1 -> 6118695/6547079 North: 6547079/6547079 6547079/654...
result:
ok 272141 lines
Test #69:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
6 6 Weak Lv=98 maxhp=7149574 atk=10028e-4 def=99792e-6 skillLv=3 passivesklLv=0 B weaponatk=36242e0 Strong Lv=97 maxhp=3152 atk=16141e-4 def=11589e-2 skillLv=2 passivesklLv=2 M weaponatk=20978e0 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=4 passivesklLv=2 B weaponatk=19680e0 Strong ...
output:
South 1 applied Weak skill to South 5 North: 3268/3268 215279/215279 7149574/7149574 3152/3152 3511/3511 233025/233025 South: 3268/3268 215279/215279 7149574/7149574 3152/3152 3511/3511 233025/233025 South 3 took 19426 damage from North 1 -> 195853/215279 North: 3268/3268 215279/215279 7149574/71...
result:
ok 650 lines
Test #70:
score: 0
Accepted
time: 6ms
memory: 3656kb
input:
5 5 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=3 passivesklLv=3 G weaponatk=17427e0 Weak Lv=97 maxhp=6841697 atk=99988e-5 def=97453e-6 skillLv=4 passivesklLv=1 B weaponatk=27987e0 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=0 passivesklLv=3 G weaponatk=16060e0 Stro...
output:
North 4 took 0 damage from South 1 -> 3511/3511 North: 3268/3268 223976/223976 215279/215279 6841697/6841697 3511/3511 South: 3268/3268 223976/223976 215279/215279 6841697/6841697 3511/3511 South 5 took 128 damage from North 1 -> 3140/3268 North: 3268/3268 223976/223976 215279/215279 6841697/6841...
result:
ok 11699 lines
Test #71:
score: 0
Accepted
time: 101ms
memory: 3656kb
input:
6 6 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=4 passivesklLv=1 M weaponatk=18767e0 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=3 passivesklLv=3 B weaponatk=19462e0 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=1 passivesklLv=1 M weaponatk=13090e0 Weak Lv=...
output:
North 4 took 287734 damage from South 1 -> 6553963/6841697 North: 6841697/6841697 2933/2933 2933/2933 223976/223976 6553963/6841697 3041/3041 South: 6841697/6841697 2933/2933 2933/2933 223976/223976 6841697/6841697 3041/3041 North 4 recovered +259984 hp -> 6813947/6841697 South 3 took 212 damage ...
result:
ok 293411 lines
Test #72:
score: 0
Accepted
time: 89ms
memory: 3828kb
input:
6 6 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=1 passivesklLv=1 M weaponatk=14896e0 Strong Lv=94 maxhp=2830 atk=15901e-4 def=10734e-2 skillLv=3 passivesklLv=2 M weaponatk=12200e0 Weak Lv=93 maxhp=5737183 atk=98797e-5 def=88633e-6 skillLv=3 passivesklLv=0 M weaponatk=28344e0 Weak Lv=94...
output:
South 1 applied Strong skill to South 5 North: 2933/2933 5737183/5737183 2730/2730 2830/2830 5995356/5995356 3041/3041 South: 2933/2933 5737183/5737183 2730/2730 2830/2830 5995356/5995356 3041/3041 North 1 applied Strong skill to North 6 North: 2933/2933 5737183/5737183 2730/2730 2830/2830 599535...
result:
ok 284149 lines
Test #73:
score: 0
Accepted
time: 2ms
memory: 3656kb
input:
5 5 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=5 passivesklLv=4 G weaponatk=16931e0 Weak Lv=95 maxhp=6265147 atk=99391e-5 def=92938e-6 skillLv=2 passivesklLv=5 M weaponatk=33993e0 Average Lv=97 maxhp=223976 atk=12913e-4 def=16932e-4 skillLv=5 passivesklLv=4 B weaponatk=18237e0 Aver...
output:
North 2 took 241995 damage from South 1 -> 6023152/6265147 North: 3152/3152 223976/223976 223976/223976 6023152/6265147 191162/191162 South: 3152/3152 223976/223976 223976/223976 6265147/6265147 191162/191162 North 2 recovered +156628 hp -> 6179780/6265147 North 1 applied Average skill to South 4...
result:
ok 3246 lines
Test #74:
score: 0
Accepted
time: 4ms
memory: 3780kb
input:
6 6 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=4 passivesklLv=4 M weaponatk=18096e0 Average Lv=96 maxhp=215279 atk=12848e-4 def=16559e-4 skillLv=4 passivesklLv=5 M weaponatk=19362e0 Average Lv=98 maxhp=233025 atk=12977e-4 def=17312e-4 skillLv=2 passivesklLv=4 B weaponatk=20887e0 St...
output:
South 1 applied Average skill to North 3 North 3 took 20972 damage from skill -> 212053/233025 North: 6547079/6547079 212053/233025 233025/233025 215279/215279 3041/3041 242439/242439 South: 6547079/6547079 233025/233025 233025/233025 215279/215279 3041/3041 242439/242439 North 3 recovered +5126 ...
result:
ok 7599 lines
Test #75:
score: 0
Accepted
time: 87ms
memory: 3696kb
input:
6 6 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=3 passivesklLv=4 M weaponatk=16343e0 Weak Lv=96 maxhp=6547079 atk=99689e-5 def=95169e-6 skillLv=3 passivesklLv=5 M weaponatk=29262e0 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=4 passivesklLv=5 M weaponatk=17678e0 Weak Lv=96...
output:
North 3 took 293 damage from South 1 -> 2748/3041 North 5 took 57 damage from South 1 -> 3095/3152 North 1 took 58 damage from South 1 -> 2983/3041 North: 3095/3152 2748/3041 2983/3041 6547079/6547079 6547079/6547079 206919/206919 South: 3152/3152 3041/3041 3041/3041 6547079/6547079 6547079/6547079...
result:
ok 279864 lines
Test #76:
score: 0
Accepted
time: 6ms
memory: 3600kb
input:
6 6 Strong Lv=97 maxhp=3152 atk=16141e-4 def=11589e-2 skillLv=4 passivesklLv=0 B weaponatk=78806e-2 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=4 passivesklLv=2 B weaponatk=66919e-2 Strong Lv=94 maxhp=2830 atk=15901e-4 def=10734e-2 skillLv=5 passivesklLv=2 M weaponatk=68957e-2 Strong L...
output:
South 1 applied Strong skill to South 6 North: 3152/3152 2830/2830 3152/3152 2933/2933 3041/3041 2830/2830 South: 3152/3152 2830/2830 3152/3152 2933/2933 3041/3041 2830/2830 North 1 applied Strong skill to North 5 North: 3152/3152 2830/2830 3152/3152 2933/2933 3041/3041 2830/2830 South: 3152/315...
result:
ok 15858 lines
Test #77:
score: 0
Accepted
time: 7ms
memory: 3656kb
input:
6 6 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=2 passivesklLv=1 M weaponatk=76187e-2 Strong Lv=100 maxhp=3511 atk=16384e-4 def=12511e-2 skillLv=2 passivesklLv=0 M weaponatk=10527e-1 Strong Lv=97 maxhp=3152 atk=16141e-4 def=11589e-2 skillLv=3 passivesklLv=5 B weaponatk=90496e-2 Strong ...
output:
North 3 took 10 damage from South 1 -> 3142/3152 North 5 took 2 damage from South 1 -> 3039/3041 North 1 took 2 damage from South 1 -> 3039/3041 North: 3039/3041 3142/3152 3039/3041 3511/3511 3152/3152 3268/3268 South: 3041/3041 3152/3152 3041/3041 3511/3511 3152/3152 3268/3268 North 1 applied St...
result:
ok 14018 lines
Test #78:
score: 0
Accepted
time: 7ms
memory: 3600kb
input:
6 6 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=3 passivesklLv=2 B weaponatk=79075e-2 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=0 passivesklLv=4 M weaponatk=72903e-2 Strong Lv=98 maxhp=3268 atk=16222e-4 def=11888e-2 skillLv=5 passivesklLv=4 M weaponatk=80297e-2 Strong L...
output:
North 6 took 9 damage from South 1 -> 3032/3041 North: 3152/3152 3268/3268 3041/3041 2933/2933 3041/3041 3032/3041 South: 3152/3152 3268/3268 3041/3041 2933/2933 3041/3041 3041/3041 South 4 took 9 damage from North 1 -> 3032/3041 North: 3152/3152 3268/3268 3041/3041 2933/2933 3041/3041 3032/3041 ...
result:
ok 13832 lines
Test #79:
score: 0
Accepted
time: 8ms
memory: 3692kb
input:
6 6 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=2 passivesklLv=0 G weaponatk=69384e-2 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=1 passivesklLv=5 G weaponatk=82259e-2 Strong Lv=93 maxhp=2730 atk=15822e-4 def=10464e-2 skillLv=0 passivesklLv=0 B weaponatk=67973e-2 Strong L...
output:
North 2 took 3 damage from South 1 -> 3038/3041 North 1 took 3 damage from South 1 -> 3038/3041 North 4 took 3 damage from South 1 -> 2930/2933 North: 3152/3152 2730/2730 3038/3041 3038/3041 2930/2933 2830/2830 South: 3152/3152 2730/2730 3041/3041 3041/3041 2933/2933 2830/2830 South 3 took 6 dama...
result:
ok 14962 lines
Test #80:
score: 0
Accepted
time: 8ms
memory: 3788kb
input:
6 6 Strong Lv=96 maxhp=3041 atk=16061e-4 def=11297e-2 skillLv=0 passivesklLv=3 M weaponatk=83677e-2 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=0 passivesklLv=5 M weaponatk=66607e-2 Strong Lv=95 maxhp=2933 atk=15981e-4 def=11012e-2 skillLv=3 passivesklLv=5 B weaponatk=75122e-2 Strong L...
output:
North 3 took 13 damage from South 1 -> 2920/2933 North: 3041/3041 2920/2933 3041/3041 2933/2933 2933/2933 2830/2830 South: 3041/3041 2933/2933 3041/3041 2933/2933 2933/2933 2830/2830 South 5 took 15 damage from North 1 -> 3026/3041 South 3 took 3 damage from North 1 -> 2930/2933 North: 3041/3041 ...
result:
ok 14260 lines