QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#880883#9691. Little, Cyan, Fish!ucup-team3515ML 2ms35772kbC++2010.5kb2025-02-03 22:24:082025-02-03 22:24:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 8348kb

input:

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

output:

9

result:

ok 1 number(s): "9"

Test #2:

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

input:

300 300
359223646 353333050 638758992 902678193 564238503 602976356 362568978 374624692 448100347 222736350 534637089 415043929 139304846 34636504 531794165 971218681 521043008 209728084 893019853 902111971 183666857 556720993 69534269 291223272 391710121 979856021 345864729 814088883 148475024 1243...

output:

523692978

result:

ok 1 number(s): "523692978"

Test #3:

score: 0
Accepted
time: 0ms
memory: 33204kb

input:

300 300
607417012 329685472 552355585 262216459 841676288 360018643 347032575 974054787 319656520 512595845 771247976 869176834 424107730 118735537 693769550 590893576 858278537 143842141 334311204 676981641 93730191 63241965 524496485 984244186 216949553 345870956 628096664 614812100 726911745 4682...

output:

343995288

result:

ok 1 number(s): "343995288"

Test #4:

score: 0
Accepted
time: 1ms
memory: 33740kb

input:

298 300
230716603 364765433 639400913 383999849 244904529 840766754 569294228 208139002 233875391 944069220 239411645 384288756 735398390 225124768 710464937 363291834 290795465 205662089 438980754 232138636 170149737 910219285 233296220 69153465 399818178 57260586 360188137 81846009 361053995 34721...

output:

102024078

result:

ok 1 number(s): "102024078"

Test #5:

score: -100
Memory Limit Exceeded

input:

100000 100000
586696029 406586516 574575894 680218421 642933995 8772619 471696844 382163414 751180987 113971229 769309107 753080391 428247800 334875961 288299449 235325833 146765739 54465736 113866861 728283512 508004052 364487220 609014946 797877775 235083364 358842216 577167487 380642896 408808554...

output:

0

result: