Result

AC

Duration

514ms

Code [DL]

@S=global[24x i8]c"%d%d%d%d%d%d%d%d%d%d%d%d"@j=global i32 0@k=global i32 0@l=global i32 0@a=global i32 0@b=global i32 0@c=global i32 0@d=global i32 0@e=global i32 0@f=global i32 0@g=global i32 0@h=global i32 0@i=global i32 0@T=global[3x i8]c"%d\00"define i8@main(){call i8(...)@scanf(i8*getelementptr([24x i8],[24x i8]*@S,i8 0,i8 0),i32*@j,i32*@k,i32*@l,i32*@a,i32*@b,i32*@c,i32*@d,i32*@e,i32*@f,i32*@g,i32*@h,i32*@i)load i32,i32*@j load i32,i32*@k load i32,i32*@l load i32,i32*@a load i32,i32*@b load i32,i32*@c load i32,i32*@d load i32,i32*@e load i32,i32*@f load i32,i32*@g load i32,i32*@h load i32,i32*@i sub i32%5,%2sub i32%6,%3sub i32%7,%4sub i32%8,%2sub i32%9,%3sub i32%10,%4sub i32%11,%2sub i32%12,%3sub i32%13,%4mul i32%14,%18mul i32%15,%17sub i32%23,%24mul i32%25,%22mul i32%15,%19mul i32%16,%18sub i32%27,%28mul i32%29,%20mul i32%16,%17mul i32%14,%19sub i32%31,%32mul i32%33,%21add i32%26,%30add i32%35,%34sdiv i32%36,6call i8(...)@printf(i8*getelementptr([3x i8],[3x i8]*@T,i8 0,i8 0),i32%37)ret i8 0}declare i8@scanf(...)declare i8@printf(...)

stdin

13 39 31
09 19 83
83 05 39
72 43 91

stdout

33620

stderr

strace