QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#302879 | #5062. Square | ucup-team1005# | WA | 31ms | 35072kb | C++20 | 1.4kb | 2024-01-11 14:37:12 | 2024-01-11 14:37:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 7ms
memory: 32760kb
input:
3 2 3 6
output:
6
result:
ok 1 number(s): "6"
Test #2:
score: 0
Accepted
time: 7ms
memory: 32348kb
input:
1 1
output:
1
result:
ok 1 number(s): "1"
Test #3:
score: 0
Accepted
time: 14ms
memory: 32732kb
input:
100000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
1
result:
ok 1 number(s): "1"
Test #4:
score: 0
Accepted
time: 14ms
memory: 33064kb
input:
1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
1
result:
ok 1 number(s): "1"
Test #5:
score: 0
Accepted
time: 4ms
memory: 33488kb
input:
1 130321
output:
1
result:
ok 1 number(s): "1"
Test #6:
score: 0
Accepted
time: 14ms
memory: 32272kb
input:
1 85849
output:
1
result:
ok 1 number(s): "1"
Test #7:
score: 0
Accepted
time: 6ms
memory: 33144kb
input:
10 1 37249 1 193 1 193 193 193 1 37249
output:
387487994
result:
ok 1 number(s): "387487994"
Test #8:
score: 0
Accepted
time: 10ms
memory: 32268kb
input:
10 130321 130321 6859 6859 6859 19 19 130321 361 6859
output:
130321
result:
ok 1 number(s): "130321"
Test #9:
score: 0
Accepted
time: 6ms
memory: 32216kb
input:
10 1 418609 1 418609 1 1 647 418609 1 1
output:
647
result:
ok 1 number(s): "647"
Test #10:
score: 0
Accepted
time: 8ms
memory: 33132kb
input:
10 85849 293 1 293 1 1 85849 293 293 293
output:
424869580
result:
ok 1 number(s): "424869580"
Test #11:
score: 0
Accepted
time: 10ms
memory: 32336kb
input:
10 16384 2048 8192 512 65536 524288 65536 4 2 262144
output:
32
result:
ok 1 number(s): "32"
Test #12:
score: 0
Accepted
time: 18ms
memory: 35072kb
input:
100000 1 197 1 38809 197 197 38809 1 197 197 1 38809 38809 1 1 1 1 38809 197 1 1 1 1 38809 197 197 1 38809 1 1 38809 38809 1 197 1 197 38809 38809 197 197 38809 1 38809 38809 197 38809 38809 197 197 1 38809 38809 38809 38809 38809 197 38809 38809 197 1 1 197 38809 38809 38809 197 1 1 1 197 197 197 1...
output:
810775411
result:
ok 1 number(s): "810775411"
Test #13:
score: 0
Accepted
time: 10ms
memory: 33252kb
input:
100000 1 1 597529 773 1 597529 1 773 1 597529 773 773 597529 773 597529 1 597529 773 773 1 1 597529 597529 773 773 597529 1 597529 1 1 773 773 1 597529 597529 597529 597529 597529 597529 773 597529 773 1 773 597529 773 1 1 773 773 773 597529 597529 1 1 773 773 773 773 597529 597529 597529 773 773 77...
output:
716188655
result:
ok 1 number(s): "716188655"
Test #14:
score: 0
Accepted
time: 12ms
memory: 32908kb
input:
100000 1 342337 1 342337 342337 342337 342337 1 342337 1 342337 1 342337 1 1 1 1 342337 1 1 1 342337 342337 1 1 342337 342337 1 1 342337 1 1 342337 342337 1 1 342337 342337 1 342337 342337 1 1 1 342337 1 1 1 1 342337 342337 342337 342337 1 342337 1 342337 1 1 1 342337 342337 1 1 1 342337 342337 1 34...
output:
158685643
result:
ok 1 number(s): "158685643"
Test #15:
score: 0
Accepted
time: 17ms
memory: 33032kb
input:
100000 877 1 1 877 877 877 1 769129 877 769129 769129 877 877 769129 877 769129 877 769129 877 1 769129 877 877 1 769129 877 769129 877 769129 1 769129 769129 877 877 769129 877 877 769129 877 877 1 877 769129 1 877 1 1 769129 769129 769129 1 1 877 769129 1 1 1 1 769129 877 877 769129 769129 877 1 1...
output:
208442677
result:
ok 1 number(s): "208442677"
Test #16:
score: 0
Accepted
time: 12ms
memory: 33120kb
input:
100000 347 1 120409 120409 120409 347 347 347 120409 1 347 1 1 347 120409 1 1 120409 1 347 1 1 1 347 120409 347 1 1 120409 120409 1 1 1 347 1 1 120409 120409 120409 347 120409 347 120409 347 347 347 1 347 1 1 1 347 347 1 120409 1 1 1 347 1 347 347 120409 120409 1 120409 120409 120409 347 1 120409 1 ...
output:
177423905
result:
ok 1 number(s): "177423905"
Test #17:
score: 0
Accepted
time: 19ms
memory: 33220kb
input:
100000 1 961 961 961 1 961 961 31 1 31 29791 31 1 31 29791 923521 1 31 961 29791 923521 961 1 923521 923521 923521 923521 923521 923521 923521 1 923521 1 29791 923521 29791 1 923521 29791 961 923521 1 961 923521 31 31 961 29791 923521 31 923521 31 923521 961 31 961 923521 961 961 923521 923521 92352...
output:
524153120
result:
ok 1 number(s): "524153120"
Test #18:
score: 0
Accepted
time: 14ms
memory: 32956kb
input:
100000 1 1 844561 844561 1 844561 1 919 844561 919 1 844561 919 1 1 844561 1 919 919 1 919 844561 919 1 919 919 919 844561 844561 919 919 1 919 919 919 1 919 1 844561 1 919 919 844561 919 844561 844561 844561 844561 919 1 844561 844561 1 1 844561 1 919 844561 844561 844561 1 919 844561 844561 919 91...
output:
626715414
result:
ok 1 number(s): "626715414"
Test #19:
score: 0
Accepted
time: 11ms
memory: 33396kb
input:
100000 159097 1 159097 159097 1 159097 159097 1 1 1 159097 1 159097 159097 159097 1 159097 1 1 1 159097 1 1 159097 1 159097 159097 1 1 159097 159097 1 159097 159097 1 1 1 1 1 1 1 159097 159097 159097 159097 1 1 1 1 159097 159097 159097 159097 1 159097 159097 1 159097 1 1 1 1 159097 159097 1 159097 1...
output:
25918992
result:
ok 1 number(s): "25918992"
Test #20:
score: 0
Accepted
time: 18ms
memory: 34980kb
input:
100000 521 521 271441 1 271441 1 271441 1 1 521 1 521 1 1 1 521 271441 271441 1 271441 1 271441 1 271441 521 271441 1 1 521 271441 521 271441 521 1 271441 271441 271441 1 271441 271441 271441 521 521 271441 1 521 521 271441 521 521 271441 521 271441 271441 1 521 271441 521 521 521 1 271441 271441 1 ...
output:
713140981
result:
ok 1 number(s): "713140981"
Test #21:
score: 0
Accepted
time: 31ms
memory: 33212kb
input:
100000 256 16 16384 524288 131072 4 16384 4096 4 4096 8192 65536 32 1024 2 8 4 2048 4096 8 65536 512 1024 4 256 16384 256 131072 2 4096 2 2 4096 32768 524288 2048 16 131072 8192 32768 1 2 128 262144 16 32768 131072 2048 32768 8192 262144 32768 1024 262144 131072 4096 128 16 32768 1024 32 32768 16384...
output:
477168076
result:
ok 1 number(s): "477168076"
Test #22:
score: 0
Accepted
time: 14ms
memory: 32812kb
input:
1 136045
output:
1
result:
ok 1 number(s): "1"
Test #23:
score: 0
Accepted
time: 4ms
memory: 34392kb
input:
10 796938 169406 128933 247568 498433 734706 88188 32093 71322 347806
output:
240205168
result:
ok 1 number(s): "240205168"
Test #24:
score: 0
Accepted
time: 11ms
memory: 34496kb
input:
100 906441 591513 587396 725800 289176 795472 285873 252939 267359 68981 135395 870454 845379 405859 10575 503075 150322 234161 7065 507984 198629 399148 516285 761467 978641 44092 475210 984670 593559 372611 157148 10541 152581 975840 481026 250318 658614 251540 137765 66821 155356 723708 397316 21...
output:
320217691
result:
ok 1 number(s): "320217691"
Test #25:
score: -100
Wrong Answer
time: 9ms
memory: 32876kb
input:
1000 145908 709080 951048 574849 433852 58975 996317 632258 249598 674305 961946 396206 846505 498154 937245 933404 295141 226365 248878 687472 411883 873979 882346 34661 289173 90931 785823 34858 477465 975859 852767 273949 494367 748789 576526 88147 230621 256598 262366 503179 475295 877199 775934...
output:
905822181
result:
wrong answer 1st numbers differ - expected: '942871229', found: '905822181'