content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
def fractionSum(a, b): c = a[1] * b[1] d = a[0] * b[1] + b[0] * a[1] gcd = getGcd(c, d) return [d/gcd, c/gcd] def getGcd(a, b): while b: a, b = b, a % b return a
def fraction_sum(a, b): c = a[1] * b[1] d = a[0] * b[1] + b[0] * a[1] gcd = get_gcd(c, d) return [d / gcd, c / gcd] def get_gcd(a, b): while b: (a, b) = (b, a % b) return a
def tflm_kernel_friends(): return [] def tflm_audio_frontend_friends(): return [] def xtensa_fusion_f1_cpu(): return "F1_190305_swupgrade" def xtensa_hifi_3z_cpu(): return "HIFI_190304_swupgrade" def xtensa_hifi_5_cpu(): return "AE_HiFi5_LE5_AO_FP_XC"
def tflm_kernel_friends(): return [] def tflm_audio_frontend_friends(): return [] def xtensa_fusion_f1_cpu(): return 'F1_190305_swupgrade' def xtensa_hifi_3z_cpu(): return 'HIFI_190304_swupgrade' def xtensa_hifi_5_cpu(): return 'AE_HiFi5_LE5_AO_FP_XC'
''' Problem: Given a string, find the first un-repeated character in it. ''' def unrepeated(target): lookup = {} # Build a lookup table. for item in target: lookup.setdefault(item, 0) lookup[item] += 1 # Find the first non-repeated character. for item in target: if lookup[item] == 1: return item return None test = 'unrepeated undermined' print(unrepeated(test))
""" Problem: Given a string, find the first un-repeated character in it. """ def unrepeated(target): lookup = {} for item in target: lookup.setdefault(item, 0) lookup[item] += 1 for item in target: if lookup[item] == 1: return item return None test = 'unrepeated undermined' print(unrepeated(test))
EV_SYN = 0x00 EV_KEY = 0x01 EV_REL = 0x02 EV_ABS = 0x03 EV_MSC = 0x04 EV_SW = 0x05 EV_LED = 0x11 EV_SND = 0x12 EV_REP = 0x14 EV_FF = 0x15 EV_PWR = 0x16 EV_FF_STATUS = 0x17 SYN_REPORT = 0 SYN_CONFIG = 1 REL_X = 0x00 REL_Y = 0x01 REL_Z = 0x02 REL_RX = 0x03 REL_RY = 0x04 REL_RZ = 0x05 REL_HWHEEL = 0x06 REL_DIAL = 0x07 REL_WHEEL = 0x08 REL_MISC = 0x09 REL_MAX = 0x0f ABS_X = 0x00 ABS_Y = 0x01 ABS_Z = 0x02 ABS_RX = 0x03 ABS_RY = 0x04 ABS_RZ = 0x05 ABS_THROTTLE = 0x06 ABS_RUDDER = 0x07 ABS_WHEEL = 0x08 ABS_GAS = 0x09 ABS_BRAKE = 0x0a ABS_HAT0X = 0x10 ABS_HAT0Y = 0x11 ABS_HAT1X = 0x12 ABS_HAT1Y = 0x13 ABS_HAT2X = 0x14 ABS_HAT2Y = 0x15 ABS_HAT3X = 0x16 ABS_HAT3Y = 0x17 ABS_PRESSURE = 0x18 ABS_DISTANCE = 0x19 ABS_TILT_X = 0x1a ABS_TILT_Y = 0x1b ABS_TOOL_WIDTH = 0x1c ABS_VOLUME = 0x20 ABS_MISC = 0x28 ABS_MAX = 0x3f
ev_syn = 0 ev_key = 1 ev_rel = 2 ev_abs = 3 ev_msc = 4 ev_sw = 5 ev_led = 17 ev_snd = 18 ev_rep = 20 ev_ff = 21 ev_pwr = 22 ev_ff_status = 23 syn_report = 0 syn_config = 1 rel_x = 0 rel_y = 1 rel_z = 2 rel_rx = 3 rel_ry = 4 rel_rz = 5 rel_hwheel = 6 rel_dial = 7 rel_wheel = 8 rel_misc = 9 rel_max = 15 abs_x = 0 abs_y = 1 abs_z = 2 abs_rx = 3 abs_ry = 4 abs_rz = 5 abs_throttle = 6 abs_rudder = 7 abs_wheel = 8 abs_gas = 9 abs_brake = 10 abs_hat0_x = 16 abs_hat0_y = 17 abs_hat1_x = 18 abs_hat1_y = 19 abs_hat2_x = 20 abs_hat2_y = 21 abs_hat3_x = 22 abs_hat3_y = 23 abs_pressure = 24 abs_distance = 25 abs_tilt_x = 26 abs_tilt_y = 27 abs_tool_width = 28 abs_volume = 32 abs_misc = 40 abs_max = 63
GREEN = 24 RED = 26 BLUE = 22 WHITELIST = {"eb94294a", "044c4fd2222a80"} SPINTIME = 3 BLINKFRACTION = 3 #espeak ACCESSDENIED = "Access denied." SPEAKSPEED = 140 SPEAKPITCH = 50
green = 24 red = 26 blue = 22 whitelist = {'eb94294a', '044c4fd2222a80'} spintime = 3 blinkfraction = 3 accessdenied = 'Access denied.' speakspeed = 140 speakpitch = 50
# table definition table = { 'table_name' : 'ar_allocations', 'module_id' : 'ar', 'short_descr' : 'Ar allocation detail lines', 'long_descr' : 'Ar allocation detail lines', 'sub_types' : None, 'sub_trans' : None, 'sequence' : None, 'tree_params' : None, 'roll_params' : None, 'indexes' : [ ['ar_alloc_ndx', [['tran_row_id', False]], None, False] ], 'ledger_col' : 'item_row_id>cust_row_id>ledger_row_id', 'defn_company' : None, 'data_company' : None, 'read_only' : False, } # column definitions cols = [] cols.append ({ 'col_name' : 'row_id', 'data_type' : 'AUTO', 'short_descr': 'Row id', 'long_descr' : 'Row id', 'col_head' : 'Row', 'key_field' : 'Y', 'data_source': 'gen', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'created_id', 'data_type' : 'INT', 'short_descr': 'Created id', 'long_descr' : 'Created row id', 'col_head' : 'Created', 'key_field' : 'N', 'data_source': 'gen', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : '0', 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'deleted_id', 'data_type' : 'INT', 'short_descr': 'Deleted id', 'long_descr' : 'Deleted row id', 'col_head' : 'Deleted', 'key_field' : 'N', 'data_source': 'gen', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : '0', 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'tran_type', 'data_type' : 'TEXT', 'short_descr': 'Transaction type', 'long_descr' : 'Transaction type', 'col_head' : 'Type', 'key_field' : 'A', 'data_source': 'par_con', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : [ ['ar_crn', 'Credit note'], ['ar_subrec', 'Receipt'], ['ar_disc', 'Discount'], ['ar_alloc', 'Allocation'], ], }) cols.append ({ 'col_name' : 'tran_row_id', 'data_type' : 'INT', 'short_descr': 'Transaction id', 'long_descr' : 'Transaction row id', 'col_head' : 'Tran id', 'key_field' : 'A', 'data_source': 'par_id', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : None, 'fkey' : [ ['tran_type', [ ['ar_crn', 'ar_tran_crn'], ['ar_subrec', 'ar_subtran_rec'], ['ar_disc', 'ar_tran_disc'], ['ar_alloc', 'ar_tran_alloc'], ]], 'row_id', None, None, True, None], 'choices' : None, }) cols.append ({ 'col_name' : 'item_row_id', 'data_type' : 'INT', 'short_descr': 'Alloc item id', 'long_descr' : 'Item row id of item allocated', 'col_head' : 'Item id', 'key_field' : 'A', 'data_source': 'input', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : None, 'dflt_rule' : None, 'col_checks' : [ ['match_cust_id', 'Must have same customer id', [ ['check', '', 'item_row_id>cust_row_id', '=', 'tran_row_id>cust_row_id', ''], ]], ], 'fkey' : ['ar_openitems', 'row_id', None, None, False, None], 'choices' : None, }) cols.append ({ 'col_name' : 'tran_date', 'data_type' : 'DTE', 'short_descr': 'Transaction date', 'long_descr' : 'Transaction date. Could be derived using fkey, but denormalised for performance', 'col_head' : 'Date', 'key_field' : 'N', 'data_source': 'repl', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 0, 'scale_ptr' : None, 'dflt_val' : '{tran_row_id>tran_date}', 'dflt_rule' : None, 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'alloc_cust', 'data_type' : '$PTY', 'short_descr': 'Amount allocated - cust', 'long_descr' : 'Amount allocated - customer currency', 'col_head' : 'Alloc cust', 'key_field' : 'N', 'data_source': 'input', 'condition' : None, 'allow_null' : False, 'allow_amend': True, 'max_len' : 0, 'db_scale' : 2, 'scale_ptr' : 'tran_row_id>cust_row_id>currency_id>scale', 'dflt_val' : '0', 'dflt_rule' : None, 'col_checks' : [ ['not_self', 'Cannot allocate against itself', [ ['check', '', 'tran_type', '!=', "'ar_alloc'", ''], ['or', '', 'item_row_id', '!=', 'tran_row_id>item_row_id', ''], ]], ], 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'discount_cust', 'data_type' : '$PTY', 'short_descr': 'Discount allowed - cust', 'long_descr' : 'Discount allowed - customer currency - programmatically calculated', 'col_head' : 'Disc cust', 'key_field' : 'N', 'data_source': 'calc', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 2, 'scale_ptr' : 'tran_row_id>cust_row_id>currency_id>scale', 'dflt_val' : '0', 'dflt_rule' : ( '<!--' 'Calculated as follows -\n' 'If alloc_cust = alloc_cust.orig, no change, use existing value.\n' 'If item_row_id = tran_row_id>item_row_id, this is the double-entry allocation ' 'generated programmatically on_post - use existing value, updated by on_post.\n' 'If discount_date is None or < tran_date, discount_cust = 0.\n' 'Else calculate discount allowed as follows.\n' 'Move tran_date to _ctx.as_at_date - this is needed by item_row_id>due_cust.\n' 'If alloc_cust >= item_row_id>due_cust, item is fully paid, allow item_row_id>os_disc_cust.\n' 'Else pro-rata item_row_id>os_disc_cust - divide by item_row_id>due_cust, multiply by alloc_cust.' '-->' '<case>' '<compare test="[[`if`, ``, `alloc_cust`, `=`, `$alloc_cust$orig`, ``]]">' '<fld_val name="discount_cust"/>' '</compare>' '<compare test="[[`if`, ``, `item_row_id`, `=`, `tran_row_id>item_row_id`, ``]]">' '<fld_val name="discount_cust"/>' '</compare>' '<compare test="[' '[`if`, ``, `item_row_id>discount_date`, `is`, `$None`, ``],' '[`or`, ``, `item_row_id>discount_date`, `<`, `tran_date`, ``]' ']">' '<literal value="0"/>' '</compare>' '<default>' '<assign src="tran_date" tgt="_ctx.as_at_date"/>' '<case>' '<compare test="[[`if`, ``, `alloc_cust`, `>=`, `item_row_id>due_cust`, ``]]">' '<fld_val name="item_row_id>os_disc_cust"/>' '</compare>' '<default>' '<expr>' '<fld_val name="item_row_id>os_disc_cust"/>' '<op type="/"/>' '<fld_val name="item_row_id>due_cust"/>' '<op type="*"/>' '<fld_val name="alloc_cust"/>' '</expr>' '</default>' '</case>' '</default>' '</case>' ), 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'alloc_local', 'data_type' : '$LCL', 'short_descr': 'Amount allocated - local', 'long_descr' : 'Amount allocated - local currency - programmatically calculated', 'col_head' : 'Alloc local', 'key_field' : 'N', 'data_source': 'calc', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 2, 'scale_ptr' : '_param.local_curr_id>scale', 'dflt_val' : '0', 'dflt_rule' : ( '<!--' 'Calculated as follows -\n' 'If alloc_cust = alloc_cust.orig, no change, use existing value.\n' 'If item_row_id = tran_row_id>item_row_id, this is the double-entry allocation ' 'generated programmatically on_post - use existing value, updated by on_post.\n' 'Else calculate by dividing alloc_cust by tran_row_id>tran_exch_rate.' '-->' '<case>' '<compare test="[[`if`, ``, `alloc_cust`, `=`, `$alloc_cust$orig`, ``]]">' '<fld_val name="alloc_local"/>' '</compare>' '<compare test="[[`if`, ``, `item_row_id`, `=`, `tran_row_id>item_row_id`, ``]]">' '<fld_val name="alloc_local"/>' '</compare>' '<default>' '<expr>' '<fld_val name="alloc_cust"/>' '<op type="/"/>' '<fld_val name="tran_row_id>tran_exch_rate"/>' '</expr>' '</default>' '</case>' ), 'col_checks' : None, 'fkey' : None, 'choices' : None, }) cols.append ({ 'col_name' : 'discount_local', 'data_type' : '$LCL', 'short_descr': 'Discount allowed - local', 'long_descr' : 'Discount allowed - local currency - programmatically calculated', 'col_head' : 'Disc local', 'key_field' : 'N', 'data_source': 'calc', 'condition' : None, 'allow_null' : False, 'allow_amend': False, 'max_len' : 0, 'db_scale' : 2, 'scale_ptr' : '_param.local_curr_id>scale', 'dflt_val' : '0', 'dflt_rule' : ( '<!--' 'Calculated as follows -\n' 'If alloc_cust = alloc_cust.orig, no change, use existing value.\n' 'If discount_cust = 0, then discount_local = 0.\n' 'If item_row_id = tran_row_id>item_row_id, this is the double-entry allocation ' 'generated programmatically on_post - use existing value, updated by on_post.\n' 'Else calculate by dividing discount_cust by tran_row_id>tran_exch_rate.' '-->' '<case>' '<compare test="[[`if`, ``, `alloc_cust`, `=`, `$alloc_cust$orig`, ``]]">' '<fld_val name="discount_local"/>' '</compare>' '<compare test="[[`if`, ``, `discount_cust`, `=`, `0`, ``]]">' '<literal value="0"/>' '</compare>' '<compare test="[[`if`, ``, `item_row_id`, `=`, `tran_row_id>item_row_id`, ``]]">' '<fld_val name="discount_local"/>' '</compare>' '<default>' '<expr>' '<fld_val name="discount_cust"/>' '<op type="/"/>' '<fld_val name="tran_row_id>tran_exch_rate"/>' '</expr>' '</default>' '</case>' ), 'col_checks' : None, 'fkey' : None, 'choices' : None, }) # virtual column definitions virt = [] # cursor definitions cursors = [] # actions actions = []
table = {'table_name': 'ar_allocations', 'module_id': 'ar', 'short_descr': 'Ar allocation detail lines', 'long_descr': 'Ar allocation detail lines', 'sub_types': None, 'sub_trans': None, 'sequence': None, 'tree_params': None, 'roll_params': None, 'indexes': [['ar_alloc_ndx', [['tran_row_id', False]], None, False]], 'ledger_col': 'item_row_id>cust_row_id>ledger_row_id', 'defn_company': None, 'data_company': None, 'read_only': False} cols = [] cols.append({'col_name': 'row_id', 'data_type': 'AUTO', 'short_descr': 'Row id', 'long_descr': 'Row id', 'col_head': 'Row', 'key_field': 'Y', 'data_source': 'gen', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'created_id', 'data_type': 'INT', 'short_descr': 'Created id', 'long_descr': 'Created row id', 'col_head': 'Created', 'key_field': 'N', 'data_source': 'gen', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': '0', 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'deleted_id', 'data_type': 'INT', 'short_descr': 'Deleted id', 'long_descr': 'Deleted row id', 'col_head': 'Deleted', 'key_field': 'N', 'data_source': 'gen', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': '0', 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'tran_type', 'data_type': 'TEXT', 'short_descr': 'Transaction type', 'long_descr': 'Transaction type', 'col_head': 'Type', 'key_field': 'A', 'data_source': 'par_con', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': [['ar_crn', 'Credit note'], ['ar_subrec', 'Receipt'], ['ar_disc', 'Discount'], ['ar_alloc', 'Allocation']]}) cols.append({'col_name': 'tran_row_id', 'data_type': 'INT', 'short_descr': 'Transaction id', 'long_descr': 'Transaction row id', 'col_head': 'Tran id', 'key_field': 'A', 'data_source': 'par_id', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': None, 'fkey': [['tran_type', [['ar_crn', 'ar_tran_crn'], ['ar_subrec', 'ar_subtran_rec'], ['ar_disc', 'ar_tran_disc'], ['ar_alloc', 'ar_tran_alloc']]], 'row_id', None, None, True, None], 'choices': None}) cols.append({'col_name': 'item_row_id', 'data_type': 'INT', 'short_descr': 'Alloc item id', 'long_descr': 'Item row id of item allocated', 'col_head': 'Item id', 'key_field': 'A', 'data_source': 'input', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': None, 'dflt_rule': None, 'col_checks': [['match_cust_id', 'Must have same customer id', [['check', '', 'item_row_id>cust_row_id', '=', 'tran_row_id>cust_row_id', '']]]], 'fkey': ['ar_openitems', 'row_id', None, None, False, None], 'choices': None}) cols.append({'col_name': 'tran_date', 'data_type': 'DTE', 'short_descr': 'Transaction date', 'long_descr': 'Transaction date. Could be derived using fkey, but denormalised for performance', 'col_head': 'Date', 'key_field': 'N', 'data_source': 'repl', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 0, 'scale_ptr': None, 'dflt_val': '{tran_row_id>tran_date}', 'dflt_rule': None, 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'alloc_cust', 'data_type': '$PTY', 'short_descr': 'Amount allocated - cust', 'long_descr': 'Amount allocated - customer currency', 'col_head': 'Alloc cust', 'key_field': 'N', 'data_source': 'input', 'condition': None, 'allow_null': False, 'allow_amend': True, 'max_len': 0, 'db_scale': 2, 'scale_ptr': 'tran_row_id>cust_row_id>currency_id>scale', 'dflt_val': '0', 'dflt_rule': None, 'col_checks': [['not_self', 'Cannot allocate against itself', [['check', '', 'tran_type', '!=', "'ar_alloc'", ''], ['or', '', 'item_row_id', '!=', 'tran_row_id>item_row_id', '']]]], 'fkey': None, 'choices': None}) cols.append({'col_name': 'discount_cust', 'data_type': '$PTY', 'short_descr': 'Discount allowed - cust', 'long_descr': 'Discount allowed - customer currency - programmatically calculated', 'col_head': 'Disc cust', 'key_field': 'N', 'data_source': 'calc', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 2, 'scale_ptr': 'tran_row_id>cust_row_id>currency_id>scale', 'dflt_val': '0', 'dflt_rule': '<!--Calculated as follows -\nIf alloc_cust = alloc_cust.orig, no change, use existing value.\nIf item_row_id = tran_row_id>item_row_id, this is the double-entry allocation generated programmatically on_post - use existing value, updated by on_post.\nIf discount_date is None or < tran_date, discount_cust = 0.\nElse calculate discount allowed as follows.\nMove tran_date to _ctx.as_at_date - this is needed by item_row_id>due_cust.\nIf alloc_cust >= item_row_id>due_cust, item is fully paid, allow item_row_id>os_disc_cust.\nElse pro-rata item_row_id>os_disc_cust - divide by item_row_id>due_cust, multiply by alloc_cust.--><case><compare test="[[`if`, ``, `alloc_cust`, `=`, `$alloc_cust$orig`, ``]]"><fld_val name="discount_cust"/></compare><compare test="[[`if`, ``, `item_row_id`, `=`, `tran_row_id>item_row_id`, ``]]"><fld_val name="discount_cust"/></compare><compare test="[[`if`, ``, `item_row_id>discount_date`, `is`, `$None`, ``],[`or`, ``, `item_row_id>discount_date`, `<`, `tran_date`, ``]]"><literal value="0"/></compare><default><assign src="tran_date" tgt="_ctx.as_at_date"/><case><compare test="[[`if`, ``, `alloc_cust`, `>=`, `item_row_id>due_cust`, ``]]"><fld_val name="item_row_id>os_disc_cust"/></compare><default><expr><fld_val name="item_row_id>os_disc_cust"/><op type="/"/><fld_val name="item_row_id>due_cust"/><op type="*"/><fld_val name="alloc_cust"/></expr></default></case></default></case>', 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'alloc_local', 'data_type': '$LCL', 'short_descr': 'Amount allocated - local', 'long_descr': 'Amount allocated - local currency - programmatically calculated', 'col_head': 'Alloc local', 'key_field': 'N', 'data_source': 'calc', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 2, 'scale_ptr': '_param.local_curr_id>scale', 'dflt_val': '0', 'dflt_rule': '<!--Calculated as follows -\nIf alloc_cust = alloc_cust.orig, no change, use existing value.\nIf item_row_id = tran_row_id>item_row_id, this is the double-entry allocation generated programmatically on_post - use existing value, updated by on_post.\nElse calculate by dividing alloc_cust by tran_row_id>tran_exch_rate.--><case><compare test="[[`if`, ``, `alloc_cust`, `=`, `$alloc_cust$orig`, ``]]"><fld_val name="alloc_local"/></compare><compare test="[[`if`, ``, `item_row_id`, `=`, `tran_row_id>item_row_id`, ``]]"><fld_val name="alloc_local"/></compare><default><expr><fld_val name="alloc_cust"/><op type="/"/><fld_val name="tran_row_id>tran_exch_rate"/></expr></default></case>', 'col_checks': None, 'fkey': None, 'choices': None}) cols.append({'col_name': 'discount_local', 'data_type': '$LCL', 'short_descr': 'Discount allowed - local', 'long_descr': 'Discount allowed - local currency - programmatically calculated', 'col_head': 'Disc local', 'key_field': 'N', 'data_source': 'calc', 'condition': None, 'allow_null': False, 'allow_amend': False, 'max_len': 0, 'db_scale': 2, 'scale_ptr': '_param.local_curr_id>scale', 'dflt_val': '0', 'dflt_rule': '<!--Calculated as follows -\nIf alloc_cust = alloc_cust.orig, no change, use existing value.\nIf discount_cust = 0, then discount_local = 0.\nIf item_row_id = tran_row_id>item_row_id, this is the double-entry allocation generated programmatically on_post - use existing value, updated by on_post.\nElse calculate by dividing discount_cust by tran_row_id>tran_exch_rate.--><case><compare test="[[`if`, ``, `alloc_cust`, `=`, `$alloc_cust$orig`, ``]]"><fld_val name="discount_local"/></compare><compare test="[[`if`, ``, `discount_cust`, `=`, `0`, ``]]"><literal value="0"/></compare><compare test="[[`if`, ``, `item_row_id`, `=`, `tran_row_id>item_row_id`, ``]]"><fld_val name="discount_local"/></compare><default><expr><fld_val name="discount_cust"/><op type="/"/><fld_val name="tran_row_id>tran_exch_rate"/></expr></default></case>', 'col_checks': None, 'fkey': None, 'choices': None}) virt = [] cursors = [] actions = []
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.2597, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.406668, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.08607, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.750406, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.29943, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.745261, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 2.7951, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.575237, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 8.17165, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.205181, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0272028, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.306802, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.201181, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.511983, 'Execution Unit/Register Files/Runtime Dynamic': 0.228384, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.812508, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.81866, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 5.65419, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.0021904, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.0021904, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00191326, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000743624, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00288999, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00918406, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0208075, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.193401, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.477896, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.656876, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.35816, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0239248, 'L2/Runtime Dynamic': 0.00598647, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 6.876, 'Load Store Unit/Data Cache/Runtime Dynamic': 2.71773, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.182431, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.182431, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 7.74099, 'Load Store Unit/Runtime Dynamic': 3.79985, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.449844, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.899688, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.159651, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.159918, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0786164, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.8345, 'Memory Management Unit/Runtime Dynamic': 0.238535, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 30.3015, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.71583, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0469854, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.382652, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 1.14547, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 12.2022, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.105427, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.285496, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.428737, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.277772, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.448036, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.226153, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.951962, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.251959, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.15204, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0809977, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.011651, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.129438, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0861663, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.210436, 'Execution Unit/Register Files/Runtime Dynamic': 0.0978173, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.299053, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.676419, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.41707, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00113091, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00113091, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.0010179, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000412026, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00123779, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00451752, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00966854, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0828339, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.26894, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.213533, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.281341, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.74317, 'Instruction Fetch Unit/Runtime Dynamic': 0.591895, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0106468, 'L2/Runtime Dynamic': 0.00289539, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.63709, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.15768, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0776447, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0776447, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 4.00374, 'Load Store Unit/Runtime Dynamic': 1.61824, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.191459, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.382917, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0679493, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0680613, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.327604, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0351471, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.600437, 'Memory Management Unit/Runtime Dynamic': 0.103208, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 21.0995, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.213068, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0151253, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.139464, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.367657, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.10096, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.107816, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.287371, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.45947, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.267826, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.431994, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.218056, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.917877, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.235872, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.16447, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0868037, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0112338, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.126591, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0830811, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.213394, 'Execution Unit/Register Files/Runtime Dynamic': 0.094315, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.293651, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.657767, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.36271, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00103708, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00103708, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000939484, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000383484, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00119347, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00420711, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00865037, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.079868, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.08029, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.19576, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.271268, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.54536, 'Instruction Fetch Unit/Runtime Dynamic': 0.559753, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0109674, 'L2/Runtime Dynamic': 0.00261919, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.58682, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.13232, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0760185, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0760186, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.9458, 'Load Store Unit/Runtime Dynamic': 1.58323, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.187449, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.374898, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0665261, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0666479, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.315874, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0322191, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.586263, 'Memory Management Unit/Runtime Dynamic': 0.098867, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.8423, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.228341, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0148625, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.133799, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.377002, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.98418, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.112566, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.291103, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.49611, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.262377, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.423204, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.213619, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.899201, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.224024, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.19953, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0937258, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0110053, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.12627, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0813907, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.219996, 'Execution Unit/Register Files/Runtime Dynamic': 0.092396, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.294164, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.652688, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.34076, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000933063, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000933063, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000850848, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000350243, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00116918, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00388616, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00758304, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.078243, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.97693, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.180331, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.265748, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.43698, 'Instruction Fetch Unit/Runtime Dynamic': 0.535792, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0107842, 'L2/Runtime Dynamic': 0.00224707, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.55037, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.11373, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0748391, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0748391, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.90377, 'Load Store Unit/Runtime Dynamic': 1.55765, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.18454, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.369081, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.065494, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0656257, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.309447, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0296522, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.578063, 'Memory Management Unit/Runtime Dynamic': 0.0952779, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.7186, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.24655, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0148382, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.130464, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.391852, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.92358, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 0.04640737378344492, 'Runtime Dynamic': 0.04640737378344492, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.0362781, 'Runtime Dynamic': 0.0226978, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 92.9982, 'Peak Power': 126.11, 'Runtime Dynamic': 27.2336, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 92.9619, 'Total Cores/Runtime Dynamic': 27.2109, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.0362781, 'Total L3s/Runtime Dynamic': 0.0226978, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.2597, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.406668, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.08607, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.750406, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.29943, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.745261, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 2.7951, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.575237, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 8.17165, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.205181, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0272028, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.306802, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.201181, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.511983, 'Execution Unit/Register Files/Runtime Dynamic': 0.228384, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.812508, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.81866, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 5.65419, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.0021904, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.0021904, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00191326, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000743624, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00288999, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00918406, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0208075, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.193401, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.477896, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.656876, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.35816, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0239248, 'L2/Runtime Dynamic': 0.00598647, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 6.876, 'Load Store Unit/Data Cache/Runtime Dynamic': 2.71773, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.182431, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.182431, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 7.74099, 'Load Store Unit/Runtime Dynamic': 3.79985, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.449844, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.899688, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.159651, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.159918, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0786164, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.8345, 'Memory Management Unit/Runtime Dynamic': 0.238535, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 30.3015, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.71583, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0469854, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.382652, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 1.14547, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 12.2022, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.105427, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.285496, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.428737, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.277772, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.448036, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.226153, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.951962, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.251959, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.15204, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0809977, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.011651, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.129438, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0861663, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.210436, 'Execution Unit/Register Files/Runtime Dynamic': 0.0978173, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.299053, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.676419, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.41707, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00113091, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00113091, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.0010179, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000412026, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00123779, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00451752, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00966854, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0828339, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.26894, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.213533, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.281341, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.74317, 'Instruction Fetch Unit/Runtime Dynamic': 0.591895, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0106468, 'L2/Runtime Dynamic': 0.00289539, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.63709, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.15768, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0776447, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0776447, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 4.00374, 'Load Store Unit/Runtime Dynamic': 1.61824, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.191459, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.382917, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0679493, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0680613, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.327604, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0351471, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.600437, 'Memory Management Unit/Runtime Dynamic': 0.103208, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 21.0995, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.213068, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0151253, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.139464, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.367657, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.10096, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.107816, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.287371, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.45947, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.267826, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.431994, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.218056, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.917877, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.235872, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.16447, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0868037, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0112338, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.126591, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0830811, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.213394, 'Execution Unit/Register Files/Runtime Dynamic': 0.094315, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.293651, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.657767, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.36271, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00103708, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00103708, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000939484, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000383484, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00119347, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00420711, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00865037, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.079868, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.08029, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.19576, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.271268, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.54536, 'Instruction Fetch Unit/Runtime Dynamic': 0.559753, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0109674, 'L2/Runtime Dynamic': 0.00261919, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.58682, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.13232, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0760185, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0760186, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.9458, 'Load Store Unit/Runtime Dynamic': 1.58323, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.187449, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.374898, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0665261, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0666479, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.315874, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0322191, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.586263, 'Memory Management Unit/Runtime Dynamic': 0.098867, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.8423, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.228341, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0148625, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.133799, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.377002, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.98418, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.112566, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.291103, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.49611, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.262377, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.423204, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.213619, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.899201, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.224024, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.19953, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0937258, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0110053, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.12627, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0813907, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.219996, 'Execution Unit/Register Files/Runtime Dynamic': 0.092396, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.294164, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.652688, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.34076, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000933063, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000933063, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000850848, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000350243, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00116918, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00388616, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00758304, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.078243, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.97693, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.180331, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.265748, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.43698, 'Instruction Fetch Unit/Runtime Dynamic': 0.535792, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0107842, 'L2/Runtime Dynamic': 0.00224707, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.55037, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.11373, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0748391, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0748391, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.90377, 'Load Store Unit/Runtime Dynamic': 1.55765, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.18454, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.369081, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.065494, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0656257, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.309447, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0296522, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.578063, 'Memory Management Unit/Runtime Dynamic': 0.0952779, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.7186, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.24655, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0148382, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.130464, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.391852, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 4.92358, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 0.04640737378344492, 'Runtime Dynamic': 0.04640737378344492, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.0362781, 'Runtime Dynamic': 0.0226978, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 92.9982, 'Peak Power': 126.11, 'Runtime Dynamic': 27.2336, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 92.9619, 'Total Cores/Runtime Dynamic': 27.2109, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.0362781, 'Total L3s/Runtime Dynamic': 0.0226978, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
# @desc Checking to see if a number is equal to another number def is_equal(x, y): return x == y def main(): print(is_equal(3, 5)) print(is_equal(5, 4)) print(is_equal(15, 15)) if __name__ == '__main__': main()
def is_equal(x, y): return x == y def main(): print(is_equal(3, 5)) print(is_equal(5, 4)) print(is_equal(15, 15)) if __name__ == '__main__': main()
s = "python3" r = "raja" sh = 'shobha' iv = 'Ivaan' ag = "34" python_course = True r_course = False number_of_sisters = None # print("Hi ", r.capitalize(), s.capitalize(), sh.upper()) # print(sh.isalpha()) # print(ag.isdigit()) # print("Hello, am {0}. Nice to meet you {1}.".format(r.capitalize(),sh.capitalize())) print(f"Hello, am {r}. Nice to meet you {sh} and {iv}. Learning Python.. Is that {python_course}?. Ivaan has {number_of_sisters} sisters.") # print(r"Hello, am {r} Nice to meet you {sh}.") if ag: print("Shobha is {ag} years old.") else: print("Not sure of the age")
s = 'python3' r = 'raja' sh = 'shobha' iv = 'Ivaan' ag = '34' python_course = True r_course = False number_of_sisters = None print(f'Hello, am {r}. Nice to meet you {sh} and {iv}. Learning Python.. Is that {python_course}?. Ivaan has {number_of_sisters} sisters.') if ag: print('Shobha is {ag} years old.') else: print('Not sure of the age')
# -*- coding: UTF-8 -*- ''' Base Service Module ''' class BaseService(): __repository = None def __init__(self): pass
""" Base Service Module """ class Baseservice: __repository = None def __init__(self): pass
# find the multiple missing numbers in an sorted array # input Array elements # find difference between currentArrayValue and value's index # while i < arrayLength # while difference < currentElementDifference (if missing elements are more than 1 at a time) # then print the missing number (difference + currentIndex) # increment the difference print("Enter the elements", end=' ') array = list(map(int, input().split())) difference = array[0] - 0 # firstValue - index # time is O(n) for i in range(len(array)): while (difference < array[i]-i): print(f'Missing value is {i+difference}') difference += 1 # print missing values in one line diff = array[0] - 0 missingValues = list() for i in range(len(array)): while (diff < array[i]-i): missingValues.append((i+diff)) diff += 1 print(f'The missing values are', end=' ') for i in missingValues: print(i, end=' ') print()
print('Enter the elements', end=' ') array = list(map(int, input().split())) difference = array[0] - 0 for i in range(len(array)): while difference < array[i] - i: print(f'Missing value is {i + difference}') difference += 1 diff = array[0] - 0 missing_values = list() for i in range(len(array)): while diff < array[i] - i: missingValues.append(i + diff) diff += 1 print(f'The missing values are', end=' ') for i in missingValues: print(i, end=' ') print()
def format_log(info: str, exception=None, traceback: str=None, values: dict={}): log = ( f'INFO: {info}\n' f'------------\n' ) if exception is not None: log = log + ( f'EXCEPTION FOUNDED: \n' f'{repr(exception)}\n' f'------------\n' ) if traceback is not None: log = log + ( f'TRACEBACK: \n' f'{traceback}\n' f'------------\n' ) for key in values.keys(): log = log + ( f'{key}: {repr(values[key])}\n' ) return log
def format_log(info: str, exception=None, traceback: str=None, values: dict={}): log = f'INFO: {info}\n------------\n' if exception is not None: log = log + f'EXCEPTION FOUNDED: \n{repr(exception)}\n------------\n' if traceback is not None: log = log + f'TRACEBACK: \n{traceback}\n------------\n' for key in values.keys(): log = log + f'{key}: {repr(values[key])}\n' return log
nt_regex = { 'Matthew': '.*(M[a-z]*t[a-z]*)[\s\.](\d+):(\d+)[\s]*(.*)', 'Mark': '(M[a-z]*k[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Luke': '(L[a-z]*k[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'John': '(^J[a-z]*n[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Acts': '(A[a-z]*c[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Romans': '(R[a-z]*m[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'First Corinthians': '(1C[a-z]*o[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Second Corinthians': '(2C[a-z]*o[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Galatians': '(G[a-z]*a[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Ephesians': '(E[a-z]*p[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Philippians': '(P[a-ln-z]+)[\s\.](\d+):(\d+)[\s]*(.+)', 'Colossians': '(C[a-z]*o[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'First Thessalonians': '(1Th[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Second Thessalonians': '(2Th[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'First Timothy': '(1Ti[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Second Timothy': '(2Ti[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Titus': '(T[a-z]*t[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Philemon': '(P[a-z]*m[a-z]*)[\s\.](\d+):?(\d+)[\s]*(.+)', 'Hebrews': '(H[a-z]*e[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'James': '(J[a-z]*a[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'First Peter': '(1P[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Second Peter': '(2P[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'First John': '(1J[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', 'Second John': '(2J[a-z]*)[\s\.](\d+):?(\d+)[\s]*(.+)', 'Third John': '(3J[a-z]*)[\s\.](\d+):?(\d+)[\s]*(.+)', 'Jude': '(J[a-z]*d[a-z]*)[\s\.](\d+):?(\d+)[\s]*(.+)', 'Revelation': '(R[a-z]*v[a-z]*)[\s\.](\d+):(\d+)[\s]*(.+)', }
nt_regex = {'Matthew': '.*(M[a-z]*t[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.*)', 'Mark': '(M[a-z]*k[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Luke': '(L[a-z]*k[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'John': '(^J[a-z]*n[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Acts': '(A[a-z]*c[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Romans': '(R[a-z]*m[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'First Corinthians': '(1C[a-z]*o[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Second Corinthians': '(2C[a-z]*o[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Galatians': '(G[a-z]*a[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Ephesians': '(E[a-z]*p[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Philippians': '(P[a-ln-z]+)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Colossians': '(C[a-z]*o[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'First Thessalonians': '(1Th[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Second Thessalonians': '(2Th[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'First Timothy': '(1Ti[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Second Timothy': '(2Ti[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Titus': '(T[a-z]*t[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Philemon': '(P[a-z]*m[a-z]*)[\\s\\.](\\d+):?(\\d+)[\\s]*(.+)', 'Hebrews': '(H[a-z]*e[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'James': '(J[a-z]*a[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'First Peter': '(1P[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Second Peter': '(2P[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'First John': '(1J[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)', 'Second John': '(2J[a-z]*)[\\s\\.](\\d+):?(\\d+)[\\s]*(.+)', 'Third John': '(3J[a-z]*)[\\s\\.](\\d+):?(\\d+)[\\s]*(.+)', 'Jude': '(J[a-z]*d[a-z]*)[\\s\\.](\\d+):?(\\d+)[\\s]*(.+)', 'Revelation': '(R[a-z]*v[a-z]*)[\\s\\.](\\d+):(\\d+)[\\s]*(.+)'}
def is_palindrome(word): if word.lower() == word[::-1].lower(): print('Your word is a palindrome.') else: print('Your word is not a palindrome.') def is_anagram(word1, word2): w1 = sorted(word1.lower().replace(' ', '')) w2 = sorted(word2.lower().replace(' ', '')) if w1 == w2: print('Your word is an anagram.') else: print('Your word is not an anagram.') def checker(): while True: query = int(input('1: Palindrome\n2: Anagram\n3: Quit\n\n')) if query == 1: word = input('Enter your word: ') is_palindrome(word) elif query == 2: word1 = input('Enter your first word: ') word2 = input('Enter your second word: ') is_anagram(word1, word2) elif query == 3: quit() checker()
def is_palindrome(word): if word.lower() == word[::-1].lower(): print('Your word is a palindrome.') else: print('Your word is not a palindrome.') def is_anagram(word1, word2): w1 = sorted(word1.lower().replace(' ', '')) w2 = sorted(word2.lower().replace(' ', '')) if w1 == w2: print('Your word is an anagram.') else: print('Your word is not an anagram.') def checker(): while True: query = int(input('1: Palindrome\n2: Anagram\n3: Quit\n\n')) if query == 1: word = input('Enter your word: ') is_palindrome(word) elif query == 2: word1 = input('Enter your first word: ') word2 = input('Enter your second word: ') is_anagram(word1, word2) elif query == 3: quit() checker()
# Produce a list of list using list comprehensions list1 = [1,2,3,4,5] x = [[i**2, i**3] for i in list1] print(x)
list1 = [1, 2, 3, 4, 5] x = [[i ** 2, i ** 3] for i in list1] print(x)
# if a + b + c = P then we need a + b > c with c hypotenuse # we can also say that a <= b # Then we also need a^2 + b^2 = c^2 # We can start at 501 since all less than 501 will have a multiple # less than 1000 def findTris(p): ''' Find potential triangle sides of perimeter p. yield (a,b,c) ''' maxC = p / 2 n = 0 for c in xrange(maxC, 1, -1): maxA = (p - c) / 2 for a in xrange(1, maxA+1): b = p-c-a if a*a + b*b == c*c: n += 1 return n def findMaxTris(cap): maxTris = 1 maxP = 0 for p in xrange(cap, (cap+1)/2, -2): n = findTris(p) if n > maxTris: maxP = p maxTris = n return maxP print(findMaxTris(1000))
def find_tris(p): """ Find potential triangle sides of perimeter p. yield (a,b,c) """ max_c = p / 2 n = 0 for c in xrange(maxC, 1, -1): max_a = (p - c) / 2 for a in xrange(1, maxA + 1): b = p - c - a if a * a + b * b == c * c: n += 1 return n def find_max_tris(cap): max_tris = 1 max_p = 0 for p in xrange(cap, (cap + 1) / 2, -2): n = find_tris(p) if n > maxTris: max_p = p max_tris = n return maxP print(find_max_tris(1000))
class Solution: def permute(self, nums): if not nums or len(nums) == 0: return [] def doPermute(numsLeft, numsChoosen, results): if not numsLeft or len(numsLeft) == 0: results.append(numsChoosen) return for i in range(len(numsLeft)): doPermute(numsLeft[0:i] + numsLeft[i+1:], numsChoosen + [numsLeft[i]], results) results = [] doPermute(nums, [], results) return results s = Solution() print(s.permute([1,2,3])) print(s.permute([0,1]))
class Solution: def permute(self, nums): if not nums or len(nums) == 0: return [] def do_permute(numsLeft, numsChoosen, results): if not numsLeft or len(numsLeft) == 0: results.append(numsChoosen) return for i in range(len(numsLeft)): do_permute(numsLeft[0:i] + numsLeft[i + 1:], numsChoosen + [numsLeft[i]], results) results = [] do_permute(nums, [], results) return results s = solution() print(s.permute([1, 2, 3])) print(s.permute([0, 1]))
class User: def __init__(self, user_id: int, username: str): self.user_id = user_id self.username = username self.books = [] def info(self): return ', '.join(sorted(self.books)) def __str__(self): return f"{self.user_id}, {self.username}, {self.books}"
class User: def __init__(self, user_id: int, username: str): self.user_id = user_id self.username = username self.books = [] def info(self): return ', '.join(sorted(self.books)) def __str__(self): return f'{self.user_id}, {self.username}, {self.books}'
# Solution 1 # O(n^2) time / O(n^2) space def sameBsts(arrayOne, arrayTwo): if len(arrayOne) != len(arrayTwo): return False if len(arrayOne) == 0 and len(arrayTwo) == 0: return True if arrayOne[0] != arrayTwo[0]: return False leftOne = getSmaller(arrayOne) leftTwo = getSmaller(arrayTwo) rightOne = getBiggerOrEqual(arrayOne) rightTwo = getBiggerOrEqual(arrayTwo) return sameBsts(leftOne, leftTwo) and sameBsts(rightOne, rightTwo) def getSmaller(array): smaller = [] for i in range(1, len(array)): if array[i] < array[0]: smaller.append(array[i]) return smaller def getBiggerOrEqual(array): biggerOrEqual = [] for i in range(1, len(array)): if array[i] >= array[0]: biggerOrEqual.append(array[i]) return biggerOrEqual # Solution 2 # O(n^2) time / O(d) space # d - depth of BST def sameBsts(arrayOne, arrayTwo): return areSameBsts(arrayOne, arrayTwo, 0, 0, float("-inf"), float("inf")) def areSameBsts(arrayOne, arrayTwo, rootIdxOne, rootIdxTwo, minVal, maxVal): if rootIdxOne == -1 or rootIdxTwo == -1: return rootIdxOne == rootIdxTwo if arrayOne[rootIdxOne] != arrayTwo[rootIdxTwo]: return False leftRootIdxOne = getIdxOfFirstSmaller(arrayOne, rootIdxOne, minVal) leftRootIdxTwo = getIdxOfFirstSmaller(arrayTwo, rootIdxTwo, minVal) rightRootIdxOne = getIdxOfFirstBiggerOrEqual(arrayOne, rootIdxOne, maxVal) rightRootIdxTwo = getIdxOfFirstBiggerOrEqual(arrayTwo, rootIdxTwo, maxVal) currentValue = arrayOne[rootIdxOne] leftAreSame = areSameBsts( arrayOne, arrayTwo, leftRootIdxOne, leftRootIdxTwo, minVal, currentValue) rightAreSame = areSameBsts( arrayOne, arrayTwo, rightRootIdxOne, rightRootIdxTwo, currentValue, maxVal) return leftAreSame and rightAreSame def getIdxOfFirstSmaller(array, startingIdx, minVal): for i in range(startingIdx + 1, len(array)): if array[i] < array[startingIdx] and array[i] >= minVal: return i return -1 def getIdxOfFirstBiggerOrEqual(array, startingIdx, maxVal): for i in range(startingIdx + 1, len(array)): if array[i] >= array[startingIdx] and array[i] < maxVal: return i return -1
def same_bsts(arrayOne, arrayTwo): if len(arrayOne) != len(arrayTwo): return False if len(arrayOne) == 0 and len(arrayTwo) == 0: return True if arrayOne[0] != arrayTwo[0]: return False left_one = get_smaller(arrayOne) left_two = get_smaller(arrayTwo) right_one = get_bigger_or_equal(arrayOne) right_two = get_bigger_or_equal(arrayTwo) return same_bsts(leftOne, leftTwo) and same_bsts(rightOne, rightTwo) def get_smaller(array): smaller = [] for i in range(1, len(array)): if array[i] < array[0]: smaller.append(array[i]) return smaller def get_bigger_or_equal(array): bigger_or_equal = [] for i in range(1, len(array)): if array[i] >= array[0]: biggerOrEqual.append(array[i]) return biggerOrEqual def same_bsts(arrayOne, arrayTwo): return are_same_bsts(arrayOne, arrayTwo, 0, 0, float('-inf'), float('inf')) def are_same_bsts(arrayOne, arrayTwo, rootIdxOne, rootIdxTwo, minVal, maxVal): if rootIdxOne == -1 or rootIdxTwo == -1: return rootIdxOne == rootIdxTwo if arrayOne[rootIdxOne] != arrayTwo[rootIdxTwo]: return False left_root_idx_one = get_idx_of_first_smaller(arrayOne, rootIdxOne, minVal) left_root_idx_two = get_idx_of_first_smaller(arrayTwo, rootIdxTwo, minVal) right_root_idx_one = get_idx_of_first_bigger_or_equal(arrayOne, rootIdxOne, maxVal) right_root_idx_two = get_idx_of_first_bigger_or_equal(arrayTwo, rootIdxTwo, maxVal) current_value = arrayOne[rootIdxOne] left_are_same = are_same_bsts(arrayOne, arrayTwo, leftRootIdxOne, leftRootIdxTwo, minVal, currentValue) right_are_same = are_same_bsts(arrayOne, arrayTwo, rightRootIdxOne, rightRootIdxTwo, currentValue, maxVal) return leftAreSame and rightAreSame def get_idx_of_first_smaller(array, startingIdx, minVal): for i in range(startingIdx + 1, len(array)): if array[i] < array[startingIdx] and array[i] >= minVal: return i return -1 def get_idx_of_first_bigger_or_equal(array, startingIdx, maxVal): for i in range(startingIdx + 1, len(array)): if array[i] >= array[startingIdx] and array[i] < maxVal: return i return -1
class Bunch(dict): def __init__(self, *args, **kwargs): super(Bunch, self).__init__(*args, **kwargs) self.__dict__ = self
class Bunch(dict): def __init__(self, *args, **kwargs): super(Bunch, self).__init__(*args, **kwargs) self.__dict__ = self
class MetaData(): def save_data_source(self): pass
class Metadata: def save_data_source(self): pass
ROBOT_LISTENER_API_VERSION = 2 def get_listener_method(name): def listener_method(*args): if name in ['message', 'log_message']: msg = args[0] message = '%s: %s %s' % (name, msg['level'], msg['message']) else: message = name raise AssertionError(message) listener_method.__name__ = name return listener_method for name in ['start_suite', 'end_suite', 'start_test', 'end_test', 'start_keyword', 'end_keyword', 'log_message', 'message', 'output_file', 'log_file', 'report_file', 'debug_file', 'close']: globals()[name] = get_listener_method(name)
robot_listener_api_version = 2 def get_listener_method(name): def listener_method(*args): if name in ['message', 'log_message']: msg = args[0] message = '%s: %s %s' % (name, msg['level'], msg['message']) else: message = name raise assertion_error(message) listener_method.__name__ = name return listener_method for name in ['start_suite', 'end_suite', 'start_test', 'end_test', 'start_keyword', 'end_keyword', 'log_message', 'message', 'output_file', 'log_file', 'report_file', 'debug_file', 'close']: globals()[name] = get_listener_method(name)
# 2-Sum Binary Tree # https://www.interviewbit.com/problems/2sum-binary-tree/ # # Given a binary search tree T, where each node contains a positive integer, and an integer K, # you have to find whether or not there exist two different nodes A and B such that A.value + B.value = K. # # Return 1 to denote that two such nodes exist. Return 0, otherwise. # # Notes # # Your solution should run in linear time and not take memory more than O(height of T). # TODO: IMPROVE MEMORY COMPLEXITY # Assume all values in BST are distinct. # Example : # # Input 1: # # T : 10 # / \ # 9 20 # # K = 19 # # Return: 1 # # Input 2: # # T: 10 # / \ # 9 20 # # K = 40 # # Return: 0 # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def _findTarget(self, A, B, dp): if not A: return False if B - A.val in dp: return True dp[A.val] = True return self._findTarget(A.left, B, dp) or self._findTarget(A.right, B, dp) # @param A : root node of tree # @param B : integer # @return an integer def t2Sum(self, A, B): return int(self._findTarget(A, B, dict())) # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
class Solution(object): def _find_target(self, A, B, dp): if not A: return False if B - A.val in dp: return True dp[A.val] = True return self._findTarget(A.left, B, dp) or self._findTarget(A.right, B, dp) def t2_sum(self, A, B): return int(self._findTarget(A, B, dict()))
# -*- python -*- # This software was produced by NIST, an agency of the U.S. government, # and by statute is not subject to copyright in the United States. # Recipients of this software assume all responsibilities associated # with its operation, modification and maintenance. However, to # facilitate maintenance we ask that before distributing modifed # versions of this software, you first contact the authors at # oof_manager@nist.gov. dirname = 'IO' if not DIM_3: clib = 'oof2common' else: clib = 'oof3dcommon' if not NO_GUI: subdirs = ['GUI'] if not DIM_3: cfiles = ['bitoverlay.C'] swigfiles = ['bitoverlay.swg'] pyfiles = ['activeareamodmenu.py', 'automatic.py', 'binarydata.py', 'bitmapdisplay.py', 'bitoverlaydisplay.py', 'colordiffparameter.py', 'colormap.py', 'datafile.py', 'display.py', 'genericselecttoolbox.py', 'gfxmanager.py', 'ghostgfxwindow.py', 'mainmenu.py', 'menudump.py', 'menuparser.py', 'microstructureIO.py', 'microstructuremenu.py', 'oofmenu.py', 'parameter.py', 'pixelgroupmenu.py', 'pixelgroupparam.py', 'pixelinfo.py', 'pixelinfodisplay.py', 'pixelselectionmenu.py', 'pixelselectiontoolbox.py', 'progressbar_delay.py', 'questioner.py', 'reporter.py', 'reportermenu.py', 'scriptloader.py', 'placeholder.py', 'socket2me.py', 'activityviewermenu.py', 'topwho.py', 'typename.py', 'viewertoolbox.py', 'whoville.py', 'words.py', 'reporterIO.py', 'xmlmenudump.py', 'automaticdoc.py', 'activeareamenu.py'] swigpyfiles = ['bitoverlay.spy'] hfiles = ['bitoverlay.h', 'ghostoofcanvas.h'] else: cfiles = [ 'bitoverlay.C', 'ghostoofcanvas.C', 'vtkutils.C', 'view.C', 'canvaslayers.C', 'oofcerr.C', 'oofImageToGrid.C', 'oofOverlayVoxels.C', 'oofExcludeVoxels.C', 'gridsourcebase.C', 'gridlayers.C', 'oofCellLocator.C', 'imageformat.C' ] swigfiles = [ #'bitoverlay.swg', 'ghostoofcanvas.swg', 'vtkutils.swg', 'view.swg', 'canvaslayers.swg', 'gridsourcebase.swg', 'gridlayers.swg', 'imageformat.swg'] pyfiles = [ 'activityviewermenu.py', 'automatic.py', 'automaticdoc.py', 'binarydata.py', 'bitmapdisplay.py', #'bitoverlaydisplay.py', 'clipplaneclickanddragdisplay.py', 'colordiffparameter.py', 'colormap.py', 'datafile.py', 'display.py', 'genericselecttoolbox.py', 'gfxmanager.py', 'ghostgfxwindow.py', 'mainmenu.py', 'menudump.py', 'menuparser.py', 'microstructureIO.py', 'microstructuredisplay.py', 'microstructuremenu.py', 'oofmenu.py', 'output.py', 'parameter.py', 'pixelgroupmenu.py', 'pixelgroupparam.py', 'pixelinfo.py', 'pixelinfodisplay.py', 'placeholder.py', 'pointparameter.py', 'pointparameter.py', 'progressbar_delay.py', 'questioner.py', 'reporter.py', 'reporterIO.py', 'reportermenu.py', 'scriptloader.py', 'socket2me.py', 'topwho.py', 'typename.py', 'viewertoolbox.py', 'voxelregionselectiondisplay.py', 'whoville.py', 'words.py', 'xmlmenudump.py' ] swigpyfiles = [#'bitoverlay.spy', 'view.spy', 'imageformat.spy'] hfiles = [ 'bitoverlay.h', 'vtkutils.h', 'view.h', 'canvaslayers.h', 'oofcerr.h', 'gridsourcebase.h', 'gridlayers.h', 'oofImageToGrid.h', 'oofOverlayVoxels.h', 'oofExcludeVoxels.h', 'oofCellLocator.h', 'imageformat.h'] if HAVE_MPI: pyfiles.extend(['parallelmainmenu.py', 'microstructureIPC.py', 'pixelgroupIPC.py'])
dirname = 'IO' if not DIM_3: clib = 'oof2common' else: clib = 'oof3dcommon' if not NO_GUI: subdirs = ['GUI'] if not DIM_3: cfiles = ['bitoverlay.C'] swigfiles = ['bitoverlay.swg'] pyfiles = ['activeareamodmenu.py', 'automatic.py', 'binarydata.py', 'bitmapdisplay.py', 'bitoverlaydisplay.py', 'colordiffparameter.py', 'colormap.py', 'datafile.py', 'display.py', 'genericselecttoolbox.py', 'gfxmanager.py', 'ghostgfxwindow.py', 'mainmenu.py', 'menudump.py', 'menuparser.py', 'microstructureIO.py', 'microstructuremenu.py', 'oofmenu.py', 'parameter.py', 'pixelgroupmenu.py', 'pixelgroupparam.py', 'pixelinfo.py', 'pixelinfodisplay.py', 'pixelselectionmenu.py', 'pixelselectiontoolbox.py', 'progressbar_delay.py', 'questioner.py', 'reporter.py', 'reportermenu.py', 'scriptloader.py', 'placeholder.py', 'socket2me.py', 'activityviewermenu.py', 'topwho.py', 'typename.py', 'viewertoolbox.py', 'whoville.py', 'words.py', 'reporterIO.py', 'xmlmenudump.py', 'automaticdoc.py', 'activeareamenu.py'] swigpyfiles = ['bitoverlay.spy'] hfiles = ['bitoverlay.h', 'ghostoofcanvas.h'] else: cfiles = ['bitoverlay.C', 'ghostoofcanvas.C', 'vtkutils.C', 'view.C', 'canvaslayers.C', 'oofcerr.C', 'oofImageToGrid.C', 'oofOverlayVoxels.C', 'oofExcludeVoxels.C', 'gridsourcebase.C', 'gridlayers.C', 'oofCellLocator.C', 'imageformat.C'] swigfiles = ['ghostoofcanvas.swg', 'vtkutils.swg', 'view.swg', 'canvaslayers.swg', 'gridsourcebase.swg', 'gridlayers.swg', 'imageformat.swg'] pyfiles = ['activityviewermenu.py', 'automatic.py', 'automaticdoc.py', 'binarydata.py', 'bitmapdisplay.py', 'clipplaneclickanddragdisplay.py', 'colordiffparameter.py', 'colormap.py', 'datafile.py', 'display.py', 'genericselecttoolbox.py', 'gfxmanager.py', 'ghostgfxwindow.py', 'mainmenu.py', 'menudump.py', 'menuparser.py', 'microstructureIO.py', 'microstructuredisplay.py', 'microstructuremenu.py', 'oofmenu.py', 'output.py', 'parameter.py', 'pixelgroupmenu.py', 'pixelgroupparam.py', 'pixelinfo.py', 'pixelinfodisplay.py', 'placeholder.py', 'pointparameter.py', 'pointparameter.py', 'progressbar_delay.py', 'questioner.py', 'reporter.py', 'reporterIO.py', 'reportermenu.py', 'scriptloader.py', 'socket2me.py', 'topwho.py', 'typename.py', 'viewertoolbox.py', 'voxelregionselectiondisplay.py', 'whoville.py', 'words.py', 'xmlmenudump.py'] swigpyfiles = ['view.spy', 'imageformat.spy'] hfiles = ['bitoverlay.h', 'vtkutils.h', 'view.h', 'canvaslayers.h', 'oofcerr.h', 'gridsourcebase.h', 'gridlayers.h', 'oofImageToGrid.h', 'oofOverlayVoxels.h', 'oofExcludeVoxels.h', 'oofCellLocator.h', 'imageformat.h'] if HAVE_MPI: pyfiles.extend(['parallelmainmenu.py', 'microstructureIPC.py', 'pixelgroupIPC.py'])
class Solution: def reverseOnlyLetters(self, s: str) -> str: s=list(s) left=0 right=len(s)-1 def isChar(a): return (ord(a)>=ord('a') and ord(a)<=ord('z')) or (ord(a)>=ord('A') and ord(a)<=ord('Z')) while left<right: if isChar(s[left]) and isChar(s[right]): temp=s[left] s[left]=s[right] s[right]=temp left+=1 right-=1 while not isChar(s[left]): left+=1 if left>=right: return ''.join(s) while not isChar(s[right]): right-=1 if right<=left: return ''.join(s) return ''.join(s) if __name__ == '__main__': sol=Solution() # s = "a-bC-dEf-ghIj" s = "Test1ng-Leet=code-Q!" print(sol.reverseOnlyLetters(s))
class Solution: def reverse_only_letters(self, s: str) -> str: s = list(s) left = 0 right = len(s) - 1 def is_char(a): return ord(a) >= ord('a') and ord(a) <= ord('z') or (ord(a) >= ord('A') and ord(a) <= ord('Z')) while left < right: if is_char(s[left]) and is_char(s[right]): temp = s[left] s[left] = s[right] s[right] = temp left += 1 right -= 1 while not is_char(s[left]): left += 1 if left >= right: return ''.join(s) while not is_char(s[right]): right -= 1 if right <= left: return ''.join(s) return ''.join(s) if __name__ == '__main__': sol = solution() s = 'Test1ng-Leet=code-Q!' print(sol.reverseOnlyLetters(s))
# Shift cipher def shift(plain, key): if plain.isalnum() == False: raise ValueError("Plaintext should be alphanumeric") ctext = "" for c in plain: if c.islower(): ctext += chr((ord(c) - ord('a') + key) % 26 + ord('a')) elif c.isupper(): ctext += chr((ord(c) - ord('A') + key) % 26 + ord('A')) # numeric is not shifted else: ctext += c return ctext # Unshift operation for shift cipher def unshift(cipher, key): if cipher.isalnum() == False: raise ValueError("Ciphertext should be alphanumeric") ctext = "" for c in cipher: if c.islower(): ctext += chr((ord(c) - ord('a') - key) % 26 + ord('a')) elif c.isupper(): ctext += chr((ord(c) - ord('A') - key) % 26 + ord('A')) # numeric is not shifted else: ctext += c return ctext
def shift(plain, key): if plain.isalnum() == False: raise value_error('Plaintext should be alphanumeric') ctext = '' for c in plain: if c.islower(): ctext += chr((ord(c) - ord('a') + key) % 26 + ord('a')) elif c.isupper(): ctext += chr((ord(c) - ord('A') + key) % 26 + ord('A')) else: ctext += c return ctext def unshift(cipher, key): if cipher.isalnum() == False: raise value_error('Ciphertext should be alphanumeric') ctext = '' for c in cipher: if c.islower(): ctext += chr((ord(c) - ord('a') - key) % 26 + ord('a')) elif c.isupper(): ctext += chr((ord(c) - ord('A') - key) % 26 + ord('A')) else: ctext += c return ctext
p = [] i = 0 while i < 10: p.append(i) i += 1 p[2] = p[6] = p p[a] = p # Makes p Top
p = [] i = 0 while i < 10: p.append(i) i += 1 p[2] = p[6] = p p[a] = p
n=str(input("Enter the list ")) ls=list(n.split(" ")) le=len(ls) last=ls[le-1] print("Last color %s"%last) print("First color " +ls[0])
n = str(input('Enter the list ')) ls = list(n.split(' ')) le = len(ls) last = ls[le - 1] print('Last color %s' % last) print('First color ' + ls[0])
#Hay que crear una variable donde esta el objetivo, una lo que se va # suman y otra donde esta lo que queda por cambiar dinero=100 acumulado=0 resto=100 #Variable lista con billetes billetes=[[3,20],[5,10],[2,5]] #variable cambio cambio2=[[0,20],[0,10],[0,5]] cambio=cambio2.copy() #soluciones posibles solucion=((0,0,0),(0,0,0),(0,0,0)) i=0 while resto > billetes[i][1] and billetes[i][1]>0 and resto>dinero: billetes[i][1]-=1 cambio[i][1]+=1 acumulado=acumulado+ billetes[i][1]*billetes[i][0] resto=dinero - acumulado cambio[i][0].append(1) i+=1
dinero = 100 acumulado = 0 resto = 100 billetes = [[3, 20], [5, 10], [2, 5]] cambio2 = [[0, 20], [0, 10], [0, 5]] cambio = cambio2.copy() solucion = ((0, 0, 0), (0, 0, 0), (0, 0, 0)) i = 0 while resto > billetes[i][1] and billetes[i][1] > 0 and (resto > dinero): billetes[i][1] -= 1 cambio[i][1] += 1 acumulado = acumulado + billetes[i][1] * billetes[i][0] resto = dinero - acumulado cambio[i][0].append(1) i += 1
a = "test1" b = "test2" c = "test3" print(2**100)
a = 'test1' b = 'test2' c = 'test3' print(2 ** 100)
def fa_icon(name): ''' http://fontawesome.dashgame.com/ ''' return 'fa fa-%s'%name
def fa_icon(name): """ http://fontawesome.dashgame.com/ """ return 'fa fa-%s' % name
class Customer: def __init__(self,name): self.name=name def greet(self,arg=None): if arg==None: print("Hello!") else: print("Hello",arg,"!") def purchase(self,*items): count=len(items) print(self.name, "you have purchased", count,"item(s):") for x in items: print(x) customer_1 = Customer("Sam") customer_1.greet() customer_1.purchase("chips", "chocolate", "orange juice") print("-----------------------------") customer_2 = Customer("David") customer_2.greet("David") customer_2.purchase("orange juice")
class Customer: def __init__(self, name): self.name = name def greet(self, arg=None): if arg == None: print('Hello!') else: print('Hello', arg, '!') def purchase(self, *items): count = len(items) print(self.name, 'you have purchased', count, 'item(s):') for x in items: print(x) customer_1 = customer('Sam') customer_1.greet() customer_1.purchase('chips', 'chocolate', 'orange juice') print('-----------------------------') customer_2 = customer('David') customer_2.greet('David') customer_2.purchase('orange juice')
# Copyright 2010 Hakan Kjellerstrand hakank@bonetmail.com # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an 'AS IS' BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # Nonogram problem: P199, difficulty 8 # From http://87.230.22.228/examples/nono_regular.ecl.txt # rows = 20 row_rule_len = 6 row_rules = [ [0,0,0,1,1,4], [0,0,0,0,1,6], [1,1,1,1,2,3], [0,0,1,1,2,3], [0,0,3,1,2,3], [0,0,4,5,2,2], [0,0,0,7,3,2], [0,0,3,5,1,2], [0,0,2,2,4,1], [0,0,2,2,3,4], [0,0,0,2,5,2], [0,0,2,1,5,1], [0,0,2,2,3,1], [0,0,0,6,2,2], [0,0,0,0,1,7], [0,0,0,2,2,2], [0,0,0,0,1,4], [0,0,0,3,1,1], [0,0,0,0,1,1], [0,0,0,0,1,1] ] cols = 20 col_rule_len = 5 col_rules = [ [0,0,0,6,1], [0,0,0,8,3], [0,0,3,2,1], [1,1,2,2,1], [1,2,2,1,1], [0,1,1,1,1], [0,0,0,2,3], [0,4,1,2,2], [0,0,5,2,1], [0,0,8,1,1], [0,0,0,7,2], [0,0,3,5,2], [0,0,0,2,5], [0,0,2,1,4], [0,2,2,2,2], [2,2,1,1,1], [3,1,1,1,1], [0,5,4,2,1], [0,7,4,1,1], [0,0,0,0,4] ]
rows = 20 row_rule_len = 6 row_rules = [[0, 0, 0, 1, 1, 4], [0, 0, 0, 0, 1, 6], [1, 1, 1, 1, 2, 3], [0, 0, 1, 1, 2, 3], [0, 0, 3, 1, 2, 3], [0, 0, 4, 5, 2, 2], [0, 0, 0, 7, 3, 2], [0, 0, 3, 5, 1, 2], [0, 0, 2, 2, 4, 1], [0, 0, 2, 2, 3, 4], [0, 0, 0, 2, 5, 2], [0, 0, 2, 1, 5, 1], [0, 0, 2, 2, 3, 1], [0, 0, 0, 6, 2, 2], [0, 0, 0, 0, 1, 7], [0, 0, 0, 2, 2, 2], [0, 0, 0, 0, 1, 4], [0, 0, 0, 3, 1, 1], [0, 0, 0, 0, 1, 1], [0, 0, 0, 0, 1, 1]] cols = 20 col_rule_len = 5 col_rules = [[0, 0, 0, 6, 1], [0, 0, 0, 8, 3], [0, 0, 3, 2, 1], [1, 1, 2, 2, 1], [1, 2, 2, 1, 1], [0, 1, 1, 1, 1], [0, 0, 0, 2, 3], [0, 4, 1, 2, 2], [0, 0, 5, 2, 1], [0, 0, 8, 1, 1], [0, 0, 0, 7, 2], [0, 0, 3, 5, 2], [0, 0, 0, 2, 5], [0, 0, 2, 1, 4], [0, 2, 2, 2, 2], [2, 2, 1, 1, 1], [3, 1, 1, 1, 1], [0, 5, 4, 2, 1], [0, 7, 4, 1, 1], [0, 0, 0, 0, 4]]
class Hashtable: def __init__(self): self.size = 11 self.slots = [None] * self.size self.data = [None] *self.size def put(self, key, data): hash_value = self.hash_function(key) if self.slots[hash_value] == None: self.slots[hash_value] = key self.data[hash_value] = data else: if self.slots[hash_value] == key: self.data[hash_value] = data # replace else: next_slot = self.rehash(hash_value) while self.slots[next_slot] != None\ and self.slots[next_slot] != key: next_slot = self.rehash(next_slot) if self.slots[next_slot] == None: self.slots[next_slot] = key self.data[next_slot] = data else: self.data[next_slot] = data def hash_function(self, key): return key % self.size def rehash(self, old_hash): return (old_hash + 1) % self.size
class Hashtable: def __init__(self): self.size = 11 self.slots = [None] * self.size self.data = [None] * self.size def put(self, key, data): hash_value = self.hash_function(key) if self.slots[hash_value] == None: self.slots[hash_value] = key self.data[hash_value] = data elif self.slots[hash_value] == key: self.data[hash_value] = data else: next_slot = self.rehash(hash_value) while self.slots[next_slot] != None and self.slots[next_slot] != key: next_slot = self.rehash(next_slot) if self.slots[next_slot] == None: self.slots[next_slot] = key self.data[next_slot] = data else: self.data[next_slot] = data def hash_function(self, key): return key % self.size def rehash(self, old_hash): return (old_hash + 1) % self.size
def setup(): size (300,300) background (100) smooth() noLoop() def draw (): strokeWeight(15) str(100) line (100,200, 200,100) line (200,200, 100,100)
def setup(): size(300, 300) background(100) smooth() no_loop() def draw(): stroke_weight(15) str(100) line(100, 200, 200, 100) line(200, 200, 100, 100)
name = 'pyopengl' version = '3.1.0' authors = [ 'Mike C. Fletcher <mcfletch@vrplumber.com>' ] description = \ ''' Standard OpenGL bindings for Python. ''' build_requires = [ 'setuptools' ] requires = [ 'python' ] variants = [ ['platform-linux', 'arch-x86_64', 'os-CentOS-7'] ] uuid = 'pyopengl' def commands(): env.PYTHONPATH.append('{root}/lib/python2.7/site-packages')
name = 'pyopengl' version = '3.1.0' authors = ['Mike C. Fletcher <mcfletch@vrplumber.com>'] description = '\n Standard OpenGL bindings for Python.\n ' build_requires = ['setuptools'] requires = ['python'] variants = [['platform-linux', 'arch-x86_64', 'os-CentOS-7']] uuid = 'pyopengl' def commands(): env.PYTHONPATH.append('{root}/lib/python2.7/site-packages')
n, m = map(int, input().split()) l = [*map(int, input().split())] for _ in range(m): l.sort() l[0], l[1] = l[0]+l[1], l[0]+l[1] print(sum(l))
(n, m) = map(int, input().split()) l = [*map(int, input().split())] for _ in range(m): l.sort() (l[0], l[1]) = (l[0] + l[1], l[0] + l[1]) print(sum(l))
def dictMerge(a, b): for key, value in b.items(): if isinstance(value, dict): if key in a: dictMerge(a[key], value) else: a[key] = dict(value) else: a[key] = value
def dict_merge(a, b): for (key, value) in b.items(): if isinstance(value, dict): if key in a: dict_merge(a[key], value) else: a[key] = dict(value) else: a[key] = value
class Calculator: def __init__(self,num1): self.num1 = num1 def __add__(self,num2): return self.num1 + num2.num1 def __mul__(self,num2): return self.num1 * num2.num1 def __len__(self,str): return len(self.str) def __str__(self): return f"The Decimal Number that we have used {self.num1}" n1 = Calculator(9) print(n1) # print(str(n)) # n2 = Calculator(10) # sum = n1 + n2 # mul = n1 * n2 # print(sum) # print(mul) # print(str)
class Calculator: def __init__(self, num1): self.num1 = num1 def __add__(self, num2): return self.num1 + num2.num1 def __mul__(self, num2): return self.num1 * num2.num1 def __len__(self, str): return len(self.str) def __str__(self): return f'The Decimal Number that we have used {self.num1}' n1 = calculator(9) print(n1)
# Copyright 2020 Plezentek, Inc. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. SQLCRelease = provider( doc = "Contains information about the SQLC release used in the toolchain", fields = { "goos": "The host OS the release was built for.", "goarch": "The host architecture the release was built for.", "root_file": "The file at the base of the toolchain context", "sqlc": "The sqlc binary to execute", "version": "The version of the sqlc binary used", }, )
sqlc_release = provider(doc='Contains information about the SQLC release used in the toolchain', fields={'goos': 'The host OS the release was built for.', 'goarch': 'The host architecture the release was built for.', 'root_file': 'The file at the base of the toolchain context', 'sqlc': 'The sqlc binary to execute', 'version': 'The version of the sqlc binary used'})
SCRABBLE_LETTER_VALUES = { "a": 1, "b": 3, "c": 3, "d": 2, "e": 1, "f": 4, "g": 2, "h": 4, "i": 1, "j": 8, "k": 5, "l": 1, "m": 3, "n": 1, "o": 1, "p": 3, "q": 10, "r": 1, "s": 1, "t": 1, "u": 1, "v": 4, "w": 4, "x": 8, "y": 4, "z": 10, } def get_word_score(word, n): wordLower = word.lower() wordLen = len(wordLower) score = 0 for character in wordLower: score += SCRABBLE_LETTER_VALUES[character] if (7 * wordLen - 3 * (n - wordLen)) > 1: score *= 7 * wordLen - 3 * (n - wordLen) else: score*= 1 return score print(get_word_score("it", 7))
scrabble_letter_values = {'a': 1, 'b': 3, 'c': 3, 'd': 2, 'e': 1, 'f': 4, 'g': 2, 'h': 4, 'i': 1, 'j': 8, 'k': 5, 'l': 1, 'm': 3, 'n': 1, 'o': 1, 'p': 3, 'q': 10, 'r': 1, 's': 1, 't': 1, 'u': 1, 'v': 4, 'w': 4, 'x': 8, 'y': 4, 'z': 10} def get_word_score(word, n): word_lower = word.lower() word_len = len(wordLower) score = 0 for character in wordLower: score += SCRABBLE_LETTER_VALUES[character] if 7 * wordLen - 3 * (n - wordLen) > 1: score *= 7 * wordLen - 3 * (n - wordLen) else: score *= 1 return score print(get_word_score('it', 7))
def trace(matrix): try: return sum(matrix[i][i] for i in range(max(len(matrix), len(matrix[0])))) except: return None
def trace(matrix): try: return sum((matrix[i][i] for i in range(max(len(matrix), len(matrix[0]))))) except: return None
oredict = [ "logWood", "plankWood", "slabWood", "stairWood", "stickWood", "treeSapling", "treeLeaves", "vine", "oreGold", "oreIron", "oreLapis", "oreDiamond", "oreRedstone", "oreEmerald", "oreQuartz", "oreCoal", "ingotIron", "ingotGold", "ingotBrick", "ingotBrickNether", "nuggetGold", "nuggetIron", "gemDiamond", "gemEmerald", "gemQuartz", "gemPrismarine", "dustPrismarine", "dustRedstone", "dustGlowstone", "gemLapis", "blockGold", "blockIron", "blockLapis", "blockDiamond", "blockRedstone", "blockEmerald", "blockQuartz", "blockCoal", "cropWheat", "cropPotato", "cropCarrot", "cropNetherWart", "sugarcane", "blockCactus", "dye", "paper", "slimeball", "enderpearl", "bone", "gunpowder", "string", "netherStar", "leather", "feather", "egg", "record", "dirt", "grass", "stone", "cobblestone", "gravel", "sand", "sandstone", "netherrack", "obsidian", "glowstone", "endstone", "torch", "workbench", "blockSlime", "blockPrismarine", "blockPrismarineBrick", "blockPrismarineDark", "stoneGranite", "stoneGranitePolished", "stoneDiorite", "stoneDioritePolished", "stoneAndesite", "stoneAndesitePolished", "blockGlassColorless", "blockGlass", "paneGlassColorless", "paneGlass", "chest", "chestWood", "chestEnder", "chestTrapped", "dyeBlack", "blockGlassBlack", "paneGlassBlack", "dyeRed", "blockGlassRed", "paneGlassRed", "dyeGreen", "blockGlassGreen", "paneGlassGreen", "dyeBrown", "blockGlassBrown", "paneGlassBrown", "dyeBlue", "blockGlassBlue", "paneGlassBlue", "dyePurple", "blockGlassPurple", "paneGlassPurple", "dyeCyan", "blockGlassCyan", "paneGlassCyan", "dyeLightGray", "blockGlassLightGray", "paneGlassLightGray", "dyeGray", "blockGlassGray", "paneGlassGray", "dyePink", "blockGlassPink", "paneGlassPink", "dyeLime", "blockGlassLime", "paneGlassLime", "dyeYellow", "blockGlassYellow", "paneGlassYellow", "dyeLightBlue", "blockGlassLightBlue", "paneGlassLightBlue", "dyeMagenta", "blockGlassMagenta", "paneGlassMagenta", "dyeOrange", "blockGlassOrange", "paneGlassOrange", "dyeWhite", "blockGlassWhite", "paneGlassWhite", "blockWool", "coal", "charcoal", "bookshelf", "ingotUnstable", "nuggetUnstable", "compressed1xCobblestone", "compressed2xCobblestone", "compressed3xCobblestone", "compressed4xCobblestone", "compressed5xCobblestone", "compressed6xCobblestone", "compressed7xCobblestone", "compressed8xCobblestone", "compressed1xDirt", "compressed2xDirt", "compressed3xDirt", "compressed4xDirt", "compressed1xSand", "compressed2xSand", "compressed1xGravel", "compressed2xGravel", "compressed1xNetherrack", "compressed2xNetherrack", "compressed3xNetherrack", "compressed4xNetherrack", "compressed5xNetherrack", "compressed6xNetherrack", "gemRedstone", "gearRedstone", "eyeofredstone", "dustLunar", "coalPowered", "gemMoon", "xuUpgradeSpeed", "xuUpgradeStack", "xuUpgradeMining", "xuUpgradeBlank", "dropofevil", "ingotDemonicMetal", "ingotEnchantedMetal", "xuRedstoneCoil", "xuUpgradeSpeedEnchanted", "ingotEvilMetal", "blockEnchantedMetal", "blockDemonicMetal", "blockEvilMetal", "blockMagicalWood", "bricksStone", "dustIron", "dustGold", "oreCopper", "dustCopper", "dustTin", "ingotCopper", "oreTin", "ingotTin", "oreLead", "dustLead", "dustSilver", "ingotLead", "oreSilver", "ingotSilver", "oreNickel", "dustNickel", "dustPlatinum", "ingotNickel", "orePlatinum", "ingotPlatinum", "mushroomAny", "tallow", "gemEnderBiotite", "woodRubber", "dustLapis", "oreUranium", "dustStone", "dustBronze", "dustClay", "dustCoal", "dustObsidian", "dustSulfur", "dustLithium", "dustDiamond", "dustSiliconDioxide", "dustHydratedCoal", "dustAshes", "dustTinyCopper", "dustTinyGold", "dustTinyIron", "dustTinySilver", "dustTinyTin", "dustTinyLead", "dustTinySulfur", "dustTinyLithium", "dustTinyBronze", "dustTinyLapis", "dustTinyObsidian", "itemRubber", "ingotBronze", "ingotSteel", "plateIron", "plateGold", "plateCopper", "plateTin", "plateLead", "plateLapis", "plateObsidian", "plateBronze", "plateSteel", "plateDenseSteel", "plateDenseIron", "plateDenseGold", "plateDenseCopper", "plateDenseTin", "plateDenseLead", "plateDenseLapis", "plateDenseObsidian", "plateDenseBronze", "crushedIron", "crushedGold", "crushedSilver", "crushedLead", "crushedCopper", "crushedTin", "crushedUranium", "crushedPurifiedIron", "crushedPurifiedGold", "crushedPurifiedSilver", "crushedPurifiedLead", "crushedPurifiedCopper", "crushedPurifiedTin", "crushedPurifiedUranium", "blockBronze", "blockCopper", "blockTin", "blockUranium", "blockLead", "blockSilver", "blockSteel", "circuitBasic", "circuitAdvanced", "craftingToolForgeHammer", "craftingToolWireCutter", "gemApatite", "brickPeat", "dustAsh", "gearBronze", "gearCopper", "gearTin", "pulpWood", "itemBeeswax", "cropCherry", "fruitForestry", "cropWalnut", "cropChestnut", "cropLemon", "cropPlum", "cropDate", "cropPapaya", "oreApatite", "blockApatite", "craftingTableWood", "trapdoorWood", "blockCharcoal", "dropHoney", "itemPollen", "dropHoneydew", "dropRoyalJelly", "beeComb", "fenceWood", "fenceGateWood", "doorWood", "emptiedLetter", "weedkiller", "toolTrowel", "binnie_database", "pigment", "cropApple", "cropCrabapple", "cropOrange", "cropKumquat", "cropLime", "cropWildCherry", "cropSourCherry", "cropBlackCherry", "cropBlackthorn", "cropCherryPlum", "cropAlmond", "cropApricot", "cropGrapefruit", "cropPeach", "cropSatsuma", "cropBuddhaHand", "cropCitron", "cropFingerLime", "cropKeyLime", "cropManderin", "cropNectarine", "cropPomelo", "cropTangerine", "cropPear", "cropSandPear", "cropHazelnut", "cropButternut", "cropBeechnut", "cropPecan", "cropBanana", "cropRedBanana", "cropPlantain", "cropBrazilNut", "cropFig", "cropAcorn", "cropElderberry", "cropOlive", "cropGingkoNut", "cropCoffee", "cropOsangeOrange", "cropClove", "cropHops", "seedWheat", "seedBarley", "seedCorn", "seedRye", "seedRoasted", "ballMud", "blockMeatRaw", "blockMud", "foodMushroompowder", "foodFruitsalad", "foodVeggiesalad", "foodMushroomsalad", "foodFilledhoneycomb", "foodAmbrosia", "foodBowlofrice", "cropPersimmon", "cropTurnip", "listAllfruit", "listAllrootveggie", "listAllveggie", "seedTurnip", "listAllseed", "gemAmethyst", "oreAmethyst", "gemRuby", "oreRuby", "gemPeridot", "orePeridot", "gemTopaz", "oreTopaz", "gemTanzanite", "oreTanzanite", "gemMalachite", "oreMalachite", "gemSapphire", "oreSapphire", "gemAmber", "oreAmber", "flowerClover", "flowerSwampflower", "flowerDeathbloom", "flowerGlowflower", "flowerBlueHydrangea", "flowerOrangeCosmos", "flowerPinkDaffodil", "flowerWildflower", "flowerViolet", "flowerWhiteAnemone", "flowerEnderlotus", "flowerBromeliad", "flowerWiltedLily", "flowerPinkHibiscus", "flowerLilyOfTheValley", "flowerBurningBlossom", "flowerLavender", "flowerGoldenrod", "flowerBluebells", "flowerMinersDelight", "flowerIcyIris", "flowerRose", "plantShortgrass", "plantMediumgrass", "plantBush", "plantSprout", "plantPoisonivy", "plantBerrybush", "plantShrub", "plantWheatgrass", "plantDampgrass", "plantKoru", "plantCloverpatch", "plantLeafpile", "plantDeadleafpile", "plantDeadgrass", "plantDesertgrass", "plantDesertsprouts", "plantDunegrass", "plantSpectralfern", "plantThorn", "plantWildrice", "plantCattail", "plantRivercane", "plantTinycactus", "plantDevilweed", "plantReed", "plantRoot", "plantRafflesia", "plantFlax", "blockWoolWhite", "blockWoolOrange", "blockWoolMagenta", "blockWoolLightBlue", "blockWoolYellow", "blockWoolLime", "blockWoolPink", "blockWoolGray", "blockWoolLightGray", "blockWoolCyan", "blockWoolPurple", "blockWoolBlue", "blockWoolBrown", "blockWoolGreen", "blockWoolRed", "blockWoolBlack", "flower", "craftingPiston", "torchRedstoneActive", "materialEnderPearl", "oc:wlanCard", "chipDiamond", "oc:stoneEndstone", "oreAluminum", "oreIridium", "oreMithril", "oreFluidCrudeOilSand", "oreFluidCrudeOilShale", "oreFluidRedstone", "oreFluidGlowstone", "oreFluidEnder", "blockAluminum", "blockNickel", "blockPlatinum", "blockIridium", "blockMithril", "blockElectrum", "blockInvar", "blockConstantan", "blockSignalum", "blockLumium", "blockEnderium", "blockFuelCoke", "blockGlassHardened", "blockRockwool", "coinIron", "coinGold", "coinCopper", "coinTin", "coinSilver", "coinLead", "coinAluminum", "coinNickel", "coinPlatinum", "coinIridium", "coinMithril", "coinSteel", "coinElectrum", "coinInvar", "coinBronze", "coinConstantan", "coinSignalum", "coinLumium", "coinEnderium", "nuggetDiamond", "nuggetEmerald", "gearIron", "gearGold", "dustAluminum", "dustIridium", "dustMithril", "dustSteel", "dustElectrum", "dustInvar", "dustConstantan", "dustSignalum", "dustLumium", "dustEnderium", "ingotAluminum", "ingotIridium", "ingotMithril", "ingotElectrum", "ingotInvar", "ingotConstantan", "ingotSignalum", "ingotLumium", "ingotEnderium", "nuggetCopper", "nuggetTin", "nuggetSilver", "nuggetLead", "nuggetAluminum", "nuggetNickel", "nuggetPlatinum", "nuggetIridium", "nuggetMithril", "nuggetSteel", "nuggetElectrum", "nuggetInvar", "nuggetBronze", "nuggetConstantan", "nuggetSignalum", "nuggetLumium", "nuggetEnderium", "gearSilver", "gearLead", "gearAluminum", "gearNickel", "gearPlatinum", "gearIridium", "gearMithril", "gearSteel", "gearElectrum", "gearInvar", "gearConstantan", "gearSignalum", "gearLumium", "gearEnderium", "plateSilver", "plateAluminum", "plateNickel", "platePlatinum", "plateIridium", "plateMithril", "plateElectrum", "plateInvar", "plateConstantan", "plateSignalum", "plateLumium", "plateEnderium", "dustCharcoal", "dustWood", "crystalSlag", "crystalSlagRich", "crystalCinnabar", "crystalCrudeOil", "crystalRedstone", "crystalGlowstone", "crystalEnder", "dustPyrotheum", "dustCryotheum", "dustAerotheum", "dustPetrotheum", "dustMana", "rodBlizz", "dustBlizz", "rodBlitz", "dustBlitz", "rodBasalz", "dustBasalz", "dustSaltpeter", "fuelCoke", "itemSlag", "itemSlagRich", "itemCinnabar", "dragonEgg", "oreDraconium", "blockDraconium", "blockDraconiumAwakened", "ingotDraconium", "dustDraconium", "ingotDraconiumAwakened", "nuggetDraconium", "nuggetDraconiumAwakened", "dustPsi", "substanceEbony", "ingotPsi", "substanceIvory", "ingotEbonyPsi", "ingotIvoryPsi", "gemPsi", "crystalsPrismarine", "shardPrismarine", "oreThorium", "oreBoron", "oreLithium", "oreMagnesium", "blockThorium", "blockBoron", "blockLithium", "blockMagnesium", "blockGraphite", "blockBeryllium", "blockZirconium", "blockDepletedThorium", "blockDepletedUranium", "blockDepletedNeptunium", "blockDepletedPlutonium", "blockDepletedAmericium", "blockDepletedCurium", "blockDepletedBerkelium", "blockDepletedCalifornium", "ingotThorium", "ingotUranium", "ingotBoron", "ingotLithium", "ingotMagnesium", "ingotGraphite", "ingotBeryllium", "ingotZirconium", "ingotThoriumOxide", "ingotUraniumOxide", "ingotManganeseOxide", "ingotManganeseDioxide", "dustThorium", "dustUranium", "dustBoron", "dustMagnesium", "dustGraphite", "dustBeryllium", "dustZirconium", "dustThoriumOxide", "dustUraniumOxide", "dustManganeseOxide", "dustManganeseDioxide", "gemRhodochrosite", "gemBoronNitride", "gemFluorite", "dustRhodochrosite", "dustQuartz", "dustNetherQuartz", "dustBoronNitride", "dustFluorite", "ingotTough", "ingotHardCarbon", "ingotMagnesiumDiboride", "ingotLithiumManganeseDioxide", "ingotFerroboron", "ingotShibuichi", "ingotTinSilver", "ingotLeadPlatinum", "dustCalciumSulfate", "dustCrystalBinder", "plateBasic", "plateAdvanced", "plateDU", "plateElite", "solenoidCopper", "solenoidMagnesiumDiboride", "bioplastic", "tinyDustLead", "ingotThorium230Base", "ingotThorium230", "ingotThorium230Oxide", "nuggetThorium230", "nuggetThorium230Oxide", "ingotThorium232Base", "ingotThorium232", "ingotThorium232Oxide", "nuggetThorium232", "nuggetThorium232Oxide", "ingotUranium233Base", "ingotUranium233", "ingotUranium233Oxide", "nuggetUranium233", "nuggetUranium233Oxide", "ingotUranium235Base", "ingotUranium235", "ingotUranium235Oxide", "nuggetUranium235", "nuggetUranium235Oxide", "ingotUranium238Base", "ingotUranium238", "ingotUranium238Oxide", "nuggetUranium238", "nuggetUranium238Oxide", "ingotNeptunium236Base", "ingotNeptunium236", "ingotNeptunium236Oxide", "nuggetNeptunium236", "nuggetNeptunium236Oxide", "ingotNeptunium237Base", "ingotNeptunium237", "ingotNeptunium237Oxide", "nuggetNeptunium237", "nuggetNeptunium237Oxide", "ingotPlutonium238Base", "ingotPlutonium238", "ingotPlutonium238Oxide", "nuggetPlutonium238", "nuggetPlutonium238Oxide", "ingotPlutonium239Base", "ingotPlutonium239", "ingotPlutonium239Oxide", "nuggetPlutonium239", "nuggetPlutonium239Oxide", "ingotPlutonium241Base", "ingotPlutonium241", "ingotPlutonium241Oxide", "nuggetPlutonium241", "nuggetPlutonium241Oxide", "ingotPlutonium242Base", "ingotPlutonium242", "ingotPlutonium242Oxide", "nuggetPlutonium242", "nuggetPlutonium242Oxide", "ingotAmericium241Base", "ingotAmericium241", "ingotAmericium241Oxide", "nuggetAmericium241", "nuggetAmericium241Oxide", "ingotAmericium242Base", "ingotAmericium242", "ingotAmericium242Oxide", "nuggetAmericium242", "nuggetAmericium242Oxide", "ingotAmericium243Base", "ingotAmericium243", "ingotAmericium243Oxide", "nuggetAmericium243", "nuggetAmericium243Oxide", "ingotCurium243Base", "ingotCurium243", "ingotCurium243Oxide", "nuggetCurium243", "nuggetCurium243Oxide", "ingotCurium245Base", "ingotCurium245", "ingotCurium245Oxide", "nuggetCurium245", "nuggetCurium245Oxide", "ingotCurium246Base", "ingotCurium246", "ingotCurium246Oxide", "nuggetCurium246", "nuggetCurium246Oxide", "ingotCurium247Base", "ingotCurium247", "ingotCurium247Oxide", "nuggetCurium247", "nuggetCurium247Oxide", "ingotBerkelium247Base", "ingotBerkelium247", "ingotBerkelium247Oxide", "nuggetBerkelium247", "nuggetBerkelium247Oxide", "ingotBerkelium248Base", "ingotBerkelium248", "ingotBerkelium248Oxide", "nuggetBerkelium248", "nuggetBerkelium248Oxide", "ingotCalifornium249Base", "ingotCalifornium249", "ingotCalifornium249Oxide", "nuggetCalifornium249", "nuggetCalifornium249Oxide", "ingotCalifornium250Base", "ingotCalifornium250", "ingotCalifornium250Oxide", "nuggetCalifornium250", "nuggetCalifornium250Oxide", "ingotCalifornium251Base", "ingotCalifornium251", "ingotCalifornium251Oxide", "nuggetCalifornium251", "nuggetCalifornium251Oxide", "ingotCalifornium252Base", "ingotCalifornium252", "ingotCalifornium252Oxide", "nuggetCalifornium252", "nuggetCalifornium252Oxide", "fuelTBU", "fuelTBUOxide", "fuelLEU233", "fuelLEU233Oxide", "fuelHEU233", "fuelHEU233Oxide", "fuelLEU235", "fuelLEU235Oxide", "fuelHEU235", "fuelHEU235Oxide", "fuelLEN236", "fuelLEN236Oxide", "fuelHEN236", "fuelHEN236Oxide", "fuelLEP239", "fuelLEP239Oxide", "fuelHEP239", "fuelHEP239Oxide", "fuelLEP241", "fuelLEP241Oxide", "fuelHEP241", "fuelHEP241Oxide", "fuelMOX239", "fuelMOX241", "fuelLEA242", "fuelLEA242Oxide", "fuelHEA242", "fuelHEA242Oxide", "fuelLECm243", "fuelLECm243Oxide", "fuelHECm243", "fuelHECm243Oxide", "fuelLECm245", "fuelLECm245Oxide", "fuelHECm245", "fuelHECm245Oxide", "fuelLECm247", "fuelLECm247Oxide", "fuelHECm247", "fuelHECm247Oxide", "fuelLEB248", "fuelLEB248Oxide", "fuelHEB248", "fuelHEB248Oxide", "fuelLECf249", "fuelLECf249Oxide", "fuelHECf249", "fuelHECf249Oxide", "fuelLECf251", "fuelLECf251Oxide", "fuelHECf251", "fuelHECf251Oxide", "fuelRodTBU", "fuelRodTBUOxide", "fuelRodLEU233", "fuelRodLEU233Oxide", "fuelRodHEU233", "fuelRodHEU233Oxide", "fuelRodLEU235", "fuelRodLEU235Oxide", "fuelRodHEU235", "fuelRodHEU235Oxide", "fuelRodLEN236", "fuelRodLEN236Oxide", "fuelRodHEN236", "fuelRodHEN236Oxide", "fuelRodLEP239", "fuelRodLEP239Oxide", "fuelRodHEP239", "fuelRodHEP239Oxide", "fuelRodLEP241", "fuelRodLEP241Oxide", "fuelRodHEP241", "fuelRodHEP241Oxide", "fuelRodMOX239", "fuelRodMOX241", "fuelRodLEA242", "fuelRodLEA242Oxide", "fuelRodHEA242", "fuelRodHEA242Oxide", "fuelRodLECm243", "fuelRodLECm243Oxide", "fuelRodHECm243", "fuelRodHECm243Oxide", "fuelRodLECm245", "fuelRodLECm245Oxide", "fuelRodHECm245", "fuelRodHECm245Oxide", "fuelRodLECm247", "fuelRodLECm247Oxide", "fuelRodHECm247", "fuelRodHECm247Oxide", "fuelRodLEB248", "fuelRodLEB248Oxide", "fuelRodHEB248", "fuelRodHEB248Oxide", "fuelRodLECf249", "fuelRodLECf249Oxide", "fuelRodHECf249", "fuelRodHECf249Oxide", "fuelRodLECf251", "fuelRodLECf251Oxide", "fuelRodHECf251", "fuelRodHECf251Oxide", "depletedFuelRodTBU", "depletedFuelRodTBUOxide", "depletedFuelRodLEU233", "depletedFuelRodLEU233Oxide", "depletedFuelRodHEU233", "depletedFuelRodHEU233Oxide", "depletedFuelRodLEU235", "depletedFuelRodLEU235Oxide", "depletedFuelRodHEU235", "depletedFuelRodHEU235Oxide", "depletedFuelRodLEN236", "depletedFuelRodLEN236Oxide", "depletedFuelRodHEN236", "depletedFuelRodHEN236Oxide", "depletedFuelRodLEP239", "depletedFuelRodLEP239Oxide", "depletedFuelRodHEP239", "depletedFuelRodHEP239Oxide", "depletedFuelRodLEP241", "depletedFuelRodLEP241Oxide", "depletedFuelRodHEP241", "depletedFuelRodHEP241Oxide", "depletedFuelRodMOX239", "depletedFuelRodMOX241", "depletedFuelRodLEA242", "depletedFuelRodLEA242Oxide", "depletedFuelRodHEA242", "depletedFuelRodHEA242Oxide", "depletedFuelRodLECm243", "depletedFuelRodLECm243Oxide", "depletedFuelRodHECm243", "depletedFuelRodHECm243Oxide", "depletedFuelRodLECm245", "depletedFuelRodLECm245Oxide", "depletedFuelRodHECm245", "depletedFuelRodHECm245Oxide", "depletedFuelRodLECm247", "depletedFuelRodLECm247Oxide", "depletedFuelRodHECm247", "depletedFuelRodHECm247Oxide", "depletedFuelRodLEB248", "depletedFuelRodLEB248Oxide", "depletedFuelRodHEB248", "depletedFuelRodHEB248Oxide", "depletedFuelRodLECf249", "depletedFuelRodLECf249Oxide", "depletedFuelRodHECf249", "depletedFuelRodHECf249Oxide", "depletedFuelRodLECf251", "depletedFuelRodLECf251Oxide", "depletedFuelRodHECf251", "depletedFuelRodHECf251Oxide", "ingotBoron10", "nuggetBoron10", "ingotBoron11", "nuggetBoron11", "ingotLithium6", "nuggetLithium6", "ingotLithium7", "nuggetLithium7", "gemCoal", "gemCharcoal", "nuggetAlumite", "ingotAlumite", "blockAlumite", "ingotOsmium", "ingotRefinedObsidian", "ingotRefinedGlowstone", "nuggetOsgloglas", "ingotOsgloglas", "blockOsgloglas", "nuggetOsmiridium", "ingotOsmiridium", "blockOsmiridium", "ingotTitanium", "gemQuartzBlack", "crystalCertusQuartz", "crystalFluix", "blockElectrumFlux", "blockCrystalFlux", "dustElectrumFlux", "ingotElectrumFlux", "nuggetElectrumFlux", "gearElectrumFlux", "plateElectrumFlux", "gemCrystalFlux", "cropIronberry", "listAllberry", "cropWildberry", "cropGrape", "cropChilipepper", "listAllpepper", "cropTomato", "treeWood", "wax", "particleCustomizer", "oreGalena", "oreBauxite", "orePyrite", "oreCinnabar", "oreSphalerite", "oreTungsten", "oreSheldonite", "oreSodalite", "blockAluminium", "blockTitanium", "blockChrome", "blockBrass", "blockZinc", "blockTungsten", "blockTungstensteel", "blockRuby", "blockSapphire", "blockPeridot", "blockYellowGarnet", "blockRedGarnet", "crafterWood", "machineBasic", "saplingRubber", "logRubber", "plankRubber", "leavesRubber", "fenceIron", "machineBlockBasic", "machineBlockAdvanced", "machineBlockHighlyAdvanced", "reBattery", "lapotronCrystal", "energyCrystal", "drillBasic", "drillDiamond", "drillAdvanced", "industrialTnt", "craftingIndustrialDiamond", "fertilizer", "hvTransformer", "uran235", "uran238", "smallUran238", "smallUran235", "rubberWood", "glassReinforced", "plateIridiumAlloy", "circuitStorage", "circuitElite", "circuitMaster", "machineBlockElite", "insulatedGoldCableItem", "ic2Generator", "ic2SolarPanel", "ic2Macerator", "ic2Extractor", "ic2Windmill", "ic2Watermill", "craftingDiamondGrinder", "craftingTungstenGrinder", "craftingSuperconductor", "materialResin", "materialRubber", "plateruby", "platesapphire", "plateperidot", "gemRedGarnet", "plateredGarnet", "gemYellowGarnet", "plateyellowGarnet", "platealuminum", "ingotBrass", "platebrass", "platebronze", "ingotChrome", "platechrome", "platecopper", "plateelectrum", "plateinvar", "plateiridium", "platelead", "platenickel", "plateplatinum", "platesilver", "platesteel", "platetin", "platetitanium", "ingotTungsten", "platetungsten", "ingotHotTungstensteel", "ingotTungstensteel", "platetungstensteel", "ingotZinc", "platezinc", "ingotRefinedIron", "platerefinedIron", "ingotAdvancedAlloy", "plateadvancedAlloy", "ingotMixedMetal", "ingotIridiumAlloy", "plateCarbon", "plateWood", "plateRedstone", "plateDiamond", "plateEmerald", "plateCoal", "plateLazurite", "plateRuby", "plateSapphire", "platePeridot", "plateRedGarnet", "plateYellowGarnet", "plateBrass", "plateChrome", "plateTitanium", "plateTungsten", "plateTungstensteel", "plateZinc", "plateRefinedIron", "plateAdvancedAlloy", "platemagnalium", "plateMagnalium", "plateiridiumAlloy", "dustAlmandine", "dustAndradite", "dustBasalt", "dustBauxite", "dustBrass", "dustCalcite", "dustChrome", "dustCinnabar", "dustDarkAshes", "dustEmerald", "dustEnderEye", "dustEnderPearl", "dustEndstone", "dustFlint", "dustGalena", "dustGrossular", "dustLazurite", "dustManganese", "dustMarble", "dustNetherrack", "dustPeridot", "dustPhosphorous", "dustPyrite", "dustPyrope", "dustRedGarnet", "dustRuby", "dustSapphire", "dustSawDust", "dustSodalite", "dustSpessartine", "dustSphalerite", "dustTitanium", "dustTungsten", "dustUvarovite", "dustYellowGarnet", "dustZinc", "dustAndesite", "dustDiorite", "dustGranite", "dustSmallAlmandine", "dustSmallAluminum", "dustSmallAndradite", "dustSmallAshes", "dustSmallBasalt", "dustSmallBauxite", "dustSmallBrass", "dustSmallBronze", "dustSmallCalcite", "dustSmallCharcoal", "dustSmallChrome", "dustSmallCinnabar", "dustSmallClay", "dustSmallCoal", "dustSmallCopper", "dustSmallDarkAshes", "dustSmallDiamond", "dustSmallElectrum", "dustSmallEmerald", "dustSmallEnderEye", "dustSmallEnderPearl", "dustSmallEndstone", "dustSmallFlint", "dustSmallGalena", "dustSmallGold", "dustSmallGrossular", "dustSmallInvar", "dustSmallIron", "dustSmallLazurite", "dustSmallLead", "dustSmallMagnesium", "dustSmallManganese", "dustSmallMarble", "dustSmallNetherrack", "dustSmallNickel", "dustSmallObsidian", "dustSmallPeridot", "dustSmallPhosphorous", "dustSmallPlatinum", "dustSmallPyrite", "dustSmallPyrope", "dustSmallRedGarnet", "dustSmallRuby", "dustSmallSaltpeter", "dustSmallSapphire", "dustSmallSawDust", "dustSmallSilver", "dustSmallSodalite", "dustSmallSpessartine", "dustSmallSphalerite", "dustSmallSteel", "dustSmallSulfur", "dustSmallTin", "dustSmallTitanium", "dustSmallTungsten", "dustSmallUvarovite", "dustSmallYellowGarnet", "dustSmallZinc", "dustSmallRedstone", "dustSmallGlowstone", "dustSmallAndesite", "dustSmallDiorite", "dustSmallGranite", "nuggetBrass", "nuggetChrome", "nuggetTitanium", "nuggetTungsten", "nuggetHotTungstensteel", "nuggetTungstensteel", "nuggetZinc", "nuggetRefinedIron", "dustApatite", "dustAmethyst", "dustTopaz", "dustTanzanite", "dustMalachite", "dustAmber", "dustDilithium", "crystalDilithium", "oreDilithium", "stickIron", "sheetIron", "coilGold", "blockCoil", "dustSilicon", "ingotSilicon", "bouleSilicon", "nuggetSilicon", "plateSilicon", "stickCopper", "sheetCopper", "coilCopper", "stickSteel", "fanSteel", "sheetSteel", "stickTitanium", "sheetTitanium", "gearTitanium", "coilTitanium", "oreRutile", "oreTitanium", "sheetAluminum", "coilAluminum", "stickIridium", "coilIridium", "dustTitaniumAluminide", "ingotTitaniumAluminide", "nuggetTitaniumAluminide", "plateTitaniumAluminide", "stickTitaniumAluminide", "sheetTitaniumAluminide", "gearTitaniumAluminide", "blockTitaniumAluminide", "dustTitaniumIridium", "ingotTitaniumIridium", "nuggetTitaniumIridium", "plateTitaniumIridium", "stickTitaniumIridium", "sheetTitaniumIridium", "gearTitaniumIridium", "blockTitaniumIridium", "stoneBasalt", "stoneBasaltPolished", "bookshelfOak", "bookshelfSpruce", "bookshelfBirch", "bookshelfJungle", "bookshelfAcacia", "bookshelfDarkOak", "blockCobalt", "blockCoalCoke", "blockMossy", "blockConcrete", "blockConcreteBlack", "blockConcreteRed", "blockConcreteGreen", "blockConcreteBrown", "blockConcreteBlue", "blockConcretePurple", "blockConcreteCyan", "blockConcreteLightGray", "blockConcreteGray", "blockConcretePink", "blockConcreteLime", "blockConcreteYellow", "blockConcreteLightBlue", "blockConcreteMagenta", "blockConcreteOrange", "blockConcreteWhite", "hardenedClay", "ice", "blockIce", "stoneLimestone", "stoneLimestonePolished", "stoneMarble", "stoneMarblePolished", "prismarine", "prismarineBrick", "prismarineDark", "brickStone", "fish", "boneWithered", "listAllmeatcooked", "lexicaBotania", "petalWhite", "runeWaterB", "petalOrange", "runeFireB", "petalMagenta", "runeEarthB", "petalLightBlue", "runeAirB", "petalYellow", "runeSpringB", "petalLime", "runeSummerB", "petalPink", "runeAutumnB", "petalGray", "runeWinterB", "petalLightGray", "runeManaB", "petalCyan", "runeLustB", "petalPurple", "runeGluttonyB", "petalBlue", "runeGreedB", "petalBrown", "runeSlothB", "petalGreen", "runeWrathB", "petalRed", "runeEnvyB", "petalBlack", "runePrideB", "quartzDark", "quartzMana", "quartzBlaze", "quartzLavender", "quartzRed", "quartzElven", "quartzSunny", "pestleAndMortar", "ingotManasteel", "manaPearl", "manaDiamond", "livingwoodTwig", "ingotTerrasteel", "eternalLifeEssence", "redstoneRoot", "ingotElvenElementium", "elvenPixieDust", "elvenDragonstone", "bPlaceholder", "bRedString", "dreamwoodTwig", "gaiaIngot", "bEnderAirBottle", "manaString", "nuggetManasteel", "nuggetTerrasteel", "nuggetElvenElementium", "livingRoot", "pebble", "clothManaweave", "powderMana", "bVial", "bFlask", "rodBlaze", "powderBlaze", "mysticFlowerWhite", "mysticFlowerOrange", "mysticFlowerMagenta", "mysticFlowerLightBlue", "mysticFlowerYellow", "mysticFlowerLime", "mysticFlowerPink", "mysticFlowerGray", "mysticFlowerLightGray", "mysticFlowerCyan", "mysticFlowerPurple", "mysticFlowerBlue", "mysticFlowerBrown", "mysticFlowerGreen", "mysticFlowerRed", "mysticFlowerBlack", "livingrock", "livingwood", "dreamwood", "mysticFlowerWhiteDouble", "mysticFlowerLightGrayDouble", "mysticFlowerOrangeDouble", "mysticFlowerCyanDouble", "mysticFlowerMagentaDouble", "mysticFlowerPurpleDouble", "mysticFlowerLightBlueDouble", "mysticFlowerBlueDouble", "mysticFlowerYellowDouble", "mysticFlowerBrownDouble", "mysticFlowerLimeDouble", "mysticFlowerGreenDouble", "mysticFlowerPinkDouble", "mysticFlowerRedDouble", "mysticFlowerGrayDouble", "mysticFlowerBlackDouble", "blockBlaze", "snowLayer", "mycelium", "podzol", "soulSand", "slabCobblestone", "drawerBasic", "drawerTrim", "slabCopper", "slabAluminum", "slabLead", "slabSilver", "slabNickel", "slabUranium", "slabConstantan", "slabElectrum", "slabSteel", "blockSheetmetalCopper", "blockSheetmetalAluminum", "blockSheetmetalLead", "blockSheetmetalSilver", "blockSheetmetalNickel", "blockSheetmetalUranium", "blockSheetmetalConstantan", "blockSheetmetalElectrum", "blockSheetmetalSteel", "blockSheetmetalIron", "blockSheetmetalGold", "slabSheetmetalCopper", "slabSheetmetalAluminum", "slabSheetmetalLead", "slabSheetmetalSilver", "slabSheetmetalNickel", "slabSheetmetalUranium", "slabSheetmetalConstantan", "slabSheetmetalElectrum", "slabSheetmetalSteel", "slabSheetmetalIron", "slabSheetmetalGold", "nuggetUranium", "plateUranium", "stickTreatedWood", "stickAluminum", "fiberHemp", "fabricHemp", "dustCoke", "dustHOPGraphite", "ingotHOPGraphite", "wireCopper", "wireElectrum", "wireAluminum", "wireSteel", "electronTube", "plankTreatedWood", "slabTreatedWood", "fenceTreatedWood", "scaffoldingTreatedWood", "concrete", "fenceSteel", "fenceAluminum", "scaffoldingSteel", "scaffoldingAluminum", "blockPackedIce", "blockSnow", "oreYellorite", "oreYellorium", "blockYellorium", "blockCyanite", "blockBlutonium", "blockLudicrite", "dustYellorium", "dustCyanite", "dustBlutonium", "dustLudicrite", "dustPlutonium", "ingotYellorium", "ingotCyanite", "ingotBlutonium", "ingotLudicrite", "ingotPlutonium", "nuggetMirion", "ingotMirion", "blockMirion", "gearDiamond", "gearStone", "gearWood", "ingotAbyssalnite", "ingotLiquifiedCoralium", "gemCoralium", "oreAbyssalnite", "oreCoralium", "oreDreadedAbyssalnite", "oreCoraliumStone", "gemShadow", "liquidCoralium", "materialCoraliumPearl", "liquidAntimatter", "blockAbyssalnite", "blockLiquifiedCoralium", "blockDreadium", "ingotCoraliumBrick", "ingotDreadium", "materialMethane", "oreSaltpeter", "crystalIron", "crystalGold", "crystalSulfur", "crystalCarbon", "crystalOxygen", "crystalHydrogen", "crystalNitrogen", "crystalPhosphorus", "crystalPotassium", "crystalNitrate", "crystalMethane", "crystalAbyssalnite", "crystalCoralium", "crystalDreadium", "crystalBlaze", "crystalTin", "crystalCopper", "crystalSilicon", "crystalMagnesium", "crystalAluminium", "crystalSilica", "crystalAlumina", "crystalMagnesia", "crystalZinc", "foodFriedEgg", "orePearlescentCoralium", "oreLiquifiedCoralium", "ingotEthaxiumBrick", "ingotEthaxium", "blockEthaxium", "nuggetAbyssalnite", "nuggetLiquifiedCoralium", "nuggetDreadium", "nuggetEthaxium", "crystalShardIron", "crystalShardGold", "crystalShardSulfur", "crystalShardCarbon", "crystalShardOxygen", "crystalShardHydrogen", "crystalShardNitrogen", "crystalShardPhosphorus", "crystalShardPotassium", "crystalShardNitrate", "crystalShardMethane", "crystalShardRedstone", "crystalShardAbyssalnite", "crystalShardCoralium", "crystalShardDreadium", "crystalShardBlaze", "crystalShardTin", "crystalShardCopper", "crystalShardSilicon", "crystalShardMagnesium", "crystalShardAluminium", "crystalShardSilica", "crystalShardAlumina", "crystalShardMagnesia", "crystalShardZinc", "crystalFragmentIron", "crystalFragmentGold", "crystalFragmentSulfur", "crystalFragmentCarbon", "crystalFragmentOxygen", "crystalFragmentHydrogen", "crystalFragmentNitrogen", "crystalFragmentPhosphorus", "crystalFragmentPotassium", "crystalFragmentNitrate", "crystalFragmentMethane", "crystalFragmentRedstone", "crystalFragmentAbyssalnite", "crystalFragmentCoralium", "crystalFragmentDreadium", "crystalFragmentBlaze", "crystalFragmentTin", "crystalFragmentCopper", "crystalFragmentSilicon", "crystalFragmentMagnesium", "crystalFragmentAluminium", "crystalFragmentSilica", "crystalFragmentAlumina", "crystalFragmentMagnesia", "crystalFragmentZinc", "dustAbyssalnite", "dustLiquifiedCoralium", "dustDreadium", "dustQuartzBlack", "oreQuartzBlack", "seedCanola", "cropCanola", "seedRice", "cropRice", "seedFlax", "cropFlax", "seedCoffee", "slimeballPink", "blockInferiumEssence", "blockPrudentiumEssence", "blockIntermediumEssence", "blockSuperiumEssence", "blockSupremiumEssence", "blockProsperity", "blockBaseEssence", "blockInferium", "blockPrudentium", "blockIntermedium", "blockSuperium", "blockSupremium", "blockSoulium", "blockInferiumCoal", "blockPrudentiumCoal", "blockIntermediumCoal", "blockSuperiumCoal", "blockSupremiumCoal", "seedsTier3", "essenceTier5", "essenceTier2", "seedsTier2", "seedsTier5", "essenceTier1", "essenceTier3", "coalInferium", "essenceTier4", "seedsTier4", "ingotBaseEssence", "essenceSupremium", "ingotIntermedium", "essencePrudentium", "ingotPrudentium", "seedsTier1", "nuggetPrudentium", "coalSupremium", "nuggetIntermedium", "ingotSupremium", "coalIntermedium", "essenceSuperium", "shardProsperity", "ingotSoulium", "nuggetSuperium", "coalPrudentium", "ingotSuperium", "ingotInferium", "nuggetSupremium", "nuggetInferium", "nuggetBaseEssence", "nuggetSoulium", "essenceIntermedium", "coalSuperium", "essenceInferium", "blockInsaniumEssence", "blockInsanium", "blockInsaniumCoal", "essenceInsanium", "ingotInsanium", "nuggetInsanium", "essenceTier6", "seedsTier6", "toolPot", "toolSkillet", "toolSaucepan", "toolBakeware", "toolCuttingboard", "toolMortarandpestle", "toolMixingbowl", "toolJuicer", "coinGarlic", "cropCotton", "seedCotton", "materialCloth", "cropCandle", "cropCandleberry", "seedCandleberry", "materialPressedwax", "dustSalt", "itemSalt", "foodHoneydrop", "flowerRed", "flowerYellow", "blockTorch", "listAllmeatraw", "listAllchickenraw", "listAllegg", "listAllchickencooked", "listAllporkraw", "listAllporkcooked", "listAllbeefraw", "listAllbeefcooked", "listAllmuttonraw", "listAllmuttoncooked", "listAllturkeyraw", "listAllturkeycooked", "listAllrabbitraw", "listAllrabbitcooked", "listAllvenisonraw", "listAllvenisoncooked", "listAllduckraw", "listAllduckcooked", "listAllfishraw", "listAllfishcooked", "listAllheavycream", "listAllicecream", "listAllmilk", "listAllwater", "foodGroundbeef", "foodGroundchicken", "foodGroundduck", "foodGroundfish", "foodGroundmutton", "foodGroundpork", "foodGroundrabbit", "foodGroundturkey", "foodGroundvenison", "flourEqualswheat", "bread", "foodBread", "cropPumpkin", "cropBeet", "listAllgrain", "listAllmushroom", "salmonRaw", "listAllsugar", "listAllgreenveggie", "cropAsparagus", "seedAsparagus", "foodGrilledasparagus", "cropBarley", "cropBean", "seedBean", "seedBeet", "cropBroccoli", "seedBroccoli", "cropCauliflower", "seedCauliflower", "cropCelery", "seedCelery", "cropCranberry", "seedCranberry", "cropGarlic", "listAllherb", "seedGarlic", "cropGinger", "listAllspice", "seedGinger", "cropLeek", "seedLeek", "cropLettuce", "seedLettuce", "cropOats", "seedOats", "cropOnion", "seedOnion", "cropParsnip", "seedParsnip", "listAllnut", "cropPeanut", "seedPeanut", "cropPineapple", "seedPineapple", "cropRadish", "seedRadish", "foodRicecake", "cropRutabaga", "seedRutabaga", "cropRye", "cropScallion", "seedScallion", "cropSoybean", "seedSoybean", "cropSpiceleaf", "seedSpiceleaf", "cropSunflower", "cropSweetpotato", "seedSweetpotato", "cropTea", "seedTea", "foodTea", "cropWhitemushroom", "seedWhitemushroom", "cropArtichoke", "seedArtichoke", "cropBellpepper", "seedBellpepper", "cropBlackberry", "seedBlackberry", "cropBlueberry", "seedBlueberry", "cropBrusselsprout", "seedBrusselsprout", "cropCabbage", "seedCabbage", "cropCactusfruit", "seedCactusfruit", "cropCantaloupe", "seedCantaloupe", "seedChilipepper", "foodCoffee", "cropCorn", "cropCucumber", "seedCucumber", "cropEggplant", "seedEggplant", "foodGrilledeggplant", "seedGrape", "foodRaisins", "cropKiwi", "seedKiwi", "cropMustard", "seedMustard", "cropOkra", "seedOkra", "cropPeas", "seedPeas", "cropRaspberry", "seedRaspberry", "cropRhubarb", "seedRhubarb", "cropSeaweed", "seedSeaweed", "cropStrawberry", "seedStrawberry", "seedTomato", "cropWintersquash", "seedWintersquash", "cropZucchini", "seedZucchini", "cropBambooshoot", "seedBambooshoot", "cropSpinach", "seedSpinach", "cropCurryleaf", "seedCurryleaf", "cropSesame", "seedSesameseed", "cropWaterchestnut", "seedGigapickle", "foodGigapickle", "foodPickles", "seedWaterchestnut", "cropAvocado", "cropCinnamon", "cropCoconut", "foodToastedcoconut", "cropDragonfruit", "listAllcitrus", "cropMango", "cropNutmeg", "cropPeppercorn", "cropPomegranate", "cropStarfruit", "cropVanillabean", "foodVanilla", "cropGooseberry", "cropCashew", "cropDurian", "cropMaplesyrup", "cropPistachio", "foodSalt", "foodFlour", "foodDough", "foodToast", "foodPasta", "foodHeavycream", "foodButter", "foodCheese", "foodIcecream", "foodGrilledcheese", "foodApplesauce", "foodApplejuice", "foodApplepie", "foodCaramelapple", "foodPumpkinbread", "foodRoastedpumpkinseeds", "foodPumpkinsoup", "foodMelonjuice", "foodMelonsmoothie", "listAllsmoothie", "foodCarrotjuice", "foodCarrotcake", "foodCarrotsoup", "foodGlazedcarrots", "foodButteredpotato", "foodLoadedbakedpotato", "foodMashedpotatoes", "foodPotatosalad", "foodPotatosoup", "foodFries", "foodGrilledmushroom", "foodStuffedmushroom", "foodChickensandwich", "foodChickennoodlesoup", "foodChickenpotpie", "foodBreadedporkchop", "foodHotdog", "foodBakedham", "foodHamburger", "foodCheeseburger", "foodBaconcheeseburger", "foodPotroast", "foodFishsandwich", "foodFishsticks", "foodFishandchips", "foodMayo", "foodFriedegg", "foodScrambledegg", "foodBoiledegg", "foodEggsalad", "foodCaramel", "foodTaffy", "foodSpidereyesoup", "foodZombiejerky", "foodCocoapowder", "foodChocolatebar", "foodHotchocolate", "foodChocolateicecream", "foodVegetablesoup", "foodStock", "foodSpagetti", "foodSpagettiandmeatballs", "foodTomatosoup", "foodKetchup", "foodChickenparmasan", "foodPizza", "foodSpringsalad", "foodPorklettucewrap", "foodFishlettucewrap", "foodBlt", "foodLeafychickensandwich", "foodLeafyfishsandwich", "foodDeluxecheeseburger", "foodDelightedmeal", "foodOnionsoup", "foodPotatocakes", "foodHash", "foodBraisedonions", "foodHeartyBreakfast", "foodCornonthecob", "foodCornmeal", "foodCornbread", "foodTortilla", "foodNachoes", "foodTaco", "foodFishtaco", "foodCreamedcorn", "foodStrawberrysmoothie", "foodStrawberrypie", "foodStrawberrysalad", "foodStrawberryjuice", "foodChocolatestrawberry", "foodPeanutbutter", "listAllnutbutter", "foodTrailmix", "foodPbandj", "foodPeanutbuttercookies", "listAllcookie", "foodGrapejuice", "foodVinegar", "foodGrapejelly", "foodGrapesalad", "foodRaisincookies", "foodCucumbersalad", "foodCucumbersoup", "foodVegetarianlettucewrap", "foodMarinatedcucumbers", "foodRicesoup", "foodFriedrice", "foodMushroomrisotto", "foodCurry", "foodRainbowcurry", "foodRefriedbeans", "foodBakedbeans", "foodBeansandrice", "foodChili", "foodBeanburrito", "foodStuffedpepper", "foodVeggiestirfry", "foodGrilledskewers", "foodSupremepizza", "foodOmelet", "foodHotwings", "foodChilipoppers", "foodExtremechili", "foodChilichocolate", "foodLemonaide", "foodLemonbar", "foodFishdinner", "foodLemonsmoothie", "foodLemonmeringue", "foodCandiedlemon", "foodLemonchicken", "foodBlueberrysmoothie", "foodBlueberrypie", "foodBlueberrymuffin", "foodBlueberryjuice", "foodPancakes", "foodBlueberrypancakes", "foodCherryjuice", "foodCherrypie", "foodChocolatecherry", "foodCherrysmoothie", "foodCheesecake", "foodCherrycheesecake", "foodStuffedeggplant", "foodEggplantparm", "foodRaspberryicedtea", "foodChaitea", "foodEspresso", "foodCoffeeconleche", "foodMochaicecream", "foodPickledbeets", "foodBeetsalad", "foodBeetsoup", "foodBakedbeets", "foodBroccolimac", "foodBroccolindip", "foodCreamedbroccolisoup", "foodSweetpotatopie", "foodCandiedsweetpotatoes", "foodMashedsweetpotatoes", "foodSteamedpeas", "foodSplitpeasoup", "foodPineappleupsidedowncake", "foodPineappleham", "foodPineappleyogurt", "foodTurnipsoup", "foodRoastedrootveggiemedley", "foodBakedturnips", "foodGingerbread", "foodGingersnaps", "foodCandiedginger", "foodMustard", "foodSoftpretzelandmustard", "foodSpicymustardpork", "foodSpicygreens", "foodGarlicbread", "foodGarlicmashedpotatoes", "foodGarlicchicken", "foodSummerradishsalad", "foodSummersquashwithradish", "foodCeleryandpeanutbutter", "foodChickencelerycasserole", "foodPeasandcelery", "foodCelerysoup", "foodZucchinibread", "foodZucchinifries", "foodZestyzucchini", "foodZucchinibake", "foodAsparagusquiche", "foodAsparagussoup", "foodWalnutraisinbread", "foodCandiedwalnuts", "foodBrownie", "foodPapayajuice", "foodPapayasmoothie", "foodPapayayogurt", "foodStarfruitjuice", "foodStarfruitsmoothie", "foodStarfruityogurt", "foodGuacamole", "foodCreamofavocadosoup", "foodAvocadoburrito", "foodPoachedpear", "foodFruitcrumble", "foodPearyogurt", "foodPlumyogurt", "foodBananasplit", "foodBanananutbread", "foodBananasmoothie", "foodBananayogurt", "foodCoconutmilk", "foodChickencurry", "foodCoconutshrimp", "foodCoconutyogurt", "foodOrangejuice", "foodOrangechicken", "foodOrangesmoothie", "foodOrangeyogurt", "foodPeachjuice", "foodPeachcobbler", "foodPeachsmoothie", "foodPeachyogurt", "foodLimejuice", "foodKeylimepie", "foodLimesmoothie", "foodLimeyogurt", "foodMangojuice", "foodMangosmoothie", "foodMangoyogurt", "foodPomegranatejuice", "foodPomegranatesmoothie", "foodPomegranateyogurt", "foodVanillayogurt", "foodCinnamonroll", "foodFrenchtoast", "foodMarshmellows", "foodDonut", "foodChocolatedonut", "foodPowdereddonut", "foodJellydonut", "foodFrosteddonut", "foodCactussoup", "foodWaffles", "foodSeedsoup", "foodSoftpretzel", "foodJellybeans", "foodBiscuit", "foodCreamcookie", "foodJaffa", "foodFriedchicken", "foodChocolatesprinklecake", "foodRedvelvetcake", "foodFootlong", "foodBlueberryyogurt", "foodLemonyogurt", "foodCherryyogurt", "foodStrawberryyogurt", "foodGrapeyogurt", "foodChocolateyogurt", "foodBlackberryjuice", "foodBlackberrycobbler", "foodBlackberrysmoothie", "foodBlackberryyogurt", "foodChocolatemilk", "foodPumpkinyogurt", "foodRaspberryjuice", "foodRaspberrypie", "foodRaspberrysmoothie", "foodRaspberryyogurt", "foodCinnamonsugardonut", "foodMelonyogurt", "foodKiwijuice", "foodKiwismoothie", "foodKiwiyogurt", "foodPlainyogurt", "foodAppleyogurt", "foodSaltedsunflowerseeds", "foodSunflowerwheatrolls", "foodSunflowerbroccolisalad", "foodCranberryjuice", "foodCranberrysauce", "foodCranberrybar", "foodPeppermint", "foodCactusfruitjuice", "foodBlackpepper", "foodGroundcinnamon", "foodGroundnutmeg", "foodOliveoil", "foodBaklava", "foodGummybears", "foodBaconmushroomburger", "foodFruitpunch", "foodMeatystew", "foodMixedsalad", "foodPinacolada", "foodSaladdressing", "foodShepherdspie", "foodEggnog", "foodCustard", "foodSushi", "foodGardensoup", "foodMuttonraw", "foodMuttoncooked", "foodCalamariraw", "foodCalamaricooked", "foodApplejelly", "foodApplejellysandwich", "foodBlackberryjelly", "foodBlackberryjellysandwich", "foodBlueberryjelly", "foodBlueberryjellysandwich", "foodCherryjelly", "foodCherryjellysandwich", "foodCranberryjelly", "foodCranberryjellysandwich", "foodKiwijelly", "foodKiwijellysandwich", "foodLemonjelly", "foodLemonjellysandwich", "foodLimejelly", "foodLimejellysandwich", "foodMangojelly", "foodMangojellysandwich", "foodOrangejelly", "foodOrangejellysandwich", "foodPapayajelly", "foodPapayajellysandwich", "foodPeachjelly", "foodPeachjellysandwich", "foodPomegranatejelly", "foodPomegranatejellysandwich", "foodRaspberryjelly", "foodRaspberryjellysandwich", "foodStarfruitjelly", "foodStarfruitjellysandwich", "foodStrawberryjelly", "foodStrawberryjellysandwich", "foodWatermelonjelly", "foodWatermelonjellysandwich", "foodBubblywater", "foodCherrysoda", "foodColasoda", "foodGingersoda", "foodGrapesoda", "foodLemonlimesoda", "foodOrangesoda", "foodRootbeersoda", "foodStrawberrysoda", "listAllsoda", "foodCaramelicecream", "foodMintchocolatechipicecream", "foodStrawberryicecream", "foodVanillaicecream", "cropEdibleroot", "foodGingerchicken", "foodOldworldveggiesoup", "foodSpicebun", "foodGingeredrhubarbtart", "foodLambbarleysoup", "foodHoneylemonlamb", "foodPumpkinoatscones", "foodBeefjerky", "foodPlumjuice", "foodPearjuice", "foodOvenroastedcauliflower", "foodLeekbaconsoup", "foodHerbbutterparsnips", "foodScallionbakedpotato", "foodSoymilk", "foodFirmtofu", "foodSilkentofu", "foodBamboosteamedrice", "foodRoastedchestnut", "foodSweetpotatosouffle", "foodCashewchicken", "foodApricotjuice", "foodApricotyogurt", "foodApricotglazedpork", "foodApricotjelly", "foodApricotjellysandwich", "foodApricotsmoothie", "foodFigbar", "foodFigjelly", "foodFigjellysandwich", "foodFigsmoothie", "foodFigyogurt", "foodFigjuice", "foodGrapefruitjuice", "foodGrapefruitjelly", "foodGrapefruitjellysandwich", "foodGrapefruitjellysmoothie", "foodGrapefruityogurt", "foodGrapefruitsoda", "foodCitrussalad", "foodPecanpie", "foodPralines", "foodPersimmonjuice", "foodPersimmonyogurt", "foodPersimmonsmoothie", "foodPersimmonjelly", "foodPersimmonjellysanwich", "foodPistachiobakedsalmon", "foodBaconwrappeddates", "foodDatenutbread", "foodMaplesyruppancakes", "foodMaplesyrupwaffles", "foodMaplesausage", "foodMapleoatmeal", "foodPeachesandcreamoatmeal", "foodCinnamonappleoatmeal", "foodMaplecandiedbacon", "foodToastsandwich", "foodPotatoandcheesepirogi", "foodZeppole", "foodSausageinbread", "foodChocolatecaramelfudge", "foodLavendershortbread", "foodBeefwellington", "foodEpicbacon", "foodManjuu", "foodChickengumbo", "foodGeneraltsochicken", "foodCaliforniaroll", "foodFutomaki", "foodBeansontoast", "foodVegemite", "foodHoneycombchocolatebar", "foodCherrycoconutchocolatebar", "foodFairybread", "foodLamington", "foodTimtam", "foodMeatpie", "foodChikoroll", "foodDamper", "foodBeetburger", "foodPavlova", "foodGherkin", "foodMcpam", "foodCeasarsalad", "foodChaoscookie", "foodChocolatebacon", "foodLambkebab", "foodNutella", "foodSnickersbar", "foodSpinachpie", "foodSteamedspinach", "foodVegemiteontoast", "foodSalmonraw", "foodAnchovyraw", "foodBassraw", "foodCarpraw", "foodCatfishraw", "foodCharrraw", "foodClamraw", "foodCrabraw", "foodCrayfishraw", "foodEelraw", "foodFrograw", "foodGrouperraw", "foodHerringraw", "foodJellyfishraw", "foodMudfishraw", "foodOctopusraw", "foodPerchraw", "foodScallopraw", "foodShrimpraw", "foodSnailraw", "foodSnapperraw", "foodTilapiaraw", "foodTroutraw", "foodTunaraw", "foodTurtleraw", "foodWalleyraw", "foodHolidaycake", "foodClamcooked", "foodCrabcooked", "foodCrayfishcooked", "foodFrogcooked", "foodOctopuscooked", "foodScallopcooked", "foodShrimpcooked", "foodSnailcooked", "foodTurtlecooked", "foodApplecider", "foodBangersandmash", "foodBatteredsausage", "foodBatter", "foodchorizo", "foodColeslaw", "foodEnergydrink", "foodFriedonions", "foodMeatfeastpizza", "foodMincepie", "foodOnionhamburger", "foodPepperoni", "foodPickledonions", "foodPorksausage", "foodRaspberrytrifle", "foodTurkeyraw", "foodTurkeycooked", "foodRabbitraw", "foodRabbitcooked", "foodVenisonraw", "foodVenisoncooked", "foodStrawberrymilkshake", "foodChocolatemilkshake", "foodBananamilkshake", "foodCornflakes", "foodColeslawburger", "foodRoastchicken", "foodRoastpotatoes", "foodSundayroast", "foodBbqpulledpork", "foodLambwithmintsauce", "foodSteakandchips", "foodCherryicecream", "foodPistachioicecream", "foodNeapolitanicecream", "foodSpumoniicecream", "foodAlmondbutter", "foodCashewbutter", "foodChestnutbutter", "foodCornishpasty", "foodCottagepie", "foodCroissant", "foodCurrypowder", "foodDimsum", "foodFriedpecanokra", "foodGooseberryjelly", "foodGooseberryjellysandwich", "foodGooseberrymilkeshake", "foodGooseberrypie", "foodGooseberrysmoothie", "foodGooseberryyogurt", "foodGreenheartfish", "foodHamsweetpicklesandwich", "foodHushpuppies", "foodKimchi", "foodMochi", "foodMuseli", "foodNaan", "foodOkrachips", "foodOkracreole", "foodPistachiobutter", "foodPloughmanslunch", "foodPorklomein", "foodSalmonpatties", "foodSausage", "foodSausageroll", "foodSesameball", "foodSesamesnaps", "foodShrimpokrahushpuppies", "foodSoysauce", "foodSweetpickle", "foodVeggiestrips", "foodVindaloo", "foodApplesmoothie", "foodCheeseontoast", "foodChocolateroll", "foodCoconutcream", "foodCoconutsmoothie", "foodCracker", "foodCranberrysmoothie", "foodCranberryyogurt", "foodDeluxechickencurry", "foodGarammasala", "foodGrapesmoothie", "foodGravy", "foodHoneysandwich", "foodJamroll", "foodMangochutney", "foodMarzipan", "foodPaneer", "foodPaneertikkamasala", "foodPeaandhamsoup", "foodPearjelly", "foodPearjellysandwich", "foodPearsmoothie", "foodPlumjelly", "foodPlumjellysandwich", "foodPlumsmoothie", "foodPotatoandleeksoup", "foodToadinthehole", "foodTunapotato", "foodYorkshirepudding", "foodSesameoil", "foodHotandsoursoup", "foodNoodles", "foodChickenchowmein", "foodKungpaochicken", "foodHoisinsauce", "foodFivespice", "foodCharsiu", "foodSweetandsoursauce", "foodSweetandsourchicken", "foodBaconandeggs", "foodBiscuitsandgravy", "foodApplefritter", "foodSweettea", "foodCreepercookie", "foodPatreonpie", "foodHoneybread", "foodHoneybun", "foodHoneyglazedcarrots", "foodHoneyglazedham", "foodHoneysoyribs", "foodAnchovypepperonipizza", "foodChocovoxels", "foodCinnamontoast", "foodCornedbeefhash", "foodCornedbeef", "foodCottoncandy", "foodCrackers", "foodCreeperwings", "foodDhal", "foodDurianmilkshake", "foodDurianmuffin", "foodHomestylelunch", "foodHotsauce", "foodIronbrew", "foodHummus", "foodLasagna", "foodLemondrizzlecake", "foodMeatloaf", "foodMontecristosandwich", "foodMushroomlasagna", "foodMusselcooked", "foodMusselraw", "foodNetherwings", "foodPizzasoup", "foodPoutine", "foodSalsa", "foodSardineraw", "foodSardinesinhotsauce", "foodTeriyakichicken", "foodToastedwestern", "foodTurkishdelight", "foodCornedbeefbreakfast", "foodGreeneggsandham", "foodSpaghettidinner", "foodTheatrebox", "foodCookiesandmilk", "foodCrackersandcheese", "foodChickendinner", "foodBbqplatter", "foodWeekendpicnic", "foodCorndog", "foodChilidog", "foodHamandcheesesandwich", "foodTunafishsandwich", "foodTunasalad", "foodGrits", "foodSouthernstylebreakfast", "foodChimichanga", "foodClamchowder", "foodBreakfastburrito", "foodButtercookie", "foodSugarcookie", "foodPotatochips", "foodBbqpotatochips", "foodSourcreamandonionpotatochips", "foodCheddarandsourcreampotatochips", "foodTortillachips", "foodChipsandsalsa", "foodChipsanddip", "foodCheezepuffs", "foodSurfandturf", "foodLiverandonions", "foodFortunecookie", "foodDeviledegg", "foodMozzerellasticks", "foodGumbo", "foodJambalaya", "foodSuccotash", "foodEggsbenedict", "foodFriedgreentomatoes", "foodChickenandwaffles", "foodPotatoesobrien", "foodTatertots", "foodSmores", "foodThankfuldinner", "foodSteakfajita", "foodRamen", "foodMisosoup", "foodOnigiri", "foodGrilledcheesevegemitetoast", "foodMonsterfrieddumplings", "foodSalisburysteak", "foodCrispyricepuffcereal", "foodCrispyricepuffbars", "foodBabaganoush", "foodBerryvinaigrettesalad", "foodTomatoherbchicken", "foodPastagardenia", "foodFiestacornsalad", "foodThreebeansalad", "foodSweetandsourmeatballs", "foodPepperjelly", "foodPepperjellyandcrackers", "foodSaltedcaramel", "foodSpidereyepie", "foodCheesyshrimpquinoa", "foodBulgogi", "foodOmurice", "foodKoreandinner", "foodPemmican", "foodDriedsoup", "foodCrabkimbap", "foodFroglegstirfry", "foodCrawfishetoufee", "foodHaggis", "foodChickenkatsu", "foodChocolateorange", "foodFestivalbread", "foodFruitcreamfestivalbread", "foodPho", "foodBubbletea", "foodDuckraw", "foodDuckcooked", "foodWontonsoup", "foodSpringroll", "foodMeatystirfry", "foodPotstickers", "foodOrangeduck", "foodPekingduck", "foodStuffedduck", "foodRoux", "foodCandiedpecans", "foodEnchilada", "foodStuffing", "foodGreenbeancasserole", "foodHamandpineapplepizza", "foodSaucedlambkebab", "foodCobblestonecobbler", "foodCrayfishsalad", "foodCeviche", "foodDeluxenachoes", "foodBakedcactus", "foodGarlicsteak", "foodMushroomsteak", "foodHotdishcasserole", "foodSausagebeanmelt", "foodMettbrotchen", "foodPorkrinds", "foodCracklins", "foodChorusfruitsoup", "foodAkutuq", "foodCantonesegreens", "foodCantonesenoodles", "foodDango", "foodEarlgreytea", "foodEggroll", "foodEggtart", "foodGreentea", "foodMeesua", "foodOystercooked", "foodOysterraw", "foodOystersauce", "foodSpringfieldcashewchicken", "foodSquidinkspaghetti", "foodSteaktartare", "foodSzechuaneggplant", "foodTakoyaki", "oreDimensionalShard", "oreAluminium", "coinAluminium", "dustAluminium", "ingotAluminium", "nuggetAluminium", "gearAluminium", "plateAluminium", "blockChromium", "ingotChromium", "plateChromium", "dustChromium", "dustSmallAluminium", "dustSmallChromium", "nuggetChromium", "sheetAluminium", "coilAluminium", "slabAluminium", "blockSheetmetalAluminium", "slabSheetmetalAluminium", "stickAluminium", "wireAluminium", "fenceAluminium", "scaffoldingAluminium", "crystalAluminum", "crystalShardAluminum", "crystalFragmentAluminum", "universalCable", "battery", "blockSalt", "alloyBasic", "alloyAdvanced", "alloyElite", "alloyUltimate", "dustRefinedObsidian", "nuggetRefinedObsidian", "nuggetOsmium", "nuggetRefinedGlowstone", "blockOsmium", "blockRefinedObsidian", "blockRefinedGlowstone", "dustDirtyIron", "clumpIron", "shardIron", "dustDirtyGold", "clumpGold", "shardGold", "dustOsmium", "dustDirtyOsmium", "clumpOsmium", "shardOsmium", "crystalOsmium", "dustDirtyCopper", "clumpCopper", "shardCopper", "dustDirtyTin", "clumpTin", "shardTin", "dustDirtySilver", "clumpSilver", "shardSilver", "crystalSilver", "dustDirtyLead", "clumpLead", "shardLead", "crystalLead", "oreOsmium", "circuitUltimate", "itemCompressedCarbon", "itemCompressedRedstone", "itemCompressedDiamond", "itemCompressedObsidian", "itemEnrichedAlloy", "itemBioFuel", "slimeballGreen", "slimeballBlue", "slimeballPurple", "slimeballBlood", "slimeballMagma", "nuggetCobalt", "ingotCobalt", "nuggetArdite", "ingotArdite", "blockArdite", "nuggetManyullyn", "ingotManyullyn", "blockManyullyn", "nuggetKnightslime", "ingotKnightslime", "blockKnightslime", "nuggetPigiron", "ingotPigiron", "blockPigiron", "nuggetAlubrass", "ingotAlubrass", "blockAlubrass", "blockMetal", "ingotBrickSeared", "slimecrystal", "slimecrystalGreen", "slimecrystalBlue", "slimecrystalMagma", "oreCobalt", "oreArdite", "partPickHead", "partBinding", "partToolRod", "pattern", "cast", "blockSeared", "blockSlimeCongealed", "blockSlimeDirt", "blockSlimeGrass", "rodStone", "oreEnderBiotite", "gemDimensionalShard", "blockMarble", "oreAstralStarmetal", "ingotAstralStarmetal", "dustAstralStarmetal", "oreAquamarine", "gemAquamarine", "gemCertusQuartz", "gemChargedCertusQuartz", "gemFluix", "fenceAbyssalnite", "fenceArdite", "fenceAstralStarmetal", "fenceBoron", "fenceCobalt", "fenceCopper", "fenceDraconium", "fenceGold", "fenceIridium", "fenceLead", "fenceLiquifiedCoralium", "fenceLithium", "fenceMagnesium", "fenceMithril", "fenceNickel", "fenceOsmium", "fencePlatinum", "fenceSilver", "fenceThorium", "fenceTin", "fenceTitanium", "fenceTungsten", "fenceUranium", "fenceYellorium", "fenceAmber", "fenceAmethyst", "fenceApatite", "fenceAquamarine", "fenceCoal", "fenceCoralium", "fenceDiamond", "fenceDimensionalShard", "fenceEmerald", "fenceEnderBiotite", "fenceLapis", "fenceMalachite", "fencePeridot", "fenceQuartz", "fenceQuartzBlack", "fenceRuby", "fenceSapphire", "fenceTanzanite", "fenceTopaz", "wallArdite", "wallCobalt", "wallCopper", "wallDraconium", "wallGold", "wallIridium", "wallIron", "wallLead", "wallMithril", "wallNickel", "wallOsmium", "wallPlatinum", "wallSilver", "wallTin", "wallTungsten", "wallUranium", "wallYellorium", "wallAmber", "wallAmethyst", "wallApatite", "wallCoal", "wallDiamond", "wallDimensionalShard", "wallEmerald", "wallEnderBiotite", "wallLapis", "wallMalachite", "wallPeridot", "wallQuartz", "wallQuartzBlack", "wallRuby", "wallSapphire", "wallTanzanite", "wallTopaz", "glassHardenedAbyssalnite", "glassHardenedArdite", "glassHardenedAstralStarmetal", "glassHardenedBoron", "glassHardenedCobalt", "glassHardenedDraconium", "glassHardenedGold", "glassHardenedIron", "glassHardenedLiquifiedCoralium", "glassHardenedLithium", "glassHardenedMagnesium", "glassHardenedOsmium", "glassHardenedThorium", "glassHardenedTitanium", "glassHardenedTungsten", "glassHardenedUranium", "glassHardenedYellorium", "blockAmber", "blockAmethyst", "blockDimensionalShard", "blockEnderBiotite", "blockMalachite", "blockQuartzBlack", "blockTanzanite", "blockTopaz", "blockBauxite", "blockCinnabar", "blockGalena", "blockPyrite", "blockSodalite", "blockSphalerite", "crystalClusterArdite", "crystalClusterAstralStarmetal", "crystalClusterBoron", "crystalClusterCobalt", "crystalClusterDraconium", "crystalClusterIridium", "crystalClusterLead", "crystalClusterLithium", "crystalClusterMithril", "crystalClusterNickel", "crystalClusterOsmium", "crystalClusterPlatinum", "crystalClusterSilver", "crystalClusterThorium", "crystalClusterTitanium", "crystalClusterTungsten", "crystalClusterUranium", "crystalClusterYellorium", "dustArdite", "dustCobalt", "dustAquamarine", "dustCoralium", "dustDimensionalShard", "dustEnderBiotite", "nuggetAstralStarmetal", "nuggetBoron", "nuggetLithium", "nuggetMagnesium", "nuggetThorium", "nuggetYellorium", "nuggetAmber", "nuggetAmethyst", "nuggetApatite", "nuggetAquamarine", "nuggetCoal", "nuggetCoralium", "nuggetDimensionalShard", "nuggetEnderBiotite", "nuggetLapis", "nuggetMalachite", "nuggetPeridot", "nuggetQuartz", "nuggetQuartzBlack", "nuggetRuby", "nuggetSapphire", "nuggetTanzanite", "nuggetTopaz", "coinAbyssalnite", "coinArdite", "coinAstralStarmetal", "coinBoron", "coinCobalt", "coinDraconium", "coinLiquifiedCoralium", "coinLithium", "coinMagnesium", "coinOsmium", "coinThorium", "coinTitanium", "coinTungsten", "coinUranium", "coinYellorium", "gearAbyssalnite", "gearArdite", "gearAstralStarmetal", "gearBoron", "gearCobalt", "gearDraconium", "gearLiquifiedCoralium", "gearLithium", "gearMagnesium", "gearOsmium", "gearThorium", "gearTungsten", "gearUranium", "gearYellorium", "gearAmber", "gearAmethyst", "gearApatite", "gearAquamarine", "gearCoal", "gearCoralium", "gearDimensionalShard", "gearEmerald", "gearEnderBiotite", "gearLapis", "gearMalachite", "gearPeridot", "gearQuartz", "gearQuartzBlack", "gearRuby", "gearSapphire", "gearTanzanite", "gearTopaz", "plateAbyssalnite", "plateArdite", "plateAstralStarmetal", "plateBoron", "plateCobalt", "plateDraconium", "plateLiquifiedCoralium", "plateLithium", "plateMagnesium", "plateOsmium", "plateThorium", "plateYellorium", "plateAmber", "plateAmethyst", "plateApatite", "plateAquamarine", "plateCoralium", "plateDimensionalShard", "plateEnderBiotite", "plateMalachite", "plateQuartz", "plateQuartzBlack", "plateTanzanite", "plateTopaz", "stickAbyssalnite", "stickArdite", "stickAstralStarmetal", "stickBoron", "stickCobalt", "stickDraconium", "stickGold", "stickLead", "stickLiquifiedCoralium", "stickLithium", "stickMagnesium", "stickMithril", "stickNickel", "stickOsmium", "stickPlatinum", "stickSilver", "stickThorium", "stickTin", "stickTungsten", "stickUranium", "stickYellorium", "stickAmber", "stickAmethyst", "stickApatite", "stickAquamarine", "stickCoal", "stickCoralium", "stickDiamond", "stickDimensionalShard", "stickEmerald", "stickEnderBiotite", "stickLapis", "stickMalachite", "stickPeridot", "stickQuartz", "stickQuartzBlack", "stickRuby", "stickSapphire", "stickTanzanite", "stickTopaz", "dustDirtyAbyssalnite", "dustDirtyAluminium", "dustDirtyArdite", "dustDirtyAstralStarmetal", "dustDirtyBoron", "dustDirtyCobalt", "dustDirtyDraconium", "dustDirtyIridium", "dustDirtyLiquifiedCoralium", "dustDirtyLithium", "dustDirtyMagnesium", "dustDirtyMithril", "dustDirtyNickel", "dustDirtyPlatinum", "dustDirtyThorium", "dustDirtyTitanium", "dustDirtyTungsten", "dustDirtyUranium", "dustDirtyYellorium", "clumpAbyssalnite", "clumpAluminium", "clumpArdite", "clumpAstralStarmetal", "clumpBoron", "clumpCobalt", "clumpDraconium", "clumpIridium", "clumpLiquifiedCoralium", "clumpLithium", "clumpMagnesium", "clumpMithril", "clumpNickel", "clumpPlatinum", "clumpThorium", "clumpTitanium", "clumpTungsten", "clumpUranium", "clumpYellorium", "shardAbyssalnite", "shardAluminium", "shardArdite", "shardAstralStarmetal", "shardBoron", "shardCobalt", "shardDraconium", "shardIridium", "shardLiquifiedCoralium", "shardLithium", "shardMagnesium", "shardMithril", "shardNickel", "shardPlatinum", "shardThorium", "shardTitanium", "shardTungsten", "shardUranium", "shardYellorium", "crystalArdite", "crystalAstralStarmetal", "crystalBoron", "crystalCobalt", "crystalDraconium", "crystalIridium", "crystalLiquifiedCoralium", "crystalLithium", "crystalMithril", "crystalNickel", "crystalPlatinum", "crystalThorium", "crystalTitanium", "crystalTungsten", "crystalUranium", "crystalYellorium", "crushedAbyssalnite", "crushedAluminium", "crushedArdite", "crushedAstralStarmetal", "crushedBoron", "crushedCobalt", "crushedDraconium", "crushedIridium", "crushedLiquifiedCoralium", "crushedLithium", "crushedMagnesium", "crushedMithril", "crushedNickel", "crushedOsmium", "crushedPlatinum", "crushedThorium", "crushedTitanium", "crushedTungsten", "crushedYellorium", "crushedPurifiedAbyssalnite", "crushedPurifiedAluminium", "crushedPurifiedArdite", "crushedPurifiedAstralStarmetal", "crushedPurifiedBoron", "crushedPurifiedCobalt", "crushedPurifiedDraconium", "crushedPurifiedIridium", "crushedPurifiedLiquifiedCoralium", "crushedPurifiedLithium", "crushedPurifiedMagnesium", "crushedPurifiedMithril", "crushedPurifiedNickel", "crushedPurifiedOsmium", "crushedPurifiedPlatinum", "crushedPurifiedThorium", "crushedPurifiedTitanium", "crushedPurifiedTungsten", "crushedPurifiedYellorium", "dustTinyAbyssalnite", "dustTinyAluminium", "dustTinyArdite", "dustTinyAstralStarmetal", "dustTinyBoron", "dustTinyCobalt", "dustTinyDraconium", "dustTinyIridium", "dustTinyLiquifiedCoralium", "dustTinyMagnesium", "dustTinyMithril", "dustTinyNickel", "dustTinyOsmium", "dustTinyPlatinum", "dustTinyThorium", "dustTinyTitanium", "dustTinyTungsten", "dustTinyUranium", "dustTinyYellorium", "dustTinyAmber", "dustTinyAmethyst", "dustTinyApatite", "dustTinyAquamarine", "dustTinyCoal", "dustTinyCoralium", "dustTinyDiamond", "dustTinyDimensionalShard", "dustTinyEmerald", "dustTinyEnderBiotite", "dustTinyMalachite", "dustTinyPeridot", "dustTinyQuartz", "dustTinyQuartzBlack", "dustTinyRuby", "dustTinySapphire", "dustTinyTanzanite", "dustTinyTopaz", "crystalFragmentArdite", "crystalFragmentAstralStarmetal", "crystalFragmentBoron", "crystalFragmentCobalt", "crystalFragmentDraconium", "crystalFragmentIridium", "crystalFragmentLead", "crystalFragmentLithium", "crystalFragmentMithril", "crystalFragmentNickel", "crystalFragmentOsmium", "crystalFragmentPlatinum", "crystalFragmentSilver", "crystalFragmentThorium", "crystalFragmentTitanium", "crystalFragmentTungsten", "crystalFragmentUranium", "crystalFragmentYellorium", "crystalShardArdite", "crystalShardAstralStarmetal", "crystalShardBoron", "crystalShardCobalt", "crystalShardDraconium", "crystalShardIridium", "crystalShardLead", "crystalShardLithium", "crystalShardMithril", "crystalShardNickel", "crystalShardOsmium", "crystalShardPlatinum", "crystalShardSilver", "crystalShardThorium", "crystalShardTitanium", "crystalShardTungsten", "crystalShardUranium", "crystalShardYellorium", "dustSmallAbyssalnite", "dustSmallArdite", "dustSmallAstralStarmetal", "dustSmallBoron", "dustSmallCobalt", "dustSmallDraconium", "dustSmallIridium", "dustSmallLiquifiedCoralium", "dustSmallLithium", "dustSmallMithril", "dustSmallOsmium", "dustSmallThorium", "dustSmallUranium", "dustSmallYellorium", "dustSmallAmber", "dustSmallAmethyst", "dustSmallApatite", "dustSmallAquamarine", "dustSmallCoralium", "dustSmallDimensionalShard", "dustSmallEnderBiotite", "dustSmallLapis", "dustSmallMalachite", "dustSmallQuartz", "dustSmallQuartzBlack", "dustSmallTanzanite", "dustSmallTopaz", "dustSmallDilithium", "rodAbyssalnite", "rodArdite", "rodAstralStarmetal", "rodBoron", "rodCobalt", "rodDraconium", "rodGold", "rodLead", "rodLiquifiedCoralium", "rodLithium", "rodMagnesium", "rodMithril", "rodNickel", "rodOsmium", "rodPlatinum", "rodSilver", "rodThorium", "rodTin", "rodTungsten", "rodUranium", "rodYellorium", "rodAmber", "rodAmethyst", "rodApatite", "rodAquamarine", "rodCoal", "rodCoralium", "rodDiamond", "rodDimensionalShard", "rodEmerald", "rodEnderBiotite", "rodLapis", "rodMalachite", "rodPeridot", "rodQuartz", "rodQuartzBlack", "rodRuby", "rodSapphire", "rodTanzanite", "rodTopaz", "dustEnder", "glass", "wool", "crystalNetherQuartz", "dustCertusQuartz", "dustFluix", "itemIlluminatedPanel", "bowlWood", "cropMaloberry", "ingotHoneyComb", "clayPorcelain", "itemSilicon", "crystalPladium", "crystalLonsdaleite", "crystalLitherite", "crystalKyronite", "crystalIonite", "crystalErodium", "crystalAethium", "blockAethium", "etLaserLens", "blockIonite", "blockPladium", "blockKyronite", "blockErodium", "blockLitherite", "etLaserLensColored", "etSolarCell", "dustVile", "dustCorrupted", "ingotCorrupted", "gemEndimium", "itemSkull", "gemPearl", "blockPearl", "bed", "dustWheat", "pearlFluix", "blockStainedHardenedClay", "crystalPureFluix", "oreCertusQuartz", "oreChargedCertusQuartz", "ingotDawnstone", "nuggetDawnstone", "blockDawnstone", "plateDawnstone", "plant", "rootsHerb", "shardGlass", "steelAxe", "steelPickaxe", "steelShovel", "obsidianAxe", "obsidianPickaxe", "obsidianShovel", "bronzeAxe", "bronzePickaxe", "bronzeShovel", "fieryItem", "fieryBlock", "creativeATMStar", "astralGemCrystals", "blockSlate", "stoneSlate", "oreDimensional", "buttonWood", "listAllSeed", "seed", "blockMagma", "fusionExtreme", "uuMatterItem", "beehiveForestry", "basicPump", "growGlass", "nuclearcraftDepletedRod", "ic2DepletedRod", "chunkloaderUpgrade", "itemBattery", "blockMotor", "dustThermite", "ingotCarbon", "waferSilicon", "itemLens", "turfMoon", "blockPsiDust", "blockPsiMetal", "blockPsiGem", "blockCandle", "stonePolished", "plankStained", "listAllGrain", "foodEqualswheat", "dustSulphur", "cropBlightberry", "cropDuskberry", "cropSkyberry", "cropStingberry", "taintedSoil", "glassSoul", "cropVine", "tallgrass", "lilypad", "mushroom", "hopper", "cropBeetroot", "blockNetherWart", "blockBone", "shulkerShell", "shulkerBox", "rail", "arrow", "careerBeesYing", "careerBeesYang", "plateClayRaw", "plateClay", "plateBrick", "oc:adapter", "oc:assembler", "oc:cable", "oc:capacitor", "oc:case1", "oc:case3", "oc:case2", "oc:chameliumBlock", "oc:charger", "oc:disassembler", "oc:diskDrive", "oc:geolyzer", "oc:hologram1", "oc:hologram2", "oc:keyboard", "oc:motionSensor", "oc:powerConverter", "oc:powerDistributor", "oc:printer", "oc:raid", "oc:redstone", "oc:relay", "oc:screen1", "oc:screen3", "oc:screen2", "oc:rack", "oc:waypoint", "oc:netSplitter", "oc:transposer", "oc:carpetedCapacitor", "oc:materialCuttingWire", "oc:materialAcid", "oc:materialCircuitBoardRaw", "oc:materialCircuitBoard", "oc:materialCircuitBoardPrinted", "oc:materialCard", "oc:materialTransistor", "oc:circuitChip1", "oc:circuitChip2", "oc:circuitChip3", "oc:materialALU", "oc:materialCU", "oc:materialDisk", "oc:materialInterweb", "oc:materialButtonGroup", "oc:materialArrowKey", "oc:materialNumPad", "oc:tabletCase1", "oc:tabletCase2", "oc:microcontrollerCase1", "oc:microcontrollerCase2", "oc:droneCase1", "oc:droneCase2", "oc:inkCartridgeEmpty", "oc:inkCartridge", "oc:chamelium", "oc:analyzer", "oc:terminal", "oc:texturePicker", "oc:manual", "oc:wrench", "oc:hoverBoots", "oc:nanomachines", "oc:cpu1", "oc:cpu2", "oc:cpu3", "oc:componentBus1", "oc:componentBus2", "oc:componentBus3", "oc:ram1", "oc:ram2", "oc:ram3", "oc:ram4", "oc:ram5", "oc:ram6", "oc:server1", "oc:server2", "oc:server3", "oc:apu1", "oc:apu2", "oc:terminalServer", "oc:diskDriveMountable", "oc:graphicsCard1", "oc:graphicsCard2", "oc:graphicsCard3", "oc:redstoneCard1", "oc:redstoneCard2", "oc:lanCard", "oc:wlanCard2", "oc:internetCard", "oc:linkedCard", "oc:dataCard1", "oc:dataCard2", "oc:dataCard3", "oc:angelUpgrade", "oc:batteryUpgrade1", "oc:batteryUpgrade2", "oc:batteryUpgrade3", "oc:chunkloaderUpgrade", "oc:cardContainer1", "oc:cardContainer2", "oc:cardContainer3", "oc:upgradeContainer1", "oc:upgradeContainer2", "oc:upgradeContainer3", "oc:craftingUpgrade", "oc:databaseUpgrade1", "oc:databaseUpgrade2", "oc:databaseUpgrade3", "oc:experienceUpgrade", "oc:generatorUpgrade", "oc:inventoryUpgrade", "oc:inventoryControllerUpgrade", "oc:navigationUpgrade", "oc:pistonUpgrade", "oc:signUpgrade", "oc:solarGeneratorUpgrade", "oc:tankUpgrade", "oc:tankControllerUpgrade", "oc:tractorBeamUpgrade", "oc:leashUpgrade", "oc:hoverUpgrade1", "oc:hoverUpgrade2", "oc:tradingUpgrade", "oc:mfu", "oc:wlanCard1", "oc:eeprom", "oc:floppy", "oc:hdd1", "oc:hdd2", "oc:hdd3", "blockWither", "blockLonsdaleite", "blockCompactRawPorkchop", "oreProsperity", "oreNetherProsperity", "oreEndProsperity", "oreInferium", "oreNetherInferium", "oreEndInferium", "oreEndimium", "oreBurnium", "blockEndimium", "blockBurnium", "gateWood", "cropPricklyPear", "cropGrapes", "cropLifeFruit", "cropDeathFruit", "listAllCitrus", "gemBurnium", "dustTinyBurnium", "dustBurnium", "dustTinyEndimium", "dustEndimium", "dustTinyEnder", "dustTinyRedstone", "lumpSandstone", "lumpGravel", "lumpRedSandstone", ]
oredict = ['logWood', 'plankWood', 'slabWood', 'stairWood', 'stickWood', 'treeSapling', 'treeLeaves', 'vine', 'oreGold', 'oreIron', 'oreLapis', 'oreDiamond', 'oreRedstone', 'oreEmerald', 'oreQuartz', 'oreCoal', 'ingotIron', 'ingotGold', 'ingotBrick', 'ingotBrickNether', 'nuggetGold', 'nuggetIron', 'gemDiamond', 'gemEmerald', 'gemQuartz', 'gemPrismarine', 'dustPrismarine', 'dustRedstone', 'dustGlowstone', 'gemLapis', 'blockGold', 'blockIron', 'blockLapis', 'blockDiamond', 'blockRedstone', 'blockEmerald', 'blockQuartz', 'blockCoal', 'cropWheat', 'cropPotato', 'cropCarrot', 'cropNetherWart', 'sugarcane', 'blockCactus', 'dye', 'paper', 'slimeball', 'enderpearl', 'bone', 'gunpowder', 'string', 'netherStar', 'leather', 'feather', 'egg', 'record', 'dirt', 'grass', 'stone', 'cobblestone', 'gravel', 'sand', 'sandstone', 'netherrack', 'obsidian', 'glowstone', 'endstone', 'torch', 'workbench', 'blockSlime', 'blockPrismarine', 'blockPrismarineBrick', 'blockPrismarineDark', 'stoneGranite', 'stoneGranitePolished', 'stoneDiorite', 'stoneDioritePolished', 'stoneAndesite', 'stoneAndesitePolished', 'blockGlassColorless', 'blockGlass', 'paneGlassColorless', 'paneGlass', 'chest', 'chestWood', 'chestEnder', 'chestTrapped', 'dyeBlack', 'blockGlassBlack', 'paneGlassBlack', 'dyeRed', 'blockGlassRed', 'paneGlassRed', 'dyeGreen', 'blockGlassGreen', 'paneGlassGreen', 'dyeBrown', 'blockGlassBrown', 'paneGlassBrown', 'dyeBlue', 'blockGlassBlue', 'paneGlassBlue', 'dyePurple', 'blockGlassPurple', 'paneGlassPurple', 'dyeCyan', 'blockGlassCyan', 'paneGlassCyan', 'dyeLightGray', 'blockGlassLightGray', 'paneGlassLightGray', 'dyeGray', 'blockGlassGray', 'paneGlassGray', 'dyePink', 'blockGlassPink', 'paneGlassPink', 'dyeLime', 'blockGlassLime', 'paneGlassLime', 'dyeYellow', 'blockGlassYellow', 'paneGlassYellow', 'dyeLightBlue', 'blockGlassLightBlue', 'paneGlassLightBlue', 'dyeMagenta', 'blockGlassMagenta', 'paneGlassMagenta', 'dyeOrange', 'blockGlassOrange', 'paneGlassOrange', 'dyeWhite', 'blockGlassWhite', 'paneGlassWhite', 'blockWool', 'coal', 'charcoal', 'bookshelf', 'ingotUnstable', 'nuggetUnstable', 'compressed1xCobblestone', 'compressed2xCobblestone', 'compressed3xCobblestone', 'compressed4xCobblestone', 'compressed5xCobblestone', 'compressed6xCobblestone', 'compressed7xCobblestone', 'compressed8xCobblestone', 'compressed1xDirt', 'compressed2xDirt', 'compressed3xDirt', 'compressed4xDirt', 'compressed1xSand', 'compressed2xSand', 'compressed1xGravel', 'compressed2xGravel', 'compressed1xNetherrack', 'compressed2xNetherrack', 'compressed3xNetherrack', 'compressed4xNetherrack', 'compressed5xNetherrack', 'compressed6xNetherrack', 'gemRedstone', 'gearRedstone', 'eyeofredstone', 'dustLunar', 'coalPowered', 'gemMoon', 'xuUpgradeSpeed', 'xuUpgradeStack', 'xuUpgradeMining', 'xuUpgradeBlank', 'dropofevil', 'ingotDemonicMetal', 'ingotEnchantedMetal', 'xuRedstoneCoil', 'xuUpgradeSpeedEnchanted', 'ingotEvilMetal', 'blockEnchantedMetal', 'blockDemonicMetal', 'blockEvilMetal', 'blockMagicalWood', 'bricksStone', 'dustIron', 'dustGold', 'oreCopper', 'dustCopper', 'dustTin', 'ingotCopper', 'oreTin', 'ingotTin', 'oreLead', 'dustLead', 'dustSilver', 'ingotLead', 'oreSilver', 'ingotSilver', 'oreNickel', 'dustNickel', 'dustPlatinum', 'ingotNickel', 'orePlatinum', 'ingotPlatinum', 'mushroomAny', 'tallow', 'gemEnderBiotite', 'woodRubber', 'dustLapis', 'oreUranium', 'dustStone', 'dustBronze', 'dustClay', 'dustCoal', 'dustObsidian', 'dustSulfur', 'dustLithium', 'dustDiamond', 'dustSiliconDioxide', 'dustHydratedCoal', 'dustAshes', 'dustTinyCopper', 'dustTinyGold', 'dustTinyIron', 'dustTinySilver', 'dustTinyTin', 'dustTinyLead', 'dustTinySulfur', 'dustTinyLithium', 'dustTinyBronze', 'dustTinyLapis', 'dustTinyObsidian', 'itemRubber', 'ingotBronze', 'ingotSteel', 'plateIron', 'plateGold', 'plateCopper', 'plateTin', 'plateLead', 'plateLapis', 'plateObsidian', 'plateBronze', 'plateSteel', 'plateDenseSteel', 'plateDenseIron', 'plateDenseGold', 'plateDenseCopper', 'plateDenseTin', 'plateDenseLead', 'plateDenseLapis', 'plateDenseObsidian', 'plateDenseBronze', 'crushedIron', 'crushedGold', 'crushedSilver', 'crushedLead', 'crushedCopper', 'crushedTin', 'crushedUranium', 'crushedPurifiedIron', 'crushedPurifiedGold', 'crushedPurifiedSilver', 'crushedPurifiedLead', 'crushedPurifiedCopper', 'crushedPurifiedTin', 'crushedPurifiedUranium', 'blockBronze', 'blockCopper', 'blockTin', 'blockUranium', 'blockLead', 'blockSilver', 'blockSteel', 'circuitBasic', 'circuitAdvanced', 'craftingToolForgeHammer', 'craftingToolWireCutter', 'gemApatite', 'brickPeat', 'dustAsh', 'gearBronze', 'gearCopper', 'gearTin', 'pulpWood', 'itemBeeswax', 'cropCherry', 'fruitForestry', 'cropWalnut', 'cropChestnut', 'cropLemon', 'cropPlum', 'cropDate', 'cropPapaya', 'oreApatite', 'blockApatite', 'craftingTableWood', 'trapdoorWood', 'blockCharcoal', 'dropHoney', 'itemPollen', 'dropHoneydew', 'dropRoyalJelly', 'beeComb', 'fenceWood', 'fenceGateWood', 'doorWood', 'emptiedLetter', 'weedkiller', 'toolTrowel', 'binnie_database', 'pigment', 'cropApple', 'cropCrabapple', 'cropOrange', 'cropKumquat', 'cropLime', 'cropWildCherry', 'cropSourCherry', 'cropBlackCherry', 'cropBlackthorn', 'cropCherryPlum', 'cropAlmond', 'cropApricot', 'cropGrapefruit', 'cropPeach', 'cropSatsuma', 'cropBuddhaHand', 'cropCitron', 'cropFingerLime', 'cropKeyLime', 'cropManderin', 'cropNectarine', 'cropPomelo', 'cropTangerine', 'cropPear', 'cropSandPear', 'cropHazelnut', 'cropButternut', 'cropBeechnut', 'cropPecan', 'cropBanana', 'cropRedBanana', 'cropPlantain', 'cropBrazilNut', 'cropFig', 'cropAcorn', 'cropElderberry', 'cropOlive', 'cropGingkoNut', 'cropCoffee', 'cropOsangeOrange', 'cropClove', 'cropHops', 'seedWheat', 'seedBarley', 'seedCorn', 'seedRye', 'seedRoasted', 'ballMud', 'blockMeatRaw', 'blockMud', 'foodMushroompowder', 'foodFruitsalad', 'foodVeggiesalad', 'foodMushroomsalad', 'foodFilledhoneycomb', 'foodAmbrosia', 'foodBowlofrice', 'cropPersimmon', 'cropTurnip', 'listAllfruit', 'listAllrootveggie', 'listAllveggie', 'seedTurnip', 'listAllseed', 'gemAmethyst', 'oreAmethyst', 'gemRuby', 'oreRuby', 'gemPeridot', 'orePeridot', 'gemTopaz', 'oreTopaz', 'gemTanzanite', 'oreTanzanite', 'gemMalachite', 'oreMalachite', 'gemSapphire', 'oreSapphire', 'gemAmber', 'oreAmber', 'flowerClover', 'flowerSwampflower', 'flowerDeathbloom', 'flowerGlowflower', 'flowerBlueHydrangea', 'flowerOrangeCosmos', 'flowerPinkDaffodil', 'flowerWildflower', 'flowerViolet', 'flowerWhiteAnemone', 'flowerEnderlotus', 'flowerBromeliad', 'flowerWiltedLily', 'flowerPinkHibiscus', 'flowerLilyOfTheValley', 'flowerBurningBlossom', 'flowerLavender', 'flowerGoldenrod', 'flowerBluebells', 'flowerMinersDelight', 'flowerIcyIris', 'flowerRose', 'plantShortgrass', 'plantMediumgrass', 'plantBush', 'plantSprout', 'plantPoisonivy', 'plantBerrybush', 'plantShrub', 'plantWheatgrass', 'plantDampgrass', 'plantKoru', 'plantCloverpatch', 'plantLeafpile', 'plantDeadleafpile', 'plantDeadgrass', 'plantDesertgrass', 'plantDesertsprouts', 'plantDunegrass', 'plantSpectralfern', 'plantThorn', 'plantWildrice', 'plantCattail', 'plantRivercane', 'plantTinycactus', 'plantDevilweed', 'plantReed', 'plantRoot', 'plantRafflesia', 'plantFlax', 'blockWoolWhite', 'blockWoolOrange', 'blockWoolMagenta', 'blockWoolLightBlue', 'blockWoolYellow', 'blockWoolLime', 'blockWoolPink', 'blockWoolGray', 'blockWoolLightGray', 'blockWoolCyan', 'blockWoolPurple', 'blockWoolBlue', 'blockWoolBrown', 'blockWoolGreen', 'blockWoolRed', 'blockWoolBlack', 'flower', 'craftingPiston', 'torchRedstoneActive', 'materialEnderPearl', 'oc:wlanCard', 'chipDiamond', 'oc:stoneEndstone', 'oreAluminum', 'oreIridium', 'oreMithril', 'oreFluidCrudeOilSand', 'oreFluidCrudeOilShale', 'oreFluidRedstone', 'oreFluidGlowstone', 'oreFluidEnder', 'blockAluminum', 'blockNickel', 'blockPlatinum', 'blockIridium', 'blockMithril', 'blockElectrum', 'blockInvar', 'blockConstantan', 'blockSignalum', 'blockLumium', 'blockEnderium', 'blockFuelCoke', 'blockGlassHardened', 'blockRockwool', 'coinIron', 'coinGold', 'coinCopper', 'coinTin', 'coinSilver', 'coinLead', 'coinAluminum', 'coinNickel', 'coinPlatinum', 'coinIridium', 'coinMithril', 'coinSteel', 'coinElectrum', 'coinInvar', 'coinBronze', 'coinConstantan', 'coinSignalum', 'coinLumium', 'coinEnderium', 'nuggetDiamond', 'nuggetEmerald', 'gearIron', 'gearGold', 'dustAluminum', 'dustIridium', 'dustMithril', 'dustSteel', 'dustElectrum', 'dustInvar', 'dustConstantan', 'dustSignalum', 'dustLumium', 'dustEnderium', 'ingotAluminum', 'ingotIridium', 'ingotMithril', 'ingotElectrum', 'ingotInvar', 'ingotConstantan', 'ingotSignalum', 'ingotLumium', 'ingotEnderium', 'nuggetCopper', 'nuggetTin', 'nuggetSilver', 'nuggetLead', 'nuggetAluminum', 'nuggetNickel', 'nuggetPlatinum', 'nuggetIridium', 'nuggetMithril', 'nuggetSteel', 'nuggetElectrum', 'nuggetInvar', 'nuggetBronze', 'nuggetConstantan', 'nuggetSignalum', 'nuggetLumium', 'nuggetEnderium', 'gearSilver', 'gearLead', 'gearAluminum', 'gearNickel', 'gearPlatinum', 'gearIridium', 'gearMithril', 'gearSteel', 'gearElectrum', 'gearInvar', 'gearConstantan', 'gearSignalum', 'gearLumium', 'gearEnderium', 'plateSilver', 'plateAluminum', 'plateNickel', 'platePlatinum', 'plateIridium', 'plateMithril', 'plateElectrum', 'plateInvar', 'plateConstantan', 'plateSignalum', 'plateLumium', 'plateEnderium', 'dustCharcoal', 'dustWood', 'crystalSlag', 'crystalSlagRich', 'crystalCinnabar', 'crystalCrudeOil', 'crystalRedstone', 'crystalGlowstone', 'crystalEnder', 'dustPyrotheum', 'dustCryotheum', 'dustAerotheum', 'dustPetrotheum', 'dustMana', 'rodBlizz', 'dustBlizz', 'rodBlitz', 'dustBlitz', 'rodBasalz', 'dustBasalz', 'dustSaltpeter', 'fuelCoke', 'itemSlag', 'itemSlagRich', 'itemCinnabar', 'dragonEgg', 'oreDraconium', 'blockDraconium', 'blockDraconiumAwakened', 'ingotDraconium', 'dustDraconium', 'ingotDraconiumAwakened', 'nuggetDraconium', 'nuggetDraconiumAwakened', 'dustPsi', 'substanceEbony', 'ingotPsi', 'substanceIvory', 'ingotEbonyPsi', 'ingotIvoryPsi', 'gemPsi', 'crystalsPrismarine', 'shardPrismarine', 'oreThorium', 'oreBoron', 'oreLithium', 'oreMagnesium', 'blockThorium', 'blockBoron', 'blockLithium', 'blockMagnesium', 'blockGraphite', 'blockBeryllium', 'blockZirconium', 'blockDepletedThorium', 'blockDepletedUranium', 'blockDepletedNeptunium', 'blockDepletedPlutonium', 'blockDepletedAmericium', 'blockDepletedCurium', 'blockDepletedBerkelium', 'blockDepletedCalifornium', 'ingotThorium', 'ingotUranium', 'ingotBoron', 'ingotLithium', 'ingotMagnesium', 'ingotGraphite', 'ingotBeryllium', 'ingotZirconium', 'ingotThoriumOxide', 'ingotUraniumOxide', 'ingotManganeseOxide', 'ingotManganeseDioxide', 'dustThorium', 'dustUranium', 'dustBoron', 'dustMagnesium', 'dustGraphite', 'dustBeryllium', 'dustZirconium', 'dustThoriumOxide', 'dustUraniumOxide', 'dustManganeseOxide', 'dustManganeseDioxide', 'gemRhodochrosite', 'gemBoronNitride', 'gemFluorite', 'dustRhodochrosite', 'dustQuartz', 'dustNetherQuartz', 'dustBoronNitride', 'dustFluorite', 'ingotTough', 'ingotHardCarbon', 'ingotMagnesiumDiboride', 'ingotLithiumManganeseDioxide', 'ingotFerroboron', 'ingotShibuichi', 'ingotTinSilver', 'ingotLeadPlatinum', 'dustCalciumSulfate', 'dustCrystalBinder', 'plateBasic', 'plateAdvanced', 'plateDU', 'plateElite', 'solenoidCopper', 'solenoidMagnesiumDiboride', 'bioplastic', 'tinyDustLead', 'ingotThorium230Base', 'ingotThorium230', 'ingotThorium230Oxide', 'nuggetThorium230', 'nuggetThorium230Oxide', 'ingotThorium232Base', 'ingotThorium232', 'ingotThorium232Oxide', 'nuggetThorium232', 'nuggetThorium232Oxide', 'ingotUranium233Base', 'ingotUranium233', 'ingotUranium233Oxide', 'nuggetUranium233', 'nuggetUranium233Oxide', 'ingotUranium235Base', 'ingotUranium235', 'ingotUranium235Oxide', 'nuggetUranium235', 'nuggetUranium235Oxide', 'ingotUranium238Base', 'ingotUranium238', 'ingotUranium238Oxide', 'nuggetUranium238', 'nuggetUranium238Oxide', 'ingotNeptunium236Base', 'ingotNeptunium236', 'ingotNeptunium236Oxide', 'nuggetNeptunium236', 'nuggetNeptunium236Oxide', 'ingotNeptunium237Base', 'ingotNeptunium237', 'ingotNeptunium237Oxide', 'nuggetNeptunium237', 'nuggetNeptunium237Oxide', 'ingotPlutonium238Base', 'ingotPlutonium238', 'ingotPlutonium238Oxide', 'nuggetPlutonium238', 'nuggetPlutonium238Oxide', 'ingotPlutonium239Base', 'ingotPlutonium239', 'ingotPlutonium239Oxide', 'nuggetPlutonium239', 'nuggetPlutonium239Oxide', 'ingotPlutonium241Base', 'ingotPlutonium241', 'ingotPlutonium241Oxide', 'nuggetPlutonium241', 'nuggetPlutonium241Oxide', 'ingotPlutonium242Base', 'ingotPlutonium242', 'ingotPlutonium242Oxide', 'nuggetPlutonium242', 'nuggetPlutonium242Oxide', 'ingotAmericium241Base', 'ingotAmericium241', 'ingotAmericium241Oxide', 'nuggetAmericium241', 'nuggetAmericium241Oxide', 'ingotAmericium242Base', 'ingotAmericium242', 'ingotAmericium242Oxide', 'nuggetAmericium242', 'nuggetAmericium242Oxide', 'ingotAmericium243Base', 'ingotAmericium243', 'ingotAmericium243Oxide', 'nuggetAmericium243', 'nuggetAmericium243Oxide', 'ingotCurium243Base', 'ingotCurium243', 'ingotCurium243Oxide', 'nuggetCurium243', 'nuggetCurium243Oxide', 'ingotCurium245Base', 'ingotCurium245', 'ingotCurium245Oxide', 'nuggetCurium245', 'nuggetCurium245Oxide', 'ingotCurium246Base', 'ingotCurium246', 'ingotCurium246Oxide', 'nuggetCurium246', 'nuggetCurium246Oxide', 'ingotCurium247Base', 'ingotCurium247', 'ingotCurium247Oxide', 'nuggetCurium247', 'nuggetCurium247Oxide', 'ingotBerkelium247Base', 'ingotBerkelium247', 'ingotBerkelium247Oxide', 'nuggetBerkelium247', 'nuggetBerkelium247Oxide', 'ingotBerkelium248Base', 'ingotBerkelium248', 'ingotBerkelium248Oxide', 'nuggetBerkelium248', 'nuggetBerkelium248Oxide', 'ingotCalifornium249Base', 'ingotCalifornium249', 'ingotCalifornium249Oxide', 'nuggetCalifornium249', 'nuggetCalifornium249Oxide', 'ingotCalifornium250Base', 'ingotCalifornium250', 'ingotCalifornium250Oxide', 'nuggetCalifornium250', 'nuggetCalifornium250Oxide', 'ingotCalifornium251Base', 'ingotCalifornium251', 'ingotCalifornium251Oxide', 'nuggetCalifornium251', 'nuggetCalifornium251Oxide', 'ingotCalifornium252Base', 'ingotCalifornium252', 'ingotCalifornium252Oxide', 'nuggetCalifornium252', 'nuggetCalifornium252Oxide', 'fuelTBU', 'fuelTBUOxide', 'fuelLEU233', 'fuelLEU233Oxide', 'fuelHEU233', 'fuelHEU233Oxide', 'fuelLEU235', 'fuelLEU235Oxide', 'fuelHEU235', 'fuelHEU235Oxide', 'fuelLEN236', 'fuelLEN236Oxide', 'fuelHEN236', 'fuelHEN236Oxide', 'fuelLEP239', 'fuelLEP239Oxide', 'fuelHEP239', 'fuelHEP239Oxide', 'fuelLEP241', 'fuelLEP241Oxide', 'fuelHEP241', 'fuelHEP241Oxide', 'fuelMOX239', 'fuelMOX241', 'fuelLEA242', 'fuelLEA242Oxide', 'fuelHEA242', 'fuelHEA242Oxide', 'fuelLECm243', 'fuelLECm243Oxide', 'fuelHECm243', 'fuelHECm243Oxide', 'fuelLECm245', 'fuelLECm245Oxide', 'fuelHECm245', 'fuelHECm245Oxide', 'fuelLECm247', 'fuelLECm247Oxide', 'fuelHECm247', 'fuelHECm247Oxide', 'fuelLEB248', 'fuelLEB248Oxide', 'fuelHEB248', 'fuelHEB248Oxide', 'fuelLECf249', 'fuelLECf249Oxide', 'fuelHECf249', 'fuelHECf249Oxide', 'fuelLECf251', 'fuelLECf251Oxide', 'fuelHECf251', 'fuelHECf251Oxide', 'fuelRodTBU', 'fuelRodTBUOxide', 'fuelRodLEU233', 'fuelRodLEU233Oxide', 'fuelRodHEU233', 'fuelRodHEU233Oxide', 'fuelRodLEU235', 'fuelRodLEU235Oxide', 'fuelRodHEU235', 'fuelRodHEU235Oxide', 'fuelRodLEN236', 'fuelRodLEN236Oxide', 'fuelRodHEN236', 'fuelRodHEN236Oxide', 'fuelRodLEP239', 'fuelRodLEP239Oxide', 'fuelRodHEP239', 'fuelRodHEP239Oxide', 'fuelRodLEP241', 'fuelRodLEP241Oxide', 'fuelRodHEP241', 'fuelRodHEP241Oxide', 'fuelRodMOX239', 'fuelRodMOX241', 'fuelRodLEA242', 'fuelRodLEA242Oxide', 'fuelRodHEA242', 'fuelRodHEA242Oxide', 'fuelRodLECm243', 'fuelRodLECm243Oxide', 'fuelRodHECm243', 'fuelRodHECm243Oxide', 'fuelRodLECm245', 'fuelRodLECm245Oxide', 'fuelRodHECm245', 'fuelRodHECm245Oxide', 'fuelRodLECm247', 'fuelRodLECm247Oxide', 'fuelRodHECm247', 'fuelRodHECm247Oxide', 'fuelRodLEB248', 'fuelRodLEB248Oxide', 'fuelRodHEB248', 'fuelRodHEB248Oxide', 'fuelRodLECf249', 'fuelRodLECf249Oxide', 'fuelRodHECf249', 'fuelRodHECf249Oxide', 'fuelRodLECf251', 'fuelRodLECf251Oxide', 'fuelRodHECf251', 'fuelRodHECf251Oxide', 'depletedFuelRodTBU', 'depletedFuelRodTBUOxide', 'depletedFuelRodLEU233', 'depletedFuelRodLEU233Oxide', 'depletedFuelRodHEU233', 'depletedFuelRodHEU233Oxide', 'depletedFuelRodLEU235', 'depletedFuelRodLEU235Oxide', 'depletedFuelRodHEU235', 'depletedFuelRodHEU235Oxide', 'depletedFuelRodLEN236', 'depletedFuelRodLEN236Oxide', 'depletedFuelRodHEN236', 'depletedFuelRodHEN236Oxide', 'depletedFuelRodLEP239', 'depletedFuelRodLEP239Oxide', 'depletedFuelRodHEP239', 'depletedFuelRodHEP239Oxide', 'depletedFuelRodLEP241', 'depletedFuelRodLEP241Oxide', 'depletedFuelRodHEP241', 'depletedFuelRodHEP241Oxide', 'depletedFuelRodMOX239', 'depletedFuelRodMOX241', 'depletedFuelRodLEA242', 'depletedFuelRodLEA242Oxide', 'depletedFuelRodHEA242', 'depletedFuelRodHEA242Oxide', 'depletedFuelRodLECm243', 'depletedFuelRodLECm243Oxide', 'depletedFuelRodHECm243', 'depletedFuelRodHECm243Oxide', 'depletedFuelRodLECm245', 'depletedFuelRodLECm245Oxide', 'depletedFuelRodHECm245', 'depletedFuelRodHECm245Oxide', 'depletedFuelRodLECm247', 'depletedFuelRodLECm247Oxide', 'depletedFuelRodHECm247', 'depletedFuelRodHECm247Oxide', 'depletedFuelRodLEB248', 'depletedFuelRodLEB248Oxide', 'depletedFuelRodHEB248', 'depletedFuelRodHEB248Oxide', 'depletedFuelRodLECf249', 'depletedFuelRodLECf249Oxide', 'depletedFuelRodHECf249', 'depletedFuelRodHECf249Oxide', 'depletedFuelRodLECf251', 'depletedFuelRodLECf251Oxide', 'depletedFuelRodHECf251', 'depletedFuelRodHECf251Oxide', 'ingotBoron10', 'nuggetBoron10', 'ingotBoron11', 'nuggetBoron11', 'ingotLithium6', 'nuggetLithium6', 'ingotLithium7', 'nuggetLithium7', 'gemCoal', 'gemCharcoal', 'nuggetAlumite', 'ingotAlumite', 'blockAlumite', 'ingotOsmium', 'ingotRefinedObsidian', 'ingotRefinedGlowstone', 'nuggetOsgloglas', 'ingotOsgloglas', 'blockOsgloglas', 'nuggetOsmiridium', 'ingotOsmiridium', 'blockOsmiridium', 'ingotTitanium', 'gemQuartzBlack', 'crystalCertusQuartz', 'crystalFluix', 'blockElectrumFlux', 'blockCrystalFlux', 'dustElectrumFlux', 'ingotElectrumFlux', 'nuggetElectrumFlux', 'gearElectrumFlux', 'plateElectrumFlux', 'gemCrystalFlux', 'cropIronberry', 'listAllberry', 'cropWildberry', 'cropGrape', 'cropChilipepper', 'listAllpepper', 'cropTomato', 'treeWood', 'wax', 'particleCustomizer', 'oreGalena', 'oreBauxite', 'orePyrite', 'oreCinnabar', 'oreSphalerite', 'oreTungsten', 'oreSheldonite', 'oreSodalite', 'blockAluminium', 'blockTitanium', 'blockChrome', 'blockBrass', 'blockZinc', 'blockTungsten', 'blockTungstensteel', 'blockRuby', 'blockSapphire', 'blockPeridot', 'blockYellowGarnet', 'blockRedGarnet', 'crafterWood', 'machineBasic', 'saplingRubber', 'logRubber', 'plankRubber', 'leavesRubber', 'fenceIron', 'machineBlockBasic', 'machineBlockAdvanced', 'machineBlockHighlyAdvanced', 'reBattery', 'lapotronCrystal', 'energyCrystal', 'drillBasic', 'drillDiamond', 'drillAdvanced', 'industrialTnt', 'craftingIndustrialDiamond', 'fertilizer', 'hvTransformer', 'uran235', 'uran238', 'smallUran238', 'smallUran235', 'rubberWood', 'glassReinforced', 'plateIridiumAlloy', 'circuitStorage', 'circuitElite', 'circuitMaster', 'machineBlockElite', 'insulatedGoldCableItem', 'ic2Generator', 'ic2SolarPanel', 'ic2Macerator', 'ic2Extractor', 'ic2Windmill', 'ic2Watermill', 'craftingDiamondGrinder', 'craftingTungstenGrinder', 'craftingSuperconductor', 'materialResin', 'materialRubber', 'plateruby', 'platesapphire', 'plateperidot', 'gemRedGarnet', 'plateredGarnet', 'gemYellowGarnet', 'plateyellowGarnet', 'platealuminum', 'ingotBrass', 'platebrass', 'platebronze', 'ingotChrome', 'platechrome', 'platecopper', 'plateelectrum', 'plateinvar', 'plateiridium', 'platelead', 'platenickel', 'plateplatinum', 'platesilver', 'platesteel', 'platetin', 'platetitanium', 'ingotTungsten', 'platetungsten', 'ingotHotTungstensteel', 'ingotTungstensteel', 'platetungstensteel', 'ingotZinc', 'platezinc', 'ingotRefinedIron', 'platerefinedIron', 'ingotAdvancedAlloy', 'plateadvancedAlloy', 'ingotMixedMetal', 'ingotIridiumAlloy', 'plateCarbon', 'plateWood', 'plateRedstone', 'plateDiamond', 'plateEmerald', 'plateCoal', 'plateLazurite', 'plateRuby', 'plateSapphire', 'platePeridot', 'plateRedGarnet', 'plateYellowGarnet', 'plateBrass', 'plateChrome', 'plateTitanium', 'plateTungsten', 'plateTungstensteel', 'plateZinc', 'plateRefinedIron', 'plateAdvancedAlloy', 'platemagnalium', 'plateMagnalium', 'plateiridiumAlloy', 'dustAlmandine', 'dustAndradite', 'dustBasalt', 'dustBauxite', 'dustBrass', 'dustCalcite', 'dustChrome', 'dustCinnabar', 'dustDarkAshes', 'dustEmerald', 'dustEnderEye', 'dustEnderPearl', 'dustEndstone', 'dustFlint', 'dustGalena', 'dustGrossular', 'dustLazurite', 'dustManganese', 'dustMarble', 'dustNetherrack', 'dustPeridot', 'dustPhosphorous', 'dustPyrite', 'dustPyrope', 'dustRedGarnet', 'dustRuby', 'dustSapphire', 'dustSawDust', 'dustSodalite', 'dustSpessartine', 'dustSphalerite', 'dustTitanium', 'dustTungsten', 'dustUvarovite', 'dustYellowGarnet', 'dustZinc', 'dustAndesite', 'dustDiorite', 'dustGranite', 'dustSmallAlmandine', 'dustSmallAluminum', 'dustSmallAndradite', 'dustSmallAshes', 'dustSmallBasalt', 'dustSmallBauxite', 'dustSmallBrass', 'dustSmallBronze', 'dustSmallCalcite', 'dustSmallCharcoal', 'dustSmallChrome', 'dustSmallCinnabar', 'dustSmallClay', 'dustSmallCoal', 'dustSmallCopper', 'dustSmallDarkAshes', 'dustSmallDiamond', 'dustSmallElectrum', 'dustSmallEmerald', 'dustSmallEnderEye', 'dustSmallEnderPearl', 'dustSmallEndstone', 'dustSmallFlint', 'dustSmallGalena', 'dustSmallGold', 'dustSmallGrossular', 'dustSmallInvar', 'dustSmallIron', 'dustSmallLazurite', 'dustSmallLead', 'dustSmallMagnesium', 'dustSmallManganese', 'dustSmallMarble', 'dustSmallNetherrack', 'dustSmallNickel', 'dustSmallObsidian', 'dustSmallPeridot', 'dustSmallPhosphorous', 'dustSmallPlatinum', 'dustSmallPyrite', 'dustSmallPyrope', 'dustSmallRedGarnet', 'dustSmallRuby', 'dustSmallSaltpeter', 'dustSmallSapphire', 'dustSmallSawDust', 'dustSmallSilver', 'dustSmallSodalite', 'dustSmallSpessartine', 'dustSmallSphalerite', 'dustSmallSteel', 'dustSmallSulfur', 'dustSmallTin', 'dustSmallTitanium', 'dustSmallTungsten', 'dustSmallUvarovite', 'dustSmallYellowGarnet', 'dustSmallZinc', 'dustSmallRedstone', 'dustSmallGlowstone', 'dustSmallAndesite', 'dustSmallDiorite', 'dustSmallGranite', 'nuggetBrass', 'nuggetChrome', 'nuggetTitanium', 'nuggetTungsten', 'nuggetHotTungstensteel', 'nuggetTungstensteel', 'nuggetZinc', 'nuggetRefinedIron', 'dustApatite', 'dustAmethyst', 'dustTopaz', 'dustTanzanite', 'dustMalachite', 'dustAmber', 'dustDilithium', 'crystalDilithium', 'oreDilithium', 'stickIron', 'sheetIron', 'coilGold', 'blockCoil', 'dustSilicon', 'ingotSilicon', 'bouleSilicon', 'nuggetSilicon', 'plateSilicon', 'stickCopper', 'sheetCopper', 'coilCopper', 'stickSteel', 'fanSteel', 'sheetSteel', 'stickTitanium', 'sheetTitanium', 'gearTitanium', 'coilTitanium', 'oreRutile', 'oreTitanium', 'sheetAluminum', 'coilAluminum', 'stickIridium', 'coilIridium', 'dustTitaniumAluminide', 'ingotTitaniumAluminide', 'nuggetTitaniumAluminide', 'plateTitaniumAluminide', 'stickTitaniumAluminide', 'sheetTitaniumAluminide', 'gearTitaniumAluminide', 'blockTitaniumAluminide', 'dustTitaniumIridium', 'ingotTitaniumIridium', 'nuggetTitaniumIridium', 'plateTitaniumIridium', 'stickTitaniumIridium', 'sheetTitaniumIridium', 'gearTitaniumIridium', 'blockTitaniumIridium', 'stoneBasalt', 'stoneBasaltPolished', 'bookshelfOak', 'bookshelfSpruce', 'bookshelfBirch', 'bookshelfJungle', 'bookshelfAcacia', 'bookshelfDarkOak', 'blockCobalt', 'blockCoalCoke', 'blockMossy', 'blockConcrete', 'blockConcreteBlack', 'blockConcreteRed', 'blockConcreteGreen', 'blockConcreteBrown', 'blockConcreteBlue', 'blockConcretePurple', 'blockConcreteCyan', 'blockConcreteLightGray', 'blockConcreteGray', 'blockConcretePink', 'blockConcreteLime', 'blockConcreteYellow', 'blockConcreteLightBlue', 'blockConcreteMagenta', 'blockConcreteOrange', 'blockConcreteWhite', 'hardenedClay', 'ice', 'blockIce', 'stoneLimestone', 'stoneLimestonePolished', 'stoneMarble', 'stoneMarblePolished', 'prismarine', 'prismarineBrick', 'prismarineDark', 'brickStone', 'fish', 'boneWithered', 'listAllmeatcooked', 'lexicaBotania', 'petalWhite', 'runeWaterB', 'petalOrange', 'runeFireB', 'petalMagenta', 'runeEarthB', 'petalLightBlue', 'runeAirB', 'petalYellow', 'runeSpringB', 'petalLime', 'runeSummerB', 'petalPink', 'runeAutumnB', 'petalGray', 'runeWinterB', 'petalLightGray', 'runeManaB', 'petalCyan', 'runeLustB', 'petalPurple', 'runeGluttonyB', 'petalBlue', 'runeGreedB', 'petalBrown', 'runeSlothB', 'petalGreen', 'runeWrathB', 'petalRed', 'runeEnvyB', 'petalBlack', 'runePrideB', 'quartzDark', 'quartzMana', 'quartzBlaze', 'quartzLavender', 'quartzRed', 'quartzElven', 'quartzSunny', 'pestleAndMortar', 'ingotManasteel', 'manaPearl', 'manaDiamond', 'livingwoodTwig', 'ingotTerrasteel', 'eternalLifeEssence', 'redstoneRoot', 'ingotElvenElementium', 'elvenPixieDust', 'elvenDragonstone', 'bPlaceholder', 'bRedString', 'dreamwoodTwig', 'gaiaIngot', 'bEnderAirBottle', 'manaString', 'nuggetManasteel', 'nuggetTerrasteel', 'nuggetElvenElementium', 'livingRoot', 'pebble', 'clothManaweave', 'powderMana', 'bVial', 'bFlask', 'rodBlaze', 'powderBlaze', 'mysticFlowerWhite', 'mysticFlowerOrange', 'mysticFlowerMagenta', 'mysticFlowerLightBlue', 'mysticFlowerYellow', 'mysticFlowerLime', 'mysticFlowerPink', 'mysticFlowerGray', 'mysticFlowerLightGray', 'mysticFlowerCyan', 'mysticFlowerPurple', 'mysticFlowerBlue', 'mysticFlowerBrown', 'mysticFlowerGreen', 'mysticFlowerRed', 'mysticFlowerBlack', 'livingrock', 'livingwood', 'dreamwood', 'mysticFlowerWhiteDouble', 'mysticFlowerLightGrayDouble', 'mysticFlowerOrangeDouble', 'mysticFlowerCyanDouble', 'mysticFlowerMagentaDouble', 'mysticFlowerPurpleDouble', 'mysticFlowerLightBlueDouble', 'mysticFlowerBlueDouble', 'mysticFlowerYellowDouble', 'mysticFlowerBrownDouble', 'mysticFlowerLimeDouble', 'mysticFlowerGreenDouble', 'mysticFlowerPinkDouble', 'mysticFlowerRedDouble', 'mysticFlowerGrayDouble', 'mysticFlowerBlackDouble', 'blockBlaze', 'snowLayer', 'mycelium', 'podzol', 'soulSand', 'slabCobblestone', 'drawerBasic', 'drawerTrim', 'slabCopper', 'slabAluminum', 'slabLead', 'slabSilver', 'slabNickel', 'slabUranium', 'slabConstantan', 'slabElectrum', 'slabSteel', 'blockSheetmetalCopper', 'blockSheetmetalAluminum', 'blockSheetmetalLead', 'blockSheetmetalSilver', 'blockSheetmetalNickel', 'blockSheetmetalUranium', 'blockSheetmetalConstantan', 'blockSheetmetalElectrum', 'blockSheetmetalSteel', 'blockSheetmetalIron', 'blockSheetmetalGold', 'slabSheetmetalCopper', 'slabSheetmetalAluminum', 'slabSheetmetalLead', 'slabSheetmetalSilver', 'slabSheetmetalNickel', 'slabSheetmetalUranium', 'slabSheetmetalConstantan', 'slabSheetmetalElectrum', 'slabSheetmetalSteel', 'slabSheetmetalIron', 'slabSheetmetalGold', 'nuggetUranium', 'plateUranium', 'stickTreatedWood', 'stickAluminum', 'fiberHemp', 'fabricHemp', 'dustCoke', 'dustHOPGraphite', 'ingotHOPGraphite', 'wireCopper', 'wireElectrum', 'wireAluminum', 'wireSteel', 'electronTube', 'plankTreatedWood', 'slabTreatedWood', 'fenceTreatedWood', 'scaffoldingTreatedWood', 'concrete', 'fenceSteel', 'fenceAluminum', 'scaffoldingSteel', 'scaffoldingAluminum', 'blockPackedIce', 'blockSnow', 'oreYellorite', 'oreYellorium', 'blockYellorium', 'blockCyanite', 'blockBlutonium', 'blockLudicrite', 'dustYellorium', 'dustCyanite', 'dustBlutonium', 'dustLudicrite', 'dustPlutonium', 'ingotYellorium', 'ingotCyanite', 'ingotBlutonium', 'ingotLudicrite', 'ingotPlutonium', 'nuggetMirion', 'ingotMirion', 'blockMirion', 'gearDiamond', 'gearStone', 'gearWood', 'ingotAbyssalnite', 'ingotLiquifiedCoralium', 'gemCoralium', 'oreAbyssalnite', 'oreCoralium', 'oreDreadedAbyssalnite', 'oreCoraliumStone', 'gemShadow', 'liquidCoralium', 'materialCoraliumPearl', 'liquidAntimatter', 'blockAbyssalnite', 'blockLiquifiedCoralium', 'blockDreadium', 'ingotCoraliumBrick', 'ingotDreadium', 'materialMethane', 'oreSaltpeter', 'crystalIron', 'crystalGold', 'crystalSulfur', 'crystalCarbon', 'crystalOxygen', 'crystalHydrogen', 'crystalNitrogen', 'crystalPhosphorus', 'crystalPotassium', 'crystalNitrate', 'crystalMethane', 'crystalAbyssalnite', 'crystalCoralium', 'crystalDreadium', 'crystalBlaze', 'crystalTin', 'crystalCopper', 'crystalSilicon', 'crystalMagnesium', 'crystalAluminium', 'crystalSilica', 'crystalAlumina', 'crystalMagnesia', 'crystalZinc', 'foodFriedEgg', 'orePearlescentCoralium', 'oreLiquifiedCoralium', 'ingotEthaxiumBrick', 'ingotEthaxium', 'blockEthaxium', 'nuggetAbyssalnite', 'nuggetLiquifiedCoralium', 'nuggetDreadium', 'nuggetEthaxium', 'crystalShardIron', 'crystalShardGold', 'crystalShardSulfur', 'crystalShardCarbon', 'crystalShardOxygen', 'crystalShardHydrogen', 'crystalShardNitrogen', 'crystalShardPhosphorus', 'crystalShardPotassium', 'crystalShardNitrate', 'crystalShardMethane', 'crystalShardRedstone', 'crystalShardAbyssalnite', 'crystalShardCoralium', 'crystalShardDreadium', 'crystalShardBlaze', 'crystalShardTin', 'crystalShardCopper', 'crystalShardSilicon', 'crystalShardMagnesium', 'crystalShardAluminium', 'crystalShardSilica', 'crystalShardAlumina', 'crystalShardMagnesia', 'crystalShardZinc', 'crystalFragmentIron', 'crystalFragmentGold', 'crystalFragmentSulfur', 'crystalFragmentCarbon', 'crystalFragmentOxygen', 'crystalFragmentHydrogen', 'crystalFragmentNitrogen', 'crystalFragmentPhosphorus', 'crystalFragmentPotassium', 'crystalFragmentNitrate', 'crystalFragmentMethane', 'crystalFragmentRedstone', 'crystalFragmentAbyssalnite', 'crystalFragmentCoralium', 'crystalFragmentDreadium', 'crystalFragmentBlaze', 'crystalFragmentTin', 'crystalFragmentCopper', 'crystalFragmentSilicon', 'crystalFragmentMagnesium', 'crystalFragmentAluminium', 'crystalFragmentSilica', 'crystalFragmentAlumina', 'crystalFragmentMagnesia', 'crystalFragmentZinc', 'dustAbyssalnite', 'dustLiquifiedCoralium', 'dustDreadium', 'dustQuartzBlack', 'oreQuartzBlack', 'seedCanola', 'cropCanola', 'seedRice', 'cropRice', 'seedFlax', 'cropFlax', 'seedCoffee', 'slimeballPink', 'blockInferiumEssence', 'blockPrudentiumEssence', 'blockIntermediumEssence', 'blockSuperiumEssence', 'blockSupremiumEssence', 'blockProsperity', 'blockBaseEssence', 'blockInferium', 'blockPrudentium', 'blockIntermedium', 'blockSuperium', 'blockSupremium', 'blockSoulium', 'blockInferiumCoal', 'blockPrudentiumCoal', 'blockIntermediumCoal', 'blockSuperiumCoal', 'blockSupremiumCoal', 'seedsTier3', 'essenceTier5', 'essenceTier2', 'seedsTier2', 'seedsTier5', 'essenceTier1', 'essenceTier3', 'coalInferium', 'essenceTier4', 'seedsTier4', 'ingotBaseEssence', 'essenceSupremium', 'ingotIntermedium', 'essencePrudentium', 'ingotPrudentium', 'seedsTier1', 'nuggetPrudentium', 'coalSupremium', 'nuggetIntermedium', 'ingotSupremium', 'coalIntermedium', 'essenceSuperium', 'shardProsperity', 'ingotSoulium', 'nuggetSuperium', 'coalPrudentium', 'ingotSuperium', 'ingotInferium', 'nuggetSupremium', 'nuggetInferium', 'nuggetBaseEssence', 'nuggetSoulium', 'essenceIntermedium', 'coalSuperium', 'essenceInferium', 'blockInsaniumEssence', 'blockInsanium', 'blockInsaniumCoal', 'essenceInsanium', 'ingotInsanium', 'nuggetInsanium', 'essenceTier6', 'seedsTier6', 'toolPot', 'toolSkillet', 'toolSaucepan', 'toolBakeware', 'toolCuttingboard', 'toolMortarandpestle', 'toolMixingbowl', 'toolJuicer', 'coinGarlic', 'cropCotton', 'seedCotton', 'materialCloth', 'cropCandle', 'cropCandleberry', 'seedCandleberry', 'materialPressedwax', 'dustSalt', 'itemSalt', 'foodHoneydrop', 'flowerRed', 'flowerYellow', 'blockTorch', 'listAllmeatraw', 'listAllchickenraw', 'listAllegg', 'listAllchickencooked', 'listAllporkraw', 'listAllporkcooked', 'listAllbeefraw', 'listAllbeefcooked', 'listAllmuttonraw', 'listAllmuttoncooked', 'listAllturkeyraw', 'listAllturkeycooked', 'listAllrabbitraw', 'listAllrabbitcooked', 'listAllvenisonraw', 'listAllvenisoncooked', 'listAllduckraw', 'listAllduckcooked', 'listAllfishraw', 'listAllfishcooked', 'listAllheavycream', 'listAllicecream', 'listAllmilk', 'listAllwater', 'foodGroundbeef', 'foodGroundchicken', 'foodGroundduck', 'foodGroundfish', 'foodGroundmutton', 'foodGroundpork', 'foodGroundrabbit', 'foodGroundturkey', 'foodGroundvenison', 'flourEqualswheat', 'bread', 'foodBread', 'cropPumpkin', 'cropBeet', 'listAllgrain', 'listAllmushroom', 'salmonRaw', 'listAllsugar', 'listAllgreenveggie', 'cropAsparagus', 'seedAsparagus', 'foodGrilledasparagus', 'cropBarley', 'cropBean', 'seedBean', 'seedBeet', 'cropBroccoli', 'seedBroccoli', 'cropCauliflower', 'seedCauliflower', 'cropCelery', 'seedCelery', 'cropCranberry', 'seedCranberry', 'cropGarlic', 'listAllherb', 'seedGarlic', 'cropGinger', 'listAllspice', 'seedGinger', 'cropLeek', 'seedLeek', 'cropLettuce', 'seedLettuce', 'cropOats', 'seedOats', 'cropOnion', 'seedOnion', 'cropParsnip', 'seedParsnip', 'listAllnut', 'cropPeanut', 'seedPeanut', 'cropPineapple', 'seedPineapple', 'cropRadish', 'seedRadish', 'foodRicecake', 'cropRutabaga', 'seedRutabaga', 'cropRye', 'cropScallion', 'seedScallion', 'cropSoybean', 'seedSoybean', 'cropSpiceleaf', 'seedSpiceleaf', 'cropSunflower', 'cropSweetpotato', 'seedSweetpotato', 'cropTea', 'seedTea', 'foodTea', 'cropWhitemushroom', 'seedWhitemushroom', 'cropArtichoke', 'seedArtichoke', 'cropBellpepper', 'seedBellpepper', 'cropBlackberry', 'seedBlackberry', 'cropBlueberry', 'seedBlueberry', 'cropBrusselsprout', 'seedBrusselsprout', 'cropCabbage', 'seedCabbage', 'cropCactusfruit', 'seedCactusfruit', 'cropCantaloupe', 'seedCantaloupe', 'seedChilipepper', 'foodCoffee', 'cropCorn', 'cropCucumber', 'seedCucumber', 'cropEggplant', 'seedEggplant', 'foodGrilledeggplant', 'seedGrape', 'foodRaisins', 'cropKiwi', 'seedKiwi', 'cropMustard', 'seedMustard', 'cropOkra', 'seedOkra', 'cropPeas', 'seedPeas', 'cropRaspberry', 'seedRaspberry', 'cropRhubarb', 'seedRhubarb', 'cropSeaweed', 'seedSeaweed', 'cropStrawberry', 'seedStrawberry', 'seedTomato', 'cropWintersquash', 'seedWintersquash', 'cropZucchini', 'seedZucchini', 'cropBambooshoot', 'seedBambooshoot', 'cropSpinach', 'seedSpinach', 'cropCurryleaf', 'seedCurryleaf', 'cropSesame', 'seedSesameseed', 'cropWaterchestnut', 'seedGigapickle', 'foodGigapickle', 'foodPickles', 'seedWaterchestnut', 'cropAvocado', 'cropCinnamon', 'cropCoconut', 'foodToastedcoconut', 'cropDragonfruit', 'listAllcitrus', 'cropMango', 'cropNutmeg', 'cropPeppercorn', 'cropPomegranate', 'cropStarfruit', 'cropVanillabean', 'foodVanilla', 'cropGooseberry', 'cropCashew', 'cropDurian', 'cropMaplesyrup', 'cropPistachio', 'foodSalt', 'foodFlour', 'foodDough', 'foodToast', 'foodPasta', 'foodHeavycream', 'foodButter', 'foodCheese', 'foodIcecream', 'foodGrilledcheese', 'foodApplesauce', 'foodApplejuice', 'foodApplepie', 'foodCaramelapple', 'foodPumpkinbread', 'foodRoastedpumpkinseeds', 'foodPumpkinsoup', 'foodMelonjuice', 'foodMelonsmoothie', 'listAllsmoothie', 'foodCarrotjuice', 'foodCarrotcake', 'foodCarrotsoup', 'foodGlazedcarrots', 'foodButteredpotato', 'foodLoadedbakedpotato', 'foodMashedpotatoes', 'foodPotatosalad', 'foodPotatosoup', 'foodFries', 'foodGrilledmushroom', 'foodStuffedmushroom', 'foodChickensandwich', 'foodChickennoodlesoup', 'foodChickenpotpie', 'foodBreadedporkchop', 'foodHotdog', 'foodBakedham', 'foodHamburger', 'foodCheeseburger', 'foodBaconcheeseburger', 'foodPotroast', 'foodFishsandwich', 'foodFishsticks', 'foodFishandchips', 'foodMayo', 'foodFriedegg', 'foodScrambledegg', 'foodBoiledegg', 'foodEggsalad', 'foodCaramel', 'foodTaffy', 'foodSpidereyesoup', 'foodZombiejerky', 'foodCocoapowder', 'foodChocolatebar', 'foodHotchocolate', 'foodChocolateicecream', 'foodVegetablesoup', 'foodStock', 'foodSpagetti', 'foodSpagettiandmeatballs', 'foodTomatosoup', 'foodKetchup', 'foodChickenparmasan', 'foodPizza', 'foodSpringsalad', 'foodPorklettucewrap', 'foodFishlettucewrap', 'foodBlt', 'foodLeafychickensandwich', 'foodLeafyfishsandwich', 'foodDeluxecheeseburger', 'foodDelightedmeal', 'foodOnionsoup', 'foodPotatocakes', 'foodHash', 'foodBraisedonions', 'foodHeartyBreakfast', 'foodCornonthecob', 'foodCornmeal', 'foodCornbread', 'foodTortilla', 'foodNachoes', 'foodTaco', 'foodFishtaco', 'foodCreamedcorn', 'foodStrawberrysmoothie', 'foodStrawberrypie', 'foodStrawberrysalad', 'foodStrawberryjuice', 'foodChocolatestrawberry', 'foodPeanutbutter', 'listAllnutbutter', 'foodTrailmix', 'foodPbandj', 'foodPeanutbuttercookies', 'listAllcookie', 'foodGrapejuice', 'foodVinegar', 'foodGrapejelly', 'foodGrapesalad', 'foodRaisincookies', 'foodCucumbersalad', 'foodCucumbersoup', 'foodVegetarianlettucewrap', 'foodMarinatedcucumbers', 'foodRicesoup', 'foodFriedrice', 'foodMushroomrisotto', 'foodCurry', 'foodRainbowcurry', 'foodRefriedbeans', 'foodBakedbeans', 'foodBeansandrice', 'foodChili', 'foodBeanburrito', 'foodStuffedpepper', 'foodVeggiestirfry', 'foodGrilledskewers', 'foodSupremepizza', 'foodOmelet', 'foodHotwings', 'foodChilipoppers', 'foodExtremechili', 'foodChilichocolate', 'foodLemonaide', 'foodLemonbar', 'foodFishdinner', 'foodLemonsmoothie', 'foodLemonmeringue', 'foodCandiedlemon', 'foodLemonchicken', 'foodBlueberrysmoothie', 'foodBlueberrypie', 'foodBlueberrymuffin', 'foodBlueberryjuice', 'foodPancakes', 'foodBlueberrypancakes', 'foodCherryjuice', 'foodCherrypie', 'foodChocolatecherry', 'foodCherrysmoothie', 'foodCheesecake', 'foodCherrycheesecake', 'foodStuffedeggplant', 'foodEggplantparm', 'foodRaspberryicedtea', 'foodChaitea', 'foodEspresso', 'foodCoffeeconleche', 'foodMochaicecream', 'foodPickledbeets', 'foodBeetsalad', 'foodBeetsoup', 'foodBakedbeets', 'foodBroccolimac', 'foodBroccolindip', 'foodCreamedbroccolisoup', 'foodSweetpotatopie', 'foodCandiedsweetpotatoes', 'foodMashedsweetpotatoes', 'foodSteamedpeas', 'foodSplitpeasoup', 'foodPineappleupsidedowncake', 'foodPineappleham', 'foodPineappleyogurt', 'foodTurnipsoup', 'foodRoastedrootveggiemedley', 'foodBakedturnips', 'foodGingerbread', 'foodGingersnaps', 'foodCandiedginger', 'foodMustard', 'foodSoftpretzelandmustard', 'foodSpicymustardpork', 'foodSpicygreens', 'foodGarlicbread', 'foodGarlicmashedpotatoes', 'foodGarlicchicken', 'foodSummerradishsalad', 'foodSummersquashwithradish', 'foodCeleryandpeanutbutter', 'foodChickencelerycasserole', 'foodPeasandcelery', 'foodCelerysoup', 'foodZucchinibread', 'foodZucchinifries', 'foodZestyzucchini', 'foodZucchinibake', 'foodAsparagusquiche', 'foodAsparagussoup', 'foodWalnutraisinbread', 'foodCandiedwalnuts', 'foodBrownie', 'foodPapayajuice', 'foodPapayasmoothie', 'foodPapayayogurt', 'foodStarfruitjuice', 'foodStarfruitsmoothie', 'foodStarfruityogurt', 'foodGuacamole', 'foodCreamofavocadosoup', 'foodAvocadoburrito', 'foodPoachedpear', 'foodFruitcrumble', 'foodPearyogurt', 'foodPlumyogurt', 'foodBananasplit', 'foodBanananutbread', 'foodBananasmoothie', 'foodBananayogurt', 'foodCoconutmilk', 'foodChickencurry', 'foodCoconutshrimp', 'foodCoconutyogurt', 'foodOrangejuice', 'foodOrangechicken', 'foodOrangesmoothie', 'foodOrangeyogurt', 'foodPeachjuice', 'foodPeachcobbler', 'foodPeachsmoothie', 'foodPeachyogurt', 'foodLimejuice', 'foodKeylimepie', 'foodLimesmoothie', 'foodLimeyogurt', 'foodMangojuice', 'foodMangosmoothie', 'foodMangoyogurt', 'foodPomegranatejuice', 'foodPomegranatesmoothie', 'foodPomegranateyogurt', 'foodVanillayogurt', 'foodCinnamonroll', 'foodFrenchtoast', 'foodMarshmellows', 'foodDonut', 'foodChocolatedonut', 'foodPowdereddonut', 'foodJellydonut', 'foodFrosteddonut', 'foodCactussoup', 'foodWaffles', 'foodSeedsoup', 'foodSoftpretzel', 'foodJellybeans', 'foodBiscuit', 'foodCreamcookie', 'foodJaffa', 'foodFriedchicken', 'foodChocolatesprinklecake', 'foodRedvelvetcake', 'foodFootlong', 'foodBlueberryyogurt', 'foodLemonyogurt', 'foodCherryyogurt', 'foodStrawberryyogurt', 'foodGrapeyogurt', 'foodChocolateyogurt', 'foodBlackberryjuice', 'foodBlackberrycobbler', 'foodBlackberrysmoothie', 'foodBlackberryyogurt', 'foodChocolatemilk', 'foodPumpkinyogurt', 'foodRaspberryjuice', 'foodRaspberrypie', 'foodRaspberrysmoothie', 'foodRaspberryyogurt', 'foodCinnamonsugardonut', 'foodMelonyogurt', 'foodKiwijuice', 'foodKiwismoothie', 'foodKiwiyogurt', 'foodPlainyogurt', 'foodAppleyogurt', 'foodSaltedsunflowerseeds', 'foodSunflowerwheatrolls', 'foodSunflowerbroccolisalad', 'foodCranberryjuice', 'foodCranberrysauce', 'foodCranberrybar', 'foodPeppermint', 'foodCactusfruitjuice', 'foodBlackpepper', 'foodGroundcinnamon', 'foodGroundnutmeg', 'foodOliveoil', 'foodBaklava', 'foodGummybears', 'foodBaconmushroomburger', 'foodFruitpunch', 'foodMeatystew', 'foodMixedsalad', 'foodPinacolada', 'foodSaladdressing', 'foodShepherdspie', 'foodEggnog', 'foodCustard', 'foodSushi', 'foodGardensoup', 'foodMuttonraw', 'foodMuttoncooked', 'foodCalamariraw', 'foodCalamaricooked', 'foodApplejelly', 'foodApplejellysandwich', 'foodBlackberryjelly', 'foodBlackberryjellysandwich', 'foodBlueberryjelly', 'foodBlueberryjellysandwich', 'foodCherryjelly', 'foodCherryjellysandwich', 'foodCranberryjelly', 'foodCranberryjellysandwich', 'foodKiwijelly', 'foodKiwijellysandwich', 'foodLemonjelly', 'foodLemonjellysandwich', 'foodLimejelly', 'foodLimejellysandwich', 'foodMangojelly', 'foodMangojellysandwich', 'foodOrangejelly', 'foodOrangejellysandwich', 'foodPapayajelly', 'foodPapayajellysandwich', 'foodPeachjelly', 'foodPeachjellysandwich', 'foodPomegranatejelly', 'foodPomegranatejellysandwich', 'foodRaspberryjelly', 'foodRaspberryjellysandwich', 'foodStarfruitjelly', 'foodStarfruitjellysandwich', 'foodStrawberryjelly', 'foodStrawberryjellysandwich', 'foodWatermelonjelly', 'foodWatermelonjellysandwich', 'foodBubblywater', 'foodCherrysoda', 'foodColasoda', 'foodGingersoda', 'foodGrapesoda', 'foodLemonlimesoda', 'foodOrangesoda', 'foodRootbeersoda', 'foodStrawberrysoda', 'listAllsoda', 'foodCaramelicecream', 'foodMintchocolatechipicecream', 'foodStrawberryicecream', 'foodVanillaicecream', 'cropEdibleroot', 'foodGingerchicken', 'foodOldworldveggiesoup', 'foodSpicebun', 'foodGingeredrhubarbtart', 'foodLambbarleysoup', 'foodHoneylemonlamb', 'foodPumpkinoatscones', 'foodBeefjerky', 'foodPlumjuice', 'foodPearjuice', 'foodOvenroastedcauliflower', 'foodLeekbaconsoup', 'foodHerbbutterparsnips', 'foodScallionbakedpotato', 'foodSoymilk', 'foodFirmtofu', 'foodSilkentofu', 'foodBamboosteamedrice', 'foodRoastedchestnut', 'foodSweetpotatosouffle', 'foodCashewchicken', 'foodApricotjuice', 'foodApricotyogurt', 'foodApricotglazedpork', 'foodApricotjelly', 'foodApricotjellysandwich', 'foodApricotsmoothie', 'foodFigbar', 'foodFigjelly', 'foodFigjellysandwich', 'foodFigsmoothie', 'foodFigyogurt', 'foodFigjuice', 'foodGrapefruitjuice', 'foodGrapefruitjelly', 'foodGrapefruitjellysandwich', 'foodGrapefruitjellysmoothie', 'foodGrapefruityogurt', 'foodGrapefruitsoda', 'foodCitrussalad', 'foodPecanpie', 'foodPralines', 'foodPersimmonjuice', 'foodPersimmonyogurt', 'foodPersimmonsmoothie', 'foodPersimmonjelly', 'foodPersimmonjellysanwich', 'foodPistachiobakedsalmon', 'foodBaconwrappeddates', 'foodDatenutbread', 'foodMaplesyruppancakes', 'foodMaplesyrupwaffles', 'foodMaplesausage', 'foodMapleoatmeal', 'foodPeachesandcreamoatmeal', 'foodCinnamonappleoatmeal', 'foodMaplecandiedbacon', 'foodToastsandwich', 'foodPotatoandcheesepirogi', 'foodZeppole', 'foodSausageinbread', 'foodChocolatecaramelfudge', 'foodLavendershortbread', 'foodBeefwellington', 'foodEpicbacon', 'foodManjuu', 'foodChickengumbo', 'foodGeneraltsochicken', 'foodCaliforniaroll', 'foodFutomaki', 'foodBeansontoast', 'foodVegemite', 'foodHoneycombchocolatebar', 'foodCherrycoconutchocolatebar', 'foodFairybread', 'foodLamington', 'foodTimtam', 'foodMeatpie', 'foodChikoroll', 'foodDamper', 'foodBeetburger', 'foodPavlova', 'foodGherkin', 'foodMcpam', 'foodCeasarsalad', 'foodChaoscookie', 'foodChocolatebacon', 'foodLambkebab', 'foodNutella', 'foodSnickersbar', 'foodSpinachpie', 'foodSteamedspinach', 'foodVegemiteontoast', 'foodSalmonraw', 'foodAnchovyraw', 'foodBassraw', 'foodCarpraw', 'foodCatfishraw', 'foodCharrraw', 'foodClamraw', 'foodCrabraw', 'foodCrayfishraw', 'foodEelraw', 'foodFrograw', 'foodGrouperraw', 'foodHerringraw', 'foodJellyfishraw', 'foodMudfishraw', 'foodOctopusraw', 'foodPerchraw', 'foodScallopraw', 'foodShrimpraw', 'foodSnailraw', 'foodSnapperraw', 'foodTilapiaraw', 'foodTroutraw', 'foodTunaraw', 'foodTurtleraw', 'foodWalleyraw', 'foodHolidaycake', 'foodClamcooked', 'foodCrabcooked', 'foodCrayfishcooked', 'foodFrogcooked', 'foodOctopuscooked', 'foodScallopcooked', 'foodShrimpcooked', 'foodSnailcooked', 'foodTurtlecooked', 'foodApplecider', 'foodBangersandmash', 'foodBatteredsausage', 'foodBatter', 'foodchorizo', 'foodColeslaw', 'foodEnergydrink', 'foodFriedonions', 'foodMeatfeastpizza', 'foodMincepie', 'foodOnionhamburger', 'foodPepperoni', 'foodPickledonions', 'foodPorksausage', 'foodRaspberrytrifle', 'foodTurkeyraw', 'foodTurkeycooked', 'foodRabbitraw', 'foodRabbitcooked', 'foodVenisonraw', 'foodVenisoncooked', 'foodStrawberrymilkshake', 'foodChocolatemilkshake', 'foodBananamilkshake', 'foodCornflakes', 'foodColeslawburger', 'foodRoastchicken', 'foodRoastpotatoes', 'foodSundayroast', 'foodBbqpulledpork', 'foodLambwithmintsauce', 'foodSteakandchips', 'foodCherryicecream', 'foodPistachioicecream', 'foodNeapolitanicecream', 'foodSpumoniicecream', 'foodAlmondbutter', 'foodCashewbutter', 'foodChestnutbutter', 'foodCornishpasty', 'foodCottagepie', 'foodCroissant', 'foodCurrypowder', 'foodDimsum', 'foodFriedpecanokra', 'foodGooseberryjelly', 'foodGooseberryjellysandwich', 'foodGooseberrymilkeshake', 'foodGooseberrypie', 'foodGooseberrysmoothie', 'foodGooseberryyogurt', 'foodGreenheartfish', 'foodHamsweetpicklesandwich', 'foodHushpuppies', 'foodKimchi', 'foodMochi', 'foodMuseli', 'foodNaan', 'foodOkrachips', 'foodOkracreole', 'foodPistachiobutter', 'foodPloughmanslunch', 'foodPorklomein', 'foodSalmonpatties', 'foodSausage', 'foodSausageroll', 'foodSesameball', 'foodSesamesnaps', 'foodShrimpokrahushpuppies', 'foodSoysauce', 'foodSweetpickle', 'foodVeggiestrips', 'foodVindaloo', 'foodApplesmoothie', 'foodCheeseontoast', 'foodChocolateroll', 'foodCoconutcream', 'foodCoconutsmoothie', 'foodCracker', 'foodCranberrysmoothie', 'foodCranberryyogurt', 'foodDeluxechickencurry', 'foodGarammasala', 'foodGrapesmoothie', 'foodGravy', 'foodHoneysandwich', 'foodJamroll', 'foodMangochutney', 'foodMarzipan', 'foodPaneer', 'foodPaneertikkamasala', 'foodPeaandhamsoup', 'foodPearjelly', 'foodPearjellysandwich', 'foodPearsmoothie', 'foodPlumjelly', 'foodPlumjellysandwich', 'foodPlumsmoothie', 'foodPotatoandleeksoup', 'foodToadinthehole', 'foodTunapotato', 'foodYorkshirepudding', 'foodSesameoil', 'foodHotandsoursoup', 'foodNoodles', 'foodChickenchowmein', 'foodKungpaochicken', 'foodHoisinsauce', 'foodFivespice', 'foodCharsiu', 'foodSweetandsoursauce', 'foodSweetandsourchicken', 'foodBaconandeggs', 'foodBiscuitsandgravy', 'foodApplefritter', 'foodSweettea', 'foodCreepercookie', 'foodPatreonpie', 'foodHoneybread', 'foodHoneybun', 'foodHoneyglazedcarrots', 'foodHoneyglazedham', 'foodHoneysoyribs', 'foodAnchovypepperonipizza', 'foodChocovoxels', 'foodCinnamontoast', 'foodCornedbeefhash', 'foodCornedbeef', 'foodCottoncandy', 'foodCrackers', 'foodCreeperwings', 'foodDhal', 'foodDurianmilkshake', 'foodDurianmuffin', 'foodHomestylelunch', 'foodHotsauce', 'foodIronbrew', 'foodHummus', 'foodLasagna', 'foodLemondrizzlecake', 'foodMeatloaf', 'foodMontecristosandwich', 'foodMushroomlasagna', 'foodMusselcooked', 'foodMusselraw', 'foodNetherwings', 'foodPizzasoup', 'foodPoutine', 'foodSalsa', 'foodSardineraw', 'foodSardinesinhotsauce', 'foodTeriyakichicken', 'foodToastedwestern', 'foodTurkishdelight', 'foodCornedbeefbreakfast', 'foodGreeneggsandham', 'foodSpaghettidinner', 'foodTheatrebox', 'foodCookiesandmilk', 'foodCrackersandcheese', 'foodChickendinner', 'foodBbqplatter', 'foodWeekendpicnic', 'foodCorndog', 'foodChilidog', 'foodHamandcheesesandwich', 'foodTunafishsandwich', 'foodTunasalad', 'foodGrits', 'foodSouthernstylebreakfast', 'foodChimichanga', 'foodClamchowder', 'foodBreakfastburrito', 'foodButtercookie', 'foodSugarcookie', 'foodPotatochips', 'foodBbqpotatochips', 'foodSourcreamandonionpotatochips', 'foodCheddarandsourcreampotatochips', 'foodTortillachips', 'foodChipsandsalsa', 'foodChipsanddip', 'foodCheezepuffs', 'foodSurfandturf', 'foodLiverandonions', 'foodFortunecookie', 'foodDeviledegg', 'foodMozzerellasticks', 'foodGumbo', 'foodJambalaya', 'foodSuccotash', 'foodEggsbenedict', 'foodFriedgreentomatoes', 'foodChickenandwaffles', 'foodPotatoesobrien', 'foodTatertots', 'foodSmores', 'foodThankfuldinner', 'foodSteakfajita', 'foodRamen', 'foodMisosoup', 'foodOnigiri', 'foodGrilledcheesevegemitetoast', 'foodMonsterfrieddumplings', 'foodSalisburysteak', 'foodCrispyricepuffcereal', 'foodCrispyricepuffbars', 'foodBabaganoush', 'foodBerryvinaigrettesalad', 'foodTomatoherbchicken', 'foodPastagardenia', 'foodFiestacornsalad', 'foodThreebeansalad', 'foodSweetandsourmeatballs', 'foodPepperjelly', 'foodPepperjellyandcrackers', 'foodSaltedcaramel', 'foodSpidereyepie', 'foodCheesyshrimpquinoa', 'foodBulgogi', 'foodOmurice', 'foodKoreandinner', 'foodPemmican', 'foodDriedsoup', 'foodCrabkimbap', 'foodFroglegstirfry', 'foodCrawfishetoufee', 'foodHaggis', 'foodChickenkatsu', 'foodChocolateorange', 'foodFestivalbread', 'foodFruitcreamfestivalbread', 'foodPho', 'foodBubbletea', 'foodDuckraw', 'foodDuckcooked', 'foodWontonsoup', 'foodSpringroll', 'foodMeatystirfry', 'foodPotstickers', 'foodOrangeduck', 'foodPekingduck', 'foodStuffedduck', 'foodRoux', 'foodCandiedpecans', 'foodEnchilada', 'foodStuffing', 'foodGreenbeancasserole', 'foodHamandpineapplepizza', 'foodSaucedlambkebab', 'foodCobblestonecobbler', 'foodCrayfishsalad', 'foodCeviche', 'foodDeluxenachoes', 'foodBakedcactus', 'foodGarlicsteak', 'foodMushroomsteak', 'foodHotdishcasserole', 'foodSausagebeanmelt', 'foodMettbrotchen', 'foodPorkrinds', 'foodCracklins', 'foodChorusfruitsoup', 'foodAkutuq', 'foodCantonesegreens', 'foodCantonesenoodles', 'foodDango', 'foodEarlgreytea', 'foodEggroll', 'foodEggtart', 'foodGreentea', 'foodMeesua', 'foodOystercooked', 'foodOysterraw', 'foodOystersauce', 'foodSpringfieldcashewchicken', 'foodSquidinkspaghetti', 'foodSteaktartare', 'foodSzechuaneggplant', 'foodTakoyaki', 'oreDimensionalShard', 'oreAluminium', 'coinAluminium', 'dustAluminium', 'ingotAluminium', 'nuggetAluminium', 'gearAluminium', 'plateAluminium', 'blockChromium', 'ingotChromium', 'plateChromium', 'dustChromium', 'dustSmallAluminium', 'dustSmallChromium', 'nuggetChromium', 'sheetAluminium', 'coilAluminium', 'slabAluminium', 'blockSheetmetalAluminium', 'slabSheetmetalAluminium', 'stickAluminium', 'wireAluminium', 'fenceAluminium', 'scaffoldingAluminium', 'crystalAluminum', 'crystalShardAluminum', 'crystalFragmentAluminum', 'universalCable', 'battery', 'blockSalt', 'alloyBasic', 'alloyAdvanced', 'alloyElite', 'alloyUltimate', 'dustRefinedObsidian', 'nuggetRefinedObsidian', 'nuggetOsmium', 'nuggetRefinedGlowstone', 'blockOsmium', 'blockRefinedObsidian', 'blockRefinedGlowstone', 'dustDirtyIron', 'clumpIron', 'shardIron', 'dustDirtyGold', 'clumpGold', 'shardGold', 'dustOsmium', 'dustDirtyOsmium', 'clumpOsmium', 'shardOsmium', 'crystalOsmium', 'dustDirtyCopper', 'clumpCopper', 'shardCopper', 'dustDirtyTin', 'clumpTin', 'shardTin', 'dustDirtySilver', 'clumpSilver', 'shardSilver', 'crystalSilver', 'dustDirtyLead', 'clumpLead', 'shardLead', 'crystalLead', 'oreOsmium', 'circuitUltimate', 'itemCompressedCarbon', 'itemCompressedRedstone', 'itemCompressedDiamond', 'itemCompressedObsidian', 'itemEnrichedAlloy', 'itemBioFuel', 'slimeballGreen', 'slimeballBlue', 'slimeballPurple', 'slimeballBlood', 'slimeballMagma', 'nuggetCobalt', 'ingotCobalt', 'nuggetArdite', 'ingotArdite', 'blockArdite', 'nuggetManyullyn', 'ingotManyullyn', 'blockManyullyn', 'nuggetKnightslime', 'ingotKnightslime', 'blockKnightslime', 'nuggetPigiron', 'ingotPigiron', 'blockPigiron', 'nuggetAlubrass', 'ingotAlubrass', 'blockAlubrass', 'blockMetal', 'ingotBrickSeared', 'slimecrystal', 'slimecrystalGreen', 'slimecrystalBlue', 'slimecrystalMagma', 'oreCobalt', 'oreArdite', 'partPickHead', 'partBinding', 'partToolRod', 'pattern', 'cast', 'blockSeared', 'blockSlimeCongealed', 'blockSlimeDirt', 'blockSlimeGrass', 'rodStone', 'oreEnderBiotite', 'gemDimensionalShard', 'blockMarble', 'oreAstralStarmetal', 'ingotAstralStarmetal', 'dustAstralStarmetal', 'oreAquamarine', 'gemAquamarine', 'gemCertusQuartz', 'gemChargedCertusQuartz', 'gemFluix', 'fenceAbyssalnite', 'fenceArdite', 'fenceAstralStarmetal', 'fenceBoron', 'fenceCobalt', 'fenceCopper', 'fenceDraconium', 'fenceGold', 'fenceIridium', 'fenceLead', 'fenceLiquifiedCoralium', 'fenceLithium', 'fenceMagnesium', 'fenceMithril', 'fenceNickel', 'fenceOsmium', 'fencePlatinum', 'fenceSilver', 'fenceThorium', 'fenceTin', 'fenceTitanium', 'fenceTungsten', 'fenceUranium', 'fenceYellorium', 'fenceAmber', 'fenceAmethyst', 'fenceApatite', 'fenceAquamarine', 'fenceCoal', 'fenceCoralium', 'fenceDiamond', 'fenceDimensionalShard', 'fenceEmerald', 'fenceEnderBiotite', 'fenceLapis', 'fenceMalachite', 'fencePeridot', 'fenceQuartz', 'fenceQuartzBlack', 'fenceRuby', 'fenceSapphire', 'fenceTanzanite', 'fenceTopaz', 'wallArdite', 'wallCobalt', 'wallCopper', 'wallDraconium', 'wallGold', 'wallIridium', 'wallIron', 'wallLead', 'wallMithril', 'wallNickel', 'wallOsmium', 'wallPlatinum', 'wallSilver', 'wallTin', 'wallTungsten', 'wallUranium', 'wallYellorium', 'wallAmber', 'wallAmethyst', 'wallApatite', 'wallCoal', 'wallDiamond', 'wallDimensionalShard', 'wallEmerald', 'wallEnderBiotite', 'wallLapis', 'wallMalachite', 'wallPeridot', 'wallQuartz', 'wallQuartzBlack', 'wallRuby', 'wallSapphire', 'wallTanzanite', 'wallTopaz', 'glassHardenedAbyssalnite', 'glassHardenedArdite', 'glassHardenedAstralStarmetal', 'glassHardenedBoron', 'glassHardenedCobalt', 'glassHardenedDraconium', 'glassHardenedGold', 'glassHardenedIron', 'glassHardenedLiquifiedCoralium', 'glassHardenedLithium', 'glassHardenedMagnesium', 'glassHardenedOsmium', 'glassHardenedThorium', 'glassHardenedTitanium', 'glassHardenedTungsten', 'glassHardenedUranium', 'glassHardenedYellorium', 'blockAmber', 'blockAmethyst', 'blockDimensionalShard', 'blockEnderBiotite', 'blockMalachite', 'blockQuartzBlack', 'blockTanzanite', 'blockTopaz', 'blockBauxite', 'blockCinnabar', 'blockGalena', 'blockPyrite', 'blockSodalite', 'blockSphalerite', 'crystalClusterArdite', 'crystalClusterAstralStarmetal', 'crystalClusterBoron', 'crystalClusterCobalt', 'crystalClusterDraconium', 'crystalClusterIridium', 'crystalClusterLead', 'crystalClusterLithium', 'crystalClusterMithril', 'crystalClusterNickel', 'crystalClusterOsmium', 'crystalClusterPlatinum', 'crystalClusterSilver', 'crystalClusterThorium', 'crystalClusterTitanium', 'crystalClusterTungsten', 'crystalClusterUranium', 'crystalClusterYellorium', 'dustArdite', 'dustCobalt', 'dustAquamarine', 'dustCoralium', 'dustDimensionalShard', 'dustEnderBiotite', 'nuggetAstralStarmetal', 'nuggetBoron', 'nuggetLithium', 'nuggetMagnesium', 'nuggetThorium', 'nuggetYellorium', 'nuggetAmber', 'nuggetAmethyst', 'nuggetApatite', 'nuggetAquamarine', 'nuggetCoal', 'nuggetCoralium', 'nuggetDimensionalShard', 'nuggetEnderBiotite', 'nuggetLapis', 'nuggetMalachite', 'nuggetPeridot', 'nuggetQuartz', 'nuggetQuartzBlack', 'nuggetRuby', 'nuggetSapphire', 'nuggetTanzanite', 'nuggetTopaz', 'coinAbyssalnite', 'coinArdite', 'coinAstralStarmetal', 'coinBoron', 'coinCobalt', 'coinDraconium', 'coinLiquifiedCoralium', 'coinLithium', 'coinMagnesium', 'coinOsmium', 'coinThorium', 'coinTitanium', 'coinTungsten', 'coinUranium', 'coinYellorium', 'gearAbyssalnite', 'gearArdite', 'gearAstralStarmetal', 'gearBoron', 'gearCobalt', 'gearDraconium', 'gearLiquifiedCoralium', 'gearLithium', 'gearMagnesium', 'gearOsmium', 'gearThorium', 'gearTungsten', 'gearUranium', 'gearYellorium', 'gearAmber', 'gearAmethyst', 'gearApatite', 'gearAquamarine', 'gearCoal', 'gearCoralium', 'gearDimensionalShard', 'gearEmerald', 'gearEnderBiotite', 'gearLapis', 'gearMalachite', 'gearPeridot', 'gearQuartz', 'gearQuartzBlack', 'gearRuby', 'gearSapphire', 'gearTanzanite', 'gearTopaz', 'plateAbyssalnite', 'plateArdite', 'plateAstralStarmetal', 'plateBoron', 'plateCobalt', 'plateDraconium', 'plateLiquifiedCoralium', 'plateLithium', 'plateMagnesium', 'plateOsmium', 'plateThorium', 'plateYellorium', 'plateAmber', 'plateAmethyst', 'plateApatite', 'plateAquamarine', 'plateCoralium', 'plateDimensionalShard', 'plateEnderBiotite', 'plateMalachite', 'plateQuartz', 'plateQuartzBlack', 'plateTanzanite', 'plateTopaz', 'stickAbyssalnite', 'stickArdite', 'stickAstralStarmetal', 'stickBoron', 'stickCobalt', 'stickDraconium', 'stickGold', 'stickLead', 'stickLiquifiedCoralium', 'stickLithium', 'stickMagnesium', 'stickMithril', 'stickNickel', 'stickOsmium', 'stickPlatinum', 'stickSilver', 'stickThorium', 'stickTin', 'stickTungsten', 'stickUranium', 'stickYellorium', 'stickAmber', 'stickAmethyst', 'stickApatite', 'stickAquamarine', 'stickCoal', 'stickCoralium', 'stickDiamond', 'stickDimensionalShard', 'stickEmerald', 'stickEnderBiotite', 'stickLapis', 'stickMalachite', 'stickPeridot', 'stickQuartz', 'stickQuartzBlack', 'stickRuby', 'stickSapphire', 'stickTanzanite', 'stickTopaz', 'dustDirtyAbyssalnite', 'dustDirtyAluminium', 'dustDirtyArdite', 'dustDirtyAstralStarmetal', 'dustDirtyBoron', 'dustDirtyCobalt', 'dustDirtyDraconium', 'dustDirtyIridium', 'dustDirtyLiquifiedCoralium', 'dustDirtyLithium', 'dustDirtyMagnesium', 'dustDirtyMithril', 'dustDirtyNickel', 'dustDirtyPlatinum', 'dustDirtyThorium', 'dustDirtyTitanium', 'dustDirtyTungsten', 'dustDirtyUranium', 'dustDirtyYellorium', 'clumpAbyssalnite', 'clumpAluminium', 'clumpArdite', 'clumpAstralStarmetal', 'clumpBoron', 'clumpCobalt', 'clumpDraconium', 'clumpIridium', 'clumpLiquifiedCoralium', 'clumpLithium', 'clumpMagnesium', 'clumpMithril', 'clumpNickel', 'clumpPlatinum', 'clumpThorium', 'clumpTitanium', 'clumpTungsten', 'clumpUranium', 'clumpYellorium', 'shardAbyssalnite', 'shardAluminium', 'shardArdite', 'shardAstralStarmetal', 'shardBoron', 'shardCobalt', 'shardDraconium', 'shardIridium', 'shardLiquifiedCoralium', 'shardLithium', 'shardMagnesium', 'shardMithril', 'shardNickel', 'shardPlatinum', 'shardThorium', 'shardTitanium', 'shardTungsten', 'shardUranium', 'shardYellorium', 'crystalArdite', 'crystalAstralStarmetal', 'crystalBoron', 'crystalCobalt', 'crystalDraconium', 'crystalIridium', 'crystalLiquifiedCoralium', 'crystalLithium', 'crystalMithril', 'crystalNickel', 'crystalPlatinum', 'crystalThorium', 'crystalTitanium', 'crystalTungsten', 'crystalUranium', 'crystalYellorium', 'crushedAbyssalnite', 'crushedAluminium', 'crushedArdite', 'crushedAstralStarmetal', 'crushedBoron', 'crushedCobalt', 'crushedDraconium', 'crushedIridium', 'crushedLiquifiedCoralium', 'crushedLithium', 'crushedMagnesium', 'crushedMithril', 'crushedNickel', 'crushedOsmium', 'crushedPlatinum', 'crushedThorium', 'crushedTitanium', 'crushedTungsten', 'crushedYellorium', 'crushedPurifiedAbyssalnite', 'crushedPurifiedAluminium', 'crushedPurifiedArdite', 'crushedPurifiedAstralStarmetal', 'crushedPurifiedBoron', 'crushedPurifiedCobalt', 'crushedPurifiedDraconium', 'crushedPurifiedIridium', 'crushedPurifiedLiquifiedCoralium', 'crushedPurifiedLithium', 'crushedPurifiedMagnesium', 'crushedPurifiedMithril', 'crushedPurifiedNickel', 'crushedPurifiedOsmium', 'crushedPurifiedPlatinum', 'crushedPurifiedThorium', 'crushedPurifiedTitanium', 'crushedPurifiedTungsten', 'crushedPurifiedYellorium', 'dustTinyAbyssalnite', 'dustTinyAluminium', 'dustTinyArdite', 'dustTinyAstralStarmetal', 'dustTinyBoron', 'dustTinyCobalt', 'dustTinyDraconium', 'dustTinyIridium', 'dustTinyLiquifiedCoralium', 'dustTinyMagnesium', 'dustTinyMithril', 'dustTinyNickel', 'dustTinyOsmium', 'dustTinyPlatinum', 'dustTinyThorium', 'dustTinyTitanium', 'dustTinyTungsten', 'dustTinyUranium', 'dustTinyYellorium', 'dustTinyAmber', 'dustTinyAmethyst', 'dustTinyApatite', 'dustTinyAquamarine', 'dustTinyCoal', 'dustTinyCoralium', 'dustTinyDiamond', 'dustTinyDimensionalShard', 'dustTinyEmerald', 'dustTinyEnderBiotite', 'dustTinyMalachite', 'dustTinyPeridot', 'dustTinyQuartz', 'dustTinyQuartzBlack', 'dustTinyRuby', 'dustTinySapphire', 'dustTinyTanzanite', 'dustTinyTopaz', 'crystalFragmentArdite', 'crystalFragmentAstralStarmetal', 'crystalFragmentBoron', 'crystalFragmentCobalt', 'crystalFragmentDraconium', 'crystalFragmentIridium', 'crystalFragmentLead', 'crystalFragmentLithium', 'crystalFragmentMithril', 'crystalFragmentNickel', 'crystalFragmentOsmium', 'crystalFragmentPlatinum', 'crystalFragmentSilver', 'crystalFragmentThorium', 'crystalFragmentTitanium', 'crystalFragmentTungsten', 'crystalFragmentUranium', 'crystalFragmentYellorium', 'crystalShardArdite', 'crystalShardAstralStarmetal', 'crystalShardBoron', 'crystalShardCobalt', 'crystalShardDraconium', 'crystalShardIridium', 'crystalShardLead', 'crystalShardLithium', 'crystalShardMithril', 'crystalShardNickel', 'crystalShardOsmium', 'crystalShardPlatinum', 'crystalShardSilver', 'crystalShardThorium', 'crystalShardTitanium', 'crystalShardTungsten', 'crystalShardUranium', 'crystalShardYellorium', 'dustSmallAbyssalnite', 'dustSmallArdite', 'dustSmallAstralStarmetal', 'dustSmallBoron', 'dustSmallCobalt', 'dustSmallDraconium', 'dustSmallIridium', 'dustSmallLiquifiedCoralium', 'dustSmallLithium', 'dustSmallMithril', 'dustSmallOsmium', 'dustSmallThorium', 'dustSmallUranium', 'dustSmallYellorium', 'dustSmallAmber', 'dustSmallAmethyst', 'dustSmallApatite', 'dustSmallAquamarine', 'dustSmallCoralium', 'dustSmallDimensionalShard', 'dustSmallEnderBiotite', 'dustSmallLapis', 'dustSmallMalachite', 'dustSmallQuartz', 'dustSmallQuartzBlack', 'dustSmallTanzanite', 'dustSmallTopaz', 'dustSmallDilithium', 'rodAbyssalnite', 'rodArdite', 'rodAstralStarmetal', 'rodBoron', 'rodCobalt', 'rodDraconium', 'rodGold', 'rodLead', 'rodLiquifiedCoralium', 'rodLithium', 'rodMagnesium', 'rodMithril', 'rodNickel', 'rodOsmium', 'rodPlatinum', 'rodSilver', 'rodThorium', 'rodTin', 'rodTungsten', 'rodUranium', 'rodYellorium', 'rodAmber', 'rodAmethyst', 'rodApatite', 'rodAquamarine', 'rodCoal', 'rodCoralium', 'rodDiamond', 'rodDimensionalShard', 'rodEmerald', 'rodEnderBiotite', 'rodLapis', 'rodMalachite', 'rodPeridot', 'rodQuartz', 'rodQuartzBlack', 'rodRuby', 'rodSapphire', 'rodTanzanite', 'rodTopaz', 'dustEnder', 'glass', 'wool', 'crystalNetherQuartz', 'dustCertusQuartz', 'dustFluix', 'itemIlluminatedPanel', 'bowlWood', 'cropMaloberry', 'ingotHoneyComb', 'clayPorcelain', 'itemSilicon', 'crystalPladium', 'crystalLonsdaleite', 'crystalLitherite', 'crystalKyronite', 'crystalIonite', 'crystalErodium', 'crystalAethium', 'blockAethium', 'etLaserLens', 'blockIonite', 'blockPladium', 'blockKyronite', 'blockErodium', 'blockLitherite', 'etLaserLensColored', 'etSolarCell', 'dustVile', 'dustCorrupted', 'ingotCorrupted', 'gemEndimium', 'itemSkull', 'gemPearl', 'blockPearl', 'bed', 'dustWheat', 'pearlFluix', 'blockStainedHardenedClay', 'crystalPureFluix', 'oreCertusQuartz', 'oreChargedCertusQuartz', 'ingotDawnstone', 'nuggetDawnstone', 'blockDawnstone', 'plateDawnstone', 'plant', 'rootsHerb', 'shardGlass', 'steelAxe', 'steelPickaxe', 'steelShovel', 'obsidianAxe', 'obsidianPickaxe', 'obsidianShovel', 'bronzeAxe', 'bronzePickaxe', 'bronzeShovel', 'fieryItem', 'fieryBlock', 'creativeATMStar', 'astralGemCrystals', 'blockSlate', 'stoneSlate', 'oreDimensional', 'buttonWood', 'listAllSeed', 'seed', 'blockMagma', 'fusionExtreme', 'uuMatterItem', 'beehiveForestry', 'basicPump', 'growGlass', 'nuclearcraftDepletedRod', 'ic2DepletedRod', 'chunkloaderUpgrade', 'itemBattery', 'blockMotor', 'dustThermite', 'ingotCarbon', 'waferSilicon', 'itemLens', 'turfMoon', 'blockPsiDust', 'blockPsiMetal', 'blockPsiGem', 'blockCandle', 'stonePolished', 'plankStained', 'listAllGrain', 'foodEqualswheat', 'dustSulphur', 'cropBlightberry', 'cropDuskberry', 'cropSkyberry', 'cropStingberry', 'taintedSoil', 'glassSoul', 'cropVine', 'tallgrass', 'lilypad', 'mushroom', 'hopper', 'cropBeetroot', 'blockNetherWart', 'blockBone', 'shulkerShell', 'shulkerBox', 'rail', 'arrow', 'careerBeesYing', 'careerBeesYang', 'plateClayRaw', 'plateClay', 'plateBrick', 'oc:adapter', 'oc:assembler', 'oc:cable', 'oc:capacitor', 'oc:case1', 'oc:case3', 'oc:case2', 'oc:chameliumBlock', 'oc:charger', 'oc:disassembler', 'oc:diskDrive', 'oc:geolyzer', 'oc:hologram1', 'oc:hologram2', 'oc:keyboard', 'oc:motionSensor', 'oc:powerConverter', 'oc:powerDistributor', 'oc:printer', 'oc:raid', 'oc:redstone', 'oc:relay', 'oc:screen1', 'oc:screen3', 'oc:screen2', 'oc:rack', 'oc:waypoint', 'oc:netSplitter', 'oc:transposer', 'oc:carpetedCapacitor', 'oc:materialCuttingWire', 'oc:materialAcid', 'oc:materialCircuitBoardRaw', 'oc:materialCircuitBoard', 'oc:materialCircuitBoardPrinted', 'oc:materialCard', 'oc:materialTransistor', 'oc:circuitChip1', 'oc:circuitChip2', 'oc:circuitChip3', 'oc:materialALU', 'oc:materialCU', 'oc:materialDisk', 'oc:materialInterweb', 'oc:materialButtonGroup', 'oc:materialArrowKey', 'oc:materialNumPad', 'oc:tabletCase1', 'oc:tabletCase2', 'oc:microcontrollerCase1', 'oc:microcontrollerCase2', 'oc:droneCase1', 'oc:droneCase2', 'oc:inkCartridgeEmpty', 'oc:inkCartridge', 'oc:chamelium', 'oc:analyzer', 'oc:terminal', 'oc:texturePicker', 'oc:manual', 'oc:wrench', 'oc:hoverBoots', 'oc:nanomachines', 'oc:cpu1', 'oc:cpu2', 'oc:cpu3', 'oc:componentBus1', 'oc:componentBus2', 'oc:componentBus3', 'oc:ram1', 'oc:ram2', 'oc:ram3', 'oc:ram4', 'oc:ram5', 'oc:ram6', 'oc:server1', 'oc:server2', 'oc:server3', 'oc:apu1', 'oc:apu2', 'oc:terminalServer', 'oc:diskDriveMountable', 'oc:graphicsCard1', 'oc:graphicsCard2', 'oc:graphicsCard3', 'oc:redstoneCard1', 'oc:redstoneCard2', 'oc:lanCard', 'oc:wlanCard2', 'oc:internetCard', 'oc:linkedCard', 'oc:dataCard1', 'oc:dataCard2', 'oc:dataCard3', 'oc:angelUpgrade', 'oc:batteryUpgrade1', 'oc:batteryUpgrade2', 'oc:batteryUpgrade3', 'oc:chunkloaderUpgrade', 'oc:cardContainer1', 'oc:cardContainer2', 'oc:cardContainer3', 'oc:upgradeContainer1', 'oc:upgradeContainer2', 'oc:upgradeContainer3', 'oc:craftingUpgrade', 'oc:databaseUpgrade1', 'oc:databaseUpgrade2', 'oc:databaseUpgrade3', 'oc:experienceUpgrade', 'oc:generatorUpgrade', 'oc:inventoryUpgrade', 'oc:inventoryControllerUpgrade', 'oc:navigationUpgrade', 'oc:pistonUpgrade', 'oc:signUpgrade', 'oc:solarGeneratorUpgrade', 'oc:tankUpgrade', 'oc:tankControllerUpgrade', 'oc:tractorBeamUpgrade', 'oc:leashUpgrade', 'oc:hoverUpgrade1', 'oc:hoverUpgrade2', 'oc:tradingUpgrade', 'oc:mfu', 'oc:wlanCard1', 'oc:eeprom', 'oc:floppy', 'oc:hdd1', 'oc:hdd2', 'oc:hdd3', 'blockWither', 'blockLonsdaleite', 'blockCompactRawPorkchop', 'oreProsperity', 'oreNetherProsperity', 'oreEndProsperity', 'oreInferium', 'oreNetherInferium', 'oreEndInferium', 'oreEndimium', 'oreBurnium', 'blockEndimium', 'blockBurnium', 'gateWood', 'cropPricklyPear', 'cropGrapes', 'cropLifeFruit', 'cropDeathFruit', 'listAllCitrus', 'gemBurnium', 'dustTinyBurnium', 'dustBurnium', 'dustTinyEndimium', 'dustEndimium', 'dustTinyEnder', 'dustTinyRedstone', 'lumpSandstone', 'lumpGravel', 'lumpRedSandstone']
class Embed: def __init__(self, title=None, description=None, color=None, spoiler=False): self.title = title self.description = description self.color = color self.spoiler = spoiler self.field_data = None self.footer = None def add_field(self, name, value, inline=None): if not self.field_data: self.field_data = [] self.field_data.append((name, value, inline)) def set_footer(self, text): self.footer = text @property def create(self): content = ["||..." if self.spoiler else '...'] content.extend([f"**{self.title}**", '---']) if self.description: content.append(f'{self.description}') if self.field_data: content.append('---') for data in self.field_data: if data[2]: content[-1].join(f"`\t{data[0]}`: `{data[1]}`") else: content.append(f"`{data[0]}`: `{data[1]}`") content.extend(["---||" if self.spoiler else '---']) if self.footer: content.append(f"_{self.footer}_") return "\n".join(content)
class Embed: def __init__(self, title=None, description=None, color=None, spoiler=False): self.title = title self.description = description self.color = color self.spoiler = spoiler self.field_data = None self.footer = None def add_field(self, name, value, inline=None): if not self.field_data: self.field_data = [] self.field_data.append((name, value, inline)) def set_footer(self, text): self.footer = text @property def create(self): content = ['||...' if self.spoiler else '...'] content.extend([f'**{self.title}**', '---']) if self.description: content.append(f'{self.description}') if self.field_data: content.append('---') for data in self.field_data: if data[2]: content[-1].join(f'`\t{data[0]}`: `{data[1]}`') else: content.append(f'`{data[0]}`: `{data[1]}`') content.extend(['---||' if self.spoiler else '---']) if self.footer: content.append(f'_{self.footer}_') return '\n'.join(content)
#!/usr/bin/env python3 # create a list containing three items my_list = ["192.168.0.5", 5060, "UP"] # display first item print("The first item in the list (IP): " + my_list[0] ) # Below needs to be cast from an int to a str for printing print("The second item in the list (port): " + str(my_list[1]) ) # displaying the final item print("The third item in the list (state): " + my_list[2] ) iplist = [ 5060, "80", 55, "10.0.0.1", "10.20.30.1", "ssh" ] print(iplist[3:5])
my_list = ['192.168.0.5', 5060, 'UP'] print('The first item in the list (IP): ' + my_list[0]) print('The second item in the list (port): ' + str(my_list[1])) print('The third item in the list (state): ' + my_list[2]) iplist = [5060, '80', 55, '10.0.0.1', '10.20.30.1', 'ssh'] print(iplist[3:5])
load("@bazel_gazelle//:deps.bzl", "go_repository") def pprof_go_repositories(): go_repository( name = "com_github_chzyer_logex", importpath = "github.com/chzyer/logex", sum = "h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE=", version = "v1.1.10", ) go_repository( name = "com_github_chzyer_readline", importpath = "github.com/chzyer/readline", sum = "h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8=", version = "v0.0.0-20180603132655-2972be24d48e", ) go_repository( name = "com_github_chzyer_test", importpath = "github.com/chzyer/test", sum = "h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=", version = "v0.0.0-20180213035817-a1ea475d72b1", ) go_repository( name = "com_github_ianlancetaylor_demangle", importpath = "github.com/ianlancetaylor/demangle", sum = "h1:UDMh68UUwekSh5iP2OMhRRZJiiBccgV7axzUG8vi56c=", version = "v0.0.0-20181102032728-5e5cf60278f6", ) go_repository( name = "org_golang_x_sys", importpath = "golang.org/x/sys", sum = "h1:9vRrk9YW2BTzLP0VCB9ZDjU4cPqkg+IDWL7XgxA1yxQ=", version = "v0.0.0-20191204072324-ce4227a45e2e", )
load('@bazel_gazelle//:deps.bzl', 'go_repository') def pprof_go_repositories(): go_repository(name='com_github_chzyer_logex', importpath='github.com/chzyer/logex', sum='h1:Swpa1K6QvQznwJRcfTfQJmTE72DqScAa40E+fbHEXEE=', version='v1.1.10') go_repository(name='com_github_chzyer_readline', importpath='github.com/chzyer/readline', sum='h1:fY5BOSpyZCqRo5OhCuC+XN+r/bBCmeuuJtjz+bCNIf8=', version='v0.0.0-20180603132655-2972be24d48e') go_repository(name='com_github_chzyer_test', importpath='github.com/chzyer/test', sum='h1:q763qf9huN11kDQavWsoZXJNW3xEE4JJyHa5Q25/sd8=', version='v0.0.0-20180213035817-a1ea475d72b1') go_repository(name='com_github_ianlancetaylor_demangle', importpath='github.com/ianlancetaylor/demangle', sum='h1:UDMh68UUwekSh5iP2OMhRRZJiiBccgV7axzUG8vi56c=', version='v0.0.0-20181102032728-5e5cf60278f6') go_repository(name='org_golang_x_sys', importpath='golang.org/x/sys', sum='h1:9vRrk9YW2BTzLP0VCB9ZDjU4cPqkg+IDWL7XgxA1yxQ=', version='v0.0.0-20191204072324-ce4227a45e2e')
#SIMPLE CLASS TO SHOW HOW TO WORK WITH PACKAGES (look "11_test_my_package.py") #Santiago Garcia Arango #One of the modules to show how to create a simple package in python. class hello: def __init__(self, name): self.name = name def say_hi_to_someone(self): sentence = "Hello, " + self.name + "!!!" return sentence
class Hello: def __init__(self, name): self.name = name def say_hi_to_someone(self): sentence = 'Hello, ' + self.name + '!!!' return sentence
class TextCompressor: def longestRepeat(self, sourceText): l = len(sourceText) for i in xrange(l / 2, 0, -1): for j in xrange(0, l - i): if sourceText[j : i + j] in sourceText[i + j :]: return sourceText[j : i + j] return ""
class Textcompressor: def longest_repeat(self, sourceText): l = len(sourceText) for i in xrange(l / 2, 0, -1): for j in xrange(0, l - i): if sourceText[j:i + j] in sourceText[i + j:]: return sourceText[j:i + j] return ''
class Solution: def canIwin(self, maxint: int, desiredtotal: int) -> bool: if maxint * (maxint + 1) < desiredtotal: return False cache = dict() def dp(running_total, used): if used in cache: return cache[used] for k in range(maxint, 0, -1): if used & (1 << k): continue if running_total + k >= desiredtotal: cache[used] = True return True if not dp(running_total + k, used | 1 << k): cache[used] = True return True cache[used] = False return False return dp(0, 0) def __init__(self): maxint = 7 desiredtotal = 9 print(self.canIwin(maxint, desiredtotal)) Solution()
class Solution: def can_iwin(self, maxint: int, desiredtotal: int) -> bool: if maxint * (maxint + 1) < desiredtotal: return False cache = dict() def dp(running_total, used): if used in cache: return cache[used] for k in range(maxint, 0, -1): if used & 1 << k: continue if running_total + k >= desiredtotal: cache[used] = True return True if not dp(running_total + k, used | 1 << k): cache[used] = True return True cache[used] = False return False return dp(0, 0) def __init__(self): maxint = 7 desiredtotal = 9 print(self.canIwin(maxint, desiredtotal)) solution()
class TreasureHunt: def __init__(self, table, user_clues=None): try: # check user_clues user_clues = [int(clue) for clue in user_clues] except (TypeError, ValueError, IndexError): print('Clue has wrong type, expect - <int>. Start default:') user_clues = None try: # check table int(table[0][0]) except (TypeError, ValueError, IndexError): print(f'Matrix: <{table}> is wrong type, expect - [[,],[,],..] with <int> in cells') self.error = True self.table = table self.clues = user_clues if (True if user_clues or self.error else False) else [table[0][0]] treasure_cell = None error = False def matrix_to_list(self): table_list = list() for row in self.table: table_list = table_list + row return table_list def next_clue(self, clue): ''' :param clue: int :return: new_clue: int ''' coordinates = [int(digit) - 1 for digit in str(clue)] # 11 -> [1, 1] row, column = coordinates[0], coordinates[1] return self.table[row][column] def clues_map(self): if self.error: return [] while not self.treasure_cell: clue = self.clues[-1] new_clue = self.next_clue(clue) if clue == new_clue: self.treasure_cell = new_clue else: self.clues.append(new_clue) return self.clues
class Treasurehunt: def __init__(self, table, user_clues=None): try: user_clues = [int(clue) for clue in user_clues] except (TypeError, ValueError, IndexError): print('Clue has wrong type, expect - <int>. Start default:') user_clues = None try: int(table[0][0]) except (TypeError, ValueError, IndexError): print(f'Matrix: <{table}> is wrong type, expect - [[,],[,],..] with <int> in cells') self.error = True self.table = table self.clues = user_clues if (True if user_clues or self.error else False) else [table[0][0]] treasure_cell = None error = False def matrix_to_list(self): table_list = list() for row in self.table: table_list = table_list + row return table_list def next_clue(self, clue): """ :param clue: int :return: new_clue: int """ coordinates = [int(digit) - 1 for digit in str(clue)] (row, column) = (coordinates[0], coordinates[1]) return self.table[row][column] def clues_map(self): if self.error: return [] while not self.treasure_cell: clue = self.clues[-1] new_clue = self.next_clue(clue) if clue == new_clue: self.treasure_cell = new_clue else: self.clues.append(new_clue) return self.clues
#!/usr/bin/env python # # (c) Copyright Rosetta Commons Member Institutions. # (c) This file is part of the Rosetta software suite and is made available under license. # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons. # (c) For more information, see http://www.rosettacommons.org. Questions about this can be # (c) addressed to University of Washington CoMotion, email: license@uw.edu. ## @file /GUIs/window_main/global_variables.py ## @brief Global variables for PyRosetta Toolkit ## @author Jared Adolf-Bryfogle (jadolfbr@gmail.com) #Globals that will change regularly by many functions and classes accross the GUI should go here. #This gets set to the toolkit directory by pyrosetta_toolkit.py. current_directory="" #NOTE: To use these global variables import the file into your module. Use 'from window_main import global_variables' as the main toolkit directory is added to PythonPath at launch of the GUI #These variables are truly global and just by importing the module, the instance of the variable can be accessed and manipulated.
current_directory = ''
def func(a, b, n, m): min_elem = max(a) max_elem = min(b) ans = [] for i in range(min_elem, max_elem+1): j = 0 while j < n and i%a[j] == 0: j += 1 if j == n: if i%a[j-1] == 0: k = 0 while k < m and b[k]%i == 0: k += 1 if k == m: if b[k-1]%i == 0: ans.append(i) return (ans) n,m = map(int, input().split()) a = [int(element) for element in input().split()] b = [int(element) for element in input().split()] print (func(a,b,n,m))
def func(a, b, n, m): min_elem = max(a) max_elem = min(b) ans = [] for i in range(min_elem, max_elem + 1): j = 0 while j < n and i % a[j] == 0: j += 1 if j == n: if i % a[j - 1] == 0: k = 0 while k < m and b[k] % i == 0: k += 1 if k == m: if b[k - 1] % i == 0: ans.append(i) return ans (n, m) = map(int, input().split()) a = [int(element) for element in input().split()] b = [int(element) for element in input().split()] print(func(a, b, n, m))
f = open('input.txt') triangles = [map(int,l.split()) for l in f.readlines()] possible = 0 for t in triangles: t.sort() if t[0] + t[1] > t[2]: possible += 1 print(possible)
f = open('input.txt') triangles = [map(int, l.split()) for l in f.readlines()] possible = 0 for t in triangles: t.sort() if t[0] + t[1] > t[2]: possible += 1 print(possible)
#!/usr/bin/python dist = int(input()) v_r = int(input()) v_c = int(input()) time_r = dist / v_r time_c = 50 / v_c if time_c > time_r: print("Meep Meep") else: print("Yum")
dist = int(input()) v_r = int(input()) v_c = int(input()) time_r = dist / v_r time_c = 50 / v_c if time_c > time_r: print('Meep Meep') else: print('Yum')
# Problem: Remove x from string def removeX(string): if len(string)==0: return string if string[0]=="x": return removeX(string[1:]) else: return string[0]+removeX(string[1:]) # Main string = input() print(removeX(string))
def remove_x(string): if len(string) == 0: return string if string[0] == 'x': return remove_x(string[1:]) else: return string[0] + remove_x(string[1:]) string = input() print(remove_x(string))
def add(num1,num2): c=num1+num2 return c a=int(input("ENTER num1 : ")) b=int(input("ENTER num1 : ")) print(add(a,b))
def add(num1, num2): c = num1 + num2 return c a = int(input('ENTER num1 : ')) b = int(input('ENTER num1 : ')) print(add(a, b))
# set per your own configs prefixs = [ '011XXXXX.', ] prefixs_mid_process = [] prefixs_post_process = [] # process ASTERISK-like regex pattern for a prefix # we are not expanding 'X' or '.' # this is because we don't support length based prefix matching # instead we utilize dr_rules longest-to-shortest prefix matching def process_prefix(prefix): for i in range(len(prefix)): if prefix[i] == 'N': tmp = list(prefix) for j in range(2,9+1): tmp[i] = str(j) prefixs_mid_process.append(''.join(tmp)) return None elif prefix[i] == 'Z': tmp = list(prefix) for j in range(1,9+1): tmp[i] = str(j) prefixs_mid_process.append(''.join(tmp)) return None elif prefix[i] == '[': tmp = list(prefix[i+1:]) for j in range(len(tmp)): if tmp[j] == ']': break prefixs_mid_process.append(prefix[:i] + tmp[j] + prefix[prefix.index(']')+1:]) return None prefixs_post_process.append(prefix) return None # first run for p in prefixs: process_prefix(p) # recursive runs while(len(prefixs_mid_process) != 0): for i in reversed(range(len(prefixs_mid_process))): if not any((c in set('NZ[')) for c in prefixs_mid_process[i]): prefixs_post_process.append(prefixs_mid_process.pop(i)) else: process_prefix(prefixs_mid_process[i]) prefixs_mid_process.pop(i) # print them to console for p in prefixs_post_process: print("'" + p.replace('X','').replace('.','') + "',")
prefixs = ['011XXXXX.'] prefixs_mid_process = [] prefixs_post_process = [] def process_prefix(prefix): for i in range(len(prefix)): if prefix[i] == 'N': tmp = list(prefix) for j in range(2, 9 + 1): tmp[i] = str(j) prefixs_mid_process.append(''.join(tmp)) return None elif prefix[i] == 'Z': tmp = list(prefix) for j in range(1, 9 + 1): tmp[i] = str(j) prefixs_mid_process.append(''.join(tmp)) return None elif prefix[i] == '[': tmp = list(prefix[i + 1:]) for j in range(len(tmp)): if tmp[j] == ']': break prefixs_mid_process.append(prefix[:i] + tmp[j] + prefix[prefix.index(']') + 1:]) return None prefixs_post_process.append(prefix) return None for p in prefixs: process_prefix(p) while len(prefixs_mid_process) != 0: for i in reversed(range(len(prefixs_mid_process))): if not any((c in set('NZ[') for c in prefixs_mid_process[i])): prefixs_post_process.append(prefixs_mid_process.pop(i)) else: process_prefix(prefixs_mid_process[i]) prefixs_mid_process.pop(i) for p in prefixs_post_process: print("'" + p.replace('X', '').replace('.', '') + "',")
#~ def product(x,y): #~ return x*y #~ op = product(2,3) #~ print(op) #~ def product(x,y): #~ print(x*y) #~ op = product(2,3) #~ print(op) def product(x,y): print("i am before return") return x*y print("i am after return") product(2,3)
def product(x, y): print('i am before return') return x * y print('i am after return') product(2, 3)
class Solution: def threeSum(self, nums: List[int]) -> List[List[int]]: # Solution: 2 pointer solution -> O(n*n) nums.sort() res = [] for i in range(len(nums)-2): if i > 0 and nums[i] == nums[i-1]: continue left, right = i+1, len(nums)-1 while left < right: sum_ = nums[i] + nums[left] + nums[right] if sum_ > 0: right -= 1 elif sum_ < 0: left += 1 else: res += [[nums[i], nums[left], nums[right]]] while left < right and nums[left] == nums[left+1]: left += 1 while left < right and nums[right] == nums[right-1]: right -= 1 left += 1 right -= 1 return res
class Solution: def three_sum(self, nums: List[int]) -> List[List[int]]: nums.sort() res = [] for i in range(len(nums) - 2): if i > 0 and nums[i] == nums[i - 1]: continue (left, right) = (i + 1, len(nums) - 1) while left < right: sum_ = nums[i] + nums[left] + nums[right] if sum_ > 0: right -= 1 elif sum_ < 0: left += 1 else: res += [[nums[i], nums[left], nums[right]]] while left < right and nums[left] == nums[left + 1]: left += 1 while left < right and nums[right] == nums[right - 1]: right -= 1 left += 1 right -= 1 return res
l = int(input()) h = int(input()) t = str(input()) alphabet = [str(input()) for i in range(h)] for i in range(h): for char in t.lower(): if char >= 'a' and char <= 'z': x = ord(char) - ord('a') else: x = ord('z') - ord('a') + 1 print(alphabet[i][x*l : x*l+l], end='') # print from X*L, to X*L+L print('')
l = int(input()) h = int(input()) t = str(input()) alphabet = [str(input()) for i in range(h)] for i in range(h): for char in t.lower(): if char >= 'a' and char <= 'z': x = ord(char) - ord('a') else: x = ord('z') - ord('a') + 1 print(alphabet[i][x * l:x * l + l], end='') print('')
def fahrenheit_converter(C): fahrenheit = C * 9 / 5 + 32 print(str(fahrenheit) + 'F') c2f = fahrenheit_converter(35) print(c2f)
def fahrenheit_converter(C): fahrenheit = C * 9 / 5 + 32 print(str(fahrenheit) + 'F') c2f = fahrenheit_converter(35) print(c2f)
n = int(input()) tr = [] for _ in range(n): tr.append(int(input())) front = rear = 1 front_max = tr[0] for i in range(1,len(tr)): if front_max < tr[i]: front += 1 front_max = tr[i] tr.reverse() rear_max = tr[0] for i in range(1,len(tr)): if rear_max < tr[i]: rear += 1 rear_max = tr[i] print(front) print(rear)
n = int(input()) tr = [] for _ in range(n): tr.append(int(input())) front = rear = 1 front_max = tr[0] for i in range(1, len(tr)): if front_max < tr[i]: front += 1 front_max = tr[i] tr.reverse() rear_max = tr[0] for i in range(1, len(tr)): if rear_max < tr[i]: rear += 1 rear_max = tr[i] print(front) print(rear)
f_name = '../results/result-1__rf_log.txt' f = open(f_name,"r") line_ext = list() for line in f: if 'Kappa : ' in line: kappa = 'KAPPA\t'+line.strip().split(' : ')[1] if 'Accuracy : ' in line and 'Balanced' not in line: accu = 'ACCURACY\t'+line.strip().split(' : ')[1] if 'Sensitivity : ' in line: sens = 'SENSITIVITY\t'+line.strip().split(' : ')[1] if 'Specificity : ' in line: spec = 'SPECIFICITY\t'+line.strip().split(' : ')[1] if 'error rate:' in line: err = 'ERROR\t'+str(float(line.strip().split(': ')[1][:-1])/100.0) if '[1]' in line and '[[1]]' not in line and 'Done' not in line: auc = 'AUC\t'+line.strip().replace('[1] ','') f.close() line_ext.append(kappa) line_ext.append(accu) line_ext.append(spec) line_ext.append(sens) line_ext.append(err) line_ext.append(auc) f_out = open("../results/result-1__rf_performance.txt","w") f_out.write('\n'.join(line_ext)) f_out.close()
f_name = '../results/result-1__rf_log.txt' f = open(f_name, 'r') line_ext = list() for line in f: if 'Kappa : ' in line: kappa = 'KAPPA\t' + line.strip().split(' : ')[1] if 'Accuracy : ' in line and 'Balanced' not in line: accu = 'ACCURACY\t' + line.strip().split(' : ')[1] if 'Sensitivity : ' in line: sens = 'SENSITIVITY\t' + line.strip().split(' : ')[1] if 'Specificity : ' in line: spec = 'SPECIFICITY\t' + line.strip().split(' : ')[1] if 'error rate:' in line: err = 'ERROR\t' + str(float(line.strip().split(': ')[1][:-1]) / 100.0) if '[1]' in line and '[[1]]' not in line and ('Done' not in line): auc = 'AUC\t' + line.strip().replace('[1] ', '') f.close() line_ext.append(kappa) line_ext.append(accu) line_ext.append(spec) line_ext.append(sens) line_ext.append(err) line_ext.append(auc) f_out = open('../results/result-1__rf_performance.txt', 'w') f_out.write('\n'.join(line_ext)) f_out.close()
### stuff I don't need to make the cards def drawSquareGrid(dwg, widthInMillimeters): hLineGroup = dwg.add(dwg.g(id='hlines', stroke='green')) y = 0 while y < 100: hLineGroup.add(dwg.add(dwg.line( start = (0*mm, y*mm), end = (150*mm, y*mm)))) y += widthInMillimeters vLineGroup = dwg.add(dwg.g(id='vlines', stroke='blue')) x = 0 while x < 150: vLineGroup.add(dwg.add(dwg.line( start = (x*mm, 0*mm), end = (x*mm, 100*mm)))) x += widthInMillimeters def drawCenteredSquare(dwg, widthInMillimeters): sqgrp = dwg.add(dwg.g(id='sqgrp', stroke='red')) hw = widthInMillimeters / 2 sqgrp.add(dwg.add(dwg.line( start = (-hw * mm, -hw * mm), end = (hw * mm, -hw * mm)))) sqgrp.add(dwg.add(dwg.line( start = (-hw * mm, hw * mm), end = (hw * mm, hw * mm)))) sqgrp.add(dwg.add(dwg.line( start = (-hw * mm, -hw * mm), end = (-hw * mm, hw * mm)))) sqgrp.add(dwg.add(dwg.line( start = (hw * mm, -hw * mm), end = (hw * mm, hw * mm)))) def drawSegment(dwg, seg, strokeColor = 'black'): e0 = seg.endpoints[0] e1 = seg.endpoints[1] e0x = e0.x() e0y = e0.y() e1x = e1.x() e1y = e1.y() print ("drawing segment from (%f %f) to (%f %f)" % (e0x, e0y, e1x, e1y)) #dwg.add(dwg.line( # start = (e0x * mm, e0y * mm), # end = (e1x * mm, e1y * mm), # stroke = strokeColor #)) dwg.append(draw.Lines(e0x, e0y, e1x, e1y, close = False, stroke = strokeColor)) def drawPolyline(dwg, vecList, strokeColor = 'black'): p = draw.Path(stroke = strokeColor, fill='none') p.M(vecList[0][0], vecList[0][1]) for v in vecList[1:]: p.L(v[0], v[1]) dwg.append(p) def testCenteredTri(dwg, w, mat): v0 = m.Vector2(w, 0) v1 = m.Vector2(w * math.cos(2*math.pi / 3.0), w * math.sin(2*math.pi / 3.0)) v2 = m.Vector2(w * math.cos(2*math.pi / 3.0), -w * math.sin(2*math.pi / 3.0)) tv0 = mat.mulVec2(v0) tv1 = mat.mulVec2(v1) tv2 = mat.mulVec2(v2) s0 = m.LineSegment(tv0, tv1) s1 = m.LineSegment(tv1, tv2) s2 = m.LineSegment(tv2, tv0) drawSegment(dwg, s0) drawSegment(dwg, s1) drawSegment(dwg, s2) #dwg = svgwrite.Drawing('test.svg', size=(u'150mm', u'100mm'), profile='tiny') dwg = draw.Drawing(1500, 1000) dwg.setRenderSize('150mm', '100mm') #link = dwg.add(dwg.a("http://link.to/internet")) #square = dwg.add(dwg.rect((0, 0), (1, 1))) #dwg.add(dwg.line((0, 0), (10, 0), stroke=svgwrite.rgb(10, 10, 16, '%'))) #dwg.add(dwg.text('Test', insert=(75, 100))) print("drawing grid of width", 10) #drawSquareGrid(dwg, 10) #drawCenteredSquare(dwg, 25) #testCenteredTri(dwg, 20, m.Matrix3()) xlate = m.makeTranslationMat3(60, 60) print("trans mat", xlate) #testCenteredTri(dwg, 20, xlate) rot = m.makeRotationMat3Radians(math.radians(10)) xlateAndRot = xlate.mulMat3(rot) #testCenteredTri(dwg, 20, xlateAndRot) def drawFlake(dwg, sf, mat): paths = sf.generatePaths() for i in range(6): moreRotMat = m.makeRotationMat3Radians(math.radians(60) * i) rm = mat.mulMat3(moreRotMat) vecX = m.Vector2(1, 0) vecY = m.Vector2(0.5, math.cos(math.radians(60))) fVecY = m.Vector2(0.5, -math.cos(math.radians(60))) for path in paths: verts = [] fverts = [] for pt in path: xi, yi = pt p = vecX.mulScalar(xi).addVec2(vecY.mulScalar(yi)) pTrans = rm.mulVec2(p) verts.append((pTrans.x(), pTrans.y())) p = vecX.mulScalar(xi).addVec2(fVecY.mulScalar(yi)) pTrans = rm.mulVec2(p) fverts.append((pTrans.x(), pTrans.y())) drawPolyline(dwg, verts) drawPolyline(dwg, fverts) points = pickPointsInBox(200, 200, 1300, 800, 10, 200) for p in points: rx, ry = p ra = random.randrange(0, 60) xlate = m.makeTranslationMat3(rx, ry) rot = m.makeRotationMat3Radians(math.radians(ra)) xlateAndRot = xlate.mulMat3(rot) scale = m.makeScaleUniform(10.0) xrs = xlateAndRot.mulMat3(scale) sf = snowflake.SnowflakeGenerator(random.randrange(10, 15)) sf.generate() drawFlake(dwg, sf, xrs)
def draw_square_grid(dwg, widthInMillimeters): h_line_group = dwg.add(dwg.g(id='hlines', stroke='green')) y = 0 while y < 100: hLineGroup.add(dwg.add(dwg.line(start=(0 * mm, y * mm), end=(150 * mm, y * mm)))) y += widthInMillimeters v_line_group = dwg.add(dwg.g(id='vlines', stroke='blue')) x = 0 while x < 150: vLineGroup.add(dwg.add(dwg.line(start=(x * mm, 0 * mm), end=(x * mm, 100 * mm)))) x += widthInMillimeters def draw_centered_square(dwg, widthInMillimeters): sqgrp = dwg.add(dwg.g(id='sqgrp', stroke='red')) hw = widthInMillimeters / 2 sqgrp.add(dwg.add(dwg.line(start=(-hw * mm, -hw * mm), end=(hw * mm, -hw * mm)))) sqgrp.add(dwg.add(dwg.line(start=(-hw * mm, hw * mm), end=(hw * mm, hw * mm)))) sqgrp.add(dwg.add(dwg.line(start=(-hw * mm, -hw * mm), end=(-hw * mm, hw * mm)))) sqgrp.add(dwg.add(dwg.line(start=(hw * mm, -hw * mm), end=(hw * mm, hw * mm)))) def draw_segment(dwg, seg, strokeColor='black'): e0 = seg.endpoints[0] e1 = seg.endpoints[1] e0x = e0.x() e0y = e0.y() e1x = e1.x() e1y = e1.y() print('drawing segment from (%f %f) to (%f %f)' % (e0x, e0y, e1x, e1y)) dwg.append(draw.Lines(e0x, e0y, e1x, e1y, close=False, stroke=strokeColor)) def draw_polyline(dwg, vecList, strokeColor='black'): p = draw.Path(stroke=strokeColor, fill='none') p.M(vecList[0][0], vecList[0][1]) for v in vecList[1:]: p.L(v[0], v[1]) dwg.append(p) def test_centered_tri(dwg, w, mat): v0 = m.Vector2(w, 0) v1 = m.Vector2(w * math.cos(2 * math.pi / 3.0), w * math.sin(2 * math.pi / 3.0)) v2 = m.Vector2(w * math.cos(2 * math.pi / 3.0), -w * math.sin(2 * math.pi / 3.0)) tv0 = mat.mulVec2(v0) tv1 = mat.mulVec2(v1) tv2 = mat.mulVec2(v2) s0 = m.LineSegment(tv0, tv1) s1 = m.LineSegment(tv1, tv2) s2 = m.LineSegment(tv2, tv0) draw_segment(dwg, s0) draw_segment(dwg, s1) draw_segment(dwg, s2) dwg = draw.Drawing(1500, 1000) dwg.setRenderSize('150mm', '100mm') print('drawing grid of width', 10) xlate = m.makeTranslationMat3(60, 60) print('trans mat', xlate) rot = m.makeRotationMat3Radians(math.radians(10)) xlate_and_rot = xlate.mulMat3(rot) def draw_flake(dwg, sf, mat): paths = sf.generatePaths() for i in range(6): more_rot_mat = m.makeRotationMat3Radians(math.radians(60) * i) rm = mat.mulMat3(moreRotMat) vec_x = m.Vector2(1, 0) vec_y = m.Vector2(0.5, math.cos(math.radians(60))) f_vec_y = m.Vector2(0.5, -math.cos(math.radians(60))) for path in paths: verts = [] fverts = [] for pt in path: (xi, yi) = pt p = vecX.mulScalar(xi).addVec2(vecY.mulScalar(yi)) p_trans = rm.mulVec2(p) verts.append((pTrans.x(), pTrans.y())) p = vecX.mulScalar(xi).addVec2(fVecY.mulScalar(yi)) p_trans = rm.mulVec2(p) fverts.append((pTrans.x(), pTrans.y())) draw_polyline(dwg, verts) draw_polyline(dwg, fverts) points = pick_points_in_box(200, 200, 1300, 800, 10, 200) for p in points: (rx, ry) = p ra = random.randrange(0, 60) xlate = m.makeTranslationMat3(rx, ry) rot = m.makeRotationMat3Radians(math.radians(ra)) xlate_and_rot = xlate.mulMat3(rot) scale = m.makeScaleUniform(10.0) xrs = xlateAndRot.mulMat3(scale) sf = snowflake.SnowflakeGenerator(random.randrange(10, 15)) sf.generate() draw_flake(dwg, sf, xrs)
T = int(input()) for _ in range(T): n, k = map(int, input().split()) print((n ** k - 1) % 9 + 1)
t = int(input()) for _ in range(T): (n, k) = map(int, input().split()) print((n ** k - 1) % 9 + 1)
class maxheap: ''' implements max heap: ''' def __init__(self, maxsize): ''' initialize an empty max heap with a max size. ''' self.size = 0 self.maxsize = maxsize self.Heap = [0] * (self.maxsize + 1) self.root = 1 def parent(self, pos): return pos // 2 def leftChild(self, pos): return 2*pos def rightChild(self, pos): return 2*pos + 1 def isLeaf(self,pos): if pos> (self.size//2) and pos <= self.size: return True return False def swap(self, pos1,pos2): self.Heap[pos1], self.Heap[pos2] = (self.Heap[pos2],self.Heap[pos1]) def insert(self, element): ''' inserting child into a max heap and then maintaining the max heap. ''' # if exceeds max size, don't insert. else, do insert. if self.size>= self.maxsize: return self.size = self.size + 1 self.Heap[self.size] = element # note down index of appended element. idx_element = self.size # while appended element is bigger than its parents, swap with parents. while( self.Heap[idx_element] > self.Heap[self.parent(idx_element)]): self.swap(idx_element, self.parent(idx_element)) idx_element = self.parent(idx_element) def maxHeapify(self, pos): ''' Function to maxheapify node at position "pos". ''' leftChild = self.Heap[self.leftChild(pos)] rightChild = self.Heap[self.rightChild(pos)] # if node is a nonleaf and is smaller than its children, it must exchange spots with one of its children. if not self.isLeaf(pos): if(self.Heap[pos] < leftChild or self.Heap[pos] < rightChild): # the node must exchange spots with the biggest child. if left > right, exchange with left. if(leftChild > rightChild): self.swap(pos, self.leftChild(pos)) self.maxHeapify(self.leftChild(pos)) #else , exchange with right. else: self.swap(pos, self.rightChild(pos)) self.maxHeapify(self.rightChild(pos)) def buildMaxHeap(self, array): ''' -Initialize with unsorted array. -Overwrite current data with array being inputted. ''' # clear out nodes and reinitialize variables self.size = len(array) self.Heap = [0] * (self.maxsize + 1) # set elements inside of heap, unsorted. for i in range(1, self.size + 1): self.Heap[i] = array[i-1] # create a max heap. for i in range(self.size//2, 0, -1): self.maxHeapify(i) def Print(self): ''' Function to print the contents of the heap ''' for i in range(1, (self.size // 2) + 1): print(" PARENT : " + str(self.Heap[i]) + " LEFT CHILD : " + str(self.Heap[2 * i]) + " RIGHT CHILD : " + str(self.Heap[2 * i + 1])) def main (): maxheap1= maxheap(100) list1 = [6,1,5,3,7,4,9,8,10] maxheap1.buildMaxHeap(list1) maxheap1.Print() if __name__ == "__main__": main()
class Maxheap: """ implements max heap: """ def __init__(self, maxsize): """ initialize an empty max heap with a max size. """ self.size = 0 self.maxsize = maxsize self.Heap = [0] * (self.maxsize + 1) self.root = 1 def parent(self, pos): return pos // 2 def left_child(self, pos): return 2 * pos def right_child(self, pos): return 2 * pos + 1 def is_leaf(self, pos): if pos > self.size // 2 and pos <= self.size: return True return False def swap(self, pos1, pos2): (self.Heap[pos1], self.Heap[pos2]) = (self.Heap[pos2], self.Heap[pos1]) def insert(self, element): """ inserting child into a max heap and then maintaining the max heap. """ if self.size >= self.maxsize: return self.size = self.size + 1 self.Heap[self.size] = element idx_element = self.size while self.Heap[idx_element] > self.Heap[self.parent(idx_element)]: self.swap(idx_element, self.parent(idx_element)) idx_element = self.parent(idx_element) def max_heapify(self, pos): """ Function to maxheapify node at position "pos". """ left_child = self.Heap[self.leftChild(pos)] right_child = self.Heap[self.rightChild(pos)] if not self.isLeaf(pos): if self.Heap[pos] < leftChild or self.Heap[pos] < rightChild: if leftChild > rightChild: self.swap(pos, self.leftChild(pos)) self.maxHeapify(self.leftChild(pos)) else: self.swap(pos, self.rightChild(pos)) self.maxHeapify(self.rightChild(pos)) def build_max_heap(self, array): """ -Initialize with unsorted array. -Overwrite current data with array being inputted. """ self.size = len(array) self.Heap = [0] * (self.maxsize + 1) for i in range(1, self.size + 1): self.Heap[i] = array[i - 1] for i in range(self.size // 2, 0, -1): self.maxHeapify(i) def print(self): """ Function to print the contents of the heap """ for i in range(1, self.size // 2 + 1): print(' PARENT : ' + str(self.Heap[i]) + ' LEFT CHILD : ' + str(self.Heap[2 * i]) + ' RIGHT CHILD : ' + str(self.Heap[2 * i + 1])) def main(): maxheap1 = maxheap(100) list1 = [6, 1, 5, 3, 7, 4, 9, 8, 10] maxheap1.buildMaxHeap(list1) maxheap1.Print() if __name__ == '__main__': main()
def closure(graph): n = len(graph) reachable = [[0 for _ in range(n)] for _ in range(n)] for i, v in enumerate(graph): for neighbor in v: reachable[i][neighbor] = 1 for k in range(n): for i in range(n): for j in range(n): reachable[i][j] |= (reachable[i][k] and reachable[k][j]) return reachable
def closure(graph): n = len(graph) reachable = [[0 for _ in range(n)] for _ in range(n)] for (i, v) in enumerate(graph): for neighbor in v: reachable[i][neighbor] = 1 for k in range(n): for i in range(n): for j in range(n): reachable[i][j] |= reachable[i][k] and reachable[k][j] return reachable
quant = int(input()) for c in range(quant): frase = input().split() for x in range(len(frase) - 1, 0, -1): for i in range(x): if len(frase[i]) < len(frase[i+1]): temp = frase[i] frase[i] = frase[i+1] frase[i+1] = temp resultado = ' '.join(frase) print(resultado)
quant = int(input()) for c in range(quant): frase = input().split() for x in range(len(frase) - 1, 0, -1): for i in range(x): if len(frase[i]) < len(frase[i + 1]): temp = frase[i] frase[i] = frase[i + 1] frase[i + 1] = temp resultado = ' '.join(frase) print(resultado)
class Solution: def twoSum(self, arr: List[int], target: int) -> List[int]: l = 0 r = len(arr) - 1 while l < r: total = arr[l] + arr[r] if total == target: return l + 1, r + 1 elif total < target: l += 1 else: r -= 1
class Solution: def two_sum(self, arr: List[int], target: int) -> List[int]: l = 0 r = len(arr) - 1 while l < r: total = arr[l] + arr[r] if total == target: return (l + 1, r + 1) elif total < target: l += 1 else: r -= 1
'''' | cancer | Total symptom |No | Yes | no |99989 | 0 | 99989 yes |10 | 1 | 11 total |99999 | 1 | 100000 ''' def cal_bayes(prior_H, prob_E_given_H, prob_E): return prior_H * prob_E_given_H / prob_E if __name__ == '__main__': prior_H = 1 / 100000 # probability of hypothesis (has cancer), some times is not better than a guess, # will be updated as new information comes in prob_not_H = 1 - prior_H prob_E_given_H = 1 # all people with cancer have symptoms 100% (according to this data) prob_E_given_not_H = 10 / 99999 # 10 out of 99999 have symptoms but not cancer prob_E = prior_H * prob_E_given_H + prob_not_H * prob_E_given_not_H # all the cases of symptoms print("The probability of having cancer given symptoms or P(H|E) is: \n", cal_bayes(prior_H, prob_E_given_H, prob_E)) ''' H / hypothesis = has cancer = 1 / 100 000 E / Event = has symptoms P(E|H) = has symptoms given cancer; the data tells us that all the people with cancer has symptoms Therefore, the probability of having symptoms if you already have cancer is 1 or 100% P(E|H) = 1 P(E|not H) = has symptoms given not cancer; the data tells us that 10 people out of 99999 have symptoms but not cancer P(E|not H) = 10 / 99999 Therefore, The probability of having cancer given symptoms is: P(H|E) = P(H) * P(E|H) / P(E) where P(E) is the sum of all the cases of symptoms P(E) = P(H) * P(E|H) + P(no H) * P(E|no H) ***************************** AND THIS IS BAYES THEOREM ************************* ****** P(H|E) = P(H) * P(E|H) / (P(H) * P(E|H) + P(no H) * P(E|no H)) ***** another point of view: in the area H is 1 person with symptoms, the total of people is 1 in the area (no H) are 10 people with symptoms, the total of people (no H) is 99999 so the probability of have cancer if you have symptoms is 1 / 11 even more the people with cancer that have symptoms divided by the total of people with symptoms people with cancer and symptoms = P(H)*P(E|H) people with symptoms and not cancer = P(no H)*P(E|no H) P(H|E) = P(H)*P(E|H) / P(H)*P(E|H) + P(no H)*P(E|no H) H no H ------------- | | | | | | | | | | | | | | | ------------- '''
"""' | cancer | Total symptom |No | Yes | no |99989 | 0 | 99989 yes |10 | 1 | 11 total |99999 | 1 | 100000 """ def cal_bayes(prior_H, prob_E_given_H, prob_E): return prior_H * prob_E_given_H / prob_E if __name__ == '__main__': prior_h = 1 / 100000 prob_not_h = 1 - prior_H prob_e_given_h = 1 prob_e_given_not_h = 10 / 99999 prob_e = prior_H * prob_E_given_H + prob_not_H * prob_E_given_not_H print('The probability of having cancer given symptoms or P(H|E) is: \n', cal_bayes(prior_H, prob_E_given_H, prob_E)) '\nH / hypothesis = has cancer = 1 / 100 000\nE / Event = has symptoms\n\nP(E|H) = has symptoms given cancer; the data tells us that all the people with cancer has symptoms \nTherefore, the probability of having symptoms if you already have cancer is 1 or 100%\nP(E|H) = 1\n\nP(E|not H) = has symptoms given not cancer; the data tells us that 10 people out of 99999 have symptoms but not cancer \nP(E|not H) = 10 / 99999\n\nTherefore, The probability of having cancer given symptoms is: \n\nP(H|E) = P(H) * P(E|H) / P(E) \n\nwhere P(E) is the sum of all the cases of symptoms\n\nP(E) = P(H) * P(E|H) + P(no H) * P(E|no H)\n\n\n***************************** AND THIS IS BAYES THEOREM *************************\n****** P(H|E) = P(H) * P(E|H) / (P(H) * P(E|H) + P(no H) * P(E|no H)) *****\n\n\n\nanother point of view:\nin the area H is 1 person with symptoms, the total of people is 1\nin the area (no H) are 10 people with symptoms, the total of people (no H) is 99999\n\nso the probability of have cancer if you have symptoms is 1 / 11\neven more\nthe people with cancer that have symptoms divided by the total of people with symptoms\npeople with cancer and symptoms = P(H)*P(E|H)\npeople with symptoms and not cancer = P(no H)*P(E|no H)\nP(H|E) = P(H)*P(E|H) / P(H)*P(E|H) + P(no H)*P(E|no H)\n H no H\n -------------\n | | |\n | | | \n | | |\n | | |\n | | | \n ------------- \n'
METRICS_AGGREGATE_KEYS = [ 'sum', 'max', 'min' ] BUCKETS_AGGREGATE_KEYS = [ 'terms', 'date_histogram' ] BUCKETS_AGGREGATE_OPTIONALS = [ 'format', 'order', 'size', 'interval' ]
metrics_aggregate_keys = ['sum', 'max', 'min'] buckets_aggregate_keys = ['terms', 'date_histogram'] buckets_aggregate_optionals = ['format', 'order', 'size', 'interval']
def book_dto(book): try: if not book: return None return { 'id': str(book.pk), 'book_name': book.name, 'summary': book.summary if book.summary else "", 'author': book.author, 'book_genre': book.genre, 'barcode': book.barcode, 'created_at': str(book.created_at), 'created_by': book.created_by, 'last_updated_at': str(book.last_updated_at), 'last_updated_by': book.last_updated_by, 'is_active': book.is_active, 'privacy_scope': book.privacy_scope, 'document_name': book.document_name, 'entity_tag': book.entity_tag, 'book_repo': book.repo_key } except Exception as e: print("DEBUG: Exception - {}, occurred at BOOK_DTO.".format(e)) def embed_book_dto(book): try: return { 'id': str(book.pk), 'book_name': book.name, 'author': book.author, 'summary': book.summary } except Exception as e: print("DEBUG: Exception - {}, occurred at EMBED_BOOK_DTO.".format(e)) def public_book_response_dto(book): try: if not book: return None return { 'id': str(book.pk), 'book_name': book.name, 'summary': book.summary if book.summary else "", 'author': book.author, 'book_genre': book.genre, 'barcode': book.barcode, 'created_at': str(book.created_at), 'created_by': book.created_by, 'last_updated_at': str(book.last_updated_at), 'last_updated_by': book.last_updated_by, 'is_active': book.is_active, 'privacy_scope': book.privacy_scope } except Exception as e: print("DEBUG: Exception - {}, occurred at PUBLIC_BOOK_RESPONSE_DTO.".format(e))
def book_dto(book): try: if not book: return None return {'id': str(book.pk), 'book_name': book.name, 'summary': book.summary if book.summary else '', 'author': book.author, 'book_genre': book.genre, 'barcode': book.barcode, 'created_at': str(book.created_at), 'created_by': book.created_by, 'last_updated_at': str(book.last_updated_at), 'last_updated_by': book.last_updated_by, 'is_active': book.is_active, 'privacy_scope': book.privacy_scope, 'document_name': book.document_name, 'entity_tag': book.entity_tag, 'book_repo': book.repo_key} except Exception as e: print('DEBUG: Exception - {}, occurred at BOOK_DTO.'.format(e)) def embed_book_dto(book): try: return {'id': str(book.pk), 'book_name': book.name, 'author': book.author, 'summary': book.summary} except Exception as e: print('DEBUG: Exception - {}, occurred at EMBED_BOOK_DTO.'.format(e)) def public_book_response_dto(book): try: if not book: return None return {'id': str(book.pk), 'book_name': book.name, 'summary': book.summary if book.summary else '', 'author': book.author, 'book_genre': book.genre, 'barcode': book.barcode, 'created_at': str(book.created_at), 'created_by': book.created_by, 'last_updated_at': str(book.last_updated_at), 'last_updated_by': book.last_updated_by, 'is_active': book.is_active, 'privacy_scope': book.privacy_scope} except Exception as e: print('DEBUG: Exception - {}, occurred at PUBLIC_BOOK_RESPONSE_DTO.'.format(e))
count_dict, count, Last_item = {}, 0, None binario = str(bin(int(input()))) binary_list = [n for n in binario] for item in binary_list: if Last_item != item: Last_item = item count = 1 else: count += 1 if count > count_dict.get(item, 0): count_dict[item] = count print(count_dict.get('1'))
(count_dict, count, last_item) = ({}, 0, None) binario = str(bin(int(input()))) binary_list = [n for n in binario] for item in binary_list: if Last_item != item: last_item = item count = 1 else: count += 1 if count > count_dict.get(item, 0): count_dict[item] = count print(count_dict.get('1'))
class Sample(object): def func_0(self): return '0' def func_1(self, arg1): return arg1 def func_2(self, arg1, arg2): return arg1 + arg2 s = Sample() result = s.func_0() print(result) result = s.func_1('test1') print(result) result = s.func_2('test1', 'test2') print(result) func = getattr(s, 'func_0') result = func() print(result) func = getattr(s, 'func_1') result = func('test1') print(result) func = getattr(s, 'func_2') result = func('test1', 'test2') print(result)
class Sample(object): def func_0(self): return '0' def func_1(self, arg1): return arg1 def func_2(self, arg1, arg2): return arg1 + arg2 s = sample() result = s.func_0() print(result) result = s.func_1('test1') print(result) result = s.func_2('test1', 'test2') print(result) func = getattr(s, 'func_0') result = func() print(result) func = getattr(s, 'func_1') result = func('test1') print(result) func = getattr(s, 'func_2') result = func('test1', 'test2') print(result)
# 647. Palindromic Substrings # Runtime: 128 ms, faster than 79.15% of Python3 online submissions for Palindromic Substrings. # Memory Usage: 14.1 MB, less than 85.33% of Python3 online submissions for Palindromic Substrings. class Solution: # Expand Around Possible Centers def countSubstrings(self, s: str) -> int: count = 0 def expand_around_center(left: int, right: int) -> None: nonlocal count while left >= 0 and right < len(s): if s[left] != s[right]: break else: count += 1 left -= 1 right += 1 for i in range(len(s)): expand_around_center(i, i) expand_around_center(i, i + 1) return count
class Solution: def count_substrings(self, s: str) -> int: count = 0 def expand_around_center(left: int, right: int) -> None: nonlocal count while left >= 0 and right < len(s): if s[left] != s[right]: break else: count += 1 left -= 1 right += 1 for i in range(len(s)): expand_around_center(i, i) expand_around_center(i, i + 1) return count
def test_submit_retrieve(client) -> None: headers = { 'Content-Type': 'text/plain' } urls = { 'https://www.wikipedia.org/': '48VIcsBN5UX', 'https://www.google.com/': '48VIcsBN5UY', 'https://www.stackoverflow.com/': '48VIcsBN5UZ', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ': '48VIcsBN5Ua' } # Post four URLs, receive short URLs, confirm short code is correct for key in urls: r = client.post('/submit', data=key, headers=headers) # Get short code by right-splitting the short url short_code = r.get_data().decode("utf-8").rsplit('/', 1)[-1] assert short_code == urls[key] # Get full URLs (redirect) from short codes for key in urls: r = client.get(urls[key]) assert r.location == key assert r.status_code == 302
def test_submit_retrieve(client) -> None: headers = {'Content-Type': 'text/plain'} urls = {'https://www.wikipedia.org/': '48VIcsBN5UX', 'https://www.google.com/': '48VIcsBN5UY', 'https://www.stackoverflow.com/': '48VIcsBN5UZ', 'https://www.youtube.com/watch?v=dQw4w9WgXcQ': '48VIcsBN5Ua'} for key in urls: r = client.post('/submit', data=key, headers=headers) short_code = r.get_data().decode('utf-8').rsplit('/', 1)[-1] assert short_code == urls[key] for key in urls: r = client.get(urls[key]) assert r.location == key assert r.status_code == 302
list1 = [ 9, 2, 8, 4, 0, 1, 34 ] # insert 45 at 5th index list1.insert(4, 45) print(list1) list2 = ['q', 'b', 'u', 'h', 'p'] # insert z at the front of the list list2.insert(0, 'z') print(list2)
list1 = [9, 2, 8, 4, 0, 1, 34] list1.insert(4, 45) print(list1) list2 = ['q', 'b', 'u', 'h', 'p'] list2.insert(0, 'z') print(list2)
# Implement regular expression matching with the following special characters: # . (period) which matches any single character # * (asterisk) which matches zero or more of the preceding element # That is, implement a function that takes in a string and a valid regular # expression and returns whether or not the string matches the regular expression. # For example, given the regular expression "ra." and the string "ray", # your function should return true. The same regular expression on the # string "raymond" should return false. # Given the regular expression ".*at" and the string "chat", your function # should return true. The same regular expression on the string "chats" # should return false. def check_regex(re, string): boolMat = [[False]*(len(re)+1) for i in range(len(string)+1)] boolMat[0][0] = True for i in range(0, len(string) + 1): for j in range(1, len(re) + 1): if re[j-1] == '*': boolMat[i][j] = boolMat[i][j-2] or (i > 0 and j > 1 and (re[j-2] == '.' or string[i-1] == re[j-2]) and boolMat[i-1][j]) elif i > 0 and (re[j-1] == '.' or re[j-1] == string[i-1]): boolMat[i][j] = boolMat[i-1][j-1] return boolMat[-1][-1] # Driver code re = 'ra.' string = "ray" assert check_regex(re, string) == True string = "raymond" assert check_regex(re, string) == False re = ".*at" string = "chat" assert check_regex(re, string) == True string = "chats" assert check_regex(re, string) == False re = "c*a*b" string = "aab" assert check_regex(re, string) == True re = "mis*is*p*" string = "mississippi" assert check_regex(re, string) == False re = ".*" string = "ab" assert check_regex(re, string) == True
def check_regex(re, string): bool_mat = [[False] * (len(re) + 1) for i in range(len(string) + 1)] boolMat[0][0] = True for i in range(0, len(string) + 1): for j in range(1, len(re) + 1): if re[j - 1] == '*': boolMat[i][j] = boolMat[i][j - 2] or (i > 0 and j > 1 and (re[j - 2] == '.' or string[i - 1] == re[j - 2]) and boolMat[i - 1][j]) elif i > 0 and (re[j - 1] == '.' or re[j - 1] == string[i - 1]): boolMat[i][j] = boolMat[i - 1][j - 1] return boolMat[-1][-1] re = 'ra.' string = 'ray' assert check_regex(re, string) == True string = 'raymond' assert check_regex(re, string) == False re = '.*at' string = 'chat' assert check_regex(re, string) == True string = 'chats' assert check_regex(re, string) == False re = 'c*a*b' string = 'aab' assert check_regex(re, string) == True re = 'mis*is*p*' string = 'mississippi' assert check_regex(re, string) == False re = '.*' string = 'ab' assert check_regex(re, string) == True
# # PySNMP MIB module SCA-FREXT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SCA-FREXT-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:52:53 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion") DLCI, = mibBuilder.importSymbols("FRAME-RELAY-DTE-MIB", "DLCI") scanet, = mibBuilder.importSymbols("SCANET-MIB", "scanet") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, Gauge32, ObjectIdentity, MibIdentifier, Counter64, IpAddress, iso, TimeTicks, Counter32, NotificationType, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Gauge32", "ObjectIdentity", "MibIdentifier", "Counter64", "IpAddress", "iso", "TimeTicks", "Counter32", "NotificationType", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Unsigned32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") frEx = MibIdentifier((1, 3, 6, 1, 4, 1, 208, 46)) frCircuitExt = MibIdentifier((1, 3, 6, 1, 4, 1, 208, 46, 1)) class InterfaceIndex(Integer32): pass frCirExtEncTable = MibTable((1, 3, 6, 1, 4, 1, 208, 46, 1, 1), ) if mibBuilder.loadTexts: frCirExtEncTable.setStatus('mandatory') frCirExtEncEntry = MibTableRow((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1), ).setIndexNames((0, "SCA-FREXT-MIB", "frCirExtEncIfIndex"), (0, "SCA-FREXT-MIB", "frCirExtEncDlci")) if mibBuilder.loadTexts: frCirExtEncEntry.setStatus('mandatory') frCirExtEncIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncIfIndex.setStatus('mandatory') frCirExtEncDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 2), DLCI()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncDlci.setStatus('mandatory') frCirExtEncLogicalIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 3), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncLogicalIfIndex.setStatus('mandatory') frCirExtEncEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncEnabled.setStatus('mandatory') frCirExtEncNegotiated = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncNegotiated.setStatus('mandatory') frCirExtEncResetRequestsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncResetRequestsRx.setStatus('mandatory') frCirExtEncResetRequestsTx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncResetRequestsTx.setStatus('mandatory') frCirExtEncResetAcksRx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncResetAcksRx.setStatus('mandatory') frCirExtEncResetAcksTx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncResetAcksTx.setStatus('mandatory') frCirExtEncRxDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncRxDiscarded.setStatus('mandatory') frCirExtEncTxDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncTxDiscarded.setStatus('mandatory') frCirExtEncReceiverState = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ok", 1), ("error", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtEncReceiverState.setStatus('mandatory') frCirExtCompTable = MibTable((1, 3, 6, 1, 4, 1, 208, 46, 1, 2), ) if mibBuilder.loadTexts: frCirExtCompTable.setStatus('mandatory') frCirExtCompEntry = MibTableRow((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1), ).setIndexNames((0, "SCA-FREXT-MIB", "frCirExtCompIfIndex"), (0, "SCA-FREXT-MIB", "frCirExtCompDlci")) if mibBuilder.loadTexts: frCirExtCompEntry.setStatus('mandatory') frCirExtCompIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompIfIndex.setStatus('mandatory') frCirExtCompDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 2), DLCI()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDlci.setStatus('mandatory') frCirExtCompLogicalIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 3), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompLogicalIfIndex.setStatus('mandatory') frCirExtCompEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEnabled.setStatus('mandatory') frCirExtCompNegotiated = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompNegotiated.setStatus('mandatory') frCirExtCompDecoderBytesIn = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderBytesIn.setStatus('mandatory') frCirExtCompDecoderDecompBytesOut = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderDecompBytesOut.setStatus('mandatory') frCirExtCompDecoderUncompBytesOut = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderUncompBytesOut.setStatus('mandatory') frCirExtCompDecoderCompPacketsIn = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderCompPacketsIn.setStatus('mandatory') frCirExtCompDecoderUncompPacketsIn = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderUncompPacketsIn.setStatus('mandatory') frCirExtCompDecoderDecompQueueLength = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderDecompQueueLength.setStatus('mandatory') frCirExtCompDecoderCompressionRatio = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderCompressionRatio.setStatus('mandatory') frCirExtCompDecoderResetRequestTx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderResetRequestTx.setStatus('mandatory') frCirExtCompDecoderResetAcksRx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderResetAcksRx.setStatus('mandatory') frCirExtCompDecoderRxDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderRxDiscarded.setStatus('mandatory') frCirExtCompDecoderState = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ok", 1), ("error", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompDecoderState.setStatus('mandatory') frCirExtCompEncoderBytesIn = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderBytesIn.setStatus('mandatory') frCirExtCompEncoderCompBytesOut = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderCompBytesOut.setStatus('mandatory') frCirExtCompEncoderUncompBytesOut = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderUncompBytesOut.setStatus('mandatory') frCirExtCompEncoderCompPacketsOut = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderCompPacketsOut.setStatus('mandatory') frCirExtCompEncoderUncompPacketsOut = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderUncompPacketsOut.setStatus('mandatory') frCirExtCompEncoderCompQueueLength = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderCompQueueLength.setStatus('mandatory') frCirExtCompEncoderCompressionRation = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderCompressionRation.setStatus('mandatory') frCirExtCompEncoderResetRequestRx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderResetRequestRx.setStatus('mandatory') frCirExtCompEncoderResetAckTx = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderResetAckTx.setStatus('mandatory') frCirExtCompEncoderTxDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frCirExtCompEncoderTxDiscarded.setStatus('mandatory') mibBuilder.exportSymbols("SCA-FREXT-MIB", frCirExtEncLogicalIfIndex=frCirExtEncLogicalIfIndex, frCirExtCompDecoderResetRequestTx=frCirExtCompDecoderResetRequestTx, frCirExtCompEnabled=frCirExtCompEnabled, frCirExtEncResetRequestsRx=frCirExtEncResetRequestsRx, frCirExtCompEncoderCompBytesOut=frCirExtCompEncoderCompBytesOut, frCirExtCompLogicalIfIndex=frCirExtCompLogicalIfIndex, frCirExtEncReceiverState=frCirExtEncReceiverState, frCirExtEncNegotiated=frCirExtEncNegotiated, frCirExtCompEncoderUncompBytesOut=frCirExtCompEncoderUncompBytesOut, frCirExtCompEncoderTxDiscarded=frCirExtCompEncoderTxDiscarded, frCirExtCompDecoderDecompQueueLength=frCirExtCompDecoderDecompQueueLength, frCirExtCompDecoderState=frCirExtCompDecoderState, frCirExtCompDecoderRxDiscarded=frCirExtCompDecoderRxDiscarded, InterfaceIndex=InterfaceIndex, frCirExtEncTxDiscarded=frCirExtEncTxDiscarded, frCirExtCompDlci=frCirExtCompDlci, frCirExtCompEncoderResetRequestRx=frCirExtCompEncoderResetRequestRx, frCirExtCompEncoderCompressionRation=frCirExtCompEncoderCompressionRation, frCirExtEncIfIndex=frCirExtEncIfIndex, frCirExtCompDecoderResetAcksRx=frCirExtCompDecoderResetAcksRx, frCirExtEncResetAcksTx=frCirExtEncResetAcksTx, frCirExtCompDecoderCompPacketsIn=frCirExtCompDecoderCompPacketsIn, frCirExtEncResetAcksRx=frCirExtEncResetAcksRx, frCirExtEncResetRequestsTx=frCirExtEncResetRequestsTx, frCirExtCompDecoderUncompBytesOut=frCirExtCompDecoderUncompBytesOut, frCirExtCompDecoderCompressionRatio=frCirExtCompDecoderCompressionRatio, frCirExtEncDlci=frCirExtEncDlci, frCirExtCompEntry=frCirExtCompEntry, frCirExtEncRxDiscarded=frCirExtEncRxDiscarded, frCirExtCompDecoderDecompBytesOut=frCirExtCompDecoderDecompBytesOut, frCirExtEncEnabled=frCirExtEncEnabled, frCirExtCompTable=frCirExtCompTable, frCirExtCompEncoderCompQueueLength=frCirExtCompEncoderCompQueueLength, frCirExtCompEncoderUncompPacketsOut=frCirExtCompEncoderUncompPacketsOut, frCirExtEncTable=frCirExtEncTable, frCirExtEncEntry=frCirExtEncEntry, frCirExtCompEncoderCompPacketsOut=frCirExtCompEncoderCompPacketsOut, frCirExtCompNegotiated=frCirExtCompNegotiated, frCirExtCompDecoderBytesIn=frCirExtCompDecoderBytesIn, frCircuitExt=frCircuitExt, frEx=frEx, frCirExtCompEncoderResetAckTx=frCirExtCompEncoderResetAckTx, frCirExtCompIfIndex=frCirExtCompIfIndex, frCirExtCompDecoderUncompPacketsIn=frCirExtCompDecoderUncompPacketsIn, frCirExtCompEncoderBytesIn=frCirExtCompEncoderBytesIn)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, single_value_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (dlci,) = mibBuilder.importSymbols('FRAME-RELAY-DTE-MIB', 'DLCI') (scanet,) = mibBuilder.importSymbols('SCANET-MIB', 'scanet') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, gauge32, object_identity, mib_identifier, counter64, ip_address, iso, time_ticks, counter32, notification_type, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Gauge32', 'ObjectIdentity', 'MibIdentifier', 'Counter64', 'IpAddress', 'iso', 'TimeTicks', 'Counter32', 'NotificationType', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'Unsigned32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') fr_ex = mib_identifier((1, 3, 6, 1, 4, 1, 208, 46)) fr_circuit_ext = mib_identifier((1, 3, 6, 1, 4, 1, 208, 46, 1)) class Interfaceindex(Integer32): pass fr_cir_ext_enc_table = mib_table((1, 3, 6, 1, 4, 1, 208, 46, 1, 1)) if mibBuilder.loadTexts: frCirExtEncTable.setStatus('mandatory') fr_cir_ext_enc_entry = mib_table_row((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1)).setIndexNames((0, 'SCA-FREXT-MIB', 'frCirExtEncIfIndex'), (0, 'SCA-FREXT-MIB', 'frCirExtEncDlci')) if mibBuilder.loadTexts: frCirExtEncEntry.setStatus('mandatory') fr_cir_ext_enc_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncIfIndex.setStatus('mandatory') fr_cir_ext_enc_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 2), dlci()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncDlci.setStatus('mandatory') fr_cir_ext_enc_logical_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 3), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncLogicalIfIndex.setStatus('mandatory') fr_cir_ext_enc_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncEnabled.setStatus('mandatory') fr_cir_ext_enc_negotiated = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncNegotiated.setStatus('mandatory') fr_cir_ext_enc_reset_requests_rx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncResetRequestsRx.setStatus('mandatory') fr_cir_ext_enc_reset_requests_tx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncResetRequestsTx.setStatus('mandatory') fr_cir_ext_enc_reset_acks_rx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncResetAcksRx.setStatus('mandatory') fr_cir_ext_enc_reset_acks_tx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncResetAcksTx.setStatus('mandatory') fr_cir_ext_enc_rx_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncRxDiscarded.setStatus('mandatory') fr_cir_ext_enc_tx_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncTxDiscarded.setStatus('mandatory') fr_cir_ext_enc_receiver_state = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ok', 1), ('error', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtEncReceiverState.setStatus('mandatory') fr_cir_ext_comp_table = mib_table((1, 3, 6, 1, 4, 1, 208, 46, 1, 2)) if mibBuilder.loadTexts: frCirExtCompTable.setStatus('mandatory') fr_cir_ext_comp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1)).setIndexNames((0, 'SCA-FREXT-MIB', 'frCirExtCompIfIndex'), (0, 'SCA-FREXT-MIB', 'frCirExtCompDlci')) if mibBuilder.loadTexts: frCirExtCompEntry.setStatus('mandatory') fr_cir_ext_comp_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompIfIndex.setStatus('mandatory') fr_cir_ext_comp_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 2), dlci()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDlci.setStatus('mandatory') fr_cir_ext_comp_logical_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 3), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompLogicalIfIndex.setStatus('mandatory') fr_cir_ext_comp_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEnabled.setStatus('mandatory') fr_cir_ext_comp_negotiated = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompNegotiated.setStatus('mandatory') fr_cir_ext_comp_decoder_bytes_in = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderBytesIn.setStatus('mandatory') fr_cir_ext_comp_decoder_decomp_bytes_out = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderDecompBytesOut.setStatus('mandatory') fr_cir_ext_comp_decoder_uncomp_bytes_out = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderUncompBytesOut.setStatus('mandatory') fr_cir_ext_comp_decoder_comp_packets_in = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderCompPacketsIn.setStatus('mandatory') fr_cir_ext_comp_decoder_uncomp_packets_in = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderUncompPacketsIn.setStatus('mandatory') fr_cir_ext_comp_decoder_decomp_queue_length = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderDecompQueueLength.setStatus('mandatory') fr_cir_ext_comp_decoder_compression_ratio = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderCompressionRatio.setStatus('mandatory') fr_cir_ext_comp_decoder_reset_request_tx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderResetRequestTx.setStatus('mandatory') fr_cir_ext_comp_decoder_reset_acks_rx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderResetAcksRx.setStatus('mandatory') fr_cir_ext_comp_decoder_rx_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderRxDiscarded.setStatus('mandatory') fr_cir_ext_comp_decoder_state = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ok', 1), ('error', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompDecoderState.setStatus('mandatory') fr_cir_ext_comp_encoder_bytes_in = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderBytesIn.setStatus('mandatory') fr_cir_ext_comp_encoder_comp_bytes_out = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderCompBytesOut.setStatus('mandatory') fr_cir_ext_comp_encoder_uncomp_bytes_out = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderUncompBytesOut.setStatus('mandatory') fr_cir_ext_comp_encoder_comp_packets_out = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderCompPacketsOut.setStatus('mandatory') fr_cir_ext_comp_encoder_uncomp_packets_out = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderUncompPacketsOut.setStatus('mandatory') fr_cir_ext_comp_encoder_comp_queue_length = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderCompQueueLength.setStatus('mandatory') fr_cir_ext_comp_encoder_compression_ration = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderCompressionRation.setStatus('mandatory') fr_cir_ext_comp_encoder_reset_request_rx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderResetRequestRx.setStatus('mandatory') fr_cir_ext_comp_encoder_reset_ack_tx = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderResetAckTx.setStatus('mandatory') fr_cir_ext_comp_encoder_tx_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 208, 46, 1, 2, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frCirExtCompEncoderTxDiscarded.setStatus('mandatory') mibBuilder.exportSymbols('SCA-FREXT-MIB', frCirExtEncLogicalIfIndex=frCirExtEncLogicalIfIndex, frCirExtCompDecoderResetRequestTx=frCirExtCompDecoderResetRequestTx, frCirExtCompEnabled=frCirExtCompEnabled, frCirExtEncResetRequestsRx=frCirExtEncResetRequestsRx, frCirExtCompEncoderCompBytesOut=frCirExtCompEncoderCompBytesOut, frCirExtCompLogicalIfIndex=frCirExtCompLogicalIfIndex, frCirExtEncReceiverState=frCirExtEncReceiverState, frCirExtEncNegotiated=frCirExtEncNegotiated, frCirExtCompEncoderUncompBytesOut=frCirExtCompEncoderUncompBytesOut, frCirExtCompEncoderTxDiscarded=frCirExtCompEncoderTxDiscarded, frCirExtCompDecoderDecompQueueLength=frCirExtCompDecoderDecompQueueLength, frCirExtCompDecoderState=frCirExtCompDecoderState, frCirExtCompDecoderRxDiscarded=frCirExtCompDecoderRxDiscarded, InterfaceIndex=InterfaceIndex, frCirExtEncTxDiscarded=frCirExtEncTxDiscarded, frCirExtCompDlci=frCirExtCompDlci, frCirExtCompEncoderResetRequestRx=frCirExtCompEncoderResetRequestRx, frCirExtCompEncoderCompressionRation=frCirExtCompEncoderCompressionRation, frCirExtEncIfIndex=frCirExtEncIfIndex, frCirExtCompDecoderResetAcksRx=frCirExtCompDecoderResetAcksRx, frCirExtEncResetAcksTx=frCirExtEncResetAcksTx, frCirExtCompDecoderCompPacketsIn=frCirExtCompDecoderCompPacketsIn, frCirExtEncResetAcksRx=frCirExtEncResetAcksRx, frCirExtEncResetRequestsTx=frCirExtEncResetRequestsTx, frCirExtCompDecoderUncompBytesOut=frCirExtCompDecoderUncompBytesOut, frCirExtCompDecoderCompressionRatio=frCirExtCompDecoderCompressionRatio, frCirExtEncDlci=frCirExtEncDlci, frCirExtCompEntry=frCirExtCompEntry, frCirExtEncRxDiscarded=frCirExtEncRxDiscarded, frCirExtCompDecoderDecompBytesOut=frCirExtCompDecoderDecompBytesOut, frCirExtEncEnabled=frCirExtEncEnabled, frCirExtCompTable=frCirExtCompTable, frCirExtCompEncoderCompQueueLength=frCirExtCompEncoderCompQueueLength, frCirExtCompEncoderUncompPacketsOut=frCirExtCompEncoderUncompPacketsOut, frCirExtEncTable=frCirExtEncTable, frCirExtEncEntry=frCirExtEncEntry, frCirExtCompEncoderCompPacketsOut=frCirExtCompEncoderCompPacketsOut, frCirExtCompNegotiated=frCirExtCompNegotiated, frCirExtCompDecoderBytesIn=frCirExtCompDecoderBytesIn, frCircuitExt=frCircuitExt, frEx=frEx, frCirExtCompEncoderResetAckTx=frCirExtCompEncoderResetAckTx, frCirExtCompIfIndex=frCirExtCompIfIndex, frCirExtCompDecoderUncompPacketsIn=frCirExtCompDecoderUncompPacketsIn, frCirExtCompEncoderBytesIn=frCirExtCompEncoderBytesIn)
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def allPossibleFBT(self, N: int) -> List[TreeNode]: if N % 2 == 0: return [] dp = [[] for i in range(N + 1)] dp[1] = [TreeNode(0)] for i in range(3, N + 1, 2): for j in range(1, i, 2): k = i - j - 1 for l in dp[j]: for r in dp[k]: root = TreeNode(0, left=l, right=r) dp[i].append(root) return dp[N]
class Solution: def all_possible_fbt(self, N: int) -> List[TreeNode]: if N % 2 == 0: return [] dp = [[] for i in range(N + 1)] dp[1] = [tree_node(0)] for i in range(3, N + 1, 2): for j in range(1, i, 2): k = i - j - 1 for l in dp[j]: for r in dp[k]: root = tree_node(0, left=l, right=r) dp[i].append(root) return dp[N]
ALPHABET = 'abcdefghijklmnopqrstuvwxyz' t = int(input()) allResult = '' for k in range(t): input() string = input() result = 'a' while string.find(result) != -1: if result[len(result) - 1] != 'z': result = result[:-1] + ALPHABET[ord(result[-1]) - 96] else: if result[0] == ALPHABET[25]: temp = '' for i in range(len(result) + 1): temp += ALPHABET[0] result = temp else: result = result[:-1] + ALPHABET[0] for i in range(len(result) - 2, -1, -1): if result[i + 1] == 'a': result = result[:i] + ALPHABET[(ord(result[i]) - 96) % 26] + result[i + 1:] else: break allResult += result if k < t - 1: allResult += '\n' print(allResult)
alphabet = 'abcdefghijklmnopqrstuvwxyz' t = int(input()) all_result = '' for k in range(t): input() string = input() result = 'a' while string.find(result) != -1: if result[len(result) - 1] != 'z': result = result[:-1] + ALPHABET[ord(result[-1]) - 96] elif result[0] == ALPHABET[25]: temp = '' for i in range(len(result) + 1): temp += ALPHABET[0] result = temp else: result = result[:-1] + ALPHABET[0] for i in range(len(result) - 2, -1, -1): if result[i + 1] == 'a': result = result[:i] + ALPHABET[(ord(result[i]) - 96) % 26] + result[i + 1:] else: break all_result += result if k < t - 1: all_result += '\n' print(allResult)
# n = int(input()) # res = [[10 ** 9 for j in range(n)] for _ in range(n)] # res[0][0] = 0 # scores = [] # for _ in range(n): # scores.append(list(map(int, input().split()))) # direcs = [(0, 1), (0, -1), (-1, 0), (1, 0)] # d4_scores = [[[] for _ in range(n)] for _ in range(n)] # for i in range(n): # for j in range(n): # for dirc in direcs: # n_x, n_y = i + dirc[0], j + dirc[1] # if 0 <= n_x < n and 0 <= n_y < n: # d4_scores[i][j].append((n_x, n_y, abs(scores[i][j] - scores[n_x][n_y]))) # else: # d4_scores[i][j].append((None, None, None)) # que = {(0, 0)} # while que: # x, y = que.pop() # for n_x, n_y, s in d4_scores[x][y]: # if s is not None: # n_s = res[x][y] + s # if n_s < res[n_x][n_y]: # res[n_x][n_y] = n_s # que.add((n_x, n_y)) # print(res[n - 1][n - 1]) # # print(res) n, m, k = list(map(int, input().split())) gifts = [] for _ in range(n): gifts.append(list(map(int, input().split()))) gifts.sort(key=lambda x: [x[2], x[0], x[1]]) res = 0 i = 0 while i < n: p, w, _ = gifts[i] i += 1 if k >= p and m >= w: res += 1 k -= p m -= w print(res)
(n, m, k) = list(map(int, input().split())) gifts = [] for _ in range(n): gifts.append(list(map(int, input().split()))) gifts.sort(key=lambda x: [x[2], x[0], x[1]]) res = 0 i = 0 while i < n: (p, w, _) = gifts[i] i += 1 if k >= p and m >= w: res += 1 k -= p m -= w print(res)
for v in graph.getVertices(): print(v.value.rank)
for v in graph.getVertices(): print(v.value.rank)
class Solution: def coinChange(self, coins: 'List[int]', amount: int) -> int: coins.sort(reverse=True) impossible = (amount + 1) * 2 dp = [impossible] * (amount + 1) dp[0] = 0 for current in range(amount + 1): for coin in coins: if current + coin <= amount: dp[current + coin] = min(dp[current + coin], dp[current] + 1) return -1 if dp[amount] == impossible else dp[amount] if __name__ == '__main__': print(Solution().coinChange([2], 4)) print(Solution().coinChange([1, 2, 5], 11)) print(Solution().coinChange([2], 3)) print(Solution().coinChange([1], 0)) print(Solution().coinChange([1], 1)) print(Solution().coinChange([1], 2))
class Solution: def coin_change(self, coins: 'List[int]', amount: int) -> int: coins.sort(reverse=True) impossible = (amount + 1) * 2 dp = [impossible] * (amount + 1) dp[0] = 0 for current in range(amount + 1): for coin in coins: if current + coin <= amount: dp[current + coin] = min(dp[current + coin], dp[current] + 1) return -1 if dp[amount] == impossible else dp[amount] if __name__ == '__main__': print(solution().coinChange([2], 4)) print(solution().coinChange([1, 2, 5], 11)) print(solution().coinChange([2], 3)) print(solution().coinChange([1], 0)) print(solution().coinChange([1], 1)) print(solution().coinChange([1], 2))
EXAMPLES1 = ( ('04-exemple1.txt', 4512), ) EXAMPLES2 = ( ('04-exemple1.txt', 1924), ) INPUT = '04.txt' def read_data(fn): with open(fn) as f: numbers = [int(s) for s in f.readline().strip().split(',')] boards = list() board = None for line in f: if not line.strip(): if board is not None: boards.append(board) board = list() else: board.append([int(s) for s in line.strip().split()]) return numbers, boards def test_board(board): # True if a row full of 0 if any(all([n is None for n in line]) for line in board): return True board = list(map(list, zip(*board))) if any(all([n is None for n in line]) for line in board): return True else: return False def setnumber(board, number): for line in board: for index, value in enumerate(line): if value == number: line[index] = None return def code1(data): numbers, boards = data for number in numbers: for board in boards: setnumber(board, number) if test_board(board): return number * sum([sum(0 if n is None else n for n in line) for line in board]) return 0 def code2(data): numbers, boards = data count = 0 done = set() for number in numbers: for iboard, board in enumerate(boards): if iboard in done: continue setnumber(board, number) if test_board(board): count += 1 done.add(iboard) # print(iboard, board, number, count, len(boards)) if count == len(boards): return number * sum([sum(0 if n is None else n for n in line) for line in board]) return 0 def test(n, code, examples, myinput): for fn, result in examples: data = read_data(fn) assert code(data) == result, (data, result, code(data)) print(f'{n}>', code(read_data(myinput))) test(1, code1, EXAMPLES1, INPUT) test(2, code2, EXAMPLES2, INPUT)
examples1 = (('04-exemple1.txt', 4512),) examples2 = (('04-exemple1.txt', 1924),) input = '04.txt' def read_data(fn): with open(fn) as f: numbers = [int(s) for s in f.readline().strip().split(',')] boards = list() board = None for line in f: if not line.strip(): if board is not None: boards.append(board) board = list() else: board.append([int(s) for s in line.strip().split()]) return (numbers, boards) def test_board(board): if any((all([n is None for n in line]) for line in board)): return True board = list(map(list, zip(*board))) if any((all([n is None for n in line]) for line in board)): return True else: return False def setnumber(board, number): for line in board: for (index, value) in enumerate(line): if value == number: line[index] = None return def code1(data): (numbers, boards) = data for number in numbers: for board in boards: setnumber(board, number) if test_board(board): return number * sum([sum((0 if n is None else n for n in line)) for line in board]) return 0 def code2(data): (numbers, boards) = data count = 0 done = set() for number in numbers: for (iboard, board) in enumerate(boards): if iboard in done: continue setnumber(board, number) if test_board(board): count += 1 done.add(iboard) if count == len(boards): return number * sum([sum((0 if n is None else n for n in line)) for line in board]) return 0 def test(n, code, examples, myinput): for (fn, result) in examples: data = read_data(fn) assert code(data) == result, (data, result, code(data)) print(f'{n}>', code(read_data(myinput))) test(1, code1, EXAMPLES1, INPUT) test(2, code2, EXAMPLES2, INPUT)
#!/usr/bin/python # # AbstractPatching is the base patching class of all the linux distros # # Copyright 2014 Microsoft Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. class ConfigOptions(object): disabled = ["true", "false"] # Default value is "false" stop = ["true", "false"] # Default value is "false" reboot_after_patch = ["rebootifneed", # Default value is "rebootifneed" "auto", "required", "notrequired"] category = {"required" : "important", # Default value is "important" "all" : "importantandrecommended"} oneoff = ["true", "false"] # Default value is "false" interval_of_weeks = [str(i) for i in range(1, 53)] # Default value is "1" day_of_week = {"everyday" : range(1,8), # Default value is "everyday" "monday" : 1, "tuesday" : 2, "wednesday": 3, "thursday" : 4, "friday" : 5, "saturday" : 6, "sunday" : 7}
class Configoptions(object): disabled = ['true', 'false'] stop = ['true', 'false'] reboot_after_patch = ['rebootifneed', 'auto', 'required', 'notrequired'] category = {'required': 'important', 'all': 'importantandrecommended'} oneoff = ['true', 'false'] interval_of_weeks = [str(i) for i in range(1, 53)] day_of_week = {'everyday': range(1, 8), 'monday': 1, 'tuesday': 2, 'wednesday': 3, 'thursday': 4, 'friday': 5, 'saturday': 6, 'sunday': 7}
# # PySNMP MIB module RBN-SMS1000-ENVMON-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBN-SMS1000-ENVMON-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:53:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint") rbnMgmt, = mibBuilder.importSymbols("RBN-SMI", "rbnMgmt") ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") iso, Bits, TimeTicks, NotificationType, Counter32, IpAddress, Unsigned32, Counter64, ObjectIdentity, Gauge32, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Bits", "TimeTicks", "NotificationType", "Counter32", "IpAddress", "Unsigned32", "Counter64", "ObjectIdentity", "Gauge32", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "MibIdentifier") TextualConvention, TruthValue, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "TruthValue", "DisplayString") rbnSMS1000EnvMonMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2352, 2, 3)) if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setLastUpdated('9810062300Z') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setOrganization('RedBack Networks, Inc.') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setContactInfo(' RedBack Networks, Inc. Postal: 1389 Moffett Park Drive Sunnyvale, CA 94089-1134 USA Phone: +1 408 548 3500 Fax: +1 408 548 3599 E-mail: mib-info@RedBackNetworks.com') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setDescription('The MIB used to manage the SMS1000 Environmental Monitor functionality.') rbnSMS1000EnvMonMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 0)) rbnSMS1000EnvMonMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 1)) rbnSMS1000EnvMonMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2)) rbnSMS1000FanFail = MibScalar((1, 3, 6, 1, 4, 1, 2352, 2, 3, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rbnSMS1000FanFail.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000FanFail.setDescription('The status of the SMS 1000 fan assemblies. If this object has the value true, then one or both of the SMS 1000 fan assemblies has failed. If this object has the value false, then all installed fan assemblies are operational.') rbnSMS1000PowerFail = MibScalar((1, 3, 6, 1, 4, 1, 2352, 2, 3, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rbnSMS1000PowerFail.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000PowerFail.setDescription('The status of the SMS 1000 power modules. If this object has the value true, then one or both of the SMS 1000 power modules has failed. If this object has the value false, then all installed power modules are operational.') rbnSMS1000FanFailChange = NotificationType((1, 3, 6, 1, 4, 1, 2352, 2, 3, 0, 1)).setObjects(("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000FanFail")) if mibBuilder.loadTexts: rbnSMS1000FanFailChange.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000FanFailChange.setDescription('A rbnSMS1000FanFailChange notification signifies that the value of rbnSMS1000FanFail has changed.') rbnSMS1000PowerFailChange = NotificationType((1, 3, 6, 1, 4, 1, 2352, 2, 3, 0, 2)).setObjects(("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000PowerFail")) if mibBuilder.loadTexts: rbnSMS1000PowerFailChange.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000PowerFailChange.setDescription('A rbnSMS1000PowerFailChange notification signifies that the value of rbnSMS1000PowerFail has changed') rbnSMS1000EnvMonMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 1)) rbnSMS1000EnvMonMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 2)) rbnSMS1000EnvMonMIBObjectGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 1, 1)).setObjects(("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000FanFail"), ("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000PowerFail")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnSMS1000EnvMonMIBObjectGroup = rbnSMS1000EnvMonMIBObjectGroup.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIBObjectGroup.setDescription('A collection of objects providing SMS 1000 environmental monitor information.') rbnSMS1000EnvMonMIBNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 1, 2)).setObjects(("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000FanFailChange"), ("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000PowerFailChange")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnSMS1000EnvMonMIBNotificationGroup = rbnSMS1000EnvMonMIBNotificationGroup.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIBNotificationGroup.setDescription('A collection of notifications providing SMS 1000 environmental monitor information.') rbnSMS1000EnvMonMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 2, 1)).setObjects(("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000EnvMonMIBObjectGroup"), ("RBN-SMS1000-ENVMON-MIB", "rbnSMS1000EnvMonMIBNotificationGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnSMS1000EnvMonMIBCompliance = rbnSMS1000EnvMonMIBCompliance.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIBCompliance.setDescription('The compliance statement for the SMS 1000 EnvMon MIB') mibBuilder.exportSymbols("RBN-SMS1000-ENVMON-MIB", rbnSMS1000EnvMonMIBObjectGroup=rbnSMS1000EnvMonMIBObjectGroup, rbnSMS1000EnvMonMIBConformance=rbnSMS1000EnvMonMIBConformance, rbnSMS1000PowerFailChange=rbnSMS1000PowerFailChange, rbnSMS1000FanFail=rbnSMS1000FanFail, PYSNMP_MODULE_ID=rbnSMS1000EnvMonMIB, rbnSMS1000PowerFail=rbnSMS1000PowerFail, rbnSMS1000EnvMonMIBObjects=rbnSMS1000EnvMonMIBObjects, rbnSMS1000EnvMonMIBNotifications=rbnSMS1000EnvMonMIBNotifications, rbnSMS1000EnvMonMIBNotificationGroup=rbnSMS1000EnvMonMIBNotificationGroup, rbnSMS1000EnvMonMIBCompliance=rbnSMS1000EnvMonMIBCompliance, rbnSMS1000EnvMonMIB=rbnSMS1000EnvMonMIB, rbnSMS1000FanFailChange=rbnSMS1000FanFailChange, rbnSMS1000EnvMonMIBGroups=rbnSMS1000EnvMonMIBGroups, rbnSMS1000EnvMonMIBCompliances=rbnSMS1000EnvMonMIBCompliances)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, value_size_constraint, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint') (rbn_mgmt,) = mibBuilder.importSymbols('RBN-SMI', 'rbnMgmt') (module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup') (iso, bits, time_ticks, notification_type, counter32, ip_address, unsigned32, counter64, object_identity, gauge32, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Bits', 'TimeTicks', 'NotificationType', 'Counter32', 'IpAddress', 'Unsigned32', 'Counter64', 'ObjectIdentity', 'Gauge32', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'MibIdentifier') (textual_convention, truth_value, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'TruthValue', 'DisplayString') rbn_sms1000_env_mon_mib = module_identity((1, 3, 6, 1, 4, 1, 2352, 2, 3)) if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setLastUpdated('9810062300Z') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setOrganization('RedBack Networks, Inc.') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setContactInfo(' RedBack Networks, Inc. Postal: 1389 Moffett Park Drive Sunnyvale, CA 94089-1134 USA Phone: +1 408 548 3500 Fax: +1 408 548 3599 E-mail: mib-info@RedBackNetworks.com') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIB.setDescription('The MIB used to manage the SMS1000 Environmental Monitor functionality.') rbn_sms1000_env_mon_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 0)) rbn_sms1000_env_mon_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 1)) rbn_sms1000_env_mon_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2)) rbn_sms1000_fan_fail = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 2, 3, 1, 1), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: rbnSMS1000FanFail.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000FanFail.setDescription('The status of the SMS 1000 fan assemblies. If this object has the value true, then one or both of the SMS 1000 fan assemblies has failed. If this object has the value false, then all installed fan assemblies are operational.') rbn_sms1000_power_fail = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 2, 3, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: rbnSMS1000PowerFail.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000PowerFail.setDescription('The status of the SMS 1000 power modules. If this object has the value true, then one or both of the SMS 1000 power modules has failed. If this object has the value false, then all installed power modules are operational.') rbn_sms1000_fan_fail_change = notification_type((1, 3, 6, 1, 4, 1, 2352, 2, 3, 0, 1)).setObjects(('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000FanFail')) if mibBuilder.loadTexts: rbnSMS1000FanFailChange.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000FanFailChange.setDescription('A rbnSMS1000FanFailChange notification signifies that the value of rbnSMS1000FanFail has changed.') rbn_sms1000_power_fail_change = notification_type((1, 3, 6, 1, 4, 1, 2352, 2, 3, 0, 2)).setObjects(('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000PowerFail')) if mibBuilder.loadTexts: rbnSMS1000PowerFailChange.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000PowerFailChange.setDescription('A rbnSMS1000PowerFailChange notification signifies that the value of rbnSMS1000PowerFail has changed') rbn_sms1000_env_mon_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 1)) rbn_sms1000_env_mon_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 2)) rbn_sms1000_env_mon_mib_object_group = object_group((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 1, 1)).setObjects(('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000FanFail'), ('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000PowerFail')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_sms1000_env_mon_mib_object_group = rbnSMS1000EnvMonMIBObjectGroup.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIBObjectGroup.setDescription('A collection of objects providing SMS 1000 environmental monitor information.') rbn_sms1000_env_mon_mib_notification_group = notification_group((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 1, 2)).setObjects(('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000FanFailChange'), ('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000PowerFailChange')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_sms1000_env_mon_mib_notification_group = rbnSMS1000EnvMonMIBNotificationGroup.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIBNotificationGroup.setDescription('A collection of notifications providing SMS 1000 environmental monitor information.') rbn_sms1000_env_mon_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2352, 2, 3, 2, 2, 1)).setObjects(('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000EnvMonMIBObjectGroup'), ('RBN-SMS1000-ENVMON-MIB', 'rbnSMS1000EnvMonMIBNotificationGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_sms1000_env_mon_mib_compliance = rbnSMS1000EnvMonMIBCompliance.setStatus('current') if mibBuilder.loadTexts: rbnSMS1000EnvMonMIBCompliance.setDescription('The compliance statement for the SMS 1000 EnvMon MIB') mibBuilder.exportSymbols('RBN-SMS1000-ENVMON-MIB', rbnSMS1000EnvMonMIBObjectGroup=rbnSMS1000EnvMonMIBObjectGroup, rbnSMS1000EnvMonMIBConformance=rbnSMS1000EnvMonMIBConformance, rbnSMS1000PowerFailChange=rbnSMS1000PowerFailChange, rbnSMS1000FanFail=rbnSMS1000FanFail, PYSNMP_MODULE_ID=rbnSMS1000EnvMonMIB, rbnSMS1000PowerFail=rbnSMS1000PowerFail, rbnSMS1000EnvMonMIBObjects=rbnSMS1000EnvMonMIBObjects, rbnSMS1000EnvMonMIBNotifications=rbnSMS1000EnvMonMIBNotifications, rbnSMS1000EnvMonMIBNotificationGroup=rbnSMS1000EnvMonMIBNotificationGroup, rbnSMS1000EnvMonMIBCompliance=rbnSMS1000EnvMonMIBCompliance, rbnSMS1000EnvMonMIB=rbnSMS1000EnvMonMIB, rbnSMS1000FanFailChange=rbnSMS1000FanFailChange, rbnSMS1000EnvMonMIBGroups=rbnSMS1000EnvMonMIBGroups, rbnSMS1000EnvMonMIBCompliances=rbnSMS1000EnvMonMIBCompliances)
''' Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example 2: Input: 1->2->2->1 Output: true ''' # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def isPalindrome(self, head: ListNode) -> bool: ''' Find the middle of the linked list and reverse the half of the linked list. - Two pointers ''' if not head or not head.next: return True else: slow = head quick = head rev_head = None while quick and quick.next: # move forward pointers and reverse the linked list temp = slow slow = slow.next quick = quick.next.next temp.next = rev_head rev_head = temp if not quick: # the length of the linked list is even quick = slow else: quick = slow.next while quick and rev_head: if quick.val != rev_head.val: return False quick = quick.next rev_head = rev_head.next return True
""" Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example 2: Input: 1->2->2->1 Output: true """ class Solution: def is_palindrome(self, head: ListNode) -> bool: """ Find the middle of the linked list and reverse the half of the linked list. - Two pointers """ if not head or not head.next: return True else: slow = head quick = head rev_head = None while quick and quick.next: temp = slow slow = slow.next quick = quick.next.next temp.next = rev_head rev_head = temp if not quick: quick = slow else: quick = slow.next while quick and rev_head: if quick.val != rev_head.val: return False quick = quick.next rev_head = rev_head.next return True
with open("sample.txt", 'a') as jabber: for i in range(1,13): for j in range(1,13): print(f"{j:>2} times {i:2} is {i*j:<}", file=jabber) print("-"*20, file=jabber)
with open('sample.txt', 'a') as jabber: for i in range(1, 13): for j in range(1, 13): print(f'{j:>2} times {i:2} is {i * j:<}', file=jabber) print('-' * 20, file=jabber)
class SocketManager(object): def __init__(self): self.ws = set() def add_socket(self, ws): self.ws.add(ws) def remove_sockets(self, disconnected_ws): if not isinstance(disconnected_ws, set): disconnected_ws = {disconnected_ws, } self.ws -= disconnected_ws
class Socketmanager(object): def __init__(self): self.ws = set() def add_socket(self, ws): self.ws.add(ws) def remove_sockets(self, disconnected_ws): if not isinstance(disconnected_ws, set): disconnected_ws = {disconnected_ws} self.ws -= disconnected_ws
# This class handles exceptions. All exceptions raised will be passed through the API to the client class DebugException(Exception): exception_dict = { 101: "Don't be naughty, type something with meaning >.<", # "Invalid input, please check your sentence", 301: "Keyword not found in Database", 302: "Invalid Synonym Level. Level must be integer between 1 and 3", 303: "No Synonym Link found", 304: "Invalid base word", 305: "Relationship already exists", 306: "Relationship count is not 2", 307: "Relationship not deleted", 308: "Relationships don't exist", 309: "Invalid synonym", 310: "Synonym is the same as base word...", 311: "Keyword already exists", # 500 series: Verse database 501: "Cannot find verse, please check spelling and capitalization", 502: "Verse in this location already exists", 503: "Why are you editing a non-existent record??", 504: "Keyword levels can only be 1, 2 or 3", 505: "Invalid Verse Location, Check Again", 506: "Invalid Bible Version, Check Again", 507: "Cannot Parse Bible Location, Check Again" } def __init__(self, code, message=""): self.code = code self.title = self.exception_dict[self.code] self.message = message def __str__(self): if self.message is "": return "Exception " + str(self.code) + " " + self.title else: return "Exception " + str(self.code) + " " + self.title + ": " + self.message
class Debugexception(Exception): exception_dict = {101: "Don't be naughty, type something with meaning >.<", 301: 'Keyword not found in Database', 302: 'Invalid Synonym Level. Level must be integer between 1 and 3', 303: 'No Synonym Link found', 304: 'Invalid base word', 305: 'Relationship already exists', 306: 'Relationship count is not 2', 307: 'Relationship not deleted', 308: "Relationships don't exist", 309: 'Invalid synonym', 310: 'Synonym is the same as base word...', 311: 'Keyword already exists', 501: 'Cannot find verse, please check spelling and capitalization', 502: 'Verse in this location already exists', 503: 'Why are you editing a non-existent record??', 504: 'Keyword levels can only be 1, 2 or 3', 505: 'Invalid Verse Location, Check Again', 506: 'Invalid Bible Version, Check Again', 507: 'Cannot Parse Bible Location, Check Again'} def __init__(self, code, message=''): self.code = code self.title = self.exception_dict[self.code] self.message = message def __str__(self): if self.message is '': return 'Exception ' + str(self.code) + ' ' + self.title else: return 'Exception ' + str(self.code) + ' ' + self.title + ': ' + self.message
class MockFeeEstOne(): @property def status_code(self): return 200 def json(self): return {"fastestFee": 200, "halfHourFee": 200, "hourFee": 100} class TestDataOne(): @property def path(self): return 'tests/test_files' @property def pub_key_file_name(self): return f"{self.path}/pubKey{self.vkhandle}.pem" @property def vkhandle(self): return '7340043' @property def skhandle(self): return '7340044' @property def address(self): return '1DSRQWjbNXLN8ZZZ6gqcGx1WNZeKHEJXDv' @property def confirmed_balance(self): return 5763656 @property def all(self): return True @property def fee(self): return 104600 @property def recipient(self): return '1BHznNt5x9rqMQ1dpWy4fw5y5PSJV3ZR3L' @property def value(self): return None @property def change_address(self): return None @property def tx_inputs(self): return [ { 'output_no': 0, 'outpoint_index': b'\x00\x00\x00\x00', 'outpoint_hash': bytearray( b"Y:N~v%0\xbc\xcf\xbc\xd9@\xc2K\xc3\x92\xc6\xfb\xe7#\xcf\x8e\xf4\xe8\xa9t\xf5m\x1fE\'\x9d" ) }, { 'output_no': 0, 'outpoint_index': b'\x00\x00\x00\x00', 'outpoint_hash': bytearray( b'qg/\xe5\x86\xbcvS\xc7t\\D\r\xc4\x1dG8\xe9\xab3\xa4|N.x(\xa7v\xaf\x8d\xcfx' ) }, { 'output_no': 0, 'outpoint_index': b'\x00\x00\x00\x00', 'outpoint_hash': bytearray( b'"\x9a\xd5\x904\\^\xac^\xc1\xe6c>\x93mU\xfc\xf8\xab\x17\xf4G[\xae\xd9\x13\xb9\xc6\xe7\x05\x7f_' ) } ] @property def mock_fees(self): return { 'estimates': { 'Fastest': 97600, 'Half hour': 97600, 'One hour': 48800 }, 'n_inputs': 3, 'n_outputs': 1 } @property def tosign_tx_hex(self): return [ '0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d000000001976a914887047f28478e316732db0bccd086482c8617e4a88acffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf780000000000ffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f0000000000ffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac0000000001000000', '0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d0000000000ffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf78000000001976a914887047f28478e316732db0bccd086482c8617e4a88acffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f0000000000ffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac0000000001000000', '0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d0000000000ffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf780000000000ffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f000000001976a914887047f28478e316732db0bccd086482c8617e4a88acffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac0000000001000000' ] @property def tosign_tx_hashed_hex(self): return [ 'af69b4567cbcd15f2c719a62311ef8fe47711e21c038dad27f3fc631baf21f3c', '600da7c38b14b9bfc44a6deba21621555b1aadba9066a1e76fe4a7e48082748f', 'f5aa21d884e6e5b4eac08803640b6546145b2f2bf34a04945ea7685615454f27' ] @property def tx_hex(self): return '0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d000000008a473044022038096755f89ba2cb28f4b4a7db056bbbe77972560d65da3a55e2ef702fd837f90220196ed119a36cb134000f90ff6048a7b1a838ee65c2369207145305155c3953fa0141046e9cd8479193a02d025d236545e72edf10237e54a64a887df866f8d5b86a0fd55449ad821df8e2568116e52cdee3a6b11d7ae7d5e1920244e2426704c5f58005ffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf78000000008a473044022022bc4f1e0075c943af3065072ee45231846fc3a7e2c9192766ded3a963e207880220415b88dcae7cf63eeb504c6c96ebb3b8049f00cc41dee7ed0309d29c06549e4b0141046e9cd8479193a02d025d236545e72edf10237e54a64a887df866f8d5b86a0fd55449ad821df8e2568116e52cdee3a6b11d7ae7d5e1920244e2426704c5f58005ffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f000000008b483045022100f659e8a85019ae4562665a2377caae4535b7674a2478567adcc44133c96cd4bc022045e7076b0e212159323b68cc4a29805e0d12f349d23e8ca8f6fac79a1d9afcc60141046e9cd8479193a02d025d236545e72edf10237e54a64a887df866f8d5b86a0fd55449ad821df8e2568116e52cdee3a6b11d7ae7d5e1920244e2426704c5f58005ffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac00000000' @property def signature_files(self): signature_file_names = ['signedTx7340043_1.der', 'signedTx7340043_2.der', 'signedTx7340043_3.der'] signature_files = [] for signature_file_name in signature_file_names: file = open(f'{self.path}/{signature_file_name}', 'rb') signature_files.append(file) return signature_files @property def aws(self): return True @property def output_path(self): return 'test_output' @property def pem(self): return '-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbpzYR5GToC0CXSNlRecu3xAjflSmSoh9\n+Gb41bhqD9VUSa2CHfjiVoEW5Sze46axHXrn1eGSAkTiQmcExfWABQ==\n-----END PUBLIC KEY-----\n' @property def addr_json_file(self): return { 'file_name': f'addr{self.vkhandle}', 'vkhandle': self.vkhandle, 'skhandle': self.skhandle, 'pem': self.pem } @property def addr_csv_file(self): return [self.vkhandle, self.skhandle, self.address, str(self.confirmed_balance)] @property def addr_json_file_name(self): return f"{self.path}/addr{self.vkhandle}.json" @property def bitcoinfees_mock_api(self): n_inputs = len(self.tx_inputs) n_outputs = 1 if self.all else 2 bytes = 10 + (n_inputs * 148) + (n_outputs * 34) resp = {"fastestFee": 100, "halfHourFee": 75, "hourFee": 50} estimate = {'Fastest': resp['fastestFee'] * bytes, 'Half hour': resp['halfHourFee'] * bytes, 'One hour': resp['hourFee'] * bytes} return estimate @property def signature_file_names(self): i = 0 sig_file_names = [] while i < len(self.tx_inputs): sig_file_names.append(f'{self.path}/signedTx{self.vkhandle}_{i+1}.der') i += 1 return sig_file_names @property def tx_json_file_name(self): return f'{self.path}/tx{self.vkhandle}.json' @property def tx_json_file(self): return { 'file_name': f'tx{self.vkhandle}', 'all': self.all, 'fee': self.fee, 'recipient': self.recipient, 'partial': False if self.all else True, 'vkhandle': self.vkhandle, 'skhandle': self.skhandle, 'pem': self.pem, 'address': self.address, 'confrimed_balance': self.confirmed_balance, 'n_tx_inputs': len(self.tx_inputs) }
class Mockfeeestone: @property def status_code(self): return 200 def json(self): return {'fastestFee': 200, 'halfHourFee': 200, 'hourFee': 100} class Testdataone: @property def path(self): return 'tests/test_files' @property def pub_key_file_name(self): return f'{self.path}/pubKey{self.vkhandle}.pem' @property def vkhandle(self): return '7340043' @property def skhandle(self): return '7340044' @property def address(self): return '1DSRQWjbNXLN8ZZZ6gqcGx1WNZeKHEJXDv' @property def confirmed_balance(self): return 5763656 @property def all(self): return True @property def fee(self): return 104600 @property def recipient(self): return '1BHznNt5x9rqMQ1dpWy4fw5y5PSJV3ZR3L' @property def value(self): return None @property def change_address(self): return None @property def tx_inputs(self): return [{'output_no': 0, 'outpoint_index': b'\x00\x00\x00\x00', 'outpoint_hash': bytearray(b"Y:N~v%0\xbc\xcf\xbc\xd9@\xc2K\xc3\x92\xc6\xfb\xe7#\xcf\x8e\xf4\xe8\xa9t\xf5m\x1fE'\x9d")}, {'output_no': 0, 'outpoint_index': b'\x00\x00\x00\x00', 'outpoint_hash': bytearray(b'qg/\xe5\x86\xbcvS\xc7t\\D\r\xc4\x1dG8\xe9\xab3\xa4|N.x(\xa7v\xaf\x8d\xcfx')}, {'output_no': 0, 'outpoint_index': b'\x00\x00\x00\x00', 'outpoint_hash': bytearray(b'"\x9a\xd5\x904\\^\xac^\xc1\xe6c>\x93mU\xfc\xf8\xab\x17\xf4G[\xae\xd9\x13\xb9\xc6\xe7\x05\x7f_')}] @property def mock_fees(self): return {'estimates': {'Fastest': 97600, 'Half hour': 97600, 'One hour': 48800}, 'n_inputs': 3, 'n_outputs': 1} @property def tosign_tx_hex(self): return ['0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d000000001976a914887047f28478e316732db0bccd086482c8617e4a88acffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf780000000000ffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f0000000000ffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac0000000001000000', '0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d0000000000ffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf78000000001976a914887047f28478e316732db0bccd086482c8617e4a88acffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f0000000000ffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac0000000001000000', '0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d0000000000ffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf780000000000ffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f000000001976a914887047f28478e316732db0bccd086482c8617e4a88acffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac0000000001000000'] @property def tosign_tx_hashed_hex(self): return ['af69b4567cbcd15f2c719a62311ef8fe47711e21c038dad27f3fc631baf21f3c', '600da7c38b14b9bfc44a6deba21621555b1aadba9066a1e76fe4a7e48082748f', 'f5aa21d884e6e5b4eac08803640b6546145b2f2bf34a04945ea7685615454f27'] @property def tx_hex(self): return '0100000003593a4e7e762530bccfbcd940c24bc392c6fbe723cf8ef4e8a974f56d1f45279d000000008a473044022038096755f89ba2cb28f4b4a7db056bbbe77972560d65da3a55e2ef702fd837f90220196ed119a36cb134000f90ff6048a7b1a838ee65c2369207145305155c3953fa0141046e9cd8479193a02d025d236545e72edf10237e54a64a887df866f8d5b86a0fd55449ad821df8e2568116e52cdee3a6b11d7ae7d5e1920244e2426704c5f58005ffffffff71672fe586bc7653c7745c440dc41d4738e9ab33a47c4e2e7828a776af8dcf78000000008a473044022022bc4f1e0075c943af3065072ee45231846fc3a7e2c9192766ded3a963e207880220415b88dcae7cf63eeb504c6c96ebb3b8049f00cc41dee7ed0309d29c06549e4b0141046e9cd8479193a02d025d236545e72edf10237e54a64a887df866f8d5b86a0fd55449ad821df8e2568116e52cdee3a6b11d7ae7d5e1920244e2426704c5f58005ffffffff229ad590345c5eac5ec1e6633e936d55fcf8ab17f4475baed913b9c6e7057f5f000000008b483045022100f659e8a85019ae4562665a2377caae4535b7674a2478567adcc44133c96cd4bc022045e7076b0e212159323b68cc4a29805e0d12f349d23e8ca8f6fac79a1d9afcc60141046e9cd8479193a02d025d236545e72edf10237e54a64a887df866f8d5b86a0fd55449ad821df8e2568116e52cdee3a6b11d7ae7d5e1920244e2426704c5f58005ffffffff01b0595600000000001976a91470e825c3aa5396f6cfe794bcc6ad61ab9dfa6a4088ac00000000' @property def signature_files(self): signature_file_names = ['signedTx7340043_1.der', 'signedTx7340043_2.der', 'signedTx7340043_3.der'] signature_files = [] for signature_file_name in signature_file_names: file = open(f'{self.path}/{signature_file_name}', 'rb') signature_files.append(file) return signature_files @property def aws(self): return True @property def output_path(self): return 'test_output' @property def pem(self): return '-----BEGIN PUBLIC KEY-----\nMFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEbpzYR5GToC0CXSNlRecu3xAjflSmSoh9\n+Gb41bhqD9VUSa2CHfjiVoEW5Sze46axHXrn1eGSAkTiQmcExfWABQ==\n-----END PUBLIC KEY-----\n' @property def addr_json_file(self): return {'file_name': f'addr{self.vkhandle}', 'vkhandle': self.vkhandle, 'skhandle': self.skhandle, 'pem': self.pem} @property def addr_csv_file(self): return [self.vkhandle, self.skhandle, self.address, str(self.confirmed_balance)] @property def addr_json_file_name(self): return f'{self.path}/addr{self.vkhandle}.json' @property def bitcoinfees_mock_api(self): n_inputs = len(self.tx_inputs) n_outputs = 1 if self.all else 2 bytes = 10 + n_inputs * 148 + n_outputs * 34 resp = {'fastestFee': 100, 'halfHourFee': 75, 'hourFee': 50} estimate = {'Fastest': resp['fastestFee'] * bytes, 'Half hour': resp['halfHourFee'] * bytes, 'One hour': resp['hourFee'] * bytes} return estimate @property def signature_file_names(self): i = 0 sig_file_names = [] while i < len(self.tx_inputs): sig_file_names.append(f'{self.path}/signedTx{self.vkhandle}_{i + 1}.der') i += 1 return sig_file_names @property def tx_json_file_name(self): return f'{self.path}/tx{self.vkhandle}.json' @property def tx_json_file(self): return {'file_name': f'tx{self.vkhandle}', 'all': self.all, 'fee': self.fee, 'recipient': self.recipient, 'partial': False if self.all else True, 'vkhandle': self.vkhandle, 'skhandle': self.skhandle, 'pem': self.pem, 'address': self.address, 'confrimed_balance': self.confirmed_balance, 'n_tx_inputs': len(self.tx_inputs)}
# <auto-generated> # This code was generated by the UnitCodeGenerator tool # # Changes to this file will be lost if the code is regenerated # </auto-generated> def to_milligrams(value): return value * 28349.5231 def to_grams(value): return value * 28.3495231 def to_kilograms(value): return value / 35.274 def to_tonnes(value): return value * 0.0000283495231 def to_pounds(value): return value * 0.0625 def to_stones(value): return value / 224.0 def to_carats(value): return value / 0.00705479
def to_milligrams(value): return value * 28349.5231 def to_grams(value): return value * 28.3495231 def to_kilograms(value): return value / 35.274 def to_tonnes(value): return value * 2.83495231e-05 def to_pounds(value): return value * 0.0625 def to_stones(value): return value / 224.0 def to_carats(value): return value / 0.00705479
S1 = "Hello World" print("Length of the String is", len(S1)) # To find the length of a String List1 = ["Emon", "Bakkar", "Ehassan", "Anik", "Ahad", "Sibbir"] print("After join the list:", ", ".join(List1)) # To join the String S2 = "Hey this is Emon" List2 = S2.split() print("After Split the String:{}".format(List2)) # To Split a String S3 = "Welcome to Python Programming" print("After replace o to e: {}".format(S3.replace("o", "e"))) # To replace any character from a string S4 = "welcome To RPI" print("After Capitalize the String:", S4.capitalize()) # To capitalize first letter of a String S5 = "welcome to rpi" print("After Upper Case:", S5.upper()) # To upper case the String S6 = "WELCOME to RPi" print("After lower case:", S6.lower()) # TO lower case the String print("After swapcase the string:", S4.swapcase()) # To swap the string case if S4.casefold() == S4.casefold(): print("String are same") else: print("String are different") # To compare two string print("Letter O in the string:", S3.count("o"), "Letter E in the string:", S3.count("e")) # To count the letter
s1 = 'Hello World' print('Length of the String is', len(S1)) list1 = ['Emon', 'Bakkar', 'Ehassan', 'Anik', 'Ahad', 'Sibbir'] print('After join the list:', ', '.join(List1)) s2 = 'Hey this is Emon' list2 = S2.split() print('After Split the String:{}'.format(List2)) s3 = 'Welcome to Python Programming' print('After replace o to e: {}'.format(S3.replace('o', 'e'))) s4 = 'welcome To RPI' print('After Capitalize the String:', S4.capitalize()) s5 = 'welcome to rpi' print('After Upper Case:', S5.upper()) s6 = 'WELCOME to RPi' print('After lower case:', S6.lower()) print('After swapcase the string:', S4.swapcase()) if S4.casefold() == S4.casefold(): print('String are same') else: print('String are different') print('Letter O in the string:', S3.count('o'), 'Letter E in the string:', S3.count('e'))
list = ['iam vengeance'] list1 = [] for k in list: list1.append(k.title()) print(list1)
list = ['iam vengeance'] list1 = [] for k in list: list1.append(k.title()) print(list1)
def func_kwargs(**kwargs): print('kwargs: ', kwargs) print('type: ', type(kwargs)) func_kwargs(key1=1, key2=2, key3=3) # kwargs: {'key1': 1, 'key2': 2, 'key3': 3} # type: <class 'dict'> def func_kwargs_positional(arg1, arg2, **kwargs): print('arg1: ', arg1) print('arg2: ', arg2) print('kwargs: ', kwargs) func_kwargs_positional(0, 1, key1=1) # arg1: 0 # arg2: 1 # kwargs: {'key1': 1} d = {'key1': 1, 'key2': 2, 'arg1': 100, 'arg2': 200} func_kwargs_positional(**d) # arg1: 100 # arg2: 200 # kwargs: {'key1': 1, 'key2': 2} # def func_kwargs_error(**kwargs, arg): # print(kwargs) # SyntaxError: invalid syntax
def func_kwargs(**kwargs): print('kwargs: ', kwargs) print('type: ', type(kwargs)) func_kwargs(key1=1, key2=2, key3=3) def func_kwargs_positional(arg1, arg2, **kwargs): print('arg1: ', arg1) print('arg2: ', arg2) print('kwargs: ', kwargs) func_kwargs_positional(0, 1, key1=1) d = {'key1': 1, 'key2': 2, 'arg1': 100, 'arg2': 200} func_kwargs_positional(**d)
class DestinyPyError(Exception): ... class APIError(DestinyPyError): ... class InvalidJSONResponse(APIError): ... class APIResponseError(APIError): def __init__(self, errorCode: int) -> None: super().__init__(f'API returned an error code {errorCode}') self.errorCode = errorCode class AuthenticationError(DestinyPyError): ... class ManifestError(DestinyPyError): ... class InvalidLocaleError(ManifestError): def __init__(self, locale: str) -> None: super().__init__(f'{locale} is an invalid locale') self.locale = locale
class Destinypyerror(Exception): ... class Apierror(DestinyPyError): ... class Invalidjsonresponse(APIError): ... class Apiresponseerror(APIError): def __init__(self, errorCode: int) -> None: super().__init__(f'API returned an error code {errorCode}') self.errorCode = errorCode class Authenticationerror(DestinyPyError): ... class Manifesterror(DestinyPyError): ... class Invalidlocaleerror(ManifestError): def __init__(self, locale: str) -> None: super().__init__(f'{locale} is an invalid locale') self.locale = locale
# -*- coding: utf-8 -*- def fibonacci(ene): a = 0 b = 1 contador = 1 fibo = 0 while contador < ene: fibo = b + a a = b b = fibo contador += 1 return fibo print('fibonacci(5) = ' + str(fibonacci(5))) print('fibonacci(10) = ' + str(fibonacci(10))) print('fibonacci(20) = ' + str(fibonacci(20))) print('fibonacci(30) = ' + str(fibonacci(30))) print('fibonacci(123456789) = ' + str(fibonacci(123456789)))
def fibonacci(ene): a = 0 b = 1 contador = 1 fibo = 0 while contador < ene: fibo = b + a a = b b = fibo contador += 1 return fibo print('fibonacci(5) = ' + str(fibonacci(5))) print('fibonacci(10) = ' + str(fibonacci(10))) print('fibonacci(20) = ' + str(fibonacci(20))) print('fibonacci(30) = ' + str(fibonacci(30))) print('fibonacci(123456789) = ' + str(fibonacci(123456789)))
# model settings _base_ = "swin_tiny_my_MM_supervised.py" model = dict(type="Recognizer3DJoint", backbone=dict(generative=True, discriminative=True), cls_head=dict(type='JointHead'))
_base_ = 'swin_tiny_my_MM_supervised.py' model = dict(type='Recognizer3DJoint', backbone=dict(generative=True, discriminative=True), cls_head=dict(type='JointHead'))
''' Given three arrays sorted in increasing order. Find the elements that are common in all three arrays. Input: A = {1, 5, 10, 20, 40, 80} B = {6, 7, 20, 80, 100} C = {3, 4, 15, 20, 30, 70, 80, 120} Output: [20, 80] Explanation: 20 and 80 are the only common elements in A, B and C. ''' def common_elements(arr1,arr2,arr3): #Take the lists in set setofarr1 = set(arr1) setofarr2 = set(arr2) setofarr3 = set(arr3) #using the intersection method we can find out common elements between arr1 and arr2 t = setofarr1.intersection(setofarr2) #using the intersection method we can find out common elements between arr1 and arr2 and arr3 Total = list(t.intersection(setofarr3)) #sort the Total array Total.sort() #print out the result return Total if __name__ == "__main__": arr1 = list(map(int,input("Enter the list 1: ").split())) arr2 = list(map(int,input("Enter the list 2: ").split())) arr3 = list(map(int,input("Enter the list 3: ").split())) print("Common elements from all the three lists are ",common_elements(arr1, arr2, arr3)) ''' Time Complexity: O(n1 + n2 + n3) Space Complexity : O(n1 + n2 + n3) INPUT: Enter the list 1: 1 5 10 20 40 80 Enter the list 2: 6 7 20 80 100 Enter the list 3: 3 4 15 20 30 70 80 120 OUTPUT: Common elements from all the three lists are [20, 80] '''
""" Given three arrays sorted in increasing order. Find the elements that are common in all three arrays. Input: A = {1, 5, 10, 20, 40, 80} B = {6, 7, 20, 80, 100} C = {3, 4, 15, 20, 30, 70, 80, 120} Output: [20, 80] Explanation: 20 and 80 are the only common elements in A, B and C. """ def common_elements(arr1, arr2, arr3): setofarr1 = set(arr1) setofarr2 = set(arr2) setofarr3 = set(arr3) t = setofarr1.intersection(setofarr2) total = list(t.intersection(setofarr3)) Total.sort() return Total if __name__ == '__main__': arr1 = list(map(int, input('Enter the list 1: ').split())) arr2 = list(map(int, input('Enter the list 2: ').split())) arr3 = list(map(int, input('Enter the list 3: ').split())) print('Common elements from all the three lists are ', common_elements(arr1, arr2, arr3)) '\nTime Complexity: O(n1 + n2 + n3)\nSpace Complexity : O(n1 + n2 + n3)\n\nINPUT: \nEnter the list 1: 1 5 10 20 40 80\nEnter the list 2: 6 7 20 80 100\nEnter the list 3: 3 4 15 20 30 70 80 120 \n\nOUTPUT:\nCommon elements from all the three lists are [20, 80]\n\n'