Submission Date: 2024/8/25 19:40:53
Status:
Accepted
Author: syuparn
Lines: 6
VSM
imm i"2" $r[1,100,101,102]
ladd $m1v2 $aluf $n1v2
ladd $lm8v $lr0 $ln8v
ladd $lm16v $lr0 $ln16v
ladd $lm24v $lr0 $ln24v
ladd $lm32v $lr0 $ln32v
Standard Output
ACCEPTED!! score=6 j=6 m=0 bytes=143
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" $r[1,100,101,102]
ladd $m1v2 $aluf $n1v2
ladd $lm8v $lr0 $ln8v
ladd $lm16v $lr0 $ln16v
ladd $lm24v $lr0 $ln24v
ladd $lm32v $lr0 $ln32v
# ======= 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 010000000000000000000000010100000000100010000000000000000000000100000000000000000000000010000000000000000000000000000000000000000000000011111111100111110000000000000000000000000000000000000000000111000000000000000000000000000000001100000000000000001100100000000000000000000000000000000000000010000000000000001100101000000000000000000000000000000000000010000000000000001100110000000000000000000000000000000000000010000000000000
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000000001000000101000000000001000000000000000000000000011111111100000000000011110000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000000011000000000011000000000000000000000000000000000000000000000101000000000101000000000000000000000000000000000000000000000111000000000111
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000001000000001101000000001000000010000000000000000000011111111100000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000001010000000001010000000000000000000000000000000000000000000001100000000001100000000000000000000000000000000000000000000001110000000001110
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000010000000001101000000010000000010000000000000000000011111111100000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000010010000000010010000000000000000000000000000000000000000000010100000000010100000000000000000000000000000000000000000000010110000000010110
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000011000000001101000000011000000010000000000000000000011111111100000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000011010000000011010000000000000000000000000000000000000000000011100000000011100000000000000000000000000000000000000000000011110000000011110
j 010000000000000000000000000000000000001010000000000000000000000100000000000000000000100000000001101000000100000000010000000000000000000011111111100000000000011000000000000000000000000000000000000111000000000000000000000000000000001100000000000000000000000000000000000000000000000000000000100010000000100010000000000000000000000000000000000000000000100100000000100100000000000000000000000000000000000000000000100110000000100110
------------------- 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 --------------------