QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#89032#5748. Determinant, or...?TTW#WA 11ms3568kbC++17946b2023-03-18 13:33:462023-03-18 13:33:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3264kb

input:

1
5 2

output:

6

result:

ok 1 number(s): "6"

Test #2:

score: 0
Accepted
time: 2ms
memory: 3308kb

input:

2
3 1 5 4

output:

999999997

result:

ok 1 number(s): "999999997"

Test #3:

score: 0
Accepted
time: 2ms
memory: 3404kb

input:

3
53 37 42 42 84 37 66 8

output:

47229676

result:

ok 1 number(s): "47229676"

Test #4:

score: 0
Accepted
time: 4ms
memory: 3280kb

input:

3
762493332 721658786 22070969 135208254 466384641 652280022 979534282 601978718

output:

281502235

result:

ok 1 number(s): "281502235"

Test #5:

score: 0
Accepted
time: 2ms
memory: 3268kb

input:

3
129388930 489520730 263815343 315708585 263026886 153021985 251231378 649675390

output:

346896861

result:

ok 1 number(s): "346896861"

Test #6:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

4
354170434 589724459 964138381 855919536 741407874 653645432 210017100 9041114 623557907 889004048 499789082 377902011 20698775 389133769 126649035 441324014

output:

474257110

result:

ok 1 number(s): "474257110"

Test #7:

score: 0
Accepted
time: 2ms
memory: 3300kb

input:

4
937789215 253802096 74184353 604319027 576369232 865942568 553877713 711393269 254598038 59465342 443665488 598315393 794989360 347520873 716201483 332154787

output:

68449605

result:

ok 1 number(s): "68449605"

Test #8:

score: 0
Accepted
time: 2ms
memory: 3428kb

input:

5
945847544 457790131 906205784 732202587 450793841 105549871 579895409 866642556 582933159 465747387 640078680 305986861 929552595 868736660 77365410 391848608 712146473 133745404 234695094 465735106 317508101 204342520 670426418 689063750 795934489 878985583 697138558 46785510 766258117 700869396 ...

output:

213587651

result:

ok 1 number(s): "213587651"

Test #9:

score: 0
Accepted
time: 2ms
memory: 3276kb

input:

5
117731836 936733644 100262701 991557887 122142847 311498255 185976389 994248761 554366984 980490190 47411526 31108007 254929832 619096099 403435369 290576856 964262084 411209784 393093339 810450341 643067658 791080885 69870586 491932883 729222005 831984691 815330144 773466314 394086029 755332964 4...

output:

791285614

result:

ok 1 number(s): "791285614"

Test #10:

score: 0
Accepted
time: 2ms
memory: 3424kb

input:

6
693096423 325855803 397734150 452913860 865212556 401882541 359839198 273704952 91769372 452556215 624796499 94676229 583912695 487735025 28081785 637340461 395441577 158428084 642015149 378677143 997015016 112613899 25924573 416715404 938793867 841340446 645084716 584173615 339369731 268167946 96...

output:

26667017

result:

ok 1 number(s): "26667017"

Test #11:

score: 0
Accepted
time: 2ms
memory: 3328kb

input:

6
497339988 132152896 654380678 193992642 965772718 193749056 805861253 274203048 940603364 160636809 220303327 855232111 317732076 485901150 682620797 8603026 972203980 458638331 619763404 922792272 824811980 686287466 920409740 767753434 621971690 132318815 403410748 212880483 90557411 162430128 7...

output:

416264655

result:

ok 1 number(s): "416264655"

Test #12:

score: 0
Accepted
time: 4ms
memory: 3340kb

input:

7
579740785 54525994 44834293 878657882 279631262 403247951 729717507 131306386 756177373 734332304 470118837 22761079 787733766 106733389 273765421 587865055 628197653 773045283 49335196 725981923 537126441 176457057 381422736 849399808 491718724 943090791 593030874 416528970 756909575 679894728 50...

output:

106990924

result:

ok 1 number(s): "106990924"

Test #13:

score: 0
Accepted
time: 3ms
memory: 3396kb

input:

7
499019728 600058228 661404162 493358713 449975138 977573964 747226687 805322268 777456453 422219910 511078279 204194675 422632243 321076081 529467847 546646299 714701441 815079375 699788190 553278422 551026913 473372770 400400619 761905830 907445609 515908862 494841524 770114706 129735324 91856745...

output:

842923075

result:

ok 1 number(s): "842923075"

Test #14:

score: 0
Accepted
time: 11ms
memory: 3568kb

input:

8
326989664 922591675 691934445 49908184 694049978 855152399 804628556 243401530 715552625 876712910 749803917 950845939 991554837 430764503 929514545 833356909 311492758 953299741 456655252 933891220 511600607 379695696 736920900 732623240 889071813 749873876 246009772 248884325 330021189 247193279...

output:

702912588

result:

ok 1 number(s): "702912588"

Test #15:

score: 0
Accepted
time: 11ms
memory: 3444kb

input:

8
350947633 236163705 5109206 42303203 37927573 613621796 354417345 816607409 620913134 608888998 66295049 821341940 889733581 488376886 936240010 997748197 547994912 432276405 834560303 630258847 663155552 874901021 786672992 657893382 279626886 301621979 550513322 22475066 980035003 266896630 4778...

output:

10588237

result:

ok 1 number(s): "10588237"

Test #16:

score: -100
Wrong Answer
time: 2ms
memory: 3368kb

input:

9
918666774 790657347 183462810 770619466 264040462 856517809 879539605 101002964 84993356 158488989 890093514 739535307 195375899 205334646 724659143 939453281 839216094 272949671 863975308 986228740 51712032 738506114 92419054 165307635 736963930 7195990 38384151 81239680 747561034 814491838 75291...

output:

0

result:

wrong answer 1st numbers differ - expected: '212733475', found: '0'