CSES - Datatähti 2016 alku - Results
Submission details
Task:Kirjat
Sender:y2k
Submission time:2015-10-01 23:12:46 +0300
Language:Python2
Status:READY
Result:0
Feedback
groupverdictscore
#10
#20
#30
Test results
testverdicttimegroup
#10.06 s1details
#20.06 s1details
#30.05 s1details
#40.07 s1details
#50.05 s1details
#60.07 s1details
#70.05 s1details
#80.05 s1details
#90.06 s1details
#100.06 s1details
#110.07 s1details
#120.06 s1details
#130.06 s1details
#140.06 s1details
#150.07 s1details
#160.06 s1details
#170.05 s1details
#180.06 s1details
#190.06 s1details
#200.05 s1details
#210.07 s2details
#220.07 s2details
#230.05 s2details
#240.06 s2details
#250.06 s2details
#260.06 s2details
#270.05 s2details
#280.06 s2details
#290.06 s2details
#300.07 s2details
#310.07 s2details
#320.06 s2details
#330.07 s2details
#340.06 s2details
#350.06 s2details
#360.07 s2details
#370.05 s2details
#380.06 s2details
#390.06 s2details
#400.06 s2details
#410.06 s3details
#420.06 s3details
#430.05 s3details
#440.05 s3details
#450.05 s3details
#460.07 s3details
#470.07 s3details
#480.06 s3details
#490.06 s3details
#500.06 s3details
#510.05 s3details
#520.06 s3details
#530.05 s3details
#540.06 s3details
#550.05 s3details
#560.08 s3details
#570.08 s3details
#580.09 s3details
#590.09 s3details
#600.09 s3details

Code

import random
maara = 0
uusi = False
while maara < 3:
    maara = input()
taulu = [x*0 for x in range(maara)]
taulu2 = [x*0 for x in range(maara)]
taulu3 = [x*0 for x in range(maara)]
uusinta = True
for x in range(0,maara):
    a = 0
    b = 0
    c = 0
    uusi = True
    while not(a >= 1 and a <= maara and b >= 1 and b <= maara) or a == b or uusi == True :
        uusi = False
        a = input()
        b = input()
        taulu[x] = a
        taulu2[x] = b
        for e in range(0,x):
            if taulu[x] == taulu[e]:
                uusi = True
        for e in range(0,x):
            if taulu2[x] == taulu2[e]:
                uusi = True
for x in range(0,maara):
    c = taulu[x]
    while (c == taulu[x] or c == taulu2[x] or uusinta == True):
          
            uusinta = False
            c = random.randrange(1,maara+1)
            taulu3[x] = c
            for y in range(0,maara):
                if (taulu3[x] == taulu3[y] and x != y):
                    uusinta = True
for x in range(0,maara):
    print taulu3[x]
    

        

Test details

Test 1

Group: 1

Verdict:

input
3
2 1 3
3 2 1

correct output
1 3 2 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 1 3
      ^
SyntaxError: invalid syntax

Test 2

Group: 1

Verdict:

input
4
2 1 4 3
1 4 3 2

correct output
4 3 2 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 1 4 3
      ^
SyntaxError: invalid syntax

Test 3

Group: 1

Verdict:

input
4
4 3 2 1
3 1 4 2

correct output
1 2 3 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 3 2 1
      ^
SyntaxError: invalid syntax

Test 4

Group: 1

Verdict:

input
4
3 4 2 1
2 3 1 4

correct output
1 2 4 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    3 4 2 1
      ^
SyntaxError: invalid syntax

Test 5

Group: 1

Verdict:

input
4
4 1 3 2
2 3 1 4

correct output
1 4 2 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 1 3 2
      ^
SyntaxError: invalid syntax

Test 6

Group: 1

Verdict:

input
5
5 1 3 2 4
3 4 2 1 5

correct output
2 3 4 5 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 1 3 2 4
      ^
SyntaxError: invalid syntax

Test 7

Group: 1

Verdict:

input
5
4 2 3 5 1
3 5 2 1 4

correct output
1 4 5 2 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 2 3 5 1
      ^
SyntaxError: invalid syntax

Test 8

Group: 1

Verdict:

input
5
1 4 3 2 5
4 3 1 5 2

correct output
3 2 5 1 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 4 3 2 5
      ^
SyntaxError: invalid syntax

Test 9

Group: 1

Verdict:

input
5
5 3 2 1 4
4 2 1 3 5

correct output
1 4 5 2 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 3 2 1 4
      ^
SyntaxError: invalid syntax

Test 10

Group: 1

Verdict:

input
5
4 3 5 1 2
5 1 3 2 4

correct output
2 5 1 4 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 3 5 1 2
      ^
SyntaxError: invalid syntax

Test 11

Group: 1

Verdict:

input
5
5 1 3 2 4
2 5 4 3 1

correct output
3 4 2 1 5 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 1 3 2 4
      ^
SyntaxError: invalid syntax

Test 12

Group: 1

Verdict:

input
5
5 4 2 1 3
2 3 5 4 1

correct output
3 1 4 5 2 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 4 2 1 3
      ^
SyntaxError: invalid syntax

Test 13

Group: 1

Verdict:

input
5
1 5 2 4 3
5 1 4 3 2

correct output
3 2 5 1 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 5 2 4 3
      ^
SyntaxError: invalid syntax

Test 14

Group: 1

Verdict:

input
5
5 3 4 2 1
3 5 2 1 4

correct output
1 2 3 4 5 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 3 4 2 1
      ^
SyntaxError: invalid syntax

Test 15

Group: 1

Verdict:

input
5
4 5 3 2 1
3 2 1 4 5

correct output
5 3 2 1 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 5 3 2 1
      ^
SyntaxError: invalid syntax

Test 16

Group: 1

Verdict:

input
10
4 9 1 10 6 8 7 2 3 5
8 5 7 3 1 6 4 10 2 9

correct output
3 1 9 2 4 7 8 6 5 10 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 9 1 10 6 8 7 2 3 5
      ^
SyntaxError: invalid syntax

Test 17

Group: 1

Verdict:

input
10
6 10 8 2 3 5 7 1 4 9
4 1 2 10 5 6 9 3 8 7

correct output
5 7 1 3 9 2 4 10 6 8 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    6 10 8 2 3 5 7 1 4 9
       ^
SyntaxError: invalid syntax

Test 18

Group: 1

Verdict:

input
10
8 2 9 10 1 6 4 7 3 5
3 8 4 5 6 7 9 10 1 2

correct output
1 6 8 9 5 4 10 3 2 7 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    8 2 9 10 1 6 4 7 3 5
      ^
SyntaxError: invalid syntax

Test 19

Group: 1

Verdict:

input
10
6 3 8 9 5 7 4 10 1 2
8 9 10 1 3 6 2 7 4 5

correct output
5 1 6 2 8 10 7 3 9 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    6 3 8 9 5 7 4 10 1 2
      ^
SyntaxError: invalid syntax

Test 20

Group: 1

Verdict:

input
10
8 3 5 6 2 10 4 7 1 9
4 7 8 10 5 2 6 1 9 3

correct output
1 5 7 3 10 6 9 4 2 8 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    8 3 5 6 2 10 4 7 1 9
      ^
SyntaxError: invalid syntax

Test 21

Group: 2

Verdict:

input
3
3 2 1
1 3 2

correct output
2 1 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    3 2 1
      ^
SyntaxError: invalid syntax

Test 22

Group: 2

Verdict:

input
4
2 3 1 4
1 4 3 2

correct output
3 2 4 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 3 1 4
      ^
SyntaxError: invalid syntax

Test 23

Group: 2

Verdict:

input
4
2 4 3 1
4 1 2 3

correct output
3 2 1 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 4 3 1
      ^
SyntaxError: invalid syntax

Test 24

Group: 2

Verdict:

input
4
4 1 2 3
1 3 4 2

correct output
3 2 1 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 1 2 3
      ^
SyntaxError: invalid syntax

Test 25

Group: 2

Verdict:

input
4
2 1 3 4
4 3 2 1

correct output
3 4 1 2 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 1 3 4
      ^
SyntaxError: invalid syntax

Test 26

Group: 2

Verdict:

input
5
2 5 3 1 4
4 2 1 5 3

correct output
5 4 2 3 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 5 3 1 4
      ^
SyntaxError: invalid syntax

Test 27

Group: 2

Verdict:

input
5
1 4 3 2 5
5 2 4 1 3

correct output
4 5 2 3 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 4 3 2 5
      ^
SyntaxError: invalid syntax

Test 28

Group: 2

Verdict:

input
5
1 4 2 3 5
2 3 1 5 4

correct output
4 5 3 1 2 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 4 2 3 5
      ^
SyntaxError: invalid syntax

Test 29

Group: 2

Verdict:

input
5
4 5 2 3 1
5 3 1 2 4

correct output
1 2 3 4 5 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 5 2 3 1
      ^
SyntaxError: invalid syntax

Test 30

Group: 2

Verdict:

input
5
3 2 1 5 4
5 4 3 1 2

correct output
4 5 2 3 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    3 2 1 5 4
      ^
SyntaxError: invalid syntax

Test 31

Group: 2

Verdict:

input
5
5 3 1 2 4
3 2 4 1 5

correct output
4 5 2 3 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 3 1 2 4
      ^
SyntaxError: invalid syntax

Test 32

Group: 2

Verdict:

input
5
5 4 1 2 3
1 5 3 4 2

correct output
2 3 4 5 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 4 1 2 3
      ^
SyntaxError: invalid syntax

Test 33

Group: 2

Verdict:

input
5
1 4 5 3 2
3 5 2 4 1

correct output
5 1 3 2 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 4 5 3 2
      ^
SyntaxError: invalid syntax

Test 34

Group: 2

Verdict:

input
5
3 4 2 1 5
1 5 3 4 2

correct output
2 3 4 5 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    3 4 2 1 5
      ^
SyntaxError: invalid syntax

Test 35

Group: 2

Verdict:

input
5
2 3 1 5 4
5 4 2 1 3

correct output
1 2 3 4 5 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 3 1 5 4
      ^
SyntaxError: invalid syntax

Test 36

Group: 2

Verdict:

input
1000
63 72 78 267 740 551 517 698 6...

correct output
26 926 267 321 385 444 968 690...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    63 72 78 267 740 551 517 698 660 124 452 50 964 544 185 583 806 65 967 220 73 360 546 118 633 995 753 627 490 558 827 372 816 40 301 409 612 286 968 203 693 669 367 96 495 969 37 653 198 792 966 296 763 390 120 94 565 895 23 880 197 854 241 552 384 1000 944 679 468 6 195 122 254 795 102 419 427 68 930 784 246 564 550 642 819 556 99 751 437 683 243 306 597 572 504 152 39 235 138 411 713 781 284 916 724 364 349 260 950 347 820 330 832 366 866 399 189 516 990 12 292 288 445 824 380 907 82 305 27 178 608 681 113 109 522 654 434 4 931 999 518 194 706 749 293 332 779 588 537 137 398 652 563 216 501 835 391 1 586 49 123 694 978 164 783 919 44 945 92 274 153 19 859 429 149 723 259 403 814 171 738 480 310 308 876 326 791 325 188 897 253 488 466 18 687 730 261 631 691 593 872 958 201 148 879 569 357 255 457 908 239 860 373 382 547 252 213 100 808 151 318 728 582 535 700 8

Test 37

Group: 2

Verdict:

input
1000
954 273 839 263 331 161 938 51...

correct output
1 2 3 4 5 6 7 8 9 10 11 12 13 ...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    954 273 839 263 331 161 938 516 427 798 813 96 439 691 377 635 921 860 45 749 754 419 700 574 520 485 866 755 248 462 585 125 457 352 183 76 935 533 616 589 916 794 110 46 756 573 274 529 863 353 205 967 958 307 361 782 461 221 734 466 87 939 998 671 364 385 971 816 940 406 512 193 211 235 425 472 328 156 134 182 374 849 175 320 37 321 279 594 40 363 869 336 543 159 599 107 874 129 505 381 444 609 542 973 85 243 606 116 838 680 370 730 545 484 727 835 901 942 108 896 613 539 59 833 633 245 142 628 570 93 580 180 781 656 209 826 814 433 706 153 115 961 712 141 856 504 812 19 592 878 312 94 11 143 649 963 229 371 703 114 230 943 697 910 281 194 135 322 197 605 287 478 74 717 379 719 509 523 33 399 598 12 936 396 383 737 537 293 567 944 764 947 735 498 960 242 225 769 463 338 858 681 69 857 217 669 902 803 392 924 665 602 792 625 109 889 521 994 642 389 98 397 315

Test 38

Group: 2

Verdict:

input
1000
740 142 781 837 759 392 582 14...

correct output
111 291 702 70 561 469 707 897...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    740 142 781 837 759 392 582 140 242 349 534 753 672 702 75 48 915 466 583 506 409 10 822 285 974 405 67 480 712 960 610 150 273 264 471 438 810 965 166 925 902 338 340 746 245 277 638 695 497 640 478 936 421 942 823 210 956 45 910 95 688 371 537 173 978 436 847 903 625 554 699 112 280 124 523 563 855 967 143 578 524 791 885 525 107 187 132 168 137 496 612 787 555 548 164 948 4 832 176 993 774 439 211 196 507 613 360 714 183 627 385 167 406 380 194 399 118 597 705 828 914 724 995 558 481 139 952 969 911 873 431 505 141 413 620 590 102 747 149 121 65 742 908 226 618 572 484 621 968 821 246 913 115 310 657 55 384 463 415 152 430 425 848 800 364 248 239 643 151 378 839 904 938 804 921 382 17 876 830 91 912 807 987 282 719 788 982 564 227 144 717 475 296 520 519 617 460 323 808 283 40 762 159 175 768 985 429 901 339 104 206 939 172 63 284 783 761 440 352 573 798 213

Test 39

Group: 2

Verdict:

input
1000
960 550 210 529 691 277 63 975...

correct output
716 604 535 519 27 204 574 592...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    960 550 210 529 691 277 63 975 513 858 951 254 109 363 842 907 809 695 200 287 348 698 998 838 565 710 848 533 906 686 435 441 668 216 556 851 514 374 728 532 230 876 733 349 572 724 586 900 66 739 299 35 73 209 732 696 493 828 800 682 585 187 214 490 579 662 338 185 929 65 267 433 111 144 619 701 820 136 55 227 905 677 494 125 979 592 801 958 31 625 741 921 896 7 67 346 293 122 156 519 54 977 170 10 674 602 12 171 950 954 664 824 250 134 963 208 818 534 962 343 99 184 362 284 478 57 847 821 771 391 948 464 511 119 675 439 241 116 308 743 845 883 788 757 915 317 892 81 202 268 917 182 408 328 515 40 225 558 861 86 791 660 381 432 638 945 880 166 404 98 645 351 548 990 717 943 672 224 504 38 100 217 273 70 803 371 124 540 649 58 46 417 890 797 397 676 135 716 411 120 69 113 714 355 154 148 702 982 992 815 769 699 704 650 758 974 442 829 629 991 454 247 487 150 56

Test 40

Group: 2

Verdict:

input
1000
371 772 197 202 504 931 4 46 6...

correct output
26 926 267 321 385 444 968 690...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    371 772 197 202 504 931 4 46 633 574 569 150 938 74 257 941 88 542 446 781 791 568 809 607 391 189 331 664 937 477 434 5 989 544 424 42 808 642 432 205 337 2 153 498 268 425 479 853 505 117 835 508 149 686 38 550 554 108 737 811 768 946 936 668 85 183 370 86 685 186 558 385 666 962 399 3 194 555 934 672 450 830 974 707 714 871 490 113 955 667 407 826 921 612 602 379 697 489 376 494 238 877 280 843 339 306 723 927 883 25 588 295 44 910 252 923 443 919 721 378 82 496 500 282 831 124 942 170 129 91 372 901 675 175 431 706 922 68 250 138 259 249 215 234 823 36 131 806 223 906 426 570 97 540 527 452 299 172 507 15 947 515 456 457 900 123 310 613 155 790 596 965 140 720 485 957 904 256 383 754 448 750 244 214 676 954 691 793 992 471 436 342 388 80 653 689 797 468 982 178 12 240 597 406 867 660 235 182 807 317 912 254 166 305 96 847 23 630 730 565 696 891 314 441 645 2

Test 41

Group: 3

Verdict:

input
3
1 2 3
3 1 2

correct output
2 3 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 2 3
      ^
SyntaxError: invalid syntax

Test 42

Group: 3

Verdict:

input
4
4 2 3 1
2 3 1 4

correct output
1 4 2 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 2 3 1
      ^
SyntaxError: invalid syntax

Test 43

Group: 3

Verdict:

input
4
2 1 4 3
4 3 1 2

correct output
1 2 3 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 1 4 3
      ^
SyntaxError: invalid syntax

Test 44

Group: 3

Verdict:

input
4
1 4 2 3
2 3 4 1

correct output
3 2 1 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 4 2 3
      ^
SyntaxError: invalid syntax

Test 45

Group: 3

Verdict:

input
4
2 1 4 3
1 3 2 4

correct output
4 2 3 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 1 4 3
      ^
SyntaxError: invalid syntax

Test 46

Group: 3

Verdict:

input
5
3 1 5 2 4
5 4 2 1 3

correct output
1 2 3 4 5 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    3 1 5 2 4
      ^
SyntaxError: invalid syntax

Test 47

Group: 3

Verdict:

input
5
2 1 5 3 4
5 3 2 4 1

correct output
4 5 3 1 2 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 1 5 3 4
      ^
SyntaxError: invalid syntax

Test 48

Group: 3

Verdict:

input
5
5 1 4 3 2
3 5 1 2 4

correct output
1 2 3 4 5 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 1 4 3 2
      ^
SyntaxError: invalid syntax

Test 49

Group: 3

Verdict:

input
5
2 4 1 3 5
3 5 4 1 2

correct output
5 1 3 2 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    2 4 1 3 5
      ^
SyntaxError: invalid syntax

Test 50

Group: 3

Verdict:

input
5
5 2 3 4 1
2 1 4 3 5

correct output
1 4 5 2 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    5 2 3 4 1
      ^
SyntaxError: invalid syntax

Test 51

Group: 3

Verdict:

input
5
4 1 5 3 2
2 4 1 5 3

correct output
1 2 3 4 5 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 1 5 3 2
      ^
SyntaxError: invalid syntax

Test 52

Group: 3

Verdict:

input
5
3 1 5 2 4
1 4 2 3 5

correct output
5 2 1 4 3 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    3 1 5 2 4
      ^
SyntaxError: invalid syntax

Test 53

Group: 3

Verdict:

input
5
1 4 5 3 2
4 2 3 5 1

correct output
5 3 2 1 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 4 5 3 2
      ^
SyntaxError: invalid syntax

Test 54

Group: 3

Verdict:

input
5
1 4 5 2 3
4 2 3 1 5

correct output
2 3 4 5 1 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    1 4 5 2 3
      ^
SyntaxError: invalid syntax

Test 55

Group: 3

Verdict:

input
5
4 5 3 2 1
5 3 4 1 2

correct output
1 2 5 3 4 

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    4 5 3 2 1
      ^
SyntaxError: invalid syntax

Test 56

Group: 3

Verdict:

input
100000
74620 99226 537 63830 13777 69...

correct output
44158 25720 84658 90057 99607 ...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    74620 99226 537 63830 13777 69159 69946 99655 71259 33440 41010 98261 72582 14879 16637 27174 98205 45530 3034 42102 3489 58298 29131 7302 33422 99968 64921 2370 38416 80354 34211 56383 53129 15 19434 3146 32795 34137 45024 73627 85169 24249 60047 4390 22610 14690 79383 36477 29196 72853 23253 93616 53869 38121 31616 2451 95517 28356 84072 78755 50336 66188 53908 77011 99519 6553 27232 82263 23458 59957 27735 99369 36228 44404 19316 9174 84093 71465 3850 5933 9456 17894 47419 21413 55336 70747 13781 18051 26503 1081 66715 85649 81712 85897 31048 50413 67360 12180 3812 51630 65657 12256 35335 85611 17786 33690 5558 53925 11139 1953 20354 97148 71038 72786 56891 24660 46772 14829 48618 56504 23436 39685 87259 84214 63977 3437 59969 93575 51589 11407 24570 92217 85293 71826 97310 63 10289 24072 87437 8574 45105 71026 78831 16374 47073 83963 67389 6077 81308 99368 7

Test 57

Group: 3

Verdict:

input
100000
67665 19864 90761 58104 38796 ...

correct output
1 2 3 4 5 6 7 8 9 10 11 12 13 ...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    67665 19864 90761 58104 38796 78287 38113 88377 32091 95527 84376 54445 98377 49248 1030 12096 25200 94389 25667 69297 97833 51405 68282 76649 88173 22491 42666 99999 98906 64729 30425 21043 89624 69598 2982 14222 62538 71438 86074 87490 60097 91223 94406 47713 39455 71041 54383 5377 71156 51145 67597 9617 66103 82447 44429 37131 61918 45078 79695 33964 90112 86442 19151 10051 43837 83404 3775 82407 17625 94669 90399 3216 22252 92698 11598 14634 42252 64511 84520 3735 90272 77238 40347 45279 66327 5203 65125 50533 32040 74543 16575 94326 29503 51437 3979 86007 75716 80320 7086 169 34882 43845 92427 98138 21195 91043 7909 40456 30282 79571 67520 40406 89680 70262 92746 17481 70460 72220 83335 10587 66029 31467 76078 48808 88147 39503 81161 55893 50465 56062 53307 68599 89419 61708 79408 93079 45600 71974 84018 17360 35696 49321 62586 97867 23968 28317 77225 41416

Test 58

Group: 3

Verdict:

input
100000
63021 24161 40379 69157 89616 ...

correct output
4913 70683 13897 99969 66725 3...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    63021 24161 40379 69157 89616 97547 3679 84221 53546 36232 97951 14272 67957 34479 42391 3112 98917 24748 81704 78034 893 8819 50082 549 74043 91910 29429 84561 4190 27793 42454 23929 58808 88484 32816 35140 91340 80789 67148 30513 17464 99545 44479 88167 9005 6359 89327 57007 24656 15726 62555 55667 63278 78983 55362 36580 74282 93678 28746 59230 77626 99293 87666 14783 65020 34984 8582 8927 76379 8966 14362 2245 37292 70019 9045 53061 37644 2115 96981 73678 49003 28684 82841 6682 80343 12906 12926 41526 56000 26161 18900 49831 94009 20700 31959 67204 48900 84750 55483 44925 98009 78252 78339 87370 78824 19605 79286 15424 52008 79086 60958 46966 49411 80782 71869 90650 51460 54548 17105 59881 61403 85786 48541 82527 31 72407 66553 86659 44577 93927 67359 37564 5101 77831 47513 1353 66485 41249 71428 31118 77156 62675 42802 88582 50675 72382 81074 93906 19628 72

Test 59

Group: 3

Verdict:

input
100000
31500 70052 90949 56812 73871 ...

correct output
47064 17335 15460 80797 56435 ...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    31500 70052 90949 56812 73871 98455 85979 58405 47479 37883 98272 76656 32193 59540 73723 17597 93802 50660 91555 68969 44107 44513 48994 53187 31760 47973 86584 29669 47566 97897 65371 39011 60474 26700 63055 27534 83778 49137 51411 87058 93446 51155 73232 63496 76485 86802 87892 15625 15162 60616 90239 24083 76080 96387 5163 82847 12947 86691 96454 18353 22687 95415 37454 26214 77900 63649 1005 6138 73066 62673 27483 62874 60245 78742 23070 29505 45957 11651 34691 68962 50746 52395 80929 25672 6174 7467 27164 74623 3360 47766 92583 21182 49980 96418 40564 34451 57833 70427 806 22851 91541 61801 56979 22419 22541 72485 8174 86206 756 30271 58121 40005 55616 49549 34945 73263 37089 63982 77853 40282 97234 61159 7804 78446 92617 77874 95760 99353 13337 48971 52593 90829 20325 41827 32502 59597 17517 32453 32459 42391 7775 57847 37685 68836 20975 38681 81621 24679

Test 60

Group: 3

Verdict:

input
100000
39127 4446 57817 67459 53741 8...

correct output
96591 75698 82505 59416 72144 ...

user output
(empty)

Error:
Traceback (most recent call last):
  File "input/code.py", line 17, in <module>
    a = input()
  File "<string>", line 1
    39127 4446 57817 67459 53741 86731 10328 58199 86777 1799 46226 81257 43511 13335 7863 57589 73878 14024 27290 69893 99610 51730 77715 55603 78789 26898 267 38941 76975 79290 12719 73862 4247 79973 12924 70457 65144 89522 64245 73118 56695 49077 22518 86641 19039 4668 15674 89939 57700 68609 76709 14744 22256 28885 38084 43542 2893 79449 45089 30121 15576 81176 71209 37712 47512 14214 94631 94572 47805 9718 75518 6931 1298 61377 61732 95963 93876 63169 39494 55471 92340 46898 82740 68441 14908 53347 65688 49480 64701 86974 38587 14179 7296 54921 79534 74461 49262 66647 58073 5690 90094 52861 5045 44273 62017 80042 91235 22496 98282 53103 40361 57067 46848 90469 25410 77693 14932 17238 6734 77949 48973 24575 45641 39132 23505 67693 58224 27988 84239 2863 6798 54383 67831 3985 69414 17964 96699 11744 8378 29753 66444 79551 29038 79482 15225 52210 58785 42536 54328