QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#431999 | #8744. 机器人 | mfeitveer | AC ✓ | 643ms | 605532kb | C++14 | 5.0kb | 2024-06-06 15:41:38 | 2024-06-06 15:41:38 |
Judging History
answer
// zhenjiernanxie
#include <bits/stdc++.h>
using namespace std;
const int _ = 5e5 + 7, __ = 6e6 + 7;
int n, k, hd[_][2], cmdid[_];
const string CMDLIST[] = {"SLACKOFF", "MOVE", "SWAP", "TRIGGER",
"TOGGLETRIGGERREPLACE"};
int cmdname2id(string cmdname) {
return find(CMDLIST, CMDLIST + 6, cmdname) - CMDLIST;
}
namespace sat {
vector<int> nxt[__];
int cntnode;
int newnode() { return cntnode += 2; }
void adde(int x, int y) {
nxt[x].push_back(y);
if (y != (x ^ 1)) nxt[y ^ 1].push_back(x ^ 1);
}
int dfn[__], low[__], bel[__], stk[__], top, cntscc, cntdfn;
bool in[__];
void tarjan(int x) {
dfn[x] = low[x] = ++cntdfn;
stk[++top] = x;
in[x] = 1;
for (auto t : nxt[x]) {
if (!dfn[t])
tarjan(t);
else if (!in[t])
continue;
low[x] = min(low[x], low[t]);
}
if (dfn[x] == low[x]) {
++cntscc;
do {
int t = stk[top];
in[t] = 0;
bel[t] = cntscc;
} while (stk[top--] != x);
}
}
void solve() {
for (int i = 0; i <= cntnode + 1; ++i)
if (!dfn[i]) tarjan(i);
for (int i = 0; i <= cntnode; i += 2) assert(bel[i] != bel[i ^ 1]);
}
bool qval(int x) { return bel[x] < bel[x ^ 1]; }
} // namespace sat
using sat::newnode, sat::adde, sat::qval;
struct MainCmd {
string cmdname;
int h, z, replace_id, trgid;
MainCmd() { h = z = replace_id = trgid = 0; }
void inputandact();
void output();
};
struct TrgHd {
int v1, v2;
string cmd_name;
set<string> fail_cmd;
bool v2_fail;
// v1 = 1 => no trg; v2 = 1 => trg is not trg
void toggle(TrgHd prev) {
adde(prev.v1, v1 ^ 1);
adde(prev.v1 ^ 1, v1);
}
void interact(TrgHd prev, string cmd, bool success) {
bool fail = 0;
if (!success) {
fail_cmd.insert(cmd);
adde(prev.v1 ^ 1, v2);
} else {
if (cmd_name.empty())
cmd_name = cmd;
else
fail |= cmd_name != cmd;
adde(prev.v1, v2);
}
fail |= fail_cmd.find(cmd_name) != fail_cmd.end() || fail_cmd.size() == 4;
if (!v2_fail && fail) {
adde(v2, v1);
v2_fail = 1;
}
}
void notrg() { adde(v1 ^ 1, v1); }
void allocname() {
if (cmd_name.empty())
for (auto t : CMDLIST)
if (t != "TRIGGER" && fail_cmd.find(t) == fail_cmd.end()) cmd_name = t;
}
void output() {
allocname();
if (!qval(v1))
cout << "TRIGGER " << (qval(v2) ? cmd_name : "TRIGGER") << ": ";
}
string gettrgname() {
allocname();
return qval(v1) ? "SLACKOFF" : (qval(v2) ? cmd_name : "TRIGGER");
}
} trg[_ * 3];
int cnttrg;
int newtrg() {
int id = cnttrg++;
trg[id].v1 = newnode();
trg[id].v2 = newnode();
return id;
}
struct Cmd {
MainCmd main;
int origin_trgid, trgid;
int trgflip() {
int ntrg = newtrg();
trg[ntrg].toggle(trg[trgid]);
return trgid = ntrg;
}
void notrg() { trg[trgid].notrg(); }
void interact(Cmd prev, bool success) {
trg[trgid].interact(trg[prev.trgid], prev.main.cmdname, success);
}
void output() {
trg[origin_trgid].output();
main.output();
}
} cmd[_ * 2];
int cntcmd, prevcmd = -1, previd;
int newcmd() {
int id = cntcmd++;
cmd[id].origin_trgid = cmd[id].trgid = newtrg();
return id;
}
void MainCmd::inputandact() {
int id, side, id2, id3;
cin >> cmdname >> id;
int curcmd = cmdid[id];
// trg Interaction between cmds
if (prevcmd == -1 || hd[previd][1] != id) cmd[curcmd].notrg();
if (prevcmd != -1 && hd[previd][1] != previd)
cmd[cmdid[hd[previd][1]]].interact(cmd[prevcmd], hd[previd][1] == id);
prevcmd = curcmd;
previd = id;
switch (cmdname2id(cmdname)) {
case 0:
break; // SLACKOFF
case 1: // MOVE
cin >> h >> id2;
z = (id2 - hd[id][h] + n) % n;
hd[id][h] = id2;
break;
case 2: // SWAP
cin >> id2 >> id3;
swap(cmdid[id2], cmdid[id3]);
break;
case 4: // TOGGLETRIGGERREPLACE
cin >> id2;
assert(hd[id][0] == id2 || hd[id][1] == id2);
h = hd[id][0] != id2;
trgid = cmd[cmdid[id2]].trgflip();
cmdid[id] = replace_id = newcmd();
break;
default:
assert(0);
}
cmd[curcmd].main = *this;
}
void MainCmd::output() {
if (cmdname.empty()) cmdname = "SLACKOFF";
cout << cmdname << ' ';
switch (cmdname2id(cmdname)) {
case 0:
break;
case 1:
cout << h << ' ' << z;
break;
case 2:
break;
case 4:
cout << h << ' ' << trg[trgid].gettrgname() << ' ';
cmd[replace_id].output();
break;
default:
assert(0);
}
}
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin >> n >> k;
for (int i = 0; i < n; ++i) {
cin >> hd[i][0] >> hd[i][1];
cmdid[i] = newcmd();
}
for (int i = 0; i < k; ++i) MainCmd().inputandact();
cmd[cmdid[hd[previd][1]]].interact(cmd[prevcmd], 0);
sat::solve();
for (int i = 0; i < n; ++i, cout << '\n') cmd[i].output();
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 242ms
memory: 356208kb
input:
1000 500000 217 584 235 959 17 530 70 784 91 208 367 806 782 340 30 955 9 340 171 284 752 628 987 17 398 133 621 702 657 149 711 767 610 221 720 359 489 558 132 504 286 703 23 735 113 753 709 773 805 408 816 889 933 313 396 350 719 509 146 10 667 28 994 417 956 453 323 828 715 170 161 754 694 855 53...
output:
SLACKOFF SLACKOFF SLACKOFF SWAP MOVE 1 972 MOVE 0 153 MOVE 0 519 MOVE 1 463 SWAP SLACKOFF SLACKOFF SLACKOFF MOVE 1 904 SWAP SWAP MOVE 0 767 SLACKOFF SLACKOFF MOVE 0 967 TRIGGER SWAP: SWAP TRIGGER SWAP: SWAP SWAP MOVE 1 878 MOVE 0 721 MOVE 1 96 SWAP SLACKOFF TRIGGER SWAP: SWAP TOGGL...
result:
ok Accepted.
Test #2:
score: 0
Accepted
time: 221ms
memory: 357932kb
input:
1000 500000 958 392 101 316 715 750 353 677 598 88 309 14 605 574 282 786 773 547 597 455 796 520 637 4 516 780 894 197 631 755 526 923 410 701 375 830 16 542 481 56 773 467 679 697 612 63 70 708 736 184 893 44 38 831 225 279 641 908 892 83 781 113 266 592 831 153 611 566 516 519 840 51 61 306 929 9...
output:
SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP MOVE 1 371 SWAP SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SLACKOFF SLACKOFF MOVE 0 915 MOVE 1 499 TRIGGER SLACKOFF: TOGGLETRIGGERREPLACE 1 TRIGGER SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE...
result:
ok Accepted.
Test #3:
score: 0
Accepted
time: 223ms
memory: 359188kb
input:
1000 500000 148 593 875 491 878 456 239 914 967 3 473 79 5 977 135 866 443 182 316 419 598 984 869 796 308 938 480 421 681 792 42 773 509 161 997 942 412 76 534 136 301 499 47 404 522 358 340 394 765 239 830 98 410 959 705 997 151 295 388 457 967 495 119 865 455 461 583 180 20 26 553 7 765 272 327 1...
output:
SWAP SWAP SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE MOVE 1 943 SWAP SLACKOFF MOVE 0 943 TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGE...
result:
ok Accepted.
Test #4:
score: 0
Accepted
time: 198ms
memory: 359888kb
input:
1000 500000 6 2 96 178 273 62 379 59 991 143 326 337 748 473 656 797 702 454 995 101 507 604 868 239 99 21 997 807 660 101 59 635 158 342 557 791 625 996 512 609 745 619 716 517 288 410 827 198 180 494 149 119 905 259 474 946 550 253 840 97 81 70 103 292 174 427 116 863 526 729 248 836 352 810 755 4...
output:
MOVE 0 615 TRIGGER TRIGGER: SLACKOFF TRIGGER SLACKOFF: MOVE 0 227 MOVE 1 134 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER SWAP: MOVE 1 987 TRIGGER SLACKOFF: SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF SWAP TRIGGER TRIGGER: SLACKOFF SLACKOFF SWAP SLACKOFF SLACKOFF MOVE 0 67 SWAP SWAP ...
result:
ok Accepted.
Test #5:
score: 0
Accepted
time: 217ms
memory: 359408kb
input:
1000 500000 694 108 867 777 965 87 588 370 207 212 796 990 746 429 81 351 597 261 473 966 129 194 883 311 429 458 869 903 326 69 910 426 247 319 288 665 809 267 517 944 538 219 54 338 667 598 6 454 792 513 208 473 507 240 947 254 631 4 937 468 176 662 9 44 228 441 760 132 452 953 369 535 921 159 13 ...
output:
TOGGLETRIGGERREPLACE 0 TRIGGER TOGGLETRIGGERREPLACE 0 SLACKOFF SLACKOFF TRIGGER SLACKOFF: SWAP MOVE 0 769 MOVE 0 817 SWAP MOVE 1 297 SLACKOFF SLACKOFF MOVE 1 844 SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TRIGGER SLACKOFF: SWAP TRIGGER MOVE: TOGGLETRIGGERREPLACE 1 TRIGGER SLACKOFF SLACKOFF MOVE 1...
result:
ok Accepted.
Test #6:
score: 0
Accepted
time: 219ms
memory: 359060kb
input:
1000 500000 550 722 3 860 203 795 971 219 935 707 262 7 796 726 711 158 212 728 392 409 13 423 917 88 602 238 86 955 304 610 543 875 50 521 828 822 108 593 269 518 347 936 589 810 447 476 970 715 628 184 186 286 177 265 540 400 293 599 534 940 322 652 388 770 745 545 199 954 575 74 340 900 572 957 1...
output:
TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 TRIGGER SWAP TOGGLETRIGGERREPLACE 0 SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 TRIGGER SWAP TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TOGG...
result:
ok Accepted.
Test #7:
score: 0
Accepted
time: 205ms
memory: 358952kb
input:
1000 500000 680 885 967 867 467 952 224 227 225 932 689 821 708 867 613 946 178 233 657 901 448 640 693 519 697 177 153 614 103 675 252 655 558 738 486 334 962 856 12 272 32 687 827 452 155 669 299 294 3 863 43 416 555 325 962 609 963 409 60 484 590 695 906 842 927 672 323 484 431 417 33 280 938 292...
output:
TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SLACKOFF SLACKOFF SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLAC...
result:
ok Accepted.
Test #8:
score: 0
Accepted
time: 205ms
memory: 361392kb
input:
1000 500000 978 550 196 567 135 170 381 326 214 78 85 110 898 732 54 273 523 15 750 489 560 346 58 226 594 584 878 113 429 933 88 941 343 156 500 392 338 636 56 0 763 888 906 255 722 799 426 700 672 636 149 681 692 818 565 643 335 954 715 598 253 826 815 94 200 514 402 49 837 115 742 870 660 63 841 ...
output:
TOGGLETRIGGERREPLACE 1 SWAP SWAP TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE SWAP SWAP TOGGLETRIGGERREPLACE 0 SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TO...
result:
ok Accepted.
Test #9:
score: 0
Accepted
time: 223ms
memory: 357888kb
input:
1000 500000 893 764 419 350 793 999 263 314 762 195 152 163 147 60 831 619 505 580 16 549 528 235 560 370 576 58 180 608 493 335 548 351 404 409 802 899 225 812 798 112 474 835 806 476 831 111 331 246 844 246 551 885 259 243 863 95 775 700 831 288 611 708 535 699 539 59 64 96 197 449 579 545 525 962...
output:
SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP TOGGLETRIGGERREPLACE 1 TRIGGER SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE SWAP SWAP SWAP SWAP SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLAC...
result:
ok Accepted.
Test #10:
score: 0
Accepted
time: 194ms
memory: 359660kb
input:
1000 500000 243 776 788 840 366 17 627 13 781 220 834 877 261 280 373 60 742 568 217 569 525 763 838 370 984 679 5 505 480 974 115 688 577 622 721 17 42 750 535 608 282 802 248 902 509 239 667 502 381 616 326 508 782 15 833 224 642 23 310 843 866 464 222 385 102 287 253 431 784 718 676 735 902 109 9...
output:
TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE SWAP SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 0 SLACKOFF ...
result:
ok Accepted.
Test #11:
score: 0
Accepted
time: 623ms
memory: 605532kb
input:
2 500000 0 1 1 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETR...
output:
TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF ...
result:
ok Accepted.
Test #12:
score: 0
Accepted
time: 238ms
memory: 359012kb
input:
10000 500000 538 9326 6656 6080 4195 3978 994 7457 2322 8623 4280 6028 2728 8970 1706 5691 3404 767 4601 2846 4048 5476 6637 3942 7326 5418 7723 2761 3935 1542 3714 4721 5147 3697 7623 1291 793 3652 5417 9057 8078 5084 8888 2401 7004 4280 6385 8443 5124 6354 2796 3110 3489 2252 2902 4762 7481 4731 9...
output:
TRIGGER TOGGLETRIGGERREPLACE: SWAP TOGGLETRIGGERREPLACE 1 SWAP SWAP SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SLACKOFF SLACKOFF TOGGLETRIGGERREPLACE 0 SWAP SWAP SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP SWAP SLACKOFF TOGGLETRIGGERREPLACE 0 TRIGGER SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP TRI...
result:
ok Accepted.
Test #13:
score: 0
Accepted
time: 250ms
memory: 359672kb
input:
10000 500000 2030 7929 1266 4166 5394 1128 3979 1893 6634 3961 4970 4213 2875 1472 2945 4059 4814 3927 7002 4848 648 191 2659 168 2053 2033 7340 9840 8625 2342 1222 5697 5789 5797 7369 4581 5472 9252 5216 333 3255 3039 6886 8497 5597 6246 6283 7815 7742 617 6189 8552 4145 5851 1687 8521 2271 9928 36...
output:
TRIGGER SWAP: SWAP SWAP TRIGGER SLACKOFF: SWAP SLACKOFF SWAP SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP SLACKOFF SWAP TRIGGER SWAP: TOGGLETRIGGERREPLACE 1 TRIGGER SWAP TOGGLETRIGGERREPLACE 1 SWAP SLACKOFF SWAP SWAP TRIGGER SWAP: SWAP TRIGGER SWAP: SWAP TRIGGER TRIGGER: SWAP SLACKOFF TRIGGE...
result:
ok Accepted.
Test #14:
score: 0
Accepted
time: 273ms
memory: 359968kb
input:
10000 500000 3239 6712 7741 8543 7966 5466 8855 8328 5127 8591 5518 9903 5548 3804 9311 9208 2743 2162 8836 3479 1622 4558 7572 1353 5205 1636 5669 5485 3166 6806 9004 582 774 4481 9032 6613 4232 5135 8124 1322 4969 9836 3093 2639 9287 1875 7325 3147 8429 4530 1224 8697 938 9609 5052 6338 511 6129 4...
output:
TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 TRIGGER TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TRIGGER: SWAP SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SLACKOFF SLACKOFF SWAP SWAP SWAP SLACKOFF TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER SWAP...
result:
ok Accepted.
Test #15:
score: 0
Accepted
time: 193ms
memory: 356140kb
input:
10000 500000 1055 4672 2196 5046 5997 5353 8481 5505 9912 5408 8494 3628 5364 2819 7611 74 8601 2889 7711 2440 5867 6310 1168 283 9757 4125 9687 6255 8185 560 1601 5662 7160 6306 389 5762 9963 1489 3391 7468 703 2237 836 7845 8650 29 8721 1321 9766 7376 9779 8692 8969 1046 9313 4825 5412 9284 102 85...
output:
SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TOGGLETRIGGERREPLACE 1 MOVE SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP SLACKOFF SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP SLACKOFF TRIGGER SWAP: SWAP SW...
result:
ok Accepted.
Test #16:
score: 0
Accepted
time: 265ms
memory: 362388kb
input:
10000 500000 6478 3547 6696 1119 2663 374 848 8883 9167 804 4003 8835 2525 1465 3035 9111 9843 3145 6400 6076 5867 3843 3836 5591 3801 4533 2291 9932 9439 9312 7450 3377 7239 5558 4732 6815 4986 7482 6333 7488 7820 4130 4199 2547 631 1493 5040 2918 1661 3376 7075 8444 6800 2715 1541 9372 3582 1658 8...
output:
SWAP SLACKOFF TRIGGER TRIGGER: SWAP SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE SWAP TOGGLETRIGGERREPLACE 1 TRIGGER SWAP SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TRIGGE...
result:
ok Accepted.
Test #17:
score: 0
Accepted
time: 230ms
memory: 360244kb
input:
10000 500000 9914 5747 4636 447 8384 2360 8507 4428 8682 5545 9221 4968 8967 4511 3475 6668 7757 5162 504 4060 1177 270 2810 3 8501 7284 2392 4038 5085 4844 8483 9995 5393 3093 8671 1058 2381 8686 8650 5737 4107 2852 62 4780 9031 5095 3549 1773 9652 5287 7148 5633 8161 9866 3077 3777 3819 6181 1160 ...
output:
SWAP TRIGGER TRIGGER: SWAP SWAP SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER SLACKOFF: TOGGLETRIGGERREPLACE 1 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP TOGGLETRIGGERREPLACE 1 SLAC...
result:
ok Accepted.
Test #18:
score: 0
Accepted
time: 257ms
memory: 357084kb
input:
10000 500000 6410 4606 6723 5408 3539 9463 5226 8878 4484 1610 1095 5687 9833 5494 2065 8766 1907 2975 8943 7895 3022 5084 1051 6232 3859 3349 7736 693 1955 4488 7141 2030 7469 8609 9492 800 7523 7023 6836 2053 9065 3618 4173 2604 3675 314 196 3560 332 5913 1373 9359 4964 8750 4024 3394 1375 803 733...
output:
TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGGER: SWAP SLACKOFF SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF SLACKOFF TRIGGER TRIGGER: SWAP SLACKOFF SWAP TRIGGER SLACKOFF: SWAP SLACKOFF TRIGGER SWAP: SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF SWAP TRIGGER SWAP: SWAP TRIGGER TOGGLETRIGGERREPLACE...
result:
ok Accepted.
Test #19:
score: 0
Accepted
time: 243ms
memory: 361748kb
input:
10000 500000 3805 1573 5384 9477 8058 3209 9100 666 8867 9541 3633 8235 8464 6638 6404 8364 7506 9642 2839 8753 3268 9253 1488 4318 1243 8105 3110 1862 1625 1389 6718 276 6036 5978 4694 1644 1510 6739 2766 9432 9206 5477 1203 8535 6389 5758 3472 6162 8773 3998 7963 9252 217 5565 7069 4047 6162 3209 ...
output:
TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER SWAP: SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF SLACKOFF TOGGLETRIGGERREPLACE 0 TRIGGER SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SWAP SWAP SLACKOFF S...
result:
ok Accepted.
Test #20:
score: 0
Accepted
time: 264ms
memory: 362432kb
input:
10000 500000 7092 5559 6109 9454 2732 1761 6982 1346 6614 375 8871 1054 6790 9350 4569 7318 8193 7145 4657 1586 3365 565 9122 3747 8900 2784 8797 8794 4364 3633 9585 5134 1690 1148 3444 6315 2154 5816 4168 6626 3930 3779 6360 4398 8464 3644 9280 5652 1623 4204 8338 8277 6129 2284 4911 5032 8277 8529...
output:
TRIGGER TRIGGER: SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF SLACKOFF SLACKOFF SLACKOFF SWAP SWAP SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SLACKOFF SLACKOFF TRIGGER SWAP: SWAP SWAP SWAP SLACKOFF SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 0 TRIGGER SWAP TRIGGER TOGGLETRIGGERREP...
result:
ok Accepted.
Test #21:
score: 0
Accepted
time: 57ms
memory: 350156kb
input:
6 7 0 5 1 5 2 4 3 4 4 5 5 5 SLACKOFF 5 TOGGLETRIGGERREPLACE 0 5 MOVE 0 0 2 SLACKOFF 4 TOGGLETRIGGERREPLACE 3 4 SLACKOFF 4 SLACKOFF 2
output:
TOGGLETRIGGERREPLACE 1 SWAP MOVE 0 2 SLACKOFF SLACKOFF TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SLACKOFF SLACKOFF SLACKOFF
result:
ok Accepted.
Test #22:
score: 0
Accepted
time: 37ms
memory: 349696kb
input:
7 18 2 0 1 0 5 0 3 0 6 0 5 0 6 6 SLACKOFF 1 SWAP 2 5 0 SWAP 2 5 0 MOVE 3 1 0 TOGGLETRIGGERREPLACE 4 6 TOGGLETRIGGERREPLACE 5 0 SLACKOFF 1 SWAP 2 5 0 SWAP 2 5 0 MOVE 3 1 0 TOGGLETRIGGERREPLACE 4 6 TOGGLETRIGGERREPLACE 5 0 SLACKOFF 1 SWAP 2 5 0 SWAP 2 5 0 MOVE 3 1 0 TOGGLETRIGGERREPLACE 4 6 SLACKOFF 5
output:
SLACKOFF SLACKOFF SWAP MOVE 1 0 TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE SLACKOFF TOGGLETRIGGERREPLACE 1 TRIGGER TOGGLETRIGGERREPLACE 1 SLACKOFF SLACKOFF SLACKOFF
result:
ok Accepted.
Test #23:
score: 0
Accepted
time: 458ms
memory: 531532kb
input:
2 500000 1 0 0 1 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 1 0 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 1 0 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 1 0 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 1 0 TOGGLETRIGGERREPLACE 0 1 TOGGLETRIGGERREPLACE 1 0 TOGGLETRIGGERREPLACE 0 1 TOGGLETR...
output:
TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TOGGLETRIGGE...
result:
ok Accepted.
Test #24:
score: 0
Accepted
time: 48ms
memory: 348360kb
input:
7 18 2 0 1 0 1 0 3 1 6 0 5 0 6 6 SLACKOFF 1 MOVE 2 1 0 TOGGLETRIGGERREPLACE 3 1 SLACKOFF 1 TOGGLETRIGGERREPLACE 3 1 TOGGLETRIGGERREPLACE 4 6 TOGGLETRIGGERREPLACE 5 0 SLACKOFF 1 MOVE 2 1 0 TOGGLETRIGGERREPLACE 3 1 SLACKOFF 1 TOGGLETRIGGERREPLACE 3 1 TOGGLETRIGGERREPLACE 4 6 TOGGLETRIGGERREPLACE 5 0 S...
output:
SLACKOFF SLACKOFF MOVE 1 0 TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE ...
result:
ok Accepted.
Test #25:
score: 0
Accepted
time: 57ms
memory: 346828kb
input:
4 12 1 1 0 1 0 1 1 0 TOGGLETRIGGERREPLACE 2 0 TOGGLETRIGGERREPLACE 2 0 TOGGLETRIGGERREPLACE 2 0 SWAP 3 1 0 MOVE 0 0 2 SWAP 3 1 0 TOGGLETRIGGERREPLACE 2 0 TOGGLETRIGGERREPLACE 2 0 TOGGLETRIGGERREPLACE 2 0 TOGGLETRIGGERREPLACE 0 1 SWAP 3 1 0 MOVE 0 0 3
output:
TOGGLETRIGGERREPLACE 1 SWAP SLACKOFF MOVE 0 1 TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 0 SLACKOFF SLACKOFF SWAP
result:
ok Accepted.
Test #26:
score: 0
Accepted
time: 49ms
memory: 348340kb
input:
7 7 2 0 1 0 1 0 3 1 6 0 5 0 1 0 SLACKOFF 1 MOVE 2 1 0 SWAP 6 1 0 SWAP 6 1 0 TOGGLETRIGGERREPLACE 3 1 SLACKOFF 1 TOGGLETRIGGERREPLACE 4 6
output:
SLACKOFF SLACKOFF MOVE 1 0 TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE SLACKOFF SLACKOFF SWAP
result:
ok Accepted.
Test #27:
score: 0
Accepted
time: 255ms
memory: 361596kb
input:
10000 500000 8785 1 9101 2 8122 3 8920 4 1408 5 4962 6 7062 7 499 8 9500 9 3741 10 2742 11 3151 12 5464 13 2748 14 6344 15 4246 16 3421 17 3733 18 7494 19 8036 20 2364 21 1286 22 9758 23 5380 24 2434 25 474 26 3599 27 1529 28 9916 29 9840 30 679 31 3250 32 270 33 295 34 7004 35 9934 36 7626 37 5979 ...
output:
TRIGGER TRIGGER: TOGGLETRIGGERREPLACE 0 TRIGGER SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF TRIGGER TRIGGER: TOGGLETRIGGERREPLACE 1 TRIGGER SWAP SLACKOFF SWAP SWAP TRIGGER TRIGGER: SWAP SLACKOFF TRIGGER SWAP: SWAP TRIGGER TRIGGER: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP TOGGLETRIGGERREPLA...
result:
ok Accepted.
Test #28:
score: 0
Accepted
time: 241ms
memory: 360640kb
input:
10000 500000 5611 1 2791 2 3745 3 4845 4 8041 5 4484 6 1655 7 2798 8 5751 9 7927 10 2650 11 6816 12 7783 13 4317 14 4527 15 917 16 5769 17 6699 18 6955 19 5987 20 4730 21 519 22 3558 23 689 24 187 25 6797 26 494 27 7405 28 1475 29 459 30 3625 31 298 32 1173 33 3360 34 508 35 7748 36 9920 37 5314 38 ...
output:
TOGGLETRIGGERREPLACE 0 SWAP TRIGGER SLACKOFF: SWAP TOGGLETRIGGERREPLACE 1 SWAP TRIGGER SWAP: TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SLACKOFF SWAP TOGGLETRIGGERREPLACE 0 SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP TOGGLETRIGGERREPLACE 1 SWAP ...
result:
ok Accepted.
Test #29:
score: 0
Accepted
time: 288ms
memory: 363644kb
input:
10000 500000 4379 1 9735 2 471 3 1554 4 5423 5 6379 6 8059 7 5450 8 9653 9 2079 10 3425 11 4629 12 5732 13 967 14 3670 15 9753 16 9394 17 1442 18 1214 19 1228 20 6842 21 1970 22 5869 23 4763 24 1800 25 7412 26 650 27 2596 28 331 29 89 30 3785 31 7649 32 553 33 5556 34 5677 35 9167 36 632 37 7623 38 ...
output:
TOGGLETRIGGERREPLACE 0 SLACKOFF SLACKOFF TRIGGER SWAP: SLACKOFF SLACKOFF TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP TOGGLETRIGGERREPLACE 1 SWAP SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF TRIGGER SWAP: TOGGLETRIGGE...
result:
ok Accepted.
Test #30:
score: 0
Accepted
time: 239ms
memory: 359132kb
input:
10000 500000 6686 1 4031 2 1034 3 4121 4 1881 5 8331 6 8524 7 5414 8 4634 9 1158 10 1574 11 130 12 1843 13 4876 14 2904 15 2607 16 5574 17 3325 18 5772 19 8350 20 4174 21 6356 22 3433 23 2051 24 6959 25 6968 26 9796 27 5414 28 1479 29 5369 30 3747 31 3220 32 7317 33 9319 34 2848 35 7258 36 3613 37 7...
output:
TRIGGER TRIGGER: SLACKOFF TRIGGER SWAP: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP TOGGLETRIGGERREPLACE 1 SWAP SLACKOFF SWAP TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 TRIGGER SWAP TRIGGER TRIGGER: SLACKOFF TOGGLETRIGGERREPLACE 1 ...
result:
ok Accepted.
Test #31:
score: 0
Accepted
time: 268ms
memory: 358956kb
input:
10000 500000 2443 1 2113 2 4305 3 6844 4 649 5 3590 6 4178 7 3701 8 2407 9 1699 10 139 11 8244 12 4472 13 3811 14 2757 15 5972 16 4464 17 9261 18 4929 19 5341 20 5747 21 8135 22 5066 23 4299 24 1243 25 4143 26 6417 27 8296 28 9593 29 5730 30 7561 31 727 32 2603 33 5991 34 7996 35 565 36 1565 37 2144...
output:
SWAP TRIGGER SWAP: SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER TRIGGER: SLACKOFF TOGGLETRIGGERREPLACE 0 TRIGGER TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TRIGGER TRIGGER: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP TRIGGER SLACKOFF: TOGGLETRIGGERREPLACE 1 SL...
result:
ok Accepted.
Test #32:
score: 0
Accepted
time: 253ms
memory: 360576kb
input:
10000 500000 5215 1 5133 2 5995 3 3036 4 6405 5 4353 6 7868 7 7929 8 2467 9 736 10 1034 11 7145 12 4965 13 4930 14 8902 15 7889 16 5065 17 2721 18 8646 19 222 20 9098 21 953 22 4129 23 8808 24 8619 25 4962 26 2814 27 4349 28 7768 29 8918 30 8464 31 9332 32 1896 33 8946 34 9996 35 7108 36 5994 37 799...
output:
SWAP TRIGGER TRIGGER: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 0 TRIGGER TOGGLETRIGGERREPLACE 0 SLACKOFF SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TRIGGER TRIGGER:...
result:
ok Accepted.
Test #33:
score: 0
Accepted
time: 254ms
memory: 363668kb
input:
10000 500000 1272 1 6538 2 855 3 8846 4 3254 5 7565 6 3286 7 8378 8 560 9 8110 10 5396 11 7279 12 695 13 4385 14 7989 15 2189 16 2195 17 2929 18 5014 19 764 20 6057 21 7168 22 7630 23 9292 24 9382 25 4220 26 1337 27 7531 28 727 29 9206 30 480 31 5374 32 252 33 6373 34 8966 35 1066 36 5013 37 6424 38...
output:
SWAP SWAP TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TOGGLETRIGGERREPLACE 0 SWAP SWAP SWAP SWAP TRIGGER TRIGGER: SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 1 SWAP SWAP ...
result:
ok Accepted.
Test #34:
score: 0
Accepted
time: 276ms
memory: 359228kb
input:
10000 500000 3167 1 6425 2 7823 3 8407 4 2225 5 3721 6 6673 7 2211 8 8447 9 7862 10 2775 11 3879 12 6625 13 3725 14 269 15 2516 16 1618 17 2741 18 7420 19 7309 20 9342 21 5705 22 8287 23 9622 24 1186 25 94 26 6175 27 4652 28 881 29 3323 30 6056 31 5491 32 5909 33 7689 34 7996 35 7452 36 1495 37 8782...
output:
SWAP SLACKOFF TRIGGER TRIGGER: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP SLACKOFF TRIGGER SLACKOFF: SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE SWAP SWAP TRIGGER TOGGLETRIGGERREPLAC...
result:
ok Accepted.
Test #35:
score: 0
Accepted
time: 260ms
memory: 362000kb
input:
10000 500000 200 1 9939 2 1530 3 1607 4 4513 5 8299 6 227 7 3128 8 6234 9 9891 10 3802 11 7287 12 1076 13 5243 14 1021 15 9008 16 862 17 7774 18 5492 19 997 20 3335 21 7519 22 7935 23 1468 24 5848 25 1920 26 111 27 3976 28 8477 29 7165 30 8063 31 5103 32 4312 33 6472 34 1821 35 9348 36 6609 37 5806 ...
output:
SWAP SWAP TRIGGER TRIGGER: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP SWAP TOGGLETRIGGERREPLACE 1 SWAP SWAP SWAP SWAP SWAP TRIGGER SWAP: SWAP TOGGLETRIGGERREPLACE 1 TRIGGER TRIGGER SWAP: SWAP SWAP TRIGGER SWAP: SWAP ...
result:
ok Accepted.
Test #36:
score: 0
Accepted
time: 254ms
memory: 360720kb
input:
10000 500000 4627 1 7876 2 7769 3 828 4 478 5 4342 6 334 7 3923 8 9244 9 7183 10 4832 11 2479 12 5489 13 9962 14 9858 15 9921 16 8855 17 5053 18 3526 19 143 20 8312 21 38 22 7170 23 5914 24 491 25 1295 26 3392 27 6897 28 6177 29 4921 30 7033 31 2627 32 2271 33 9513 34 4453 35 861 36 8939 37 4851 38 ...
output:
TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER SLACKOFF: SLACKOFF SWAP SWAP TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SWAP SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SLACKOFF TOGGLETRIGGERREPLACE 1 SLACKOFF SWAP SWAP TRIGGER ...
result:
ok Accepted.
Test #37:
score: 0
Accepted
time: 266ms
memory: 361972kb
input:
10000 500000 5202 1 1095 2 4955 3 2315 4 278 5 5802 6 3106 7 4957 8 3056 9 6456 10 6338 11 2335 12 3729 13 1155 14 8470 15 834 16 2634 17 8708 18 4078 19 5102 20 230 21 6471 22 7774 23 2628 24 5639 25 8754 26 2291 27 8827 28 7519 29 8587 30 6645 31 5909 32 4450 33 5208 34 9749 35 7889 36 5797 37 574...
output:
TRIGGER SWAP: SWAP SWAP SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP SWAP SWAP TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLACE TRIGGER SLACKOFF: SWAP SWAP SWAP SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SLACKOFF TOGGLETRIGGERREPLACE 0 TOGGLETRIGGERREPLAC...
result:
ok Accepted.
Test #38:
score: 0
Accepted
time: 267ms
memory: 359008kb
input:
10000 500000 9370 1 1477 2 2101 3 7426 4 7448 5 732 6 4915 7 9694 8 5000 9 7921 10 197 11 21 12 8385 13 1250 14 9781 15 6729 16 4097 17 7477 18 2024 19 2284 20 6287 21 8740 22 772 23 6039 24 7222 25 888 26 7301 27 7015 28 6478 29 3699 30 2271 31 1759 32 5207 33 6296 34 9662 35 8912 36 3384 37 7408 3...
output:
TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE TRIGGER TRIGGER: SLACKOFF TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SWAP SWAP SLACKOFF TRIGGER TRIGGER: SWAP SLACKOFF SWAP SLACKOFF TRIGGER SWAP: SWAP TRIGGER SLACKOFF: SLACKOFF TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER SLACKOFF: TOGGLETRIGGERREP...
result:
ok Accepted.
Test #39:
score: 0
Accepted
time: 294ms
memory: 361476kb
input:
10000 500000 7409 1 37 2 2691 3 5505 4 492 5 3533 6 6012 7 5563 8 8097 9 1033 10 3554 11 8995 12 8241 13 5278 14 8828 15 9075 16 6166 17 8096 18 2794 19 5595 20 2305 21 3821 22 3795 23 8980 24 6862 25 7942 26 8358 27 6103 28 9748 29 2070 30 7698 31 6823 32 8407 33 6616 34 5322 35 7603 36 4844 37 345...
output:
TRIGGER SWAP: SLACKOFF SWAP SLACKOFF SLACKOFF SWAP TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SWAP SWAP TRIGGER SWAP: SWAP SWAP SWAP SWAP TRIGGER SLACKOFF: SWAP TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER SLACKOFF: SWAP TRIGGER TRIGGER: SWAP TOGGLETRIGGERREPLACE 1 SLACKOFF TOGGLETRIGG...
result:
ok Accepted.
Test #40:
score: 0
Accepted
time: 267ms
memory: 359344kb
input:
10000 500000 7870 1 4869 2 3184 3 3934 4 1645 5 8231 6 5930 7 4471 8 8207 9 9406 10 4520 11 1702 12 8937 13 727 14 8654 15 9737 16 1751 17 5334 18 5218 19 4413 20 1907 21 371 22 3904 23 6852 24 1542 25 6098 26 4158 27 1541 28 7511 29 9670 30 4272 31 9807 32 6079 33 4123 34 7860 35 9801 36 5810 37 43...
output:
SLACKOFF SLACKOFF SWAP TOGGLETRIGGERREPLACE 0 TRIGGER SLACKOFF SLACKOFF SWAP TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SWAP SWAP SLACKOFF SWAP TOGGLETRIGGERREPLACE 1 SWAP SWAP TOGGLETRIGGERREPLACE 0 SLACKOFF TRIGGER SWAP: SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SLACKOFF SLACKOFF TOG...
result:
ok Accepted.
Test #41:
score: 0
Accepted
time: 245ms
memory: 360328kb
input:
10000 500000 2966 1 1072 2 1383 3 9599 4 1553 5 6852 6 2974 7 9619 8 1938 9 8872 10 2888 11 4876 12 1947 13 7572 14 9763 15 1733 16 610 17 6828 18 7627 19 8249 20 7503 21 3578 22 4114 23 5978 24 8145 25 4692 26 2608 27 8884 28 4522 29 6206 30 3119 31 6329 32 4238 33 4133 34 1090 35 9412 36 9052 37 3...
output:
TOGGLETRIGGERREPLACE 1 SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 1 TRIGGER TOGGLETRIGGERREPLACE 1 TOGGLETRIGGERREPLACE SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP SWAP TRIGGER TOGGLETRIGGERREPLACE: SWAP TRIGGER TOGGLETRIGGERREPLACE: TOGGLETRIGGERREPLACE 0 SWAP SWAP SWAP TRIGGER T...
result:
ok Accepted.
Test #42:
score: 0
Accepted
time: 558ms
memory: 432940kb
input:
352005 435839 0 0 0 151995 0 177868 0 125862 0 0 0 184049 0 0 0 237848 0 107382 0 140571 0 224616 0 185061 0 0 0 121570 0 343113 0 0 0 141400 0 154222 0 264177 0 0 0 296360 0 175526 0 164045 0 106249 0 0 0 0 0 261522 0 0 0 90188 0 167522 0 97958 0 0 0 0 0 121725 0 0 0 211515 0 180209 0 344451 0 0 0 ...
output:
SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLA...
result:
ok Accepted.
Test #43:
score: 0
Accepted
time: 626ms
memory: 437332kb
input:
375307 498892 0 0 0 57325 0 118363 0 88880 0 69548 0 126365 0 276309 0 150291 0 309894 0 107236 0 263406 0 210038 0 226911 0 243161 0 312859 0 144612 0 0 0 360018 0 178574 0 256320 0 0 0 343512 0 105214 0 44380 0 153651 0 213410 0 0 0 57583 0 320827 0 64823 0 202067 0 84693 0 334066 0 87359 0 238073...
output:
SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER T...
result:
ok Accepted.
Test #44:
score: 0
Accepted
time: 585ms
memory: 431660kb
input:
348623 455566 0 0 0 0 0 332266 0 0 0 0 0 335738 0 84797 0 55264 0 0 0 62968 0 52994 0 52118 0 225885 0 196783 0 88404 0 51748 0 134503 0 132740 0 199430 0 114505 0 0 0 94076 0 81793 0 257420 0 155112 0 0 0 150375 0 232976 0 266439 0 58331 0 90076 0 197355 0 0 0 123553 0 221649 0 101204 0 81026 0 163...
output:
SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TR...
result:
ok Accepted.
Test #45:
score: 0
Accepted
time: 579ms
memory: 433888kb
input:
357416 473879 0 0 0 0 0 79261 0 103134 0 152860 0 122148 0 63274 0 231756 0 0 0 164725 0 66331 0 335412 0 249756 0 65362 0 88751 0 58200 0 263405 0 282541 0 130926 0 187768 0 96724 0 282326 0 128052 0 43733 0 310831 0 90848 0 0 0 0 0 75028 0 253700 0 0 0 280073 0 133540 0 231901 0 255461 0 87836 0 3...
output:
SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGG...
result:
ok Accepted.
Test #46:
score: 0
Accepted
time: 609ms
memory: 437716kb
input:
375213 487722 0 0 0 184830 0 0 0 63676 0 126865 0 0 0 0 0 218551 0 0 0 332222 0 54808 0 83180 0 67115 0 55990 0 137130 0 293153 0 375211 0 0 0 133366 0 249281 0 361745 0 233715 0 276451 0 94536 0 95027 0 129976 0 0 0 331438 0 293367 0 193148 0 0 0 141271 0 76013 0 329687 0 50189 0 142351 0 107339 0 ...
output:
SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER SLACKOFF: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACK...
result:
ok Accepted.
Test #47:
score: 0
Accepted
time: 553ms
memory: 431620kb
input:
356372 445648 0 0 0 67122 0 0 0 0 0 0 0 212911 0 204993 0 0 0 256449 0 171689 0 93203 0 177925 0 152602 0 0 0 337682 0 285888 0 0 0 162019 0 181294 0 340345 0 337500 0 290069 0 137027 0 86333 0 0 0 114051 0 328723 0 72599 0 134383 0 107534 0 77586 0 93748 0 110102 0 211148 0 181835 0 0 0 0 0 78848 0...
output:
SLACKOFF SLACKOFF SLACKOFF TRIGGER SLACKOFF: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGG...
result:
ok Accepted.
Test #48:
score: 0
Accepted
time: 621ms
memory: 437496kb
input:
376407 472009 0 0 0 184725 0 0 0 87470 0 0 0 164209 0 246506 0 63125 0 259998 0 69283 0 0 0 307333 0 105454 0 205566 0 181649 0 84813 0 0 0 166690 0 134047 0 288611 0 247385 0 0 0 338076 0 201709 0 348621 0 0 0 375178 0 0 0 65762 0 0 0 191798 0 116939 0 79304 0 99046 0 0 0 293169 0 288753 0 311274 0...
output:
SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLA...
result:
ok Accepted.
Test #49:
score: 0
Accepted
time: 569ms
memory: 427864kb
input:
341608 440010 0 0 0 82025 0 274447 0 266121 0 264684 0 52387 0 81720 0 185517 0 238874 0 144501 0 147417 0 69922 0 54741 0 76746 0 290045 0 83918 0 100483 0 145920 0 0 0 121911 0 0 0 94104 0 102486 0 221437 0 196121 0 0 0 0 0 0 0 0 0 114010 0 279605 0 163794 0 0 0 207206 0 215858 0 74211 0 0 0 0 0 2...
output:
SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER SLACKOFF: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF...
result:
ok Accepted.
Test #50:
score: 0
Accepted
time: 607ms
memory: 433744kb
input:
366454 463174 0 0 0 337858 0 0 0 196438 0 96605 0 193004 0 154583 0 0 0 0 0 61753 0 277279 0 182740 0 0 0 193515 0 0 0 248821 0 0 0 0 0 161975 0 125733 0 126499 0 66723 0 169266 0 185210 0 78736 0 253917 0 164240 0 0 0 111497 0 152383 0 72550 0 0 0 85638 0 135815 0 238285 0 182586 0 78361 0 301469 0...
output:
SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKO...
result:
ok Accepted.
Test #51:
score: 0
Accepted
time: 606ms
memory: 433912kb
input:
365458 457600 0 0 0 112251 0 156791 0 73635 0 134385 0 118267 0 0 0 322116 0 319156 0 0 0 279237 0 321532 0 283914 0 201532 0 96991 0 0 0 0 0 158326 0 137931 0 83990 0 0 0 201647 0 0 0 276442 0 245724 0 194083 0 69741 0 73748 0 210633 0 103363 0 123947 0 0 0 0 0 350871 0 0 0 0 0 0 0 95337 0 122796 0...
output:
SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLA...
result:
ok Accepted.
Test #52:
score: 0
Accepted
time: 617ms
memory: 436600kb
input:
374746 476650 0 0 0 273971 0 0 0 228923 0 96235 0 297330 0 0 0 0 0 123420 0 0 0 105917 0 0 0 185836 0 116116 0 306210 0 338660 0 138735 0 188304 0 0 0 356355 0 0 0 71426 0 64966 0 75630 0 374421 0 225377 0 85870 0 66182 0 76394 0 70607 0 0 0 360851 0 0 0 149402 0 236881 0 0 0 92698 0 76251 0 0 0 0 0...
output:
SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGE...
result:
ok Accepted.
Test #53:
score: 0
Accepted
time: 580ms
memory: 432736kb
input:
359243 459587 0 0 0 0 0 0 0 0 0 0 0 106563 0 0 0 167515 0 69285 0 0 0 0 0 135467 0 69617 0 273022 0 255175 0 85762 0 234482 0 72348 0 82676 0 257853 0 0 0 199820 0 157067 0 109652 0 186136 0 207722 0 0 0 118360 0 74425 0 162738 0 0 0 0 0 101030 0 130056 0 125859 0 215391 0 175713 0 0 0 172196 0 6941...
output:
SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER SLACKOFF: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF...
result:
ok Accepted.
Test #54:
score: 0
Accepted
time: 560ms
memory: 435164kb
input:
355807 459778 0 0 0 93248 0 146770 0 176803 0 146698 0 135716 0 72742 0 218174 0 335997 0 132032 0 166099 0 81785 0 0 0 233751 0 136725 0 257667 0 116035 0 107801 0 97897 0 203800 0 73735 0 130889 0 88752 0 321634 0 147579 0 179685 0 222280 0 252334 0 94791 0 71454 0 85012 0 265860 0 302637 0 52097 ...
output:
SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLA...
result:
ok Accepted.
Test #55:
score: 0
Accepted
time: 594ms
memory: 435220kb
input:
364237 483055 0 0 0 0 0 181837 0 0 0 270344 0 79207 0 0 0 69632 0 259940 0 168847 0 117833 0 118849 0 100618 0 130641 0 0 0 343947 0 57593 0 305977 0 124716 0 160914 0 301146 0 45938 0 76954 0 0 0 132892 0 0 0 0 0 52113 0 165035 0 169721 0 166573 0 85315 0 99956 0 72751 0 172546 0 157315 0 185858 0 ...
output:
SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLA...
result:
ok Accepted.
Test #56:
score: 0
Accepted
time: 511ms
memory: 428648kb
input:
355967 434399 0 0 0 0 0 0 0 119323 0 118636 0 85241 0 111312 0 0 0 0 0 225736 0 317077 0 180071 0 164836 0 89942 0 313506 0 296532 0 70477 0 143399 0 0 0 309070 0 82890 0 0 0 0 0 0 0 0 0 259495 0 201832 0 0 0 99433 0 154094 0 128644 0 180205 0 304192 0 0 0 298972 0 139907 0 137359 0 86705 0 282354 0...
output:
SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLA...
result:
ok Accepted.
Test #57:
score: 0
Accepted
time: 525ms
memory: 428840kb
input:
340368 429126 0 0 0 0 0 144255 0 246189 0 0 0 80762 0 99247 0 73343 0 265857 0 149800 0 0 0 186647 0 298323 0 222092 0 90367 0 86715 0 0 0 146792 0 194070 0 297526 0 0 0 0 0 0 0 0 0 236303 0 135820 0 148047 0 86904 0 249092 0 105916 0 282032 0 126845 0 0 0 0 0 0 0 65221 0 168835 0 122755 0 0 0 16947...
output:
SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF ...
result:
ok Accepted.
Test #58:
score: 0
Accepted
time: 594ms
memory: 434388kb
input:
360379 478281 0 0 0 109313 0 131812 0 143143 0 53044 0 252913 0 204729 0 163810 0 0 0 0 0 0 0 126256 0 187820 0 76201 0 115679 0 309498 0 279507 0 113530 0 55829 0 153083 0 112020 0 217197 0 117789 0 79167 0 51827 0 0 0 84666 0 81757 0 120271 0 66845 0 356014 0 119260 0 200643 0 107151 0 288470 0 17...
output:
SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGE...
result:
ok Accepted.
Test #59:
score: 0
Accepted
time: 551ms
memory: 431584kb
input:
359937 440288 0 0 0 224965 0 0 0 291889 0 338226 0 201807 0 240263 0 293102 0 88625 0 115643 0 0 0 0 0 0 0 0 0 306583 0 0 0 0 0 203405 0 261358 0 187112 0 0 0 0 0 75351 0 0 0 203509 0 245726 0 196227 0 267225 0 0 0 316954 0 0 0 68846 0 0 0 0 0 89380 0 98921 0 74754 0 0 0 0 0 85237 0 0 0 249148 0 0 0...
output:
SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGE...
result:
ok Accepted.
Test #60:
score: 0
Accepted
time: 591ms
memory: 438808kb
input:
375601 480753 0 0 0 83794 0 186789 0 0 0 324983 0 363058 0 87928 0 158230 0 320829 0 0 0 143985 0 156404 0 104424 0 96417 0 70660 0 337991 0 120142 0 0 0 0 0 78500 0 251641 0 203656 0 189270 0 252292 0 0 0 260325 0 0 0 124758 0 107076 0 113085 0 110412 0 58054 0 0 0 118506 0 197924 0 0 0 163194 0 65...
output:
SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF ...
result:
ok Accepted.
Test #61:
score: 0
Accepted
time: 555ms
memory: 431044kb
input:
358630 437046 0 0 0 0 0 126982 0 279414 0 0 0 0 0 198512 0 78855 0 0 0 0 0 0 0 186414 0 208766 0 0 0 97137 0 278110 0 88986 0 103373 0 290117 0 94684 0 309955 0 0 0 281491 0 237352 0 300406 0 0 0 93789 0 229751 0 71763 0 153635 0 115806 0 0 0 0 0 213088 0 223411 0 88202 0 319957 0 0 0 0 0 186055 0 0...
output:
SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRI...
result:
ok Accepted.
Test #62:
score: 0
Accepted
time: 560ms
memory: 429220kb
input:
345403 454294 0 0 0 49428 0 240720 0 307205 0 0 0 101048 0 150616 0 146483 0 0 0 0 0 85256 0 224247 0 151732 0 193277 0 0 0 246803 0 0 0 291991 0 177337 0 242680 0 0 0 131803 0 240948 0 100896 0 0 0 72038 0 51071 0 113372 0 254440 0 273253 0 0 0 173853 0 0 0 78573 0 0 0 185892 0 236345 0 228722 0 0 ...
output:
SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: ...
result:
ok Accepted.
Test #63:
score: 0
Accepted
time: 641ms
memory: 442828kb
input:
385214 499128 0 0 0 68253 0 161284 0 263621 0 361016 0 274368 0 72068 0 120219 0 76357 0 53825 0 111180 0 0 0 311351 0 0 0 68356 0 81216 0 0 0 60486 0 0 0 124827 0 0 0 57183 0 113884 0 0 0 56689 0 163710 0 0 0 193528 0 89824 0 275916 0 58406 0 95494 0 242846 0 0 0 224524 0 239245 0 72171 0 0 0 10610...
output:
SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKO...
result:
ok Accepted.
Test #64:
score: 0
Accepted
time: 643ms
memory: 443020kb
input:
394827 494316 0 0 0 103139 0 250660 0 242643 0 0 0 207632 0 0 0 0 0 104170 0 0 0 177314 0 0 0 283493 0 81946 0 183999 0 142345 0 151230 0 274773 0 222027 0 322222 0 0 0 85821 0 180386 0 0 0 153027 0 0 0 189204 0 370138 0 195837 0 0 0 0 0 142785 0 170187 0 392298 0 270631 0 0 0 0 0 0 0 244240 0 0 0 0...
output:
SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGE...
result:
ok Accepted.
Test #65:
score: 0
Accepted
time: 603ms
memory: 438236kb
input:
383495 486238 0 0 0 66405 0 124691 0 0 0 348856 0 0 0 272050 0 174373 0 102370 0 175193 0 0 0 305185 0 165516 0 0 0 371708 0 340007 0 128047 0 0 0 0 0 0 0 172793 0 117599 0 74574 0 0 0 211150 0 163902 0 145388 0 0 0 184139 0 118712 0 67574 0 0 0 0 0 217535 0 0 0 117692 0 143933 0 220543 0 165955 0 0...
output:
SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER SLACKOFF: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLACKOFF SL...
result:
ok Accepted.
Test #66:
score: 0
Accepted
time: 615ms
memory: 434312kb
input:
371433 464008 0 0 0 147757 0 149571 0 66800 0 212824 0 221682 0 0 0 83491 0 253952 0 149895 0 199430 0 0 0 72010 0 0 0 68867 0 220917 0 0 0 266132 0 336002 0 312375 0 93950 0 335436 0 135698 0 79217 0 0 0 0 0 0 0 182797 0 257367 0 157595 0 69252 0 0 0 98047 0 0 0 114409 0 0 0 109661 0 0 0 0 0 0 0 30...
output:
SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF TRIGGER TOGGLETRIGGERREPLACE: SLACKOFF SLACKOFF SLA...
result:
ok Accepted.
Test #67:
score: 0
Accepted
time: 525ms
memory: 431308kb
input:
340098 460095 0 0 0 97639 0 48112 0 119840 0 99492 0 84076 0 108474 0 178072 0 54607 0 95470 0 170697 0 44941 0 98730 0 85793 0 60884 0 177916 0 46489 0 174300 0 151665 0 160605 0 93978 0 140454 0 172992 0 51850 0 111321 0 162583 0 56650 0 179022 0 165651 0 179695 0 161829 0 86706 0 49139 0 136764 0...
output:
SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRI...
result:
ok Accepted.
Test #68:
score: 0
Accepted
time: 452ms
memory: 436612kb
input:
340006 460003 0 0 0 117081 0 44766 0 67267 0 177077 0 148138 0 152684 0 44026 0 102706 0 178325 0 108639 0 48958 0 62116 0 92309 0 71860 0 146308 0 125754 0 123752 0 70524 0 81302 0 167358 0 84753 0 132039 0 48207 0 86381 0 86788 0 163925 0 149103 0 94531 0 63272 0 152825 0 145711 0 67684 0 142883 0...
output:
SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIG...
result:
ok Accepted.
Test #69:
score: 0
Accepted
time: 505ms
memory: 439472kb
input:
339901 459898 0 0 0 118465 0 127059 0 57501 0 87876 0 70489 0 131670 0 105244 0 82651 0 117537 0 156966 0 163894 0 110826 0 60247 0 130905 0 103587 0 104534 0 72790 0 176732 0 172422 0 179329 0 110943 0 139735 0 110598 0 78833 0 65988 0 107771 0 114264 0 82512 0 93818 0 54571 0 105059 0 123200 0 548...
output:
SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOF...
result:
ok Accepted.
Test #70:
score: 0
Accepted
time: 366ms
memory: 435576kb
input:
339878 459875 0 0 0 40002 0 40005 0 40009 0 40012 0 40015 0 40018 0 40021 0 40025 0 40029 0 40032 0 40035 0 40038 0 40042 0 40046 0 40050 0 40054 0 40058 0 40062 0 40066 0 40070 0 40074 0 40077 0 40081 0 40084 0 40088 0 40091 0 40094 0 40098 0 40101 0 40105 0 40108 0 40111 0 40114 0 40117 0 40120 0 ...
output:
SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOFF SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF TRIGGER TRIGGER: SLACKOFF SLACKOF...
result:
ok Accepted.