Plus 2

Submission Date: 2024/8/26 14:27:58
Status: Accepted
Author: peria
Lines: 8

VSM

imm i"2" $r0 nop nop iadd $m1v2 $r0 $n1v2 iadd $m9v2 $r0 $n9v2 iadd $m17v2 $r0 $n17v2 iadd $m25v2 $r0 $n25v2 iadd $m33v2 $r0 $n33v2

Standard Output

ACCEPTED!! score=8 j=8 m=0 bytes=131

Standard Error

------------------- vsm -------------------- # ======= In(0): ((20:1))@LM0 / Long ======= d set $lm0 1 000000000000000C # values=[12] / Long @[0] d set $lm2 1 0000000000000000 # values=[0] / Long @[1] d set $lm4 1 0000000000000019 # values=[25] / Long @[2] d set $lm6 1 000000000000003D # values=[61] / Long @[3] d set $lm8 1 000000000000001C # values=[28] / Long @[4] d set $lm10 1 0000000000000031 # values=[49] / Long @[5] d set $lm12 1 0000000000000043 # values=[67] / Long @[6] d set $lm14 1 000000000000005F # values=[95] / Long @[7] d set $lm16 1 000000000000005C # values=[92] / Long @[8] d set $lm18 1 0000000000000056 # values=[86] / Long @[9] d set $lm20 1 000000000000004C # values=[76] / Long @[10] d set $lm22 1 000000000000004F # values=[79] / Long @[11] d set $lm24 1 0000000000000034 # values=[52] / Long @[12] d set $lm26 1 0000000000000063 # values=[99] / Long @[13] d set $lm28 1 0000000000000040 # values=[64] / Long @[14] d set $lm30 1 0000000000000049 # values=[73] / Long @[15] d set $lm32 1 0000000000000053 # values=[83] / Long @[16] d set $lm34 1 0000000000000059 # values=[89] / Long @[17] d set $lm36 1 0000000000000039 # values=[57] / Long @[18] d set $lm38 1 0000000000000046 # values=[70] / Long @[19] imm i"2" $r0 nop nop iadd $m1v2 $r0 $n1v2 iadd $m9v2 $r0 $n9v2 iadd $m17v2 $r0 $n17v2 iadd $m25v2 $r0 $n25v2 iadd $m33v2 $r0 $n33v2 # ======= Out(0): ((20:1))@LM1 / Long ======= d getd $ln0n0c0b0m0p0 1 # expect=[14] / Long @[0] d getd $ln2n0c0b0m0p0 1 # expect=[2] / Long @[1] d getd $ln4n0c0b0m0p0 1 # expect=[27] / Long @[2] d getd $ln6n0c0b0m0p0 1 # expect=[63] / Long @[3] d getd $ln8n0c0b0m0p0 1 # expect=[30] / Long @[4] d getd $ln10n0c0b0m0p0 1 # expect=[51] / Long @[5] d getd $ln12n0c0b0m0p0 1 # expect=[69] / Long @[6] d getd $ln14n0c0b0m0p0 1 # expect=[97] / Long @[7] d getd $ln16n0c0b0m0p0 1 # expect=[94] / Long @[8] d getd $ln18n0c0b0m0p0 1 # expect=[88] / Long @[9] d getd $ln20n0c0b0m0p0 1 # expect=[78] / Long @[10] d getd $ln22n0c0b0m0p0 1 # expect=[81] / Long @[11] d getd $ln24n0c0b0m0p0 1 # expect=[54] / Long @[12] d getd $ln26n0c0b0m0p0 1 # expect=[101] / Long @[13] d getd $ln28n0c0b0m0p0 1 # expect=[66] / Long @[14] d getd $ln30n0c0b0m0p0 1 # expect=[75] / Long @[15] d getd $ln32n0c0b0m0p0 1 # expect=[85] / Long @[16] d getd $ln34n0c0b0m0p0 1 # expect=[91] / Long @[17] d getd $ln36n0c0b0m0p0 1 # expect=[59] / Long @[18] d getd $ln38n0c0b0m0p0 1 # expect=[72] / Long @[19] ------------------- asm -------------------- j 010000000000000000000000010100000000000010000000000000000000000100000000000000000000000010000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000010000000000000 j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 000000000000000000000000000000000000001010000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000011111111111000000001000111000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 j 010000000000000000000000000000000000001000000000000000000000000100000000000000000000000001000000101000000000001000000000000000000000000011111111101000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000011000000000011000000000000000000000000000000000000000000000101000000000101000000000000000000000000000000000000000000000111000000000111 j 010000000000000000000000000000000000001000000000000000000000000100000000000000000000001001000000101000000001001000000000000000000000000011111111101000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000001011000000001011000000000000000000000000000000000000000000001101000000001101000000000000000000000000000000000000000000001111000000001111 j 010000000000000000000000000000000000001000000000000000000000000100000000000000000000010001000000101000000010001000000000000000000000000011111111101000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000010011000000010011000000000000000000000000000000000000000000010101000000010101000000000000000000000000000000000000000000010111000000010111 j 010000000000000000000000000000000000001000000000000000000000000100000000000000000000011001000000101000000011001000000000000000000000000011111111101000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000011011000000011011000000000000000000000000000000000000000000011101000000011101000000000000000000000000000000000000000000011111000000011111 j 010000000000000000000000000000000000001000000000000000000000000100000000000000000000100001000000101000000100001000000000000000000000000011111111101000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000100011000000100011000000000000000000000000000000000000000000100101000000100101000000000000000000000000000000000000000000100111000000100111 ------------------- emu -------------------- DEBUG-LM1(n0c0b0m0p0,0):(0) (0x000000000000000e) #d getd $ln0n0c0b0m0p0 1 # expect=[14] / Long @[0] DEBUG-LM1(n0c0b0m0p0,2):(0) (0x0000000000000002) #d getd $ln2n0c0b0m0p0 1 # expect=[2] / Long @[1] DEBUG-LM1(n0c0b0m0p0,4):(0) (0x000000000000001b) #d getd $ln4n0c0b0m0p0 1 # expect=[27] / Long @[2] DEBUG-LM1(n0c0b0m0p0,6):(0) (0x000000000000003f) #d getd $ln6n0c0b0m0p0 1 # expect=[63] / Long @[3] DEBUG-LM1(n0c0b0m0p0,8):(0) (0x000000000000001e) #d getd $ln8n0c0b0m0p0 1 # expect=[30] / Long @[4] DEBUG-LM1(n0c0b0m0p0,10):(0) (0x0000000000000033) #d getd $ln10n0c0b0m0p0 1 # expect=[51] / Long @[5] DEBUG-LM1(n0c0b0m0p0,12):(0) (0x0000000000000045) #d getd $ln12n0c0b0m0p0 1 # expect=[69] / Long @[6] DEBUG-LM1(n0c0b0m0p0,14):(0) (0x0000000000000061) #d getd $ln14n0c0b0m0p0 1 # expect=[97] / Long @[7] DEBUG-LM1(n0c0b0m0p0,16):(0) (0x000000000000005e) #d getd $ln16n0c0b0m0p0 1 # expect=[94] / Long @[8] DEBUG-LM1(n0c0b0m0p0,18):(0) (0x0000000000000058) #d getd $ln18n0c0b0m0p0 1 # expect=[88] / Long @[9] DEBUG-LM1(n0c0b0m0p0,20):(0) (0x000000000000004e) #d getd $ln20n0c0b0m0p0 1 # expect=[78] / Long @[10] DEBUG-LM1(n0c0b0m0p0,22):(0) (0x0000000000000051) #d getd $ln22n0c0b0m0p0 1 # expect=[81] / Long @[11] DEBUG-LM1(n0c0b0m0p0,24):(0) (0x0000000000000036) #d getd $ln24n0c0b0m0p0 1 # expect=[54] / Long @[12] DEBUG-LM1(n0c0b0m0p0,26):(0) (0x0000000000000065) #d getd $ln26n0c0b0m0p0 1 # expect=[101] / Long @[13] DEBUG-LM1(n0c0b0m0p0,28):(0) (0x0000000000000042) #d getd $ln28n0c0b0m0p0 1 # expect=[66] / Long @[14] DEBUG-LM1(n0c0b0m0p0,30):(0) (0x000000000000004b) #d getd $ln30n0c0b0m0p0 1 # expect=[75] / Long @[15] DEBUG-LM1(n0c0b0m0p0,32):(0) (0x0000000000000055) #d getd $ln32n0c0b0m0p0 1 # expect=[85] / Long @[16] DEBUG-LM1(n0c0b0m0p0,34):(0) (0x000000000000005b) #d getd $ln34n0c0b0m0p0 1 # expect=[91] / Long @[17] DEBUG-LM1(n0c0b0m0p0,36):(0) (0x000000000000003b) #d getd $ln36n0c0b0m0p0 1 # expect=[59] / Long @[18] DEBUG-LM1(n0c0b0m0p0,38):(0) (0x0000000000000048) #d getd $ln38n0c0b0m0p0 1 # expect=[72] / Long @[19] ------------------- inputs -------------------- [12, 0, 25, 61, 28, 49, 67, 95, 92, 86, 76, 79, 52, 99, 64, 73, 83, 89, 57, 70] ------------------- expect -------------------- [ 14, 2, 27, 63, 30, 51, 69, 97, 94, 88, 78, 81, 54, 101, 66, 75, 85, 91, 59, 72] ------------------- actual -------------------- [ 14, 2, 27, 63, 30, 51, 69, 97, 94, 88, 78, 81, 54, 101, 66, 75, 85, 91, 59, 72] ------------------- check result --------------------