QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#266617 | #7868. 天空度假山庄 | 275307894a | 100 ✓ | 44ms | 4016kb | C++14 | 1.4kb | 2023-11-26 15:55:27 | 2023-11-26 15:55:29 |
Judging History
answer
#include<bits/stdc++.h>
#define Gc() getchar()
#define Me(x,y) memset(x,y,sizeof(x))
#define Mc(x,y) memcpy(x,y,sizeof(x))
#define d(x,y) ((m)*(x-1)+(y))
#define R(n) (rnd()%(n)+1)
#define Pc(x) putchar(x)
#define LB lower_bound
#define UB upper_bound
#define fi first
#define se second
#define eb emplace_back
using namespace std;using ll=long long;using db=double;using lb=long db;using ui=unsigned;using ull=unsigned long long;using pii=pair<int,int>;using LL=__int128;
const int N=1e3+5,M=N*4+5,K=(1<<25)+5,mod=1e9+7,Mod=mod-1;const db eps=1e-9;const int INF=1e9+7;mt19937 rnd(time(0));
int n,k;
void Go(int &x,int y){
x=(x+y+n)%n;
if(!x) x=n;
printf("%d ",x);
}
int main(){
int i,j;scanf("%d%d",&n,&k);
for(i=1;i<n;i++){
int x=i;
if(k%4==1){
for(int j=k;j>1;j-=4){
Go(x,j);
Go(x,-(j-1));
Go(x,-(j-2));
Go(x,j-3);
}
Go(x,1);
}else if(k%4==2){
for(int j=k;j>2;j-=4){
Go(x,j);
Go(x,-(j-1));
Go(x,-(j-2));
Go(x,j-3);
}
Go(x,2);Go(x,-1);
}else if(k%4==3){
Go(x,k+1);
Go(x,-(k-1));
for(int j=k-2;j>1;j-=4){
Go(x,j);
Go(x,-(j-1));
Go(x,-(j-2));
Go(x,j-3);
}
Go(x,-1);
}else{
Go(x,k+1);
Go(x,-(k-1));
Go(x,-(k-2));
Go(x,k-3);
for(int j=k-4;j;j-=4){
Go(x,j);
Go(x,-(j-1));
Go(x,-(j-2));
Go(x,j-3);
}
}
}
}
详细
Subtask #1:
score: 5
Accepted
Test #1:
score: 5
Accepted
time: 1ms
memory: 4012kb
input:
8216 1
output:
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 10...
result:
ok correct
Test #2:
score: 0
Accepted
time: 1ms
memory: 4008kb
input:
5166 2
output:
3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17 16 18 17 19 18 20 19 21 20 22 21 23 22 24 23 25 24 26 25 27 26 28 27 29 28 30 29 31 30 32 31 33 32 34 33 35 34 36 35 37 36 38 37 39 38 40 39 41 40 42 41 43 42 44 43 45 44 46 45 47 46 48 47 49 48 50 49 51 50 52 51 53 52 54 53 55 ...
result:
ok correct
Test #3:
score: 0
Accepted
time: 1ms
memory: 3928kb
input:
7445 2
output:
3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17 16 18 17 19 18 20 19 21 20 22 21 23 22 24 23 25 24 26 25 27 26 28 27 29 28 30 29 31 30 32 31 33 32 34 33 35 34 36 35 37 36 38 37 39 38 40 39 41 40 42 41 43 42 44 43 45 44 46 45 47 46 48 47 49 48 50 49 51 50 52 51 53 52 54 53 55 ...
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3948kb
input:
1295 2
output:
3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17 16 18 17 19 18 20 19 21 20 22 21 23 22 24 23 25 24 26 25 27 26 28 27 29 28 30 29 31 30 32 31 33 32 34 33 35 34 36 35 37 36 38 37 39 38 40 39 41 40 42 41 43 42 44 43 45 44 46 45 47 46 48 47 49 48 50 49 51 50 52 51 53 52 54 53 55 ...
result:
ok correct
Subtask #2:
score: 20
Accepted
Test #5:
score: 20
Accepted
time: 37ms
memory: 3928kb
input:
86132 9
output:
10 2 86127 1 6 2 86131 1 2 11 3 86128 2 7 3 86132 2 3 12 4 86129 3 8 4 1 3 4 13 5 86130 4 9 5 2 4 5 14 6 86131 5 10 6 3 5 6 15 7 86132 6 11 7 4 6 7 16 8 1 7 12 8 5 7 8 17 9 2 8 13 9 6 8 9 18 10 3 9 14 10 7 9 10 19 11 4 10 15 11 8 10 11 20 12 5 11 16 12 9 11 12 21 13 6 12 17 13 10 12 13 22 14 7 13 18...
result:
ok correct
Test #6:
score: 0
Accepted
time: 34ms
memory: 3860kb
input:
73452 11
output:
13 3 12 4 73449 3 8 4 1 3 2 14 4 13 5 73450 4 9 5 2 4 3 15 5 14 6 73451 5 10 6 3 5 4 16 6 15 7 73452 6 11 7 4 6 5 17 7 16 8 1 7 12 8 5 7 6 18 8 17 9 2 8 13 9 6 8 7 19 9 18 10 3 9 14 10 7 9 8 20 10 19 11 4 10 15 11 8 10 9 21 11 20 12 5 11 16 12 9 11 10 22 12 21 13 6 12 17 13 10 12 11 23 13 22 14 7 13...
result:
ok correct
Test #7:
score: 0
Accepted
time: 18ms
memory: 3940kb
input:
23283 20
output:
22 3 23268 2 18 3 23272 2 14 3 23276 2 10 3 23280 2 6 3 1 2 23 4 23269 3 19 4 23273 3 15 4 23277 3 11 4 23281 3 7 4 2 3 24 5 23270 4 20 5 23274 4 16 5 23278 4 12 5 23282 4 8 5 3 4 25 6 23271 5 21 6 23275 5 17 6 23279 5 13 6 23283 5 9 6 4 5 26 7 23272 6 22 7 23276 6 18 7 23280 6 14 7 1 6 10 7 5 6 27 ...
result:
ok correct
Test #8:
score: 0
Accepted
time: 29ms
memory: 3948kb
input:
36944 17
output:
18 2 36931 1 14 2 36935 1 10 2 36939 1 6 2 36943 1 2 19 3 36932 2 15 3 36936 2 11 3 36940 2 7 3 36944 2 3 20 4 36933 3 16 4 36937 3 12 4 36941 3 8 4 1 3 4 21 5 36934 4 17 5 36938 4 13 5 36942 4 9 5 2 4 5 22 6 36935 5 18 6 36939 5 14 6 36943 5 10 6 3 5 6 23 7 36936 6 19 7 36940 6 15 7 36944 6 11 7 4 ...
result:
ok correct
Test #9:
score: 0
Accepted
time: 29ms
memory: 3932kb
input:
61927 10
output:
11 2 61921 1 7 2 61925 1 3 2 12 3 61922 2 8 3 61926 2 4 3 13 4 61923 3 9 4 61927 3 5 4 14 5 61924 4 10 5 1 4 6 5 15 6 61925 5 11 6 2 5 7 6 16 7 61926 6 12 7 3 6 8 7 17 8 61927 7 13 8 4 7 9 8 18 9 1 8 14 9 5 8 10 9 19 10 2 9 15 10 6 9 11 10 20 11 3 10 16 11 7 10 12 11 21 12 4 11 17 12 8 11 13 12 22 1...
result:
ok correct
Subtask #3:
score: 20
Accepted
Dependency #2:
100%
Accepted
Test #10:
score: 20
Accepted
time: 0ms
memory: 3928kb
input:
111 17
output:
18 2 98 1 14 2 102 1 10 2 106 1 6 2 110 1 2 19 3 99 2 15 3 103 2 11 3 107 2 7 3 111 2 3 20 4 100 3 16 4 104 3 12 4 108 3 8 4 1 3 4 21 5 101 4 17 5 105 4 13 5 109 4 9 5 2 4 5 22 6 102 5 18 6 106 5 14 6 110 5 10 6 3 5 6 23 7 103 6 19 7 107 6 15 7 111 6 11 7 4 6 7 24 8 104 7 20 8 108 7 16 8 1 7 12 8 5 ...
result:
ok correct
Test #11:
score: 0
Accepted
time: 2ms
memory: 3924kb
input:
462 86
output:
87 2 380 1 83 2 384 1 79 2 388 1 75 2 392 1 71 2 396 1 67 2 400 1 63 2 404 1 59 2 408 1 55 2 412 1 51 2 416 1 47 2 420 1 43 2 424 1 39 2 428 1 35 2 432 1 31 2 436 1 27 2 440 1 23 2 444 1 19 2 448 1 15 2 452 1 11 2 456 1 7 2 460 1 3 2 88 3 381 2 84 3 385 2 80 3 389 2 76 3 393 2 72 3 397 2 68 3 401 2 ...
result:
ok correct
Test #12:
score: 0
Accepted
time: 1ms
memory: 3928kb
input:
262 43
output:
45 3 44 4 227 3 40 4 231 3 36 4 235 3 32 4 239 3 28 4 243 3 24 4 247 3 20 4 251 3 16 4 255 3 12 4 259 3 8 4 1 3 2 46 4 45 5 228 4 41 5 232 4 37 5 236 4 33 5 240 4 29 5 244 4 25 5 248 4 21 5 252 4 17 5 256 4 13 5 260 4 9 5 2 4 3 47 5 46 6 229 5 42 6 233 5 38 6 237 5 34 6 241 5 30 6 245 5 26 6 249 5 2...
result:
ok correct
Test #13:
score: 0
Accepted
time: 4ms
memory: 3820kb
input:
672 125
output:
126 2 551 1 122 2 555 1 118 2 559 1 114 2 563 1 110 2 567 1 106 2 571 1 102 2 575 1 98 2 579 1 94 2 583 1 90 2 587 1 86 2 591 1 82 2 595 1 78 2 599 1 74 2 603 1 70 2 607 1 66 2 611 1 62 2 615 1 58 2 619 1 54 2 623 1 50 2 627 1 46 2 631 1 42 2 635 1 38 2 639 1 34 2 643 1 30 2 647 1 26 2 651 1 22 2 65...
result:
ok correct
Test #14:
score: 0
Accepted
time: 4ms
memory: 3928kb
input:
747 127
output:
129 3 128 4 628 3 124 4 632 3 120 4 636 3 116 4 640 3 112 4 644 3 108 4 648 3 104 4 652 3 100 4 656 3 96 4 660 3 92 4 664 3 88 4 668 3 84 4 672 3 80 4 676 3 76 4 680 3 72 4 684 3 68 4 688 3 64 4 692 3 60 4 696 3 56 4 700 3 52 4 704 3 48 4 708 3 44 4 712 3 40 4 716 3 36 4 720 3 32 4 724 3 28 4 728 3 ...
result:
ok correct
Test #15:
score: 0
Accepted
time: 2ms
memory: 3816kb
input:
404 72
output:
74 3 337 2 70 3 341 2 66 3 345 2 62 3 349 2 58 3 353 2 54 3 357 2 50 3 361 2 46 3 365 2 42 3 369 2 38 3 373 2 34 3 377 2 30 3 381 2 26 3 385 2 22 3 389 2 18 3 393 2 14 3 397 2 10 3 401 2 6 3 1 2 75 4 338 3 71 4 342 3 67 4 346 3 63 4 350 3 59 4 354 3 55 4 358 3 51 4 362 3 47 4 366 3 43 4 370 3 39 4 3...
result:
ok correct
Subtask #4:
score: 20
Accepted
Test #16:
score: 20
Accepted
time: 18ms
memory: 3928kb
input:
1777 229
output:
230 2 1552 1 226 2 1556 1 222 2 1560 1 218 2 1564 1 214 2 1568 1 210 2 1572 1 206 2 1576 1 202 2 1580 1 198 2 1584 1 194 2 1588 1 190 2 1592 1 186 2 1596 1 182 2 1600 1 178 2 1604 1 174 2 1608 1 170 2 1612 1 166 2 1616 1 162 2 1620 1 158 2 1624 1 154 2 1628 1 150 2 1632 1 146 2 1636 1 142 2 1640 1 1...
result:
ok correct
Test #17:
score: 0
Accepted
time: 11ms
memory: 4008kb
input:
1129 229
output:
230 2 904 1 226 2 908 1 222 2 912 1 218 2 916 1 214 2 920 1 210 2 924 1 206 2 928 1 202 2 932 1 198 2 936 1 194 2 940 1 190 2 944 1 186 2 948 1 182 2 952 1 178 2 956 1 174 2 960 1 170 2 964 1 166 2 968 1 162 2 972 1 158 2 976 1 154 2 980 1 150 2 984 1 146 2 988 1 142 2 992 1 138 2 996 1 134 2 1000 1...
result:
ok correct
Test #18:
score: 0
Accepted
time: 44ms
memory: 3852kb
input:
4253 233
output:
234 2 4024 1 230 2 4028 1 226 2 4032 1 222 2 4036 1 218 2 4040 1 214 2 4044 1 210 2 4048 1 206 2 4052 1 202 2 4056 1 198 2 4060 1 194 2 4064 1 190 2 4068 1 186 2 4072 1 182 2 4076 1 178 2 4080 1 174 2 4084 1 170 2 4088 1 166 2 4092 1 162 2 4096 1 158 2 4100 1 154 2 4104 1 150 2 4108 1 146 2 4112 1 1...
result:
ok correct
Test #19:
score: 0
Accepted
time: 24ms
memory: 3956kb
input:
2311 233
output:
234 2 2082 1 230 2 2086 1 226 2 2090 1 222 2 2094 1 218 2 2098 1 214 2 2102 1 210 2 2106 1 206 2 2110 1 202 2 2114 1 198 2 2118 1 194 2 2122 1 190 2 2126 1 186 2 2130 1 182 2 2134 1 178 2 2138 1 174 2 2142 1 170 2 2146 1 166 2 2150 1 162 2 2154 1 158 2 2158 1 154 2 2162 1 150 2 2166 1 146 2 2170 1 1...
result:
ok correct
Test #20:
score: 0
Accepted
time: 30ms
memory: 3820kb
input:
6712 114
output:
115 2 6602 1 111 2 6606 1 107 2 6610 1 103 2 6614 1 99 2 6618 1 95 2 6622 1 91 2 6626 1 87 2 6630 1 83 2 6634 1 79 2 6638 1 75 2 6642 1 71 2 6646 1 67 2 6650 1 63 2 6654 1 59 2 6658 1 55 2 6662 1 51 2 6666 1 47 2 6670 1 43 2 6674 1 39 2 6678 1 35 2 6682 1 31 2 6686 1 27 2 6690 1 23 2 6694 1 19 2 669...
result:
ok correct
Test #21:
score: 0
Accepted
time: 6ms
memory: 3936kb
input:
1050 114
output:
115 2 940 1 111 2 944 1 107 2 948 1 103 2 952 1 99 2 956 1 95 2 960 1 91 2 964 1 87 2 968 1 83 2 972 1 79 2 976 1 75 2 980 1 71 2 984 1 67 2 988 1 63 2 992 1 59 2 996 1 55 2 1000 1 51 2 1004 1 47 2 1008 1 43 2 1012 1 39 2 1016 1 35 2 1020 1 31 2 1024 1 27 2 1028 1 23 2 1032 1 19 2 1036 1 15 2 1040 1...
result:
ok correct
Test #22:
score: 0
Accepted
time: 21ms
memory: 3932kb
input:
1132 514
output:
515 2 622 1 511 2 626 1 507 2 630 1 503 2 634 1 499 2 638 1 495 2 642 1 491 2 646 1 487 2 650 1 483 2 654 1 479 2 658 1 475 2 662 1 471 2 666 1 467 2 670 1 463 2 674 1 459 2 678 1 455 2 682 1 451 2 686 1 447 2 690 1 443 2 694 1 439 2 698 1 435 2 702 1 431 2 706 1 427 2 710 1 423 2 714 1 419 2 718 1 ...
result:
ok correct
Test #23:
score: 0
Accepted
time: 25ms
memory: 3860kb
input:
1130 514
output:
515 2 620 1 511 2 624 1 507 2 628 1 503 2 632 1 499 2 636 1 495 2 640 1 491 2 644 1 487 2 648 1 483 2 652 1 479 2 656 1 475 2 660 1 471 2 664 1 467 2 668 1 463 2 672 1 459 2 676 1 455 2 680 1 451 2 684 1 447 2 688 1 443 2 692 1 439 2 696 1 435 2 700 1 431 2 704 1 427 2 708 1 423 2 712 1 419 2 716 1 ...
result:
ok correct
Subtask #5:
score: 35
Accepted
Dependency #1:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #24:
score: 35
Accepted
time: 28ms
memory: 3876kb
input:
1151 564
output:
566 3 592 2 562 3 596 2 558 3 600 2 554 3 604 2 550 3 608 2 546 3 612 2 542 3 616 2 538 3 620 2 534 3 624 2 530 3 628 2 526 3 632 2 522 3 636 2 518 3 640 2 514 3 644 2 510 3 648 2 506 3 652 2 502 3 656 2 498 3 660 2 494 3 664 2 490 3 668 2 486 3 672 2 482 3 676 2 478 3 680 2 474 3 684 2 470 3 688 2 ...
result:
ok correct
Test #25:
score: 0
Accepted
time: 23ms
memory: 3856kb
input:
1042 511
output:
513 3 512 4 539 3 508 4 543 3 504 4 547 3 500 4 551 3 496 4 555 3 492 4 559 3 488 4 563 3 484 4 567 3 480 4 571 3 476 4 575 3 472 4 579 3 468 4 583 3 464 4 587 3 460 4 591 3 456 4 595 3 452 4 599 3 448 4 603 3 444 4 607 3 440 4 611 3 436 4 615 3 432 4 619 3 428 4 623 3 424 4 627 3 420 4 631 3 416 4 ...
result:
ok correct
Test #26:
score: 0
Accepted
time: 29ms
memory: 3940kb
input:
1170 575
output:
577 3 576 4 603 3 572 4 607 3 568 4 611 3 564 4 615 3 560 4 619 3 556 4 623 3 552 4 627 3 548 4 631 3 544 4 635 3 540 4 639 3 536 4 643 3 532 4 647 3 528 4 651 3 524 4 655 3 520 4 659 3 516 4 663 3 512 4 667 3 508 4 671 3 504 4 675 3 500 4 679 3 496 4 683 3 492 4 687 3 488 4 691 3 484 4 695 3 480 4 ...
result:
ok correct
Test #27:
score: 0
Accepted
time: 33ms
memory: 3820kb
input:
1249 615
output:
617 3 616 4 642 3 612 4 646 3 608 4 650 3 604 4 654 3 600 4 658 3 596 4 662 3 592 4 666 3 588 4 670 3 584 4 674 3 580 4 678 3 576 4 682 3 572 4 686 3 568 4 690 3 564 4 694 3 560 4 698 3 556 4 702 3 552 4 706 3 548 4 710 3 544 4 714 3 540 4 718 3 536 4 722 3 532 4 726 3 528 4 730 3 524 4 734 3 520 4 ...
result:
ok correct
Test #28:
score: 0
Accepted
time: 12ms
memory: 3936kb
input:
746 364
output:
366 3 387 2 362 3 391 2 358 3 395 2 354 3 399 2 350 3 403 2 346 3 407 2 342 3 411 2 338 3 415 2 334 3 419 2 330 3 423 2 326 3 427 2 322 3 431 2 318 3 435 2 314 3 439 2 310 3 443 2 306 3 447 2 302 3 451 2 298 3 455 2 294 3 459 2 290 3 463 2 286 3 467 2 282 3 471 2 278 3 475 2 274 3 479 2 270 3 483 2 ...
result:
ok correct
Test #29:
score: 0
Accepted
time: 24ms
memory: 3912kb
input:
1146 565
output:
566 2 585 1 562 2 589 1 558 2 593 1 554 2 597 1 550 2 601 1 546 2 605 1 542 2 609 1 538 2 613 1 534 2 617 1 530 2 621 1 526 2 625 1 522 2 629 1 518 2 633 1 514 2 637 1 510 2 641 1 506 2 645 1 502 2 649 1 498 2 653 1 494 2 657 1 490 2 661 1 486 2 665 1 482 2 669 1 478 2 673 1 474 2 677 1 470 2 681 1 ...
result:
ok correct
Test #30:
score: 0
Accepted
time: 7ms
memory: 4016kb
input:
554 265
output:
266 2 293 1 262 2 297 1 258 2 301 1 254 2 305 1 250 2 309 1 246 2 313 1 242 2 317 1 238 2 321 1 234 2 325 1 230 2 329 1 226 2 333 1 222 2 337 1 218 2 341 1 214 2 345 1 210 2 349 1 206 2 353 1 202 2 357 1 198 2 361 1 194 2 365 1 190 2 369 1 186 2 373 1 182 2 377 1 178 2 381 1 174 2 385 1 170 2 389 1 ...
result:
ok correct
Test #31:
score: 0
Accepted
time: 24ms
memory: 3852kb
input:
1061 519
output:
521 3 520 4 550 3 516 4 554 3 512 4 558 3 508 4 562 3 504 4 566 3 500 4 570 3 496 4 574 3 492 4 578 3 488 4 582 3 484 4 586 3 480 4 590 3 476 4 594 3 472 4 598 3 468 4 602 3 464 4 606 3 460 4 610 3 456 4 614 3 452 4 618 3 448 4 622 3 444 4 626 3 440 4 630 3 436 4 634 3 432 4 638 3 428 4 642 3 424 4 ...
result:
ok correct
Test #32:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
173 78
output:
79 2 99 1 75 2 103 1 71 2 107 1 67 2 111 1 63 2 115 1 59 2 119 1 55 2 123 1 51 2 127 1 47 2 131 1 43 2 135 1 39 2 139 1 35 2 143 1 31 2 147 1 27 2 151 1 23 2 155 1 19 2 159 1 15 2 163 1 11 2 167 1 7 2 171 1 3 2 80 3 100 2 76 3 104 2 72 3 108 2 68 3 112 2 64 3 116 2 60 3 120 2 56 3 124 2 52 3 128 2 4...
result:
ok correct
Test #33:
score: 0
Accepted
time: 18ms
memory: 4012kb
input:
884 430
output:
431 2 458 1 427 2 462 1 423 2 466 1 419 2 470 1 415 2 474 1 411 2 478 1 407 2 482 1 403 2 486 1 399 2 490 1 395 2 494 1 391 2 498 1 387 2 502 1 383 2 506 1 379 2 510 1 375 2 514 1 371 2 518 1 367 2 522 1 363 2 526 1 359 2 530 1 355 2 534 1 351 2 538 1 347 2 542 1 343 2 546 1 339 2 550 1 335 2 554 1 ...
result:
ok correct
Test #34:
score: 0
Accepted
time: 21ms
memory: 3856kb
input:
1089 537
output:
538 2 556 1 534 2 560 1 530 2 564 1 526 2 568 1 522 2 572 1 518 2 576 1 514 2 580 1 510 2 584 1 506 2 588 1 502 2 592 1 498 2 596 1 494 2 600 1 490 2 604 1 486 2 608 1 482 2 612 1 478 2 616 1 474 2 620 1 470 2 624 1 466 2 628 1 462 2 632 1 458 2 636 1 454 2 640 1 450 2 644 1 446 2 648 1 442 2 652 1 ...
result:
ok correct
Test #35:
score: 0
Accepted
time: 4ms
memory: 3856kb
input:
433 207
output:
209 3 208 4 234 3 204 4 238 3 200 4 242 3 196 4 246 3 192 4 250 3 188 4 254 3 184 4 258 3 180 4 262 3 176 4 266 3 172 4 270 3 168 4 274 3 164 4 278 3 160 4 282 3 156 4 286 3 152 4 290 3 148 4 294 3 144 4 298 3 140 4 302 3 136 4 306 3 132 4 310 3 128 4 314 3 124 4 318 3 120 4 322 3 116 4 326 3 112 4 ...
result:
ok correct