<s> """<STR_LIT>""" <EOL> import struct <EOL> import numpy as np <EOL> INFILE = '<STR_LIT>' <EOL> OUTFILE = '<STR_LIT>' <EOL> f = open ( INFILE , '<STR_LIT:rb>' ) <EOL> out = open ( OUTFILE , '<STR_LIT:wb>' ) <EOL> out . write ( f . read ( <NUM_LIT:12> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> fmt = ( '<STR_LIT>' + <EOL> '<STR_LIT>' ) <EOL> l = list ( struct . unpack ( fmt , f . read ( <NUM_LIT> ) ) ) <EOL> l [ <NUM_LIT> ] = <NUM_LIT> <EOL> l [ <NUM_LIT> ] = <NUM_LIT> <EOL> out . write ( struct . pack ( fmt , * l ) ) <EOL> out . write ( f . read ( <NUM_LIT> - <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT:12> ) ) <EOL> fmt = '<STR_LIT>' <EOL> l = list ( struct . unpack ( fmt , f . read ( <NUM_LIT> ) ) ) <EOL> l [ <NUM_LIT:2> ] = <NUM_LIT:1> <EOL> l [ <NUM_LIT> ] = <NUM_LIT:20> <EOL> out . write ( struct . pack ( fmt , * l ) ) <EOL> out . write ( f . read ( <NUM_LIT:12> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT:4> ) ) <EOL> fmt = '<STR_LIT>' <EOL> l = list ( struct . unpack ( fmt , f . read ( <NUM_LIT> ) ) ) <EOL> l [ <NUM_LIT:0> ] = <NUM_LIT> <EOL> l [ <NUM_LIT:2> ] = <NUM_LIT:0> <EOL> out . write ( struct . pack ( fmt , * l ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> fmt = '<STR_LIT>' <EOL> l = list ( struct . unpack ( fmt , f . read ( <NUM_LIT> ) ) ) <EOL> l [ <NUM_LIT:1> ] = <NUM_LIT> <EOL> l [ <NUM_LIT:2> ] = <NUM_LIT> <EOL> l [ <NUM_LIT:3> ] = <NUM_LIT> <EOL> out . write ( struct . pack ( fmt , * l ) ) <EOL> fmt = '<STR_LIT>' <EOL> l = list ( struct . unpack ( fmt , f . read ( <NUM_LIT> ) ) ) <EOL> l [ <NUM_LIT:3> ] = <NUM_LIT:1> <EOL> out . write ( struct . pack ( fmt , * l ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT> - <NUM_LIT> ) ) <EOL> out . write ( f . read ( <NUM_LIT:12> ) ) <EOL> f . read ( <NUM_LIT> ) <EOL> fmt = '<STR_LIT>' <EOL> l = list ( struct . unpack ( fmt , f . read ( <NUM_LIT> ) ) ) <EOL> l [ <NUM_LIT:3> ] = <NUM_LIT:20> <EOL> l [ <NUM_LIT:5> ] = <NUM_LIT:20> <EOL> l [ <NUM_LIT:6> ] = <NUM_LIT:20> <EOL> out . write ( struct . pack ( fmt , * l ) ) <EOL> code = np . ones ( ( <NUM_LIT> ) , dtype = '<STR_LIT>' ) <EOL> code [ <NUM_LIT:0> ] = - <NUM_LIT> <EOL> code [ <NUM_LIT:2> ] = <NUM_LIT> <EOL> code [ <NUM_LIT:4> ] = <NUM_LIT> <EOL> code [ <NUM_LIT:5> ] = <NUM_LIT> <EOL> code [ <NUM_LIT:6> : - <NUM_LIT:1> ] = - <NUM_LIT> <EOL> code [ - <NUM_LIT:1> ] = <NUM_LIT:1> <EOL> for i in range ( <NUM_LIT> ) : <EOL> code [ <NUM_LIT:6> ] = i <EOL> code . view ( '<STR_LIT>' ) [ <NUM_LIT:1> ] = <NUM_LIT> * <NUM_LIT> * i <EOL> code . view ( '<STR_LIT>' ) [ <NUM_LIT:3> ] = <NUM_LIT> * <NUM_LIT> * i <EOL> out . write ( code . tostring ( ) ) <EOL> code = np . ones ( ( <NUM_LIT> ) , dtype = '<STR_LIT>' ) <EOL> code [ <NUM_LIT:0> ] = - <NUM_LIT> <EOL> code [ <NUM_LIT:2> ] = <NUM_LIT> <EOL> code [ <NUM_LIT:4> ] = <NUM_LIT> <EOL> code [ <NUM_LIT:5> ] = <NUM_LIT:15> <EOL> code [ <NUM_LIT:6> : - <NUM_LIT:1> ] = - <NUM_LIT> <EOL> code [ - <NUM_LIT:1> ] = <NUM_LIT:1> <EOL> code [ <NUM_LIT:6> ] = <NUM_LIT> <EOL> code . view ( '<STR_LIT>' ) [ <NUM_LIT:1> ] = <NUM_LIT> * <NUM_LIT> * <NUM_LIT> <EOL> code . view ( '<STR_LIT>' ) [ <NUM_LIT:3> ] = <NUM_LIT> * <NUM_LIT> * <NUM_LIT> <EOL> out . write ( code . tostring ( ) ) <EOL> out . write ( '<STR_LIT:\x00>' * <NUM_LIT> ) <EOL> f . close ( ) <EOL> out . close ( ) </s>
