General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
53560654 Practice:
mnbvmar
1149E - 22 GNU C++17 Accepted 249 ms 27588 KB 2019-04-30 12:18:30 2019-04-30 12:18:31
 
 
→ Source
#include <bits/stdc++.h>

using namespace std;

const int MaxN = 2e5 + 100;

int stack_sizes[MaxN];
vector<int> adj[MaxN];
int N, M;

int vertex_group_idx[MaxN];
bool visited[MaxN];
int group_xor[MaxN];
vector<int> vertex_groups[MaxN];

void DfsMakeLayers(int vert) {
  visited[vert] = true;
  vector<int> seen_layers;
  for (int s : adj[vert]) {
    if (!visited[s]) {
      DfsMakeLayers(s);
    }
    seen_layers.push_back(vertex_group_idx[s]);
  }
  sort(seen_layers.begin(), seen_layers.end());
  seen_layers.resize(unique(seen_layers.begin(), seen_layers.end()) -
      seen_layers.begin());
  seen_layers.push_back(1e9);

  while (seen_layers[vertex_group_idx[vert]] == vertex_group_idx[vert]) {
    ++vertex_group_idx[vert];
  }
  const int group_id = vertex_group_idx[vert];
  group_xor[group_id] ^= stack_sizes[vert];
  vertex_groups[group_id].push_back(vert);
}

int main() {
  ios_base::sync_with_stdio(0);

  cin >> N >> M;

  for (int i = 0; i < N; ++i) {
    cin >> stack_sizes[i];
  }

  for (int i = 0; i < M; ++i) {
    int u, v;
    cin >> u >> v;
    --u; --v;
    adj[u].push_back(v);
  }

  for (int vert = 0; vert < N; ++vert) {
    if (!visited[vert]) {
      DfsMakeLayers(vert);
    }
  }

  if (count(group_xor, group_xor + N, 0) == N) {
    cout << "LOSE\n";
    return 0;
  }

  int last_idx = N;
  while (group_xor[last_idx] == 0)
    --last_idx;

  int touched_vertex = -1;
  for (int vert : vertex_groups[last_idx]) {
    if ((stack_sizes[vert] ^ group_xor[last_idx]) < stack_sizes[vert]) {
      touched_vertex = vert;
      break;
    }
  }

  assert(touched_vertex != -1);

  stack_sizes[touched_vertex] ^= group_xor[last_idx];
  group_xor[last_idx] = 0;

  for (int neigh : adj[touched_vertex]) {
    const int group_idx = vertex_group_idx[neigh];
    stack_sizes[neigh] ^= group_xor[group_idx];
    group_xor[group_idx] = 0;
  }

  assert(count(group_xor, group_xor + N, 0) == N);

  cout << "WIN\n";
  for (int i = 0; i < N; ++i)
    cout << stack_sizes[i] << " ";
  cout << "\n";
}
 
 
1
Time: 15 ms, memory: 7244 KB
Verdict: OK
Input
4 2
2 1 1 5
1 2
3 4
Participant's output
WIN
1 5 1 5 
Jury's answer
WIN
1 5 1 5 
Checker comment
ok optimal move
 
 
2
Time: 15 ms, memory: 7232 KB
Verdict: OK
Input
4 2
1 5 1 5
1 2
3 4
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
3
Time: 15 ms, memory: 7240 KB
Verdict: OK
Input
3 3
314 159 265
1 2
1 3
3 2
Participant's output
WIN
0 0 0 
Jury's answer
WIN
0 0 0 
Checker comment
ok optimal move
 
 
4
Time: 15 ms, memory: 7244 KB
Verdict: OK
Input
6 4
2 2 5 5 6 6
1 3
2 4
3 5
4 6
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
5
Time: 0 ms, memory: 7240 KB
Verdict: OK
Input
1 0
0
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
6
Time: 15 ms, memory: 7240 KB
Verdict: OK
Input
1 0
271828182
Participant's output
WIN
0 
Jury's answer
WIN
0 
Checker comment
ok optimal move
 
 
7
Time: 0 ms, memory: 7240 KB
Verdict: OK
Input
3 2
1 1 1
1 2
2 3
Participant's output
WIN
1 0 1 
Jury's answer
WIN
1 0 1 
Checker comment
ok optimal move
 
 
8
Time: 15 ms, memory: 7240 KB
Verdict: OK
Input
3 0
4 1 4
Participant's output
WIN
4 0 4 
Jury's answer
WIN
4 0 4 
Checker comment
ok optimal move
 
 
9
Time: 15 ms, memory: 7240 KB
Verdict: OK
Input
6 3
678678678 395063145 789789 2 3 4
4 1
5 2
6 3
Participant's output
WIN
678678678 395063145 1073741823 2 3 1 
Jury's answer
WIN
678678678 395063145 1073741823 2 3 1 
Checker comment
ok optimal move
 
 
10
Time: 217 ms, memory: 27584 KB
Verdict: OK
Input
199899 199898
48932007 828662185 674537021 110640007 992035177 864464758 713282511 258788849 19975544 15171029 911462020 53962280 829330722 694695974 867689083 784733816 711784403 826771142 718937129 811678167 940490540 339189485 253908323 317457420 150884890 716635406 814512183 535706257 840784505 532779175 619003363 877704229 760173468 77612703 94727127 783119753 758765186 296665788 910498809 629815557 713087089 188242952 932776090 403069414 408225737 106966366 367268751 151305059 385358087 265311852 47...
Participant's output
WIN
48932007 828662185 674537021 110640007 992035177 864464758 713282511 258788849 19975544 15171029 911462020 53962280 829330722 694695974 867689083 784733816 711784403 826771142 718937129 811678167 940490540 339189485 253908323 317457420 150884890 716635406 814512183 535706257 840784505 532779175 619003363 877704229 760173468 77612703 94727127 783119753 758765186 296665788 910498809 629815557 713087089 188242952 932776090 403069414 408225737 106966366 367268751 151305059 385358087 265311852 478151983 77...
Jury's answer
WIN
48932007 828662185 674537021 110640007 992035177 864464758 713282511 258788849 19975544 15171029 911462020 53962280 829330722 694695974 867689083 784733816 711784403 826771142 718937129 811678167 940490540 339189485 253908323 317457420 150884890 716635406 814512183 535706257 840784505 532779175 619003363 877704229 760173468 77612703 94727127 783119753 758765186 296665788 910498809 629815557 713087089 188242952 932776090 403069414 408225737 106966366 367268751 151305059 385358087 265311852 478151983 77...
Checker comment
ok optimal move
 
 
11
Time: 186 ms, memory: 27588 KB
Verdict: OK
Input
200000 199999
1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
12
Time: 218 ms, memory: 12060 KB
Verdict: OK
Input
199000 200000
4983405 3402611 7245136 509709 9032374 2579423 6127309 3973588 8258713 6586569 5062864 832676 1240303 8645105 7633678 4869573 3464090 5306209 1904312 5144642 1637488 5377505 8617015 6540461 1838254 3467189 5255149 5259804 7873525 6514771 4572891 1393065 9721693 9123663 2578590 1855134 8941398 9677115 9363724 2333877 7216233 9451187 437166 6045459 7453800 408972 9250332 5795995 3879364 6104115 6543986 9291789 5166438 8995469 2799127 4737743 7070032 2457907 9157379 3639073 3538822 3905840 9637...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
13
Time: 217 ms, memory: 10716 KB
Verdict: OK
Input
200000 200000
32287507 49345465 60792947 34131393 7947745 44848819 111076539 96267237 88520600 116248151 78655642 33210964 85655177 19486187 99878441 12319780 1304195 37465720 122690746 119965046 32456914 92589045 114832984 88211234 94945205 99317808 45473383 101213235 31707908 52052984 35738776 86965216 5116200 106683440 72671483 44374126 54178874 118489176 113205254 59132616 68761164 83256943 12267315 26451772 102926861 5561660 76563694 8042035 60272460 41606869 108660681 13124922 12565745 10630621 6782...
Participant's output
WIN
32287507 49345465 60792947 34131393 7947745 44848819 111076539 96267237 88520600 116248151 78655642 33210964 85655177 19486187 99878441 12319780 1304195 37465720 122690746 119965046 32456914 92589045 114832984 88211234 94945205 99317808 45473383 101213235 31707908 52052984 35738776 86965216 5116200 106683440 72671483 44374126 54178874 118489176 113205254 59132616 68761164 83256943 12267315 26451772 102926861 5561660 76563694 8042035 60272460 41606869 108660681 13124922 12565745 10630621 67823343 52365...
Jury's answer
WIN
32287507 49345465 60792947 34131393 7947745 44848819 111076539 96267237 88520600 116248151 78655642 33210964 85655177 19486187 99878441 12319780 1304195 37465720 122690746 119965046 32456914 92589045 114832984 88211234 94945205 99317808 45473383 101213235 31707908 52052984 35738776 86965216 5116200 106683440 72671483 44374126 54178874 118489176 113205254 59132616 68761164 83256943 12267315 26451772 102926861 5561660 76563694 8042035 60272460 41606869 108660681 13124922 12565745 10630621 67823343 52365...
Checker comment
ok optimal move
 
 
14
Time: 77 ms, memory: 9144 KB
Verdict: OK
Input
700 200000
155053508 841650902 179606910 102726400 739072615 362258652 841082983 538047569 292340290 16745084 755246429 283602072 395780681 263053182 789481518 794033513 744952731 749555848 202861955 663181183 646163811 10980298 455045998 489060625 961907777 923430291 659858518 551039505 975929695 295182381 189061401 948977545 410847702 668922302 663868901 891889078 280703198 805154856 88055821 329920038 910617602 10995614 105247323 127610295 387765923 182833488 52888897 517565276 722321568 875997543 3200...
Participant's output
WIN
155053508 841650902 553744580 102726400 739072615 362258652 841082983 195303915 292340290 16745084 755246429 283602072 1008914419 605565636 789481518 794033513 131268129 749555848 202861955 663181183 646163811 722626160 816488148 489060625 961907777 923430291 216091116 551039505 975929695 295182381 189061401 948977545 410847702 208346116 663868901 891889078 990829924 71851410 88055821 941605788 910617602 10995614 770711521 127610295 387765923 558906602 52888897 896304870 722321568 875997543 320023641 ...
Jury's answer
WIN
155053508 841650902 553744580 102726400 739072615 362258652 841082983 195303915 292340290 16745084 755246429 283602072 1008914419 605565636 789481518 794033513 131268129 749555848 202861955 663181183 646163811 722626160 816488148 489060625 961907777 923430291 216091116 551039505 975929695 295182381 189061401 948977545 410847702 208346116 663868901 891889078 990829924 71851410 88055821 941605788 910617602 10995614 770711521 127610295 387765923 558906602 52888897 896304870 722321568 875997543 320023641 ...
Checker comment
ok optimal move
 
 
15
Time: 93 ms, memory: 9272 KB
Verdict: OK
Input
632 199396
129407938 245964600 858954913 579929913 476178991 488854139 695059086 424030424 843661584 158710534 214107368 952348170 303814543 858649683 182883973 199850551 304665519 428909334 69962771 465032150 686035722 914799320 793522281 563333123 716067864 488874632 348408573 255417600 231531533 352132787 228845514 263700023 624211319 353075637 510303388 809063631 945331720 116509830 754796904 127561062 11819761 936182749 971072082 101555232 462737245 656119917 421617781 818291400 374933825 818927123 6...
Participant's output
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
Jury's answer
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
Checker comment
ok optimal move
 
 
16
Time: 187 ms, memory: 10548 KB
Verdict: OK
Input
133334 199999
58 722 562 748 207 464 759 796 521 227 404 21 89 75 282 460 81 461 83 428 704 723 210 419 537 785 881 646 558 411 578 32 508 83 640 515 693 596 213 650 330 8 278 388 993 564 639 765 95 554 175 861 487 17 114 618 592 838 68 211 702 592 540 798 862 277 830 96 982 921 592 851 69 59 460 455 482 575 203 545 234 537 63 794 831 552 319 565 862 842 52 666 749 716 312 842 165 869 369 363 183 350 629 692 441 940 743 306 839 57 531 383 153 423 945 488 739 980 459 206 138 268 632 779 533 285 255 613 100...
Participant's output
WIN
58 722 562 748 207 464 759 796 521 227 404 21 89 75 282 460 81 461 83 428 704 723 210 419 537 785 881 646 558 411 578 32 508 83 640 515 693 596 213 650 330 8 278 388 993 564 639 765 95 554 175 861 487 17 114 618 592 838 68 211 702 592 540 798 862 277 830 96 982 921 592 851 69 59 460 455 482 575 203 545 234 537 63 794 831 552 319 565 862 842 52 666 749 716 312 842 165 869 369 363 183 350 629 692 441 940 743 306 839 57 531 383 153 423 945 488 739 980 459 206 138 268 632 779 533 285 255 613 100 795 32 52...
Jury's answer
WIN
58 722 562 748 207 464 759 796 521 227 404 21 89 75 282 460 81 461 83 428 704 723 210 419 537 785 881 646 558 411 578 32 508 83 640 515 693 596 213 650 330 8 278 388 993 564 639 765 95 554 175 861 487 17 114 618 592 838 68 211 702 592 540 798 862 277 830 96 982 921 592 851 69 59 460 455 482 575 203 545 234 537 63 794 831 552 319 565 862 842 52 666 749 716 312 842 165 869 369 363 183 350 629 692 441 940 743 306 839 57 531 383 153 423 945 488 739 980 459 206 138 268 632 779 533 285 255 613 100 795 32 52...
Checker comment
ok optimal move
 
 
17
Time: 170 ms, memory: 10808 KB
Verdict: OK
Input
200000 199957
509798786 529724090 893110925 740714031 382540379 789876647 577897824 827413795 348578299 891898425 186899501 125051625 969780871 185063444 830118395 308291760 129049105 597974128 525493571 572359907 480309482 133038841 214317295 204877091 356699296 427770625 745846049 41679733 144614047 913935069 545234393 99306824 861394900 149520701 585763782 641901579 848519950 513464118 842051278 38417032 248562550 921214401 930410668 670474574 146700398 492273189 323840382 141427951 282408024 898693561...
Participant's output
WIN
509798786 529724090 893110925 740714031 382540379 789876647 577897824 827413795 348578299 891898425 186899501 125051625 969780871 185063444 830118395 308291760 129049105 597974128 525493571 572359907 480309482 133038841 214317295 204877091 356699296 427770625 745846049 41679733 144614047 913935069 545234393 99306824 861394900 149520701 585763782 641901579 848519950 513464118 842051278 38417032 248562550 921214401 930410668 670474574 146700398 492273189 323840382 141427951 282408024 898693561 177003935...
Jury's answer
WIN
509798786 529724090 893110925 740714031 382540379 789876647 577897824 827413795 348578299 891898425 186899501 125051625 969780871 185063444 830118395 308291760 129049105 597974128 525493571 572359907 480309482 133038841 214317295 204877091 356699296 427770625 745846049 41679733 144614047 913935069 545234393 99306824 861394900 149520701 585763782 641901579 848519950 513464118 842051278 38417032 248562550 921214401 930410668 670474574 146700398 492273189 323840382 141427951 282408024 898693561 177003935...
Checker comment
ok optimal move
 
 
18
Time: 217 ms, memory: 10844 KB
Verdict: OK
Input
200000 174655
394017487 26944512 651403459 276079406 563519243 914995860 299728539 2877722 872934455 532151279 594695631 38398283 785380219 327258551 27531333 872245419 751601774 632541699 393153969 685393868 990701926 731834070 781415136 18984853 315617896 431581138 527541835 850209014 960660744 571499689 474318653 299863080 423370702 137493733 481668449 383867851 538885652 187145919 871502638 214006527 118500393 273046986 914217434 505003432 277734632 949544208 786215990 283661732 292733863 156024909 59...
Participant's output
WIN
394017487 26944512 651403459 276079406 563519243 914995860 299728539 2877722 872934455 532151279 594695631 38398283 785380219 327258551 27531333 872245419 751601774 632541699 393153969 685393868 990701926 731834070 781415136 18984853 315617896 431581138 527541835 850209014 960660744 571499689 474318653 299863080 423370702 137493733 481668449 383867851 538885652 187145919 871502638 214006527 118500393 273046986 914217434 505003432 277734632 949544208 786215990 283661732 292733863 156024909 5963081 2585...
Jury's answer
WIN
394017487 26944512 651403459 276079406 563519243 914995860 299728539 2877722 872934455 532151279 594695631 38398283 785380219 327258551 27531333 872245419 751601774 632541699 393153969 685393868 990701926 731834070 781415136 18984853 315617896 431581138 527541835 850209014 960660744 571499689 474318653 299863080 423370702 137493733 481668449 383867851 538885652 187145919 871502638 214006527 118500393 273046986 914217434 505003432 277734632 949544208 786215990 283661732 292733863 156024909 5963081 2585...
Checker comment
ok optimal move
 
 
19
Time: 202 ms, memory: 10812 KB
Verdict: OK
Input
198999 174250
234183042 389833336 43701291 354038659 860396493 563826170 402600839 680979784 382246075 729630928 237977685 34898653 902540102 244717938 210105017 676761477 62100143 974756234 299729367 230492928 112250868 319542651 539881951 125283033 448142027 645758508 670020825 557299259 850538519 689859293 130919738 830673226 644769832 757478158 653251868 626973515 27145436 706937148 342335904 513899313 886534775 210778546 326822478 852931452 214136440 330180185 87058055 119846116 429821858 257446299 4...
Participant's output
WIN
234183042 389833336 43701291 354038659 860396493 563826170 402600839 680979784 382246075 729630928 237977685 34898653 902540102 244717938 210105017 676761477 62100143 974756234 299729367 230492928 112250868 319542651 539881951 125283033 448142027 645758508 670020825 557299259 850538519 689859293 130919738 830673226 644769832 757478158 653251868 626973515 27145436 706937148 342335904 513899313 886534775 210778546 326822478 852931452 214136440 330180185 87058055 119846116 429821858 257446299 45910906 47...
Jury's answer
WIN
234183042 389833336 43701291 354038659 860396493 563826170 402600839 680979784 382246075 729630928 237977685 34898653 902540102 244717938 210105017 676761477 62100143 974756234 299729367 230492928 112250868 319542651 539881951 125283033 448142027 645758508 670020825 557299259 850538519 689859293 130919738 830673226 644769832 757478158 653251868 626973515 27145436 706937148 342335904 513899313 886534775 210778546 326822478 852931452 214136440 330180185 87058055 119846116 429821858 257446299 45910906 47...
Checker comment
ok optimal move
 
 
20
Time: 202 ms, memory: 10808 KB
Verdict: OK
Input
198999 174867
238238605 460012693 635664942 306362721 414542514 481202745 849563308 59929414 538274163 880235048 289474806 284815387 876574088 886481582 276880329 111356241 36197293 178776703 707754394 112931974 628618899 412726846 225120285 419832564 591463540 591477529 597752743 76966144 866832308 443876691 93914672 378006464 172967017 298739121 761312196 200267407 331014689 459268263 777372625 545820543 191243640 555953643 224080808 244967773 816332354 972806241 813487002 784044039 597965489 264620739 ...
Participant's output
WIN
238238605 460012693 635664942 306362721 414542514 481202745 849563308 59929414 538274163 880235048 289474806 284815387 876574088 886481582 276880329 111356241 36197293 178776703 707754394 112931974 628618899 412726846 225120285 419832564 591463540 591477529 597752743 76966144 866832308 443876691 93914672 378006464 172967017 298739121 761312196 200267407 331014689 459268263 777372625 545820543 191243640 555953643 224080808 244967773 816332354 972806241 813487002 784044039 597965489 264620739 218310266 ...
Jury's answer
WIN
238238605 460012693 635664942 306362721 414542514 481202745 849563308 59929414 538274163 880235048 289474806 284815387 876574088 886481582 276880329 111356241 36197293 178776703 707754394 112931974 628618899 412726846 225120285 419832564 591463540 591477529 597752743 76966144 866832308 443876691 93914672 378006464 172967017 298739121 761312196 200267407 331014689 459268263 777372625 545820543 191243640 555953643 224080808 244967773 816332354 972806241 813487002 784044039 597965489 264620739 218310266 ...
Checker comment
ok optimal move
 
 
21
Time: 155 ms, memory: 10868 KB
Verdict: OK
Input
200000 182068
493011020 952326972 879934391 208792776 49548170 73690912 434289421 749578801 987139795 205832729 872893589 407150812 860689159 968651360 877154602 958373438 843544173 187279527 168366960 653591167 799252320 76007784 874932450 36469900 37739446 776231699 708571666 949296795 254424773 228211274 318138877 401451318 362878128 302774479 197757899 89084171 741530124 691230569 7814061 952240589 921491912 171840954 732020563 23590458 767796391 473730062 566755187 988374612 404944453 489355470 44449...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
22
Time: 202 ms, memory: 10812 KB
Verdict: OK
Input
199999 177421
931333358 280458734 290017831 35954624 607789008 566212426 190388165 179216295 413216916 322701977 790494631 229801791 885289239 760413683 17387432 118049339 950912707 332444425 579975268 128297258 460452722 850790679 906318598 278963167 49183262 208431707 939942490 66226990 616352374 3550890 396242596 943264087 944491034 902405549 59515725 454361143 983791323 106414231 216673508 165165568 336799560 263208723 193776880 585172036 81599374 132640349 716034286 674082390 789162068 376655536 9421...
Participant's output
WIN
931333358 280458734 290017831 35954624 607789008 566212426 190388165 179216295 413216916 322701977 790494631 229801791 885289239 760413683 17387432 118049339 950912707 332444425 579975268 128297258 460452722 850790679 906318598 278963167 49183262 208431707 939942490 66226990 616352374 3550890 396242596 943264087 944491034 902405549 59515725 454361143 983791323 106414231 216673508 165165568 336799560 263208723 193776880 585172036 81599374 132640349 716034286 674082390 789162068 376655536 942197915 8813...
Jury's answer
WIN
931333358 280458734 290017831 35954624 607789008 566212426 190388165 179216295 413216916 322701977 790494631 229801791 885289239 760413683 17387432 118049339 950912707 332444425 579975268 128297258 460452722 850790679 906318598 278963167 49183262 208431707 939942490 66226990 616352374 3550890 396242596 943264087 944491034 902405549 59515725 454361143 983791323 106414231 216673508 165165568 336799560 263208723 193776880 585172036 81599374 132640349 716034286 674082390 789162068 376655536 942197915 8813...
Checker comment
ok optimal move
 
 
23
Time: 202 ms, memory: 21736 KB
Verdict: OK
Input
200000 199999
679410307 675161483 117537598 963236610 837711492 402323938 477691934 503452041 520723158 923193707 431874609 238558515 507469491 349191629 776708324 677167749 73812012 780028888 235034585 500838065 761116519 507455191 903619703 775291492 7048451 190826449 16045225 360338381 260169037 893311808 642569680 91528441 386243749 399506608 43963099 523796206 681302772 149897534 818013578 529691933 345094107 541301003 367494940 937887800 828049413 704819213 108379174 984836175 403076414 953012221 57...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
24
Time: 233 ms, memory: 23640 KB
Verdict: OK
Input
200000 200000
235820150 563949458 514470622 353042175 758256250 896955760 837290072 234263184 405210797 266404273 985048224 789035428 803963915 116428561 583688664 814455842 643362911 837542855 892138640 935976306 128286916 365729021 956436296 972694760 509324548 240982695 357306264 709068308 792961465 794646380 188489827 208502556 895216266 40461533 381642112 148559648 523628499 205676998 82304423 323519047 247152265 818483720 327994588 914775137 514867830 592148944 239423532 412029083 156394903 53847437...
Participant's output
WIN
235820150 563949458 514470622 353042175 758256250 896955760 837290072 234263184 405210797 266404273 985048224 789035428 803963915 116428561 583688664 814455842 643362911 837542855 892138640 935976306 128286916 365729021 956436296 972694760 509324548 240982695 357306264 709068308 792961465 794646380 188489827 208502556 895216266 40461533 381642112 148559648 523628499 205676998 82304423 323519047 247152265 818483720 327994588 914775137 514867830 592148944 239423532 412029083 156394903 538474372 93154001...
Jury's answer
WIN
235820150 563949458 514470622 353042175 758256250 896955760 837290072 234263184 405210797 266404273 985048224 789035428 803963915 116428561 583688664 814455842 643362911 837542855 892138640 935976306 128286916 365729021 956436296 972694760 509324548 240982695 357306264 709068308 792961465 794646380 188489827 208502556 895216266 40461533 381642112 148559648 523628499 205676998 82304423 323519047 247152265 818483720 327994588 914775137 514867830 592148944 239423532 412029083 156394903 538474372 93154001...
Checker comment
ok optimal move
 
 
25
Time: 202 ms, memory: 11760 KB
Verdict: OK
Input
186000 200000
2749 32541 30558 8044 19625 26515 10596 5388 10644 20577 28298 17243 16436 24361 28877 18475 9672 17807 22739 23026 28907 17430 5939 26099 30536 13885 784 9477 8031 19951 13614 18135 17565 1553 29166 3494 15140 17018 9655 28589 26566 1746 22437 23051 8838 9656 21283 19546 5284 21198 21583 22570 14791 60 16157 2181 7913 18228 24925 992 24276 9952 15472 6809 18774 28404 19531 15411 7381 12912 24936 26187 5029 27805 26739 12107 7932 29316 27745 22800 21081 23408 19198 32299 19003 7614 182 13793...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
26
Time: 217 ms, memory: 10808 KB
Verdict: OK
Input
199999 177421
1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1...
Participant's output
WIN
0 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 100000000...
Jury's answer
WIN
0 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 100000000...
Checker comment
ok optimal move
 
 
27
Time: 15 ms, memory: 7240 KB
Verdict: OK
Input
3 0
1 2 3
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
28
Time: 0 ms, memory: 7240 KB
Verdict: OK
Input
3 2
1 0 1
3 2
2 1
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
29
Time: 15 ms, memory: 7248 KB
Verdict: OK
Input
2 0
123456789 987654321
Participant's output
WIN
123456789 123456789 
Jury's answer
WIN
123456789 123456789 
Checker comment
ok optimal move
 
 
30
Time: 0 ms, memory: 7240 KB
Verdict: OK
Input
2 0
1000000000 1000000000
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
31
Time: 15 ms, memory: 7244 KB
Verdict: OK
Input
2 1
1000000000 1000000000
1 2
Participant's output
WIN
0 0 
Jury's answer
WIN
0 0 
Checker comment
ok optimal move
 
 
32
Time: 15 ms, memory: 7244 KB
Verdict: OK
Input
2 1
1000000000 1000000000
2 1
Participant's output
WIN
0 0 
Jury's answer
WIN
0 0 
Checker comment
ok optimal move
 
 
33
Time: 0 ms, memory: 7244 KB
Verdict: OK
Input
3 2
2 3 4
1 2
1 3
Participant's output
WIN
0 4 4 
Jury's answer
WIN
0 4 4 
Checker comment
ok optimal move
 
 
34
Time: 15 ms, memory: 7236 KB
Verdict: OK
Input
3 2
123 345 123
1 2
3 2
Participant's output
WIN
123 0 123 
Jury's answer
WIN
123 0 123 
Checker comment
ok optimal move
 
 
35
Time: 15 ms, memory: 7240 KB
Verdict: OK
Input
3 2
123 345 567
1 2
3 2
Participant's output
WIN
123 0 123 
Jury's answer
WIN
123 0 123 
Checker comment
ok optimal move
 
 
36
Time: 155 ms, memory: 17836 KB
Verdict: OK
Input
100001 199999
1488271 9539278 4823817 2985106 1001301 4473707 7401439 9032140 5352710 157734 8104358 6560006 3217863 2897764 4871893 7250600 5811529 3143591 6768452 5839055 1264853 3256572 1074877 4731437 6726341 1028270 6869820 1656017 204244 49912 9864427 1612972 1152522 7281874 2502898 7643251 5489730 9524923 9421658 8786035 5967266 6878281 6862162 6366996 7843100 2960 912804 1827567 3897295 7485157 2916512 4773352 6510743 5491544 6256111 8617245 1098479 4190286 1886558 6765578 8337238 4766158 4588333 ...
Participant's output
WIN
1488271 9539278 4823817 2985106 1001301 4473707 7401439 9032140 5352710 157734 8104358 6560006 3217863 2897764 4871893 7250600 5811529 3143591 6768452 5839055 1264853 3256572 1074877 4731437 6726341 1028270 6869820 1656017 204244 49912 9864427 1612972 1152522 7281874 2502898 7643251 5489730 9524923 9421658 8786035 5967266 6878281 6862162 6366996 7843100 2960 912804 1827567 3897295 7485157 2916512 4773352 6510743 5491544 6256111 8617245 1098479 4190286 1886558 6765578 8337238 4766158 4588333 4632273 83...
Jury's answer
WIN
1488271 9539278 4823817 2985106 1001301 4473707 7401439 9032140 5352710 157734 8104358 6560006 3217863 2897764 4871893 7250600 5811529 3143591 6768452 5839055 1264853 3256572 1074877 4731437 6726341 1028270 6869820 1656017 204244 49912 9864427 1612972 1152522 7281874 2502898 7643251 5489730 9524923 9421658 8786035 5967266 6878281 6862162 6366996 7843100 2960 912804 1827567 3897295 7485157 2916512 4773352 6510743 5491544 6256111 8617245 1098479 4190286 1886558 6765578 8337238 4766158 4588333 4632273 83...
Checker comment
ok optimal move
 
 
37
Time: 140 ms, memory: 11620 KB
Verdict: OK
Input
66667 199995
802992402 232948092 411621908 297878824 198353428 570286560 632512414 868211 311437339 275569889 186771857 122192806 972678621 482230769 967581981 6042578 737818426 18951152 883974569 509411196 942572598 837855151 880744131 143308904 693185372 842212334 653214376 665636168 682251894 968829381 200081546 54382715 930523292 722136148 358951482 381272750 870510200 949881260 146137261 37547486 373865889 95276231 867006244 633256299 980284043 394246138 903521322 475953122 796780374 343600752 939056...
Participant's output
WIN
802992402 232948092 411621908 297878824 198353428 570286560 632512414 868211 311437339 275569889 186771857 122192806 972678621 482230769 967581981 6042578 737818426 18951152 883974569 509411196 942572598 837855151 880744131 143308904 693185372 842212334 653214376 665636168 682251894 968829381 200081546 54382715 930523292 722136148 358951482 381272750 870510200 949881260 146137261 37547486 373865889 95276231 867006244 633256299 980284043 394246138 903521322 475953122 796780374 343600752 939056154 36227...
Jury's answer
WIN
802992402 232948092 411621908 297878824 198353428 570286560 632512414 868211 311437339 275569889 186771857 122192806 972678621 482230769 967581981 6042578 737818426 18951152 883974569 509411196 942572598 837855151 880744131 143308904 693185372 842212334 653214376 665636168 682251894 968829381 200081546 54382715 930523292 722136148 358951482 381272750 870510200 949881260 146137261 37547486 373865889 95276231 867006244 633256299 980284043 394246138 903521322 475953122 796780374 343600752 939056154 36227...
Checker comment
ok optimal move
 
 
38
Time: 124 ms, memory: 10812 KB
Verdict: OK
Input
50002 199998
823882655 494194313 902079872 615224409 72289678 926004696 281725174 23974068 497862679 669997225 891137068 943295053 934816060 542596563 219496355 326852894 21685790 207022332 762226790 156963685 993959252 788035602 555481906 528681618 165150998 892690100 536392762 283095252 272023476 133279968 648989029 505199742 363417682 885437785 398564202 928966935 955236705 702467074 328280081 623094607 709560232 883512787 709709252 142374289 971440643 500749757 310369441 350598331 986036809 938686833 ...
Participant's output
WIN
823882655 494194313 902079872 615224409 72289678 926004696 281725174 23974068 497862679 669997225 891137068 943295053 934816060 542596563 219496355 326852894 21685790 207022332 762226790 156963685 993959252 788035602 555481906 528681618 165150998 892690100 536392762 283095252 272023476 133279968 648989029 505199742 363417682 885437785 398564202 928966935 955236705 702467074 328280081 623094607 709560232 883512787 709709252 142374289 971440643 500749757 310369441 350598331 986036809 938686833 748756049...
Jury's answer
WIN
823882655 494194313 902079872 615224409 72289678 926004696 281725174 23974068 497862679 669997225 891137068 943295053 934816060 542596563 219496355 326852894 21685790 207022332 762226790 156963685 993959252 788035602 555481906 528681618 165150998 892690100 536392762 283095252 272023476 133279968 648989029 505199742 363417682 885437785 398564202 928966935 955236705 702467074 328280081 623094607 709560232 883512787 709709252 142374289 971440643 500749757 310369441 350598331 986036809 938686833 748756049...
Checker comment
ok optimal move
 
 
39
Time: 124 ms, memory: 10724 KB
Verdict: OK
Input
40003 200000
162782338 932102581 664079650 25585947 858227362 278845591 953705140 724403806 715884259 559345560 494167793 853697881 138887141 529156860 938164393 221841704 946239035 572049225 134743888 43291625 491203425 585110248 211783084 463096671 666553450 143522584 226845102 413279926 357066895 52921948 503879320 45829832 273023233 694036646 436122064 914498138 867432748 556748934 831128841 486938450 795007759 171095888 633575547 702467799 68958831 186174511 771209099 288673272 895619003 68595373 845...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
40
Time: 62 ms, memory: 9192 KB
Verdict: OK
Input
2019 196850
747360991 585731813 361656248 155041448 321815208 149352562 752204025 573781064 907433797 672581290 649876563 249562090 878333837 67626499 557579648 996252901 670453389 792594595 292112861 650000399 282095926 93557598 675935171 928637392 141989303 982227068 194333501 887127861 116989109 172563038 971901048 901843649 694094755 48075627 372839343 458062768 459436291 218063353 930119351 182547539 683706271 550890526 322408197 14601258 268990704 25876617 621853346 522887478 867860967 1690633 78278...
Participant's output
WIN
747360991 585731813 361656248 155041448 321815208 149352562 752204025 573781064 907433797 672581290 649876563 249562090 878333837 67626499 557579648 996252901 670453389 792594595 292112861 650000399 282095926 93557598 675935171 928637392 141989303 982227068 194333501 887127861 116989109 172563038 971901048 901843649 694094755 48075627 372839343 458062768 459436291 218063353 930119351 182547539 683706271 550890526 322408197 14601258 268990704 25876617 621853346 522887478 867860967 1690633 782784314 591...
Jury's answer
WIN
747360991 585731813 361656248 155041448 321815208 149352562 752204025 573781064 907433797 672581290 649876563 249562090 878333837 67626499 557579648 996252901 670453389 792594595 292112861 650000399 282095926 93557598 675935171 928637392 141989303 982227068 194333501 887127861 116989109 172563038 971901048 901843649 694094755 48075627 372839343 458062768 459436291 218063353 930119351 182547539 683706271 550890526 322408197 14601258 268990704 25876617 621853346 522887478 867860967 1690633 782784314 591...
Checker comment
ok optimal move
 
 
41
Time: 93 ms, memory: 9180 KB
Verdict: OK
Input
1000 197247
877012386 943882228 225093558 291985060 27881087 169657249 101195698 629422826 358662142 935253895 948870938 724184734 740321045 70740843 641147241 794302917 766942473 640492892 860091737 557827356 349324128 924996447 636875693 865701886 395403870 313674472 541111532 914859539 973974821 97914781 977257416 770358396 169331486 409730025 206036576 918165982 238144705 218459324 627529419 953255080 184519990 567240479 577023952 495282131 658261053 127387556 760296228 527739133 389351602 679094371 4...
Participant's output
WIN
877012386 474637053 225093558 291985060 27881087 169657249 478499931 629422826 358662142 935253895 420978226 724184734 740321045 70740843 641147241 794302917 766942473 640492892 860091737 557827356 349324128 924996447 636875693 743275023 395403870 313674472 541111532 914859539 973974821 97914781 977257416 770358396 169331486 354557236 206036576 918165982 238144705 218459324 627529419 953255080 184519990 567240479 252608899 495282131 372871459 127387556 760296228 527739133 389351602 679094371 49112422 ...
Jury's answer
WIN
877012386 474637053 225093558 291985060 27881087 169657249 478499931 629422826 358662142 935253895 420978226 724184734 740321045 70740843 641147241 794302917 766942473 640492892 860091737 557827356 349324128 924996447 636875693 743275023 395403870 313674472 541111532 914859539 973974821 97914781 977257416 770358396 169331486 354557236 206036576 918165982 238144705 218459324 627529419 953255080 184519990 567240479 252608899 495282131 372871459 127387556 760296228 527739133 389351602 679094371 49112422 ...
Checker comment
ok optimal move
 
 
42
Time: 77 ms, memory: 9264 KB
Verdict: OK
Input
633 200000
596639444 606264956 89013339 217926732 842866784 430365714 403112225 587710233 25632854 183487745 160980784 365062190 378919787 995774393 803639349 822807828 612586886 211912450 738924801 602207571 474731675 2408579 271548995 557800176 741240770 615193386 155614202 342067776 11025282 68271402 731063379 745738280 964357530 869673447 67255480 275712213 508108752 798765659 754770544 61733171 775545054 52850647 878368876 233434566 136857450 979403429 380248115 609284678 624379326 286972952 48547466...
Participant's output
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 474731675 0 0 0 0 615193386 0 342067776 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 238135852 615193386 0 0 453568989 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 424344174 0 0 0 0 311670208 0 0 0 0 0 453568989 0 424344174 0 0 0 0 0 0 0 0 0 0 0 0 250347131 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 334313978 0 0 0 0 0 337730903 0 0 0 0 0 0 0 0 28440925 0 59110313 0 0 0 0 0 0 0 0 0 0 0 0 0 0 342067776 0 0 0 0 0 0 0 0 0 0 0 31529344 0 0 0 0 337730903 0 0 0 0 0...
Jury's answer
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 474731675 0 0 0 0 615193386 0 342067776 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 238135852 615193386 0 0 453568989 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 424344174 0 0 0 0 311670208 0 0 0 0 0 453568989 0 424344174 0 0 0 0 0 0 0 0 0 0 0 0 250347131 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 334313978 0 0 0 0 0 337730903 0 0 0 0 0 0 0 0 28440925 0 59110313 0 0 0 0 0 0 0 0 0 0 0 0 0 0 342067776 0 0 0 0 0 0 0 0 0 0 0 31529344 0 0 0 0 337730903 0 0 0 0 0...
Checker comment
ok optimal move
 
 
43
Time: 77 ms, memory: 9276 KB
Verdict: OK
Input
632 199395
296292551 513095325 676214080 904152932 515132669 923883525 653261326 653639001 852497170 550154093 828342834 787444820 62846394 705895740 121754547 512404972 336424020 604962379 565458306 10822560 377064700 863022016 709606220 3417271 894355522 653704243 549938939 513170828 264111906 337523173 969276492 415458548 484836934 545578306 486928911 277917957 912433960 502702655 778709660 365248412 404722558 291260323 65863382 617453 457517225 547438207 550816216 449433276 90108824 151531192 50603296...
Participant's output
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 486928911 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
Jury's answer
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 486928911 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
Checker comment
ok optimal move
 
 
44
Time: 78 ms, memory: 9268 KB
Verdict: OK
Input
632 199380
669851648 49774728 576275274 819651913 157987434 232219714 744459030 98212888 904594566 458375575 132688812 533843781 17798884 261177405 91262579 735170650 824681054 792214709 55757030 423848644 921143675 957534965 854431499 752395244 916605976 723471718 920019269 11661554 365862454 974464657 420840276 904350292 681701497 846739902 654532924 933116664 332586205 398569807 459886755 956824303 721188204 232866799 11694701 389547201 166890127 901535808 917192649 360985347 43710230 70066178 65638722...
Participant's output
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 908528983 0 0 52621328 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 478110918 0 489560920 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 792057868 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 122140714 0 0 902304864 0 0 0 0 0 0 0 0 0 0 482010373 0 0 871673352 0 0 0 0 0 0 0 0 0 0 0 0 0 0 482010373 0 0 0 0 0 0 0 0 0 0 902304864 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Jury's answer
WIN
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 908528983 0 0 52621328 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 478110918 0 489560920 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 792057868 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 122140714 0 0 902304864 0 0 0 0 0 0 0 0 0 0 482010373 0 0 871673352 0 0 0 0 0 0 0 0 0 0 0 0 0 0 482010373 0 0 0 0 0 0 0 0 0 0 902304864 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...
Checker comment
ok optimal move
 
 
45
Time: 93 ms, memory: 9272 KB
Verdict: OK
Input
632 199350
688152005 3597626 754376964 635758740 466963665 389963766 537457464 426371127 786328985 125226603 191663669 721256188 371865788 409157722 504629008 579311018 248298579 924425446 581386665 732120445 635486687 180282674 427810714 584716583 595417639 484996199 67459044 560946238 81927330 970272964 806737182 893548066 26706398 344338436 847358477 4778091 230967585 980638898 857943369 430029132 283553559 661417365 628601240 52540723 346264050 1723927 750029002 211992346 894293041 515671749 597852935...
Participant's output
WIN
0 0 0 0 0 0 537457464 0 0 240901581 0 0 0 572922042 0 579311018 0 0 0 732120445 0 0 0 0 0 0 0 0 0 0 0 0 0 0 640153484 0 0 0 0 72280674 0 0 0 0 0 0 750029002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 714066296 0 0 0 255660288 0 0 0 0 0 0 0 0 0 0 194549887 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 357868360 0 0 196063039 988576283 0 0 136140060 188690221 0 0 0 0 0 0 0 0 0 0 0 779531624 0 0 0 292448511 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 714066296 0 0 0 0 0 0 0 450745050 0 5...
Jury's answer
WIN
0 0 0 0 0 0 537457464 0 0 240901581 0 0 0 572922042 0 579311018 0 0 0 732120445 0 0 0 0 0 0 0 0 0 0 0 0 0 0 640153484 0 0 0 0 72280674 0 0 0 0 0 0 750029002 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 714066296 0 0 0 255660288 0 0 0 0 0 0 0 0 0 0 194549887 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 357868360 0 0 196063039 988576283 0 0 136140060 188690221 0 0 0 0 0 0 0 0 0 0 0 779531624 0 0 0 292448511 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 714066296 0 0 0 0 0 0 0 450745050 0 5...
Checker comment
ok optimal move
 
 
46
Time: 77 ms, memory: 9288 KB
Verdict: OK
Input
632 199300
22 29 2 59 9 75 19 48 35 99 42 58 34 0 77 29 42 57 46 31 87 24 61 93 100 77 1 77 33 62 2 1 59 86 57 12 53 83 100 68 66 54 6 60 70 80 6 63 43 77 66 63 4 75 75 98 92 67 54 95 0 21 96 42 7 87 17 0 65 42 33 68 17 70 100 66 98 58 92 68 58 20 73 84 51 21 52 31 79 17 36 27 53 57 6 51 95 17 62 52 89 23 2 54 90 61 81 63 32 67 39 23 6 52 29 18 5 1 22 58 81 89 84 16 35 10 73 28 82 15 86 66 29 42 97 79 30 32 18 65 60 61 72 65 81 32 72 68 46 79 76 4 51 59 32 55 12 78 42 8 0 53 76 84 75 55 34 84 51 97 4 5 36...
Participant's output
WIN
48 0 0 0 0 0 19 48 0 0 0 0 0 74 0 0 0 0 0 97 0 0 0 49 100 0 0 0 0 0 0 0 0 0 57 0 0 0 100 0 0 0 6 60 69 47 0 63 0 0 0 0 0 0 0 0 92 0 22 47 51 21 0 0 0 0 0 0 0 0 33 0 0 98 0 0 0 0 0 68 0 0 0 84 0 0 0 0 0 0 40 0 0 0 0 0 73 0 0 0 0 0 0 0 0 0 60 0 0 93 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 82 0 0 0 0 0 0 0 0 100 0 0 0 0 0 0 0 0 72 40 28 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 75 0 0 0 51 0 0 0 17 63 69 57 0 0 0 57 0 0 62 0 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 57 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 0 73 0 0 0 0 24 93 0 0 ...
Jury's answer
WIN
48 0 0 0 0 0 19 48 0 0 0 0 0 74 0 0 0 0 0 97 0 0 0 49 100 0 0 0 0 0 0 0 0 0 57 0 0 0 100 0 0 0 6 60 69 47 0 63 0 0 0 0 0 0 0 0 92 0 22 47 51 21 0 0 0 0 0 0 0 0 33 0 0 98 0 0 0 0 0 68 0 0 0 84 0 0 0 0 0 0 40 0 0 0 0 0 73 0 0 0 0 0 0 0 0 0 60 0 0 93 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 82 0 0 0 0 0 0 0 0 100 0 0 0 0 0 0 0 0 72 40 28 0 0 0 0 0 0 0 12 0 0 0 0 0 0 0 75 0 0 0 51 0 0 0 17 63 69 57 0 0 0 57 0 0 62 0 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 57 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 0 73 0 0 0 0 24 93 0 0 ...
Checker comment
ok optimal move
 
 
47
Time: 93 ms, memory: 9272 KB
Verdict: OK
Input
632 199000
234 179 782 654 612 543 399 766 903 425 92 175 469 185 270 894 902 95 344 159 221 732 345 945 662 63 107 569 179 914 847 134 417 804 37 108 929 85 984 569 79 111 617 719 357 754 712 895 987 48 273 942 95 752 684 743 867 477 20 471 820 264 97 477 702 354 909 946 167 517 90 763 116 709 448 905 941 234 993 141 127 711 469 176 872 532 805 585 213 918 852 262 670 636 423 601 732 590 290 134 911 581 100 121 792 338 965 247 743 711 633 108 569 480 560 824 899 590 845 511 34 640 292 783 440 678 7 343 5...
Participant's output
WIN
0 0 270 0 612 543 292 766 534 0 0 175 0 0 270 0 0 757 0 517 221 0 805 945 662 793 612 569 770 0 590 0 417 0 966 889 408 0 0 569 79 618 617 617 826 754 0 484 0 576 0 942 766 0 684 941 718 0 0 0 820 0 97 0 0 0 0 946 0 517 0 0 0 709 579 0 941 0 219 0 127 711 305 807 0 376 0 0 213 0 0 808 943 0 423 738 0 590 290 0 423 0 0 121 0 0 0 0 0 0 0 761 569 754 121 0 899 590 0 0 750 0 292 0 365 0 0 343 0 0 348 690 995 0 162 304 754 548 0 0 0 0 518 636 835 0 232 919 709 0 856 597 0 683 0 0 982 0 0 0 0 243 0 0 0 0 0 ...
Jury's answer
WIN
0 0 270 0 612 543 292 766 534 0 0 175 0 0 270 0 0 757 0 517 221 0 805 945 662 793 612 569 770 0 590 0 417 0 966 889 408 0 0 569 79 618 617 617 826 754 0 484 0 576 0 942 766 0 684 941 718 0 0 0 820 0 97 0 0 0 0 946 0 517 0 0 0 709 579 0 941 0 219 0 127 711 305 807 0 376 0 0 213 0 0 808 943 0 423 738 0 590 290 0 423 0 0 121 0 0 0 0 0 0 0 761 569 754 121 0 899 590 0 0 750 0 292 0 365 0 0 343 0 0 348 690 995 0 162 304 754 548 0 0 0 0 518 636 835 0 232 919 709 0 856 597 0 683 0 0 982 0 0 0 0 243 0 0 0 0 0 ...
Checker comment
ok optimal move
 
 
48
Time: 186 ms, memory: 10856 KB
Verdict: OK
Input
200000 200000
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
49
Time: 78 ms, memory: 9208 KB
Verdict: OK
Input
1000 200000
252273011 486054393 243349118 106358918 76979968 60550062 39720050 196099699 53637480 91155812 5300312 499563601 201344504 343213501 407467941 463176582 408343496 336569094 44548171 220661871 48157540 295934324 518343831 223774300 28021630 336642694 95345729 394439463 482339232 504446917 318834872 175841118 322379144 151346164 344653211 478784331 326531873 327133024 62433425 29227597 413904390 523190535 341728077 446727243 156478244 229433779 516716663 429706450 353844967 165714561 209567208 5...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
50
Time: 77 ms, memory: 9156 KB
Verdict: OK
Input
1024 199999
881973271 934460511 752241895 230453470 784391189 944432225 434687664 207712249 726780598 651133145 711301867 838154884 459665751 958283118 341368873 850083683 934816643 119921565 973799996 406409590 954480284 430264743 705597228 601182280 154296868 924246866 364201298 883541788 197582864 821956942 757641386 952917373 984682731 97003659 912402542 630720033 81570260 148798898 477026428 153030144 404727689 142231868 3109337 748076948 755641518 527114030 188007602 179407297 93327013 816543360 970...
Participant's output
WIN
881973271 934460511 752241895 230453470 784391189 944432225 434687664 207712249 726780598 651133145 711301867 838154884 459665751 958283118 341368873 850083683 934816643 119921565 973799996 406409590 954480284 430264743 705597228 601182280 154296868 924246866 364201298 883541788 197582864 821956942 757641386 952917373 984682731 97003659 912402542 630720033 81570260 148798898 477026428 153030144 404727689 142231868 3109337 748076948 755641518 527114030 188007602 179407297 93327013 816543360 970715071 4...
Jury's answer
WIN
881973271 934460511 752241895 230453470 784391189 944432225 434687664 207712249 726780598 651133145 711301867 838154884 459665751 958283118 341368873 850083683 934816643 119921565 973799996 406409590 954480284 430264743 705597228 601182280 154296868 924246866 364201298 883541788 197582864 821956942 757641386 952917373 984682731 97003659 912402542 630720033 81570260 148798898 477026428 153030144 404727689 142231868 3109337 748076948 755641518 527114030 188007602 179407297 93327013 816543360 970715071 4...
Checker comment
ok optimal move
 
 
51
Time: 78 ms, memory: 9124 KB
Verdict: OK
Input
1822 200000
224 1080 1278 124 1425 1907 247 1997 38 512 1826 413 1646 648 1775 1688 1690 1267 266 1377 1437 732 1724 1409 160 582 901 686 671 1890 839 917 597 1669 73 1166 2059 1551 1671 527 342 1579 420 1050 809 685 1123 2035 156 1228 529 320 15 887 129 803 2111 330 1269 937 1232 990 2001 1907 966 1012 868 1236 395 617 40 709 1823 1607 338 1102 1974 286 353 833 1272 1806 1265 633 76 743 281 210 785 133 1894 806 1736 1974 232 298 708 1097 1738 66 208 345 1159 1801 1956 2009 624 210 1213 1141 228 2084 1052...
Participant's output
WIN
224 1080 1278 124 1425 1907 247 1997 38 512 1826 413 1646 648 1775 1688 1690 1267 266 1377 1437 732 1724 1409 160 582 901 686 671 1890 839 917 597 1669 73 1166 2059 1551 1671 527 342 1579 420 1050 809 685 1123 2035 156 1407 529 320 15 887 129 803 2111 330 1269 937 1232 990 2001 1907 966 1012 727 1236 395 617 40 709 1823 1607 338 1102 1974 286 353 833 1272 1806 1265 633 76 743 281 210 785 133 1894 661 1736 1974 232 298 708 1097 1738 66 208 345 1159 1801 1956 2009 624 210 1213 1141 228 2084 1052 1504 16...
Jury's answer
WIN
224 1080 1278 124 1425 1907 247 1997 38 512 1826 413 1646 648 1775 1688 1690 1267 266 1377 1437 732 1724 1409 160 582 901 686 671 1890 839 917 597 1669 73 1166 2059 1551 1671 527 342 1579 420 1050 809 685 1123 2035 156 1407 529 320 15 887 129 803 2111 330 1269 937 1232 990 2001 1907 966 1012 727 1236 395 617 40 709 1823 1607 338 1102 1974 286 353 833 1272 1806 1265 633 76 743 281 210 785 133 1894 661 1736 1974 232 298 708 1097 1738 66 208 345 1159 1801 1956 2009 624 210 1213 1141 228 2084 1052 1504 16...
Checker comment
ok optimal move
 
 
52
Time: 139 ms, memory: 9928 KB
Verdict: OK
Input
200000 31337
120646845 347721663 996288596 248477753 747103045 712061681 706462651 880517682 216245134 385672776 548303306 473538946 797735519 713627614 12480632 358926178 529695028 464945702 117781186 705461827 196397191 22362902 505860232 568829698 558626101 600654182 807652362 892862357 560883348 954516516 588979164 336453461 74573844 480024688 553010644 599297629 694876996 283802950 765278838 986923192 177009617 225453518 718725790 211222354 898153371 527351923 568978260 949106699 635927670 885021971 ...
Participant's output
WIN
120646845 347721663 996288596 248477753 747103045 712061681 706462651 880517682 216245134 385672776 548303306 473538946 797735519 713627614 12480632 358926178 529695028 464945702 117781186 705461827 196397191 22362902 505860232 568829698 558626101 600654182 807652362 892862357 560883348 954516516 588979164 336453461 74573844 480024688 553010644 599297629 694876996 283802950 765278838 986923192 177009617 225453518 718725790 211222354 898153371 527351923 568978260 949106699 635927670 885021971 514166918...
Jury's answer
WIN
120646845 347721663 996288596 248477753 747103045 712061681 706462651 880517682 216245134 385672776 548303306 473538946 797735519 713627614 12480632 358926178 529695028 464945702 117781186 705461827 196397191 22362902 505860232 568829698 558626101 600654182 807652362 892862357 560883348 954516516 588979164 336453461 74573844 480024688 553010644 599297629 694876996 283802950 765278838 986923192 177009617 225453518 718725790 211222354 898153371 527351923 568978260 949106699 635927670 885021971 514166918...
Checker comment
ok optimal move
 
 
53
Time: 15 ms, memory: 7384 KB
Verdict: OK
Input
31 145
536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 1 1 1 1 1 1 1 1 1 1 1
2 1
3 1
3 2
4 1
4 2
4 3
5 1
5 2
5 3
5 4
6 1
6 2
6 3
6 4
6 5
7 1
7 2
7 3
7 4
7 5
7 6
8 1
8 2
8 3
8 4
8 5
8 6
8 7
9 1
9 2
9 3
9 4
9 5
9 6
9 7
9 8
10 1
10 2
10 3
10 4
10 5
10 6
10 7
10 8
10 9
12 11
13 11
13 12
14 11
14 12
14 13
15 1...
Participant's output
WIN
536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 0 
Jury's answer
WIN
536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870912 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 536870911 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 1073741823 0 
Checker comment
ok optimal move
 
 
54
Time: 61 ms, memory: 9288 KB
Verdict: OK
Input
1096 199655
536870912 1 536870912 536870911 536870912 536870912 536870911 536870912 536870911 536870911 536870912 1 536870911 1 536870911 536870911 536870911 536870912 1 1 536870911 536870912 536870912 536870911 536870912 1 536870911 536870912 1 536870911 536870912 1 536870911 536870911 536870912 536870911 1 536870911 536870912 536870911 536870911 1 536870911 1 536870912 536870911 536870911 536870912 536870911 536870911 536870912 536870912 536870912 536870912 536870911 1 1 1 1 536870912 536870912 53687091...
Participant's output
WIN
536870912 1073741823 536870912 536870911 536870912 536870912 536870911 536870912 536870911 536870911 536870912 1073741823 536870911 1073741823 536870911 536870911 536870911 536870912 1073741823 1073741823 536870911 536870912 536870912 536870911 536870912 1073741823 536870911 536870912 1073741823 536870911 536870912 1073741823 536870911 536870911 536870912 536870911 1073741823 536870911 536870912 536870911 536870911 1073741823 536870911 1073741823 536870912 536870911 536870911 536870912 536870911 53687...
Jury's answer
WIN
536870912 1073741823 536870912 536870911 536870912 536870912 536870911 536870912 536870911 536870911 536870912 1073741823 536870911 1073741823 536870911 536870911 536870911 536870912 1073741823 1073741823 536870911 536870912 536870912 536870911 536870912 1073741823 536870911 536870912 1073741823 536870911 536870912 1073741823 536870911 536870911 536870912 536870911 1073741823 536870911 536870912 536870911 536870911 1073741823 536870911 1073741823 536870912 536870911 536870911 536870912 536870911 53687...
Checker comment
ok optimal move
 
 
55
Time: 77 ms, memory: 8928 KB
Verdict: OK
Input
200000 0
836043489 412199629 686624050 342644915 145939772 727245268 370571134 244677371 166322080 653353083 910723815 755199537 39589767 637449428 340209612 670753349 255856927 728742266 232126232 603943977 942370312 590019309 178256980 761108554 562569541 646490019 622193656 491680425 351718989 513957552 126948799 345874588 177995069 999511828 943356215 3950617 819966512 721518496 538899544 436814534 107629992 495023999 82887757 206658170 335860772 475625317 569366605 670269838 412091603 850248535 40320...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
56
Time: 61 ms, memory: 8812 KB
Verdict: OK
Input
171717 1
574967069 449715887 143034958 770945787 777666475 180148139 426486965 890389228 767003754 152792521 120352100 63853961 785778372 89876560 43157489 176486120 376212691 24377579 324473595 567780984 204172300 23488974 859291311 563117933 839533156 685480766 34024063 789853861 870904101 746751620 594268832 422591242 931600033 745406711 975727458 973289060 589780762 427598916 528628101 418263490 111339915 51492551 491866218 454252860 300057490 324027941 549330524 243690073 248843850 935925484 28493943...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
57
Time: 124 ms, memory: 8932 KB
Verdict: OK
Input
199708 0
558821900 531849777 54255498 754112094 437325787 956059284 729515070 437614219 57137748 77535361 511008926 73950044 43987425 774056528 83931446 161730241 300574013 709330887 218478492 654092929 981179976 133999729 916023805 885567889 854012790 371894345 752412380 671677279 901004077 723202432 517385504 878464598 680718109 295564474 622632168 732617084 449931413 943511179 747973268 851021900 732513947 229732407 44883347 505140256 649336142 271864578 668620695 553317639 415777104 924752112 73938754...
Participant's output
WIN
260683164 531849777 54255498 754112094 437325787 956059284 729515070 437614219 57137748 77535361 511008926 73950044 43987425 774056528 83931446 161730241 300574013 709330887 218478492 654092929 981179976 133999729 916023805 885567889 854012790 371894345 752412380 671677279 901004077 723202432 517385504 878464598 680718109 295564474 622632168 732617084 449931413 943511179 747973268 851021900 732513947 229732407 44883347 505140256 649336142 271864578 668620695 553317639 415777104 924752112 739387548 172...
Jury's answer
WIN
260683164 531849777 54255498 754112094 437325787 956059284 729515070 437614219 57137748 77535361 511008926 73950044 43987425 774056528 83931446 161730241 300574013 709330887 218478492 654092929 981179976 133999729 916023805 885567889 854012790 371894345 752412380 671677279 901004077 723202432 517385504 878464598 680718109 295564474 622632168 732617084 449931413 943511179 747973268 851021900 732513947 229732407 44883347 505140256 649336142 271864578 668620695 553317639 415777104 924752112 739387548 172...
Checker comment
ok optimal move
 
 
58
Time: 187 ms, memory: 10748 KB
Verdict: OK
Input
200000 199223
88913440 297126927 67368670 459633266 445757584 489351388 83474601 417423241 474023505 327123032 326749331 417384512 280315055 42935852 483074644 448490905 259715722 278415208 161684685 250751005 481664355 51648325 276948605 45850591 19159493 342608905 227470785 472895586 238632178 434177170 360910616 287757663 416574012 355703831 462524494 329216621 327919190 187208090 13178326 104358084 140817602 303592412 35933064 4931052 265507735 435137574 270176237 222840818 215116408 494604841 3976827...
Participant's output
WIN
88913440 297126927 67368670 459633266 445757584 489351388 83474601 417423241 474023505 327123032 326749331 417384512 280315055 42935852 483074644 448490905 259715722 278415208 161684685 250751005 481664355 51648325 276948605 45850591 19159493 342608905 227470785 472895586 238632178 434177170 360910616 287757663 416574012 355703831 462524494 329216621 327919190 187208090 13178326 104358084 140817602 303592412 35933064 4931052 265507735 435137574 270176237 222840818 215116408 494604841 397682784 4450329...
Jury's answer
WIN
88913440 297126927 67368670 459633266 445757584 489351388 83474601 417423241 474023505 327123032 326749331 417384512 280315055 42935852 483074644 448490905 259715722 278415208 161684685 250751005 481664355 51648325 276948605 45850591 19159493 342608905 227470785 472895586 238632178 434177170 360910616 287757663 416574012 355703831 462524494 329216621 327919190 187208090 13178326 104358084 140817602 303592412 35933064 4931052 265507735 435137574 270176237 222840818 215116408 494604841 397682784 4450329...
Checker comment
ok optimal move
 
 
59
Time: 217 ms, memory: 10804 KB
Verdict: OK
Input
199999 197084
622565343 761222669 986066815 785602161 349900261 13639575 333698585 539568179 891112253 696428452 643404462 516987605 709404057 357511115 885487165 872070289 839115135 960849188 631007407 319889125 704814864 600362739 445485730 172576139 587147956 230989481 801038361 32556243 343391425 157335464 470554524 4615023 510125059 9907711 210028338 969141385 30750221 544650541 630013586 501141274 205325725 228266345 640238707 163076483 557358260 500236633 190586432 316822965 439324809 708704350 612...
Participant's output
WIN
622565343 761222669 986066815 785602161 349900261 13639575 333698585 539568179 891112253 696428452 643404462 516987605 709404057 357511115 885487165 872070289 839115135 960849188 631007407 319889125 704814864 600362739 445485730 172576139 587147956 230989481 801038361 32556243 343391425 157335464 470554524 4615023 510125059 9907711 210028338 969141385 30750221 544650541 630013586 501141274 205325725 228266345 640238707 163076483 557358260 500236633 190586432 316822965 439324809 708704350 612650542 859...
Jury's answer
WIN
622565343 761222669 986066815 785602161 349900261 13639575 333698585 539568179 891112253 696428452 643404462 516987605 709404057 357511115 885487165 872070289 839115135 960849188 631007407 319889125 704814864 600362739 445485730 172576139 587147956 230989481 801038361 32556243 343391425 157335464 470554524 4615023 510125059 9907711 210028338 969141385 30750221 544650541 630013586 501141274 205325725 228266345 640238707 163076483 557358260 500236633 190586432 316822965 439324809 708704350 612650542 859...
Checker comment
ok optimal move
 
 
60
Time: 202 ms, memory: 10812 KB
Verdict: OK
Input
200000 197125
94993339 692244261 321295210 197469137 117966458 369456901 234397602 713397461 62582922 740739535 507935810 498487408 280190702 455486218 925405841 717375085 859746123 669391933 488692775 978852274 342032673 556113553 106090229 116016615 863040063 497301922 336296986 706437947 162138938 128823795 561441954 25883403 55734765 721408328 103726517 184933256 643473095 519000773 394113336 66518454 568181230 803856678 888019017 988283204 404398027 492622870 357537124 759468288 325895258 971189853 8...
Participant's output
WIN
94993339 692244261 321295210 197469137 117966458 369456901 234397602 713397461 62582922 740739535 507935810 498487408 280190702 455486218 925405841 717375085 859746123 669391933 488692775 978852274 342032673 556113553 106090229 116016615 863040063 497301922 336296986 706437947 162138938 128823795 561441954 25883403 55734765 721408328 103726517 184933256 643473095 519000773 394113336 66518454 568181230 803856678 888019017 988283204 404398027 492622870 357537124 759468288 325895258 971189853 857491280 8...
Jury's answer
WIN
94993339 692244261 321295210 197469137 117966458 369456901 234397602 713397461 62582922 740739535 507935810 498487408 280190702 455486218 925405841 717375085 859746123 669391933 488692775 978852274 342032673 556113553 106090229 116016615 863040063 497301922 336296986 706437947 162138938 128823795 561441954 25883403 55734765 721408328 103726517 184933256 643473095 519000773 394113336 66518454 568181230 803856678 888019017 988283204 404398027 492622870 357537124 759468288 325895258 971189853 857491280 8...
Checker comment
ok optimal move
 
 
61
Time: 93 ms, memory: 9700 KB
Verdict: OK
Input
40000 199783
27819963 685410677 364333813 581238893 515985476 734680432 205923045 791725203 541419457 909081148 929031807 243292409 683985103 454620721 448620211 443535488 295281978 212741955 964792132 421581778 153047984 859383434 655639911 958959958 702229167 632392029 47534151 229911120 423829780 26808517 84005885 524874634 555584479 636053367 58229973 582667333 619597615 409190145 191792280 664915623 660596405 109016902 181624252 178388122 614819827 405409290 907290959 975020122 371230220 423603308 10...
Participant's output
WIN
27819963 685410677 364333813 581238893 515985476 734680432 205923045 791725203 541419457 909081148 929031807 243292409 683985103 454620721 448620211 443535488 295281978 212741955 964792132 421581778 153047984 859383434 655639911 958959958 702229167 632392029 47534151 229911120 423829780 26808517 84005885 524874634 555584479 636053367 58229973 582667333 619597615 409190145 191792280 664915623 660596405 109016902 181624252 178388122 614819827 405409290 907290959 975020122 371230220 423603308 108775559 9...
Jury's answer
WIN
27819963 685410677 364333813 581238893 515985476 734680432 205923045 791725203 541419457 909081148 929031807 243292409 683985103 454620721 448620211 443535488 295281978 212741955 964792132 421581778 153047984 859383434 655639911 958959958 702229167 632392029 47534151 229911120 423829780 26808517 84005885 524874634 555584479 636053367 58229973 582667333 619597615 409190145 191792280 664915623 660596405 109016902 181624252 178388122 614819827 405409290 907290959 975020122 371230220 423603308 108775559 9...
Checker comment
ok optimal move
 
 
62
Time: 93 ms, memory: 9208 KB
Verdict: OK
Input
55555 159988
504642609 268427353 438363542 851143858 840369890 290607024 361918623 164820452 474569968 254541892 440231974 502867060 363902486 578863982 331734536 563249956 922010103 208283664 944704315 220026824 15074961 419244298 860108175 47496213 609517293 19108714 763527777 770546692 376710132 841578734 496641949 178239287 137982042 414995968 438473910 6288528 360283370 972758595 322798343 563952940 538324864 902151475 303784415 283395231 604838765 34550682 119316804 580854493 243650073 703258018 780...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
63
Time: 202 ms, memory: 11176 KB
Verdict: OK
Input
200000 199918
435038363 172190572 963661509 636595369 129763661 796508740 949748800 81246440 753922225 737163779 317383213 442476511 473591155 212891763 761919815 287266434 4954852 415671002 117312798 221985937 965380460 127653453 395816359 160207384 947207805 700577057 1396808 675433005 967228413 996065522 468639484 957562371 485568229 574331952 43587315 994403737 731338235 257821178 689495176 988346395 813755290 459489228 617296529 844376871 107272324 148989992 926746864 254169334 309793200 312742446 60...
Participant's output
WIN
435038363 172190572 963661509 636595369 129763661 796508740 949748800 81246440 753922225 737163779 317383213 442476511 473591155 212891763 761919815 287266434 4954852 415671002 117312798 221985937 965380460 127653453 395816359 160207384 947207805 700577057 1396808 675433005 967228413 996065522 468639484 957562371 485568229 574331952 43587315 994403737 731338235 257821178 689495176 988346395 813755290 459489228 617296529 844376871 107272324 148989992 926746864 254169334 309793200 312742446 608662658 59...
Jury's answer
WIN
435038363 172190572 963661509 636595369 129763661 796508740 949748800 81246440 753922225 737163779 317383213 442476511 473591155 212891763 761919815 287266434 4954852 415671002 117312798 221985937 965380460 127653453 395816359 160207384 947207805 700577057 1396808 675433005 967228413 996065522 468639484 957562371 485568229 574331952 43587315 994403737 731338235 257821178 689495176 988346395 813755290 459489228 617296529 844376871 107272324 148989992 926746864 254169334 309793200 312742446 608662658 59...
Checker comment
ok optimal move
 
 
64
Time: 202 ms, memory: 10836 KB
Verdict: OK
Input
189842 175302
424558337 868257558 50682765 42077028 868313034 584876276 923396109 243615677 653895434 383377743 680553352 101768329 910048635 140499876 198004821 130113242 931194597 657960575 537103917 618654260 855622776 232259252 567879301 250083725 96305032 318126516 58864890 483726245 28634725 379266311 237978650 911235730 400252861 351632356 214938123 916108693 913689003 951957083 456117301 233459089 892339644 991230813 759766119 906660237 479351922 518173800 48597724 575855057 87132630 770294029 261...
Participant's output
WIN
424558337 868257558 50682765 42077028 868313034 584876276 923396109 243615677 653895434 383377743 680553352 101768329 910048635 140499876 198004821 130113242 931194597 657960575 537103917 618654260 855622776 232259252 567879301 250083725 96305032 318126516 58864890 483726245 28634725 379266311 237978650 911235730 400252861 351632356 214938123 916108693 913689003 951957083 456117301 233459089 892339644 991230813 759766119 906660237 479351922 518173800 48597724 575855057 87132630 770294029 261688226 335...
Jury's answer
WIN
424558337 868257558 50682765 42077028 868313034 584876276 923396109 243615677 653895434 383377743 680553352 101768329 910048635 140499876 198004821 130113242 931194597 657960575 537103917 618654260 855622776 232259252 567879301 250083725 96305032 318126516 58864890 483726245 28634725 379266311 237978650 911235730 400252861 351632356 214938123 916108693 913689003 951957083 456117301 233459089 892339644 991230813 759766119 906660237 479351922 518173800 48597724 575855057 87132630 770294029 261688226 335...
Checker comment
ok optimal move
 
 
65
Time: 186 ms, memory: 11280 KB
Verdict: OK
Input
198425 192447
1594 430 1639 977 14 1532 705 15 1824 423 261 1379 1929 993 1387 46 1837 1098 1814 480 1305 1036 469 1395 1510 567 1 1288 1534 499 707 901 1891 830 795 187 589 1722 1880 1372 1879 131 1961 888 1930 1307 744 1976 564 50 73 1336 788 1939 1389 350 702 2030 710 603 735 340 1114 1822 594 297 946 1039 549 89 1144 426 521 375 1737 1209 301 324 406 1801 530 262 1273 300 120 1970 1567 30 2032 2103 705 1233 472 1157 194 1656 1290 1382 1633 1246 12 233 1366 412 779 2128 653 787 1322 12 1443 185 304 94 ...
Participant's output
WIN
1594 430 1639 977 14 1532 705 15 1824 423 261 1379 1929 993 1387 46 1837 1098 1814 480 1305 1036 469 1395 1510 567 1 1288 1534 499 707 901 1891 830 795 187 589 1722 1880 1372 1879 131 1961 888 1930 1307 744 1976 564 50 73 1336 788 1939 1389 350 702 2030 710 603 735 340 1114 1822 594 297 946 1039 549 89 1144 426 521 375 1737 1209 301 324 406 1801 530 262 1273 300 120 1970 1567 30 2032 2103 705 1233 472 1157 194 1656 1290 1382 1633 1246 12 233 1366 412 779 2128 653 787 1322 12 1443 185 304 94 1657 1218 ...
Jury's answer
WIN
1594 430 1639 977 14 1532 705 15 1824 423 261 1379 1929 993 1387 46 1837 1098 1814 480 1305 1036 469 1395 1510 567 1 1288 1534 499 707 901 1891 830 795 187 589 1722 1880 1372 1879 131 1961 888 1930 1307 744 1976 564 50 73 1336 788 1939 1389 350 702 2030 710 603 735 340 1114 1822 594 297 946 1039 549 89 1144 426 521 375 1737 1209 301 324 406 1801 530 262 1273 300 120 1970 1567 30 2032 2103 705 1233 472 1157 194 1656 1290 1382 1633 1246 12 233 1366 412 779 2128 653 787 1322 12 1443 185 304 94 1657 1218 ...
Checker comment
ok optimal move
 
 
66
Time: 217 ms, memory: 10820 KB
Verdict: OK
Input
199999 170405
545821 873582 78077 735705 843827 2262 782717 960671 258890 150015 448379 869200 818876 35075 559021 440912 604703 308775 465497 460238 175247 11692 195223 628911 461565 796443 125999 40453 321062 198978 273281 884177 435477 600922 94517 74772 735451 335659 343019 502403 357350 66760 130957 494173 92874 965818 336416 878664 232165 313443 665241 261980 750715 951102 61656 899266 589808 481 694217 249922 983816 715426 695975 431098 217336 110321 373366 670117 203244 416123 360922 631881 283508...
Participant's output
WIN
545821 873582 78077 735705 843827 2262 782717 960671 258890 150015 448379 869200 818876 35075 559021 440912 604703 308775 465497 460238 175247 11692 195223 628911 461565 796443 125999 40453 321062 198978 273281 884177 435477 600922 94517 74772 735451 335659 343019 502403 357350 66760 130957 494173 92874 965818 336416 878664 232165 313443 665241 261980 750715 951102 61656 899266 589808 481 694217 249922 983816 715426 695975 431098 217336 110321 373366 670117 203244 416123 360922 631881 283508 678475 96...
Jury's answer
WIN
545821 873582 78077 735705 843827 2262 782717 960671 258890 150015 448379 869200 818876 35075 559021 440912 604703 308775 465497 460238 175247 11692 195223 628911 461565 796443 125999 40453 321062 198978 273281 884177 435477 600922 94517 74772 735451 335659 343019 502403 357350 66760 130957 494173 92874 965818 336416 878664 232165 313443 665241 261980 750715 951102 61656 899266 589808 481 694217 249922 983816 715426 695975 431098 217336 110321 373366 670117 203244 416123 360922 631881 283508 678475 96...
Checker comment
ok optimal move
 
 
67
Time: 155 ms, memory: 11384 KB
Verdict: OK
Input
200000 173707
2431444 3301043 13041924 405921 11375465 3300622 10918373 5190772 12772907 9079181 607417 21275899 17380526 7007374 20080044 10163010 8195266 7828464 4495331 11867126 13070116 14558274 18114795 17437605 2190704 15424385 15132583 16485783 18245087 11195180 17409835 2461296 3291439 2918873 2994648 13308280 12023211 10458166 9525165 1305012 6458501 13773378 6564264 15161058 717818 8440016 13556529 263467 8853166 11023556 8673855 8906508 4780475 7675275 13769873 7479400 15584575 11539071 1996641...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
68
Time: 15 ms, memory: 7396 KB
Verdict: OK
Input
110 1379
761708861 678091888 655002494 438667517 618938315 217574729 191625327 878966982 398324875 172240139 282812032 331428507 254438975 568675982 126912187 865824334 960257688 487785118 612734281 827368419 385486391 110916719 973481827 96090531 23179977 16044277 770189855 284027225 410757066 874919773 222417996 968175024 279266411 566540099 327735413 469629377 409336704 617620116 895880498 670685623 804651172 53305372 356644074 242706119 715273 444294886 658835237 493414357 46657866 438279411 349966967...
Participant's output
WIN
761708861 678091888 655002494 438667517 618938315 217574729 191625327 878966982 398324875 172240139 282812032 331428507 254438975 568675982 126912187 865824334 960257688 487785118 612734281 827368419 385486391 110916719 973481827 96090531 23179977 16044277 770189855 284027225 410757066 874919773 222417996 968175024 279266411 566540099 327735413 469629377 409336704 617620116 895880498 670685623 804651172 53305372 356644074 242706119 715273 444294886 658835237 493414357 46657866 438279411 349966967 7640...
Jury's answer
WIN
761708861 678091888 655002494 438667517 618938315 217574729 191625327 878966982 398324875 172240139 282812032 331428507 254438975 568675982 126912187 865824334 960257688 487785118 612734281 827368419 385486391 110916719 973481827 96090531 23179977 16044277 770189855 284027225 410757066 874919773 222417996 968175024 279266411 566540099 327735413 469629377 409336704 617620116 895880498 670685623 804651172 53305372 356644074 242706119 715273 444294886 658835237 493414357 46657866 438279411 349966967 7640...
Checker comment
ok optimal move
 
 
69
Time: 0 ms, memory: 7396 KB
Verdict: OK
Input
108 1612
412632074 610342271 678389922 942082843 886084938 496862798 69962771 67823864 373894974 117533382 781153905 558906545 211292032 290947257 877161528 519684428 633566765 62746823 748986619 989849446 127561062 714815163 353120840 858649683 177722509 220049911 185593628 110889504 230513030 828226393 977258941 395120591 102840107 885026159 621685141 624741061 670543852 523776355 926399221 90702057 470136570 450448511 492120716 330725814 47395509 427538511 808723839 955347388 372589660 376461026 290543...
Participant's output
WIN
412632074 610342271 678389922 942082843 886084938 496862798 69962771 67823864 373894974 756061562 781153905 558906545 211292032 290947257 877161528 519684428 633566765 62746823 748986619 989849446 127561062 714815163 353120840 858649683 177722509 220049911 185593628 110889504 230513030 828226393 977258941 395120591 102840107 885026159 677790182 624741061 294673588 523776355 926399221 90702057 470136570 233771101 492120716 330725814 47395509 427538511 808723839 358320915 289638134 376461026 290543685 7...
Jury's answer
WIN
412632074 610342271 678389922 942082843 886084938 496862798 69962771 67823864 373894974 756061562 781153905 558906545 211292032 290947257 877161528 519684428 633566765 62746823 748986619 989849446 127561062 714815163 353120840 858649683 177722509 220049911 185593628 110889504 230513030 828226393 977258941 395120591 102840107 885026159 677790182 624741061 294673588 523776355 926399221 90702057 470136570 233771101 492120716 330725814 47395509 427538511 808723839 358320915 289638134 376461026 290543685 7...
Checker comment
ok optimal move
 
 
70
Time: 218 ms, memory: 11300 KB
Verdict: OK
Input
200000 172885
196030773 980287756 705318721 614344820 158100214 108775473 240406043 376039215 687852860 819326170 305048005 387718245 568242975 617939074 543291931 929 382217173 808101956 314223523 295404952 584033031 117750618 172904397 599999394 959163368 570320348 849784231 41405685 365061521 169172342 489119899 427278718 27118510 118911019 47346370 617771603 380977654 933182790 552883079 208504938 615639365 934676574 637620399 293611681 68336206 417052110 760135004 918813527 596198502 96731041 2870226...
Participant's output
WIN
83654331 980287756 705318721 614344820 158100214 108775473 240406043 376039215 687852860 819326170 305048005 387718245 568242975 617939074 543291931 929 382217173 808101956 314223523 295404952 584033031 117750618 172904397 599999394 959163368 570320348 849784231 41405685 365061521 169172342 489119899 427278718 27118510 118911019 47346370 617771603 380977654 933182790 552883079 208504938 615639365 934676574 637620399 293611681 68336206 417052110 760135004 918813527 596198502 96731041 287022674 87437645...
Jury's answer
WIN
83654331 980287756 705318721 614344820 158100214 108775473 240406043 376039215 687852860 819326170 305048005 387718245 568242975 617939074 543291931 929 382217173 808101956 314223523 295404952 584033031 117750618 172904397 599999394 959163368 570320348 849784231 41405685 365061521 169172342 489119899 427278718 27118510 118911019 47346370 617771603 380977654 933182790 552883079 208504938 615639365 934676574 637620399 293611681 68336206 417052110 760135004 918813527 596198502 96731041 287022674 87437645...
Checker comment
ok optimal move
 
 
71
Time: 171 ms, memory: 11724 KB
Verdict: OK
Input
180000 200000
688598329 949620588 180166486 105277855 959368560 47966673 197744609 366359627 547267980 898616485 271821125 418720712 671890287 21372271 320986091 421433429 349451346 465423748 846086840 671476395 22341938 423418034 615594871 299467009 796383719 107260339 132919203 538588242 970917613 33268668 142441287 382647249 206666588 327354723 237475268 431494576 831879059 500352493 985181556 728386687 771462158 991177774 597681180 342351605 10139925 745054372 841483516 827485858 560638227 727224033 6...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
72
Time: 249 ms, memory: 11868 KB
Verdict: OK
Input
191919 199926
7635951 2383712 340000 1355960 9754892 2515604 368099 2439885 2902861 3972287 5574145 2959778 6594322 7176948 1615660 7727866 9203651 1586102 2642924 8066483 5447513 9923887 4422770 5891034 5753308 5737362 9834229 835890 3029851 9120026 6401990 216495 455825 9137741 7065932 8774729 3699071 2094878 8811847 1890813 6495057 6420526 3038453 6156859 8769502 6700262 503111 5770810 277907 4534516 5354436 55159 6471116 8619914 9238050 845964 956750 9112759 3464763 3819492 3555259 7086378 6179503 438...
Participant's output
WIN
7635951 2383712 340000 1355960 9754892 2515604 368099 2439885 2902861 3972287 5574145 2959778 6594322 7176948 1615660 7727866 9203651 1586102 2642924 8066483 5447513 9923887 4422770 5891034 5753308 5737362 9834229 835890 3029851 9120026 6401990 216495 455825 9137741 7065932 8774729 3699071 2094878 8811847 1890813 6495057 6420526 3038453 6156859 8769502 6700262 503111 5770810 277907 4534516 5354436 55159 6471116 8619914 9238050 845964 956750 9112759 3464763 3819492 3555259 7086378 6179503 4386934 34833...
Jury's answer
WIN
7635951 2383712 340000 1355960 9754892 2515604 368099 2439885 2902861 3972287 5574145 2959778 6594322 7176948 1615660 7727866 9203651 1586102 2642924 8066483 5447513 9923887 4422770 5891034 5753308 5737362 9834229 835890 3029851 9120026 6401990 216495 455825 9137741 7065932 8774729 3699071 2094878 8811847 1890813 6495057 6420526 3038453 6156859 8769502 6700262 503111 5770810 277907 4534516 5354436 55159 6471116 8619914 9238050 845964 956750 9112759 3464763 3819492 3555259 7086378 6179503 4386934 34833...
Checker comment
ok optimal move
 
 
73
Time: 233 ms, memory: 13156 KB
Verdict: OK
Input
199000 199056
190378098 23373502 145466226 184689985 1471375 80351323 182203982 166232153 224240922 69790235 105415846 139803777 38653971 168525663 200016360 122895435 15626157 110864324 83390724 103210526 76332117 123110072 79331409 196522382 101802781 213420117 80773925 115452283 189330587 34242987 128661377 46895105 178730176 7918008 190364414 2305848 218901238 99631568 137636624 234379537 93437734 137263885 183241483 105386714 122108305 134069805 81054262 127712576 124878846 246486910 56472675 1259199...
Participant's output
WIN
190378098 23373502 145466226 184689985 1471375 80351323 182203982 166232153 224240922 69790235 105415846 139803777 38653971 168525663 200016360 122895435 15626157 110864324 83390724 103210526 76332117 123110072 79331409 196522382 101802781 213420117 80773925 115452283 189330587 34242987 128661377 46895105 178730176 7918008 190364414 2305848 218901238 99631568 137636624 234379537 93437734 137263885 183241483 105386714 122108305 134069805 81054262 127712576 124878846 246486910 56472675 125919998 4027239...
Jury's answer
WIN
190378098 23373502 145466226 184689985 1471375 80351323 182203982 166232153 224240922 69790235 105415846 139803777 38653971 168525663 200016360 122895435 15626157 110864324 83390724 103210526 76332117 123110072 79331409 196522382 101802781 213420117 80773925 115452283 189330587 34242987 128661377 46895105 178730176 7918008 190364414 2305848 218901238 99631568 137636624 234379537 93437734 137263885 183241483 105386714 122108305 134069805 81054262 127712576 124878846 246486910 56472675 125919998 4027239...
Checker comment
ok optimal move
 
 
74
Time: 218 ms, memory: 13124 KB
Verdict: OK
Input
198989 199111
691390860 515994778 291790591 725912854 429176201 817134994 604869951 636208542 107968821 72196537 372875916 666684506 992649739 778624564 831055773 65249994 546560522 197678492 938798235 260363780 167100323 79356265 636320686 731458766 503634424 265433869 527096529 550257573 927407261 869951925 712650011 672229420 614392942 928724593 85069227 561639683 52861978 994538436 388452306 344315986 224282229 383656437 770721903 167599926 882514929 119792618 934518117 410069678 127013845 76407918 85...
Participant's output
LOSE
Jury's answer
LOSE
Checker comment
ok losing configuration
 
 
75
Time: 249 ms, memory: 12656 KB
Verdict: OK
Input
199199 199710
684550333 893493740 591093858 448936698 457189997 147250268 753998656 508450802 631349946 477232672 683567524 490610798 630862625 621166367 326466645 998232183 748673309 284582283 279830956 574642606 530483244 202065952 324462494 104496206 161728341 718266679 907402704 385080253 167375193 401535261 801311023 975942909 19679461 34642336 734574018 363478950 547934730 144478999 877733377 438273801 578559021 760752772 380141090 858063833 968161631 899123129 772109482 121637186 282804180 96337866...
Participant's output
WIN
684550333 893493740 591093858 448936698 457189997 147250268 753998656 508450802 631349946 477232672 683567524 490610798 630862625 621166367 326466645 998232183 748673309 284582283 279830956 574642606 530483244 202065952 324462494 104496206 161728341 718266679 907402704 385080253 167375193 401535261 801311023 975942909 19679461 34642336 734574018 363478950 547934730 144478999 877733377 438273801 578559021 760752772 380141090 858063833 968161631 899123129 772109482 121637186 282804180 963378669 94187257...
Jury's answer
WIN
684550333 893493740 591093858 448936698 457189997 147250268 753998656 508450802 631349946 477232672 683567524 490610798 630862625 621166367 326466645 998232183 748673309 284582283 279830956 574642606 530483244 202065952 324462494 104496206 161728341 718266679 907402704 385080253 167375193 401535261 801311023 975942909 19679461 34642336 734574018 363478950 547934730 144478999 877733377 438273801 578559021 760752772 380141090 858063833 968161631 899123129 772109482 121637186 282804180 963378669 94187257...
Checker comment
ok optimal move
 
 
76
Time: 233 ms, memory: 13348 KB
Verdict: OK
Input
199841 199993
687272 79588 295844 528521 120378 622532 81030 276104 303899 480891 31104 568818 205928 438108 353361 161428 95157 598004 523475 463556 73899 301500 442869 148025 185756 446945 96034 601266 285063 415008 169411 265064 286814 555273 211955 651468 517314 191398 35320 644266 31143 319513 24597 447238 553023 656670 593350 327092 374131 55712 312750 246410 616212 616773 666267 602684 132814 650263 648367 435173 202219 84697 311272 626316 305098 660870 192675 505820 285892 218835 50978 468678 2862...
Participant's output
WIN
687272 79588 295844 528521 120378 622532 81030 276104 303899 480891 31104 568818 205928 438108 353361 161428 95157 598004 523475 463556 73899 301500 442869 148025 185756 446945 96034 601266 285063 415008 169411 265064 286814 555273 211955 651468 517314 191398 35320 644266 31143 319513 24597 447238 553023 656670 593350 327092 374131 55712 312750 246410 616212 616773 666267 602684 132814 650263 648367 435173 202219 84697 311272 626316 305098 660870 192675 505820 285892 218835 50978 468678 286281 60886 3...
Jury's answer
WIN
687272 79588 295844 528521 120378 622532 81030 276104 303899 480891 31104 568818 205928 438108 353361 161428 95157 598004 523475 463556 73899 301500 442869 148025 185756 446945 96034 601266 285063 415008 169411 265064 286814 555273 211955 651468 517314 191398 35320 644266 31143 319513 24597 447238 553023 656670 593350 327092 374131 55712 312750 246410 616212 616773 666267 602684 132814 650263 648367 435173 202219 84697 311272 626316 305098 660870 192675 505820 285892 218835 50978 468678 286281 60886 3...
Checker comment
ok optimal move