content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
class GLLv3:
i2c = None
__GLL_ACQ_COMMAND = 0x00
__GLL_STATUS = 0x01
__GLL_SIG_COUNT_VAL = 0x02
__GLL_ACQ_CONFIG_REG = 0x04
__GLL_VELOCITY = 0x09
__GLL_PEAK_CORR = 0x0C
__GLL_NOISE_PEAK = 0x0D
__GLL_SIGNAL_STRENGTH = 0x0E
__GLL_FULL_DELAY_HIGH = 0x0F
__GLL_FULL_DELAY_LOW = 0x10
__GLL_OUTER_LOOP_COUNT = 0x11
__GLL_REF_COUNT_VAL = 0x12
__GLL_LAST_DELAY_HIGH = 0x14
__GLL_LAST_DELAY_LOW = 0x15
__GLL_UNIT_ID_HIGH = 0x16
__GLL_UNIT_ID_LOW = 0x17
__GLL_I2C_ID_HIGHT = 0x18
__GLL_I2C_ID_LOW = 0x19
__GLL_I2C_SEC_ADDR = 0x1A
__GLL_THRESHOLD_BYPASS = 0x1C
__GLL_I2C_CONFIG = 0x1E
__GLL_COMMAND = 0x40
__GLL_MEASURE_DELAY = 0x45
__GLL_PEAK_BCK = 0x4C
__GLL_CORR_DATA = 0x52
__GLL_CORR_DATA_SIGN = 0x53
__GLL_ACQ_SETTINGS = 0x5D
__GLL_POWER_CONTROL = 0x65
def __init__(self, address=0x62, rate=10):
self.i2c = I2C(address)
self.rate = rate
#-------------------------------------------------------------------------------------------
# Set to continuous sampling after initial read.
#-------------------------------------------------------------------------------------------
self.i2c.write8(self.__GLL_OUTER_LOOP_COUNT, 0xFF)
#-------------------------------------------------------------------------------------------
# Set the sampling frequency as 2000 / Hz:
# 10Hz = 0xc8
# 20Hz = 0x64
# 100Hz = 0x14
#-------------------------------------------------------------------------------------------
self.i2c.write8(self.__GLL_MEASURE_DELAY, int(2000 / rate))
#-------------------------------------------------------------------------------------------
# Include receiver bias correction 0x04
#AB: 0x04 | 0x01 should cause (falling edge?) GPIO_GLL_DR_INTERRUPT. Test GPIO handle this?
#-------------------------------------------------------------------------------------------
self.i2c.write8(self.__GLL_ACQ_COMMAND, 0x04 | 0x01)
#-------------------------------------------------------------------------------------------
# Acquisition config register:
# 0x01 Data ready interrupt
# 0x20 Take sampling rate from MEASURE_DELAY
#-------------------------------------------------------------------------------------------
self.i2c.write8(self.__GLL_ACQ_CONFIG_REG, 0x21)
def read(self):
#-------------------------------------------------------------------------------------------
# Distance is in cm hence the 100s to convert to meters.
# Velocity is in cm between consecutive reads; sampling rate converts these to a velocity.
# Reading the list from 0x8F seems to get the previous reading, probably cached for the sake
# of calculating the velocity next time round.
#-------------------------------------------------------------------------------------------
distance = self.i2c.readU16(self.__GLL_FULL_DELAY_HIGH)
if distance == 1:
raise ValueError("GLL out of range")
return distance / 100
print(distance/100)
| class Gllv3:
i2c = None
__gll_acq_command = 0
__gll_status = 1
__gll_sig_count_val = 2
__gll_acq_config_reg = 4
__gll_velocity = 9
__gll_peak_corr = 12
__gll_noise_peak = 13
__gll_signal_strength = 14
__gll_full_delay_high = 15
__gll_full_delay_low = 16
__gll_outer_loop_count = 17
__gll_ref_count_val = 18
__gll_last_delay_high = 20
__gll_last_delay_low = 21
__gll_unit_id_high = 22
__gll_unit_id_low = 23
__gll_i2_c_id_hight = 24
__gll_i2_c_id_low = 25
__gll_i2_c_sec_addr = 26
__gll_threshold_bypass = 28
__gll_i2_c_config = 30
__gll_command = 64
__gll_measure_delay = 69
__gll_peak_bck = 76
__gll_corr_data = 82
__gll_corr_data_sign = 83
__gll_acq_settings = 93
__gll_power_control = 101
def __init__(self, address=98, rate=10):
self.i2c = i2_c(address)
self.rate = rate
self.i2c.write8(self.__GLL_OUTER_LOOP_COUNT, 255)
self.i2c.write8(self.__GLL_MEASURE_DELAY, int(2000 / rate))
self.i2c.write8(self.__GLL_ACQ_COMMAND, 4 | 1)
self.i2c.write8(self.__GLL_ACQ_CONFIG_REG, 33)
def read(self):
distance = self.i2c.readU16(self.__GLL_FULL_DELAY_HIGH)
if distance == 1:
raise value_error('GLL out of range')
return distance / 100
print(distance / 100) |
'''
06 - Using a plotting function
Defining functions allows us to reuse the same code without having to repeat all of
it. Programmers sometimes say "Don't repeat yourself".
In the previous exercise, you defined a function called plot_timeseries:
`plot_timeseries(axes, x, y, color, xlabel, ylabel)`
that takes an Axes object (as the argument axes), time-series data (as x and y arguments)
the name of a color (as a string, provided as the color argument) and x-axis and y-axis labels
(as xlabel and ylabel arguments). In this exercise, the function plot_timeseries is already
defined and provided to you.
Use this function to plot the climate_change time-series data, provided as a Pandas DataFrame object
that has a DateTimeIndex with the dates of the measurements and co2 and relative_temp columns.
Instructions:
- In the provided ax object, use the function plot_timeseries to plot the "co2" column in blue,
with the x-axis label "Time (years)" and y-axis label "CO2 levels".
- Use the ax.twinx method to add an Axes object to the figure that shares the x-axis with ax.
- Use the function plot_timeseries to add the data in the "relative_temp" column in red to the
twin Axes object, with the x-axis label "Time (years)" and y-axis label "Relative temperature
(Celsius)".
'''
fig, ax = plt.subplots()
# Plot the CO2 levels time-series in blue
plot_timeseries(ax, climate_change.index, climate_change['co2'], "blue", 'Time (years)', 'CO2 levels')
# Create a twin Axes object that shares the x-axis
ax2 = ax.twinx()
# Plot the relative temperature data in red
plot_timeseries(ax2, climate_change.index, climate_change['relative_temp'], "red", 'Time (years)', 'Relative temperature (Celsius)')
plt.show() | """
06 - Using a plotting function
Defining functions allows us to reuse the same code without having to repeat all of
it. Programmers sometimes say "Don't repeat yourself".
In the previous exercise, you defined a function called plot_timeseries:
`plot_timeseries(axes, x, y, color, xlabel, ylabel)`
that takes an Axes object (as the argument axes), time-series data (as x and y arguments)
the name of a color (as a string, provided as the color argument) and x-axis and y-axis labels
(as xlabel and ylabel arguments). In this exercise, the function plot_timeseries is already
defined and provided to you.
Use this function to plot the climate_change time-series data, provided as a Pandas DataFrame object
that has a DateTimeIndex with the dates of the measurements and co2 and relative_temp columns.
Instructions:
- In the provided ax object, use the function plot_timeseries to plot the "co2" column in blue,
with the x-axis label "Time (years)" and y-axis label "CO2 levels".
- Use the ax.twinx method to add an Axes object to the figure that shares the x-axis with ax.
- Use the function plot_timeseries to add the data in the "relative_temp" column in red to the
twin Axes object, with the x-axis label "Time (years)" and y-axis label "Relative temperature
(Celsius)".
"""
(fig, ax) = plt.subplots()
plot_timeseries(ax, climate_change.index, climate_change['co2'], 'blue', 'Time (years)', 'CO2 levels')
ax2 = ax.twinx()
plot_timeseries(ax2, climate_change.index, climate_change['relative_temp'], 'red', 'Time (years)', 'Relative temperature (Celsius)')
plt.show() |
class Solution:
def reachNumber(self, target: int) -> int:
target = abs(target)
step, summ = 0, 0
while summ < target or (summ - target) % 2:
step += 1
summ += step
return step
| class Solution:
def reach_number(self, target: int) -> int:
target = abs(target)
(step, summ) = (0, 0)
while summ < target or (summ - target) % 2:
step += 1
summ += step
return step |
def camera_connected(messages):
for message in messages:
if u'Nikon D3000' in message:
yield u'add' == message[1:4]
| def camera_connected(messages):
for message in messages:
if u'Nikon D3000' in message:
yield (u'add' == message[1:4]) |
__package__ = 'croprows-cli'
__author__ = "Andres Herrera"
__copyright__ = "Copyright 2018, Crop Rows Generator CLI"
__credits__ = ["Andres Herrera", "Maria Patricia Uribe", "Ivan Mauricio Cabezas"]
__license__ = "GPL"
__version__ = "1.0"
__maintainer__ = "Andres Herrera"
__email__ = "fabio.herrera@correounivalle.edu.co"
__status__ = "Development"
| __package__ = 'croprows-cli'
__author__ = 'Andres Herrera'
__copyright__ = 'Copyright 2018, Crop Rows Generator CLI'
__credits__ = ['Andres Herrera', 'Maria Patricia Uribe', 'Ivan Mauricio Cabezas']
__license__ = 'GPL'
__version__ = '1.0'
__maintainer__ = 'Andres Herrera'
__email__ = 'fabio.herrera@correounivalle.edu.co'
__status__ = 'Development' |
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ASSETS_DEBUG = True
ALLOWED_HOSTS = []
# Database
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'midnight',
'USER': 'postgres',
'PASSWORD': 'password',
'HOST': '192.168.56.101'
}
}
# Email
EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
EMAIL_FILE_PATH = '/tmp/emails'
# Apps
ADDITIONAL_APPS = (
'debug_toolbar',
)
| debug = True
assets_debug = True
allowed_hosts = []
databases = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'midnight', 'USER': 'postgres', 'PASSWORD': 'password', 'HOST': '192.168.56.101'}}
email_backend = 'django.core.mail.backends.filebased.EmailBackend'
email_file_path = '/tmp/emails'
additional_apps = ('debug_toolbar',) |
# -*- coding: utf-8 -*-
class User():
def __init__(self, username = "", password = "", email = ""):
self.username = username
self.password = password
self.email = email
def __str__(self):
return f"[{self.username}] - [pwd:{self.password} eml:{self.email}]"
| class User:
def __init__(self, username='', password='', email=''):
self.username = username
self.password = password
self.email = email
def __str__(self):
return f'[{self.username}] - [pwd:{self.password} eml:{self.email}]' |
score = 76
grades = [
(60, 'F'),
(70, 'D'),
(80, 'C'),
(90, 'B'),
]
print(next((g for x, g in grades if score < x), 'A'))
| score = 76
grades = [(60, 'F'), (70, 'D'), (80, 'C'), (90, 'B')]
print(next((g for (x, g) in grades if score < x), 'A')) |
# Flask settings
SERVER_NAME = None
DEBUG = True # Do not use debug mode in production
PORT = 5000
HOST = '0.0.0.0'
# Flask-Restplus settings
RESTPLUS_SWAGGER_UI_DOC_EXPANSION = 'list'
RESTPLUS_VALIDATE = True
RESTPLUS_MASK_SWAGGER = False
RESTPLUS_ERROR_404_HELP = False
# SQLAlchemy settings
SQLALCHEMY_DATABASE_URI = 'sqlite:///database/db.diboards'
SQLALCHEMY_TRACK_MODIFICATIONS = True
# di.boards settings
DIBOARDS_PATH_UPLOAD = 'E:/Source/Repos/diboards/log/'
DIBOARDS_PATH_MESSAGE = 'E:/Source/Repos/diboards/log/'
DIBOARDS_PATH_QR = 'E:/Source/Repos/diboards/log/'
DIBOARDS_PATH_LOG = 'E:/Source/Repos/diboards/log/'
DIBOARDS_LOGLEVEL_CONSOLE = 10 # debug
DIBOARDS_LOGLEVEL_FILE = 10 # debug | server_name = None
debug = True
port = 5000
host = '0.0.0.0'
restplus_swagger_ui_doc_expansion = 'list'
restplus_validate = True
restplus_mask_swagger = False
restplus_error_404_help = False
sqlalchemy_database_uri = 'sqlite:///database/db.diboards'
sqlalchemy_track_modifications = True
diboards_path_upload = 'E:/Source/Repos/diboards/log/'
diboards_path_message = 'E:/Source/Repos/diboards/log/'
diboards_path_qr = 'E:/Source/Repos/diboards/log/'
diboards_path_log = 'E:/Source/Repos/diboards/log/'
diboards_loglevel_console = 10
diboards_loglevel_file = 10 |
lista = list()
lista.append(0)
for i in range(5):
aux = int(input())
for j in range(len(lista)):
if aux <= lista[j]:
lista.insert(j,aux)
break
else:
if j==len(lista)-1:
lista.insert(j,aux)
lista.remove(lista[len(lista)-1])
print(lista) | lista = list()
lista.append(0)
for i in range(5):
aux = int(input())
for j in range(len(lista)):
if aux <= lista[j]:
lista.insert(j, aux)
break
elif j == len(lista) - 1:
lista.insert(j, aux)
lista.remove(lista[len(lista) - 1])
print(lista) |
N,K=map(int,input().split())
t=[int(input()) for i in range(N)]
count=0
for i in range(N-2):
if sum(t[i:i+3])<K:
print(i+3)
break
else:
print(-1) | (n, k) = map(int, input().split())
t = [int(input()) for i in range(N)]
count = 0
for i in range(N - 2):
if sum(t[i:i + 3]) < K:
print(i + 3)
break
else:
print(-1) |
s="(a)"
charac=["+","-","*","/"]
stack=[]
for i in s:
if i=="(":
stack.append(False)
elif i in charac:
if not stack:
continue
stack[-1]=True
elif i==")":
if stack[-1]:
stack.pop()
else:
print(1)
print(0)
| s = '(a)'
charac = ['+', '-', '*', '/']
stack = []
for i in s:
if i == '(':
stack.append(False)
elif i in charac:
if not stack:
continue
stack[-1] = True
elif i == ')':
if stack[-1]:
stack.pop()
else:
print(1)
print(0) |
# Linear search program to search an element, return the index position of the #array
def searching(search_arr, x):
for i in range(len(search_arr)):
if search_arr[i] == x:
return i
return -1
search_arr = [3, 4, 1, 6, 14]
x=4
print("Index position for the element x is:", searching(search_arr, x))
| def searching(search_arr, x):
for i in range(len(search_arr)):
if search_arr[i] == x:
return i
return -1
search_arr = [3, 4, 1, 6, 14]
x = 4
print('Index position for the element x is:', searching(search_arr, x)) |
#Method find() searches a substring, passed as an argument, inside the string on which it's called.
# The function returns the index of the first occurrence of the substring.
# If the substring is not found, the method returns -1.
s = 'Hello'
print(s.find('e'))
print(s.find('ll'))
print(s.find("L"))
| s = 'Hello'
print(s.find('e'))
print(s.find('ll'))
print(s.find('L')) |
__author__ = 'Thierry Schellenbach'
__copyright__ = 'Copyright 2010, Thierry Schellenbach'
__credits__ = ['Thierry Schellenbach, mellowmorning.com, @tschellenbach']
__license__ = 'BSD'
__version__ = '2.3.2'
__maintainer__ = 'Thierry Schellenbach'
__email__ = 'thierryschellenbach@gmail.com'
__status__ = 'Production'
'''
Some links which help me with publishing this code
rest editor
http://rst.ninjs.org/
updating pypi
python setup.py sdist upload
http://pypi.python.org/pypi
setting up pip for editing
http://www.pip-installer.org/en/latest/index.html
pip install -e ./
TODO
- paco error, login not authenticating somehow
- Retry on facebook connection errors
- errors op email already in use op register flow (auth backend issues, threading issue?)
'''
| __author__ = 'Thierry Schellenbach'
__copyright__ = 'Copyright 2010, Thierry Schellenbach'
__credits__ = ['Thierry Schellenbach, mellowmorning.com, @tschellenbach']
__license__ = 'BSD'
__version__ = '2.3.2'
__maintainer__ = 'Thierry Schellenbach'
__email__ = 'thierryschellenbach@gmail.com'
__status__ = 'Production'
'\nSome links which help me with publishing this code\n\nrest editor\nhttp://rst.ninjs.org/\n\nupdating pypi\npython setup.py sdist upload\nhttp://pypi.python.org/pypi\n\nsetting up pip for editing\nhttp://www.pip-installer.org/en/latest/index.html\npip install -e ./\n\nTODO\n- paco error, login not authenticating somehow\n- Retry on facebook connection errors\n- errors op email already in use op register flow (auth backend issues, threading issue?)\n' |
valid = set('+-* |')
def countMines(x, y, board):
xmin, xmax = (max(0, x - 1), min(x + 2, len(board[y])))
ymin, ymax = (max(0, y - 1), min(y + 2, len(board)))
result = [c for r in board[ymin:ymax]
for c in r[xmin:xmax]
if c == '*']
return len(result) if len(result) > 0 else ' '
def board(inp):
for i, r in enumerate(inp):
if len(r) != len(inp[0]):
raise ValueError(
'row {} length does not match length of first row'.format(i)
)
for c in r:
if c not in valid:
raise ValueError('invalid character ' + c)
b = [list(r) for r in inp]
b = [''.join([c if c != ' ' else str(countMines(x, y, b))
for x, c in enumerate(r)])
for y, r in enumerate(b)]
return b
| valid = set('+-* |')
def count_mines(x, y, board):
(xmin, xmax) = (max(0, x - 1), min(x + 2, len(board[y])))
(ymin, ymax) = (max(0, y - 1), min(y + 2, len(board)))
result = [c for r in board[ymin:ymax] for c in r[xmin:xmax] if c == '*']
return len(result) if len(result) > 0 else ' '
def board(inp):
for (i, r) in enumerate(inp):
if len(r) != len(inp[0]):
raise value_error('row {} length does not match length of first row'.format(i))
for c in r:
if c not in valid:
raise value_error('invalid character ' + c)
b = [list(r) for r in inp]
b = [''.join([c if c != ' ' else str(count_mines(x, y, b)) for (x, c) in enumerate(r)]) for (y, r) in enumerate(b)]
return b |
# coding: utf-8
class DialogMessage(object):
def __init__(self, msg):
if type(msg) is not dict or 'type' not in msg or 'content' not in msg:
raise ValueError('Invalid message format: {}'.format(msg))
self.type = msg['type']
self.content = msg['content']
| class Dialogmessage(object):
def __init__(self, msg):
if type(msg) is not dict or 'type' not in msg or 'content' not in msg:
raise value_error('Invalid message format: {}'.format(msg))
self.type = msg['type']
self.content = msg['content'] |
# Se desea eliminar todos los numeros duplicados de una lista o vector
# Por ejemplo si toma los valores [4,7,11,4,9,5,11,7,3,5]
# Ha de cambiarse a [4,7,11,9,5,3]
def eliminar(numArray: list) -> list:
largo = len(numArray)
unicos = list()
for i in range ((largo - 1), -1, -1):
if (numArray[i] not in unicos):
unicos.append(numArray[i])
else:
numArray.remove(numArray[i])
return numArray
if __name__ == "__main__":
numeros = [4, 7, 11, 4, 9, 5, 11, 7, 3, 5]
print(eliminar(numeros))
| def eliminar(numArray: list) -> list:
largo = len(numArray)
unicos = list()
for i in range(largo - 1, -1, -1):
if numArray[i] not in unicos:
unicos.append(numArray[i])
else:
numArray.remove(numArray[i])
return numArray
if __name__ == '__main__':
numeros = [4, 7, 11, 4, 9, 5, 11, 7, 3, 5]
print(eliminar(numeros)) |
post = 'div._1poyrkZ7g36PawDueRza-J._11R7M_VOgKO1RJyRSRErT3 > div.STit0dLageRsa2yR4te_b > div > div._3JgI-GOrkmyIeDeyzXdyUD._2CSlKHjH7lsjx0IpjORx14 > div > a'
image_link = 'div > div._1NSbknF8ucHV2abfCZw2Z1 > div > a'
image_name = 'div.y8HYJ-y_lTUHkQIc1mdCq._2INHSNB8V5eaWp4P0rY_mE > div > h1'
| post = 'div._1poyrkZ7g36PawDueRza-J._11R7M_VOgKO1RJyRSRErT3 > div.STit0dLageRsa2yR4te_b > div > div._3JgI-GOrkmyIeDeyzXdyUD._2CSlKHjH7lsjx0IpjORx14 > div > a'
image_link = 'div > div._1NSbknF8ucHV2abfCZw2Z1 > div > a'
image_name = 'div.y8HYJ-y_lTUHkQIc1mdCq._2INHSNB8V5eaWp4P0rY_mE > div > h1' |
# In Windows, Control+Z is the typical keyboard shortcut to mean "end of file",
# in Linux and Unix it's typically Control+D.
try:
text=input('Enter something -->')
except EOFError:
print('Why did you do an EOF on me?')
except KeyboardInterrupt:
print('You cancelled the opration.')
else:
print('You entered {}'.format(text)) | try:
text = input('Enter something -->')
except EOFError:
print('Why did you do an EOF on me?')
except KeyboardInterrupt:
print('You cancelled the opration.')
else:
print('You entered {}'.format(text)) |
INPUT = [
1036,
1897,
1256,
1080,
1909,
1817,
1759,
1883,
1088,
1841,
1780,
1907,
1874,
1831,
1932,
1999,
1989,
1840,
1973,
1102,
1906,
1277,
1089,
1275,
1228,
1917,
1075,
1060,
1964,
1942,
2001,
1950,
1181,
1121,
1854,
1083,
1772,
1481,
1976,
1805,
1594,
1889,
1726,
1866,
798,
1739,
1709,
1946,
1948,
1808,
1836,
1849,
1465,
1066,
1943,
664,
1894,
1993,
1061,
1225,
1589,
1916,
1885,
1998,
1470,
1668,
1666,
1499,
1437,
1986,
1127,
1875,
1132,
1888,
1877,
1046,
1982,
1265,
1757,
1848,
1786,
1638,
1958,
1015,
1013,
1552,
1742,
1850,
1016,
1839,
558,
1826,
1261,
1988,
1545,
1078,
1963,
1967,
1951,
1086,
1947,
1880,
1903,
1994,
1167,
1736,
1041,
1652,
1040,
1033,
1179,
1844,
1861,
1488,
1962,
1135,
1347,
1187,
1777,
1598,
1803,
1147,
1760,
1926,
1898,
1923,
1865,
1313,
1924,
1023,
1576,
1715,
1391,
1346,
1882,
2000,
1024,
1143,
1065,
1560,
1029,
1119,
1966,
1022,
1931,
1512,
1049,
1929,
1312,
1069,
1159,
1053,
1249,
1074,
1983,
1761,
1868,
195,
24,
1331,
1636,
1020,
1034,
1671,
708,
1699,
1900,
1927,
1829,
301,
1832,
1042,
1896,
1928,
1032,
1992,
2005,
1955,
1047,
1068,
1001,
1052,
1744,
1845,
1208,
1018,
1859,
1342,
1823,
1758,
2007,
1241,
1893,
1876,
1984,
1655,
1534,
1150,
1789,
1870,
]
| input = [1036, 1897, 1256, 1080, 1909, 1817, 1759, 1883, 1088, 1841, 1780, 1907, 1874, 1831, 1932, 1999, 1989, 1840, 1973, 1102, 1906, 1277, 1089, 1275, 1228, 1917, 1075, 1060, 1964, 1942, 2001, 1950, 1181, 1121, 1854, 1083, 1772, 1481, 1976, 1805, 1594, 1889, 1726, 1866, 798, 1739, 1709, 1946, 1948, 1808, 1836, 1849, 1465, 1066, 1943, 664, 1894, 1993, 1061, 1225, 1589, 1916, 1885, 1998, 1470, 1668, 1666, 1499, 1437, 1986, 1127, 1875, 1132, 1888, 1877, 1046, 1982, 1265, 1757, 1848, 1786, 1638, 1958, 1015, 1013, 1552, 1742, 1850, 1016, 1839, 558, 1826, 1261, 1988, 1545, 1078, 1963, 1967, 1951, 1086, 1947, 1880, 1903, 1994, 1167, 1736, 1041, 1652, 1040, 1033, 1179, 1844, 1861, 1488, 1962, 1135, 1347, 1187, 1777, 1598, 1803, 1147, 1760, 1926, 1898, 1923, 1865, 1313, 1924, 1023, 1576, 1715, 1391, 1346, 1882, 2000, 1024, 1143, 1065, 1560, 1029, 1119, 1966, 1022, 1931, 1512, 1049, 1929, 1312, 1069, 1159, 1053, 1249, 1074, 1983, 1761, 1868, 195, 24, 1331, 1636, 1020, 1034, 1671, 708, 1699, 1900, 1927, 1829, 301, 1832, 1042, 1896, 1928, 1032, 1992, 2005, 1955, 1047, 1068, 1001, 1052, 1744, 1845, 1208, 1018, 1859, 1342, 1823, 1758, 2007, 1241, 1893, 1876, 1984, 1655, 1534, 1150, 1789, 1870] |
__author__ = "jes3cu"
# Name: Jake Shankman
# CompID: jes3cu
# Date: 9/28/15
# Assignment: Lab 5
# Language: python3
if __name__ == "__main__":
print("1 + 1 = 2") | __author__ = 'jes3cu'
if __name__ == '__main__':
print('1 + 1 = 2') |
class GraphDataStructureException(Exception):
def __init__(self, message):
super().__init__(message)
class UninitializedGraph(GraphDataStructureException):
def __init__(self, message='Graph object is not initialized'):
super().__init__(message)
| class Graphdatastructureexception(Exception):
def __init__(self, message):
super().__init__(message)
class Uninitializedgraph(GraphDataStructureException):
def __init__(self, message='Graph object is not initialized'):
super().__init__(message) |
__version__ = '0.0'
__all__ = ['seed','inspect','cross','trans','reel','sieve','refine']
# sown the seed, inspect the crop,
# crossbreed to improve, transplant to adapt,
# reel them in, sieve for good, and refine for the best.
# ---- qharv maxim
| __version__ = '0.0'
__all__ = ['seed', 'inspect', 'cross', 'trans', 'reel', 'sieve', 'refine'] |
def get_order_amount(order_string, price_list):
'''
This function returns the order amount, based on the items in the
order string, and the price of each item in the price list.
'''
# write your answer between #start and #end
#start
if len(order_string) == 0:
return 0
order_list_inconsistent = order_string.split(',')
order_list = []
total_price = 0.0
# split order_string into (order, quantity)
for order in order_list_inconsistent:
order_split = order.split('-')
# strip remove whitespaces in front or behind
# convert order qty to int
order_list.append(((order_split[0]).strip(), int((order_split[1]).strip())))
for price_tuple in price_list:
for order in order_list:
if price_tuple[0] == order[0]:
price = price_tuple[1] * order[1]
total_price += price
return total_price
#end
########## TEST CASE 1 ##########
print('Test 1')
print('Expected:', 16.5)
result = get_order_amount("Lime Green Tea -2, Black Tea - 3", [("Lime Green Tea", 3.60), ("Black Tea", 3.10)])
print('Actual: ', result)
print()
########## TEST CASE 2 ##########
print('Test 2')
print('Expected:', 0)
result = get_order_amount("", [("Lime Green Tea", 3.60), ("Black Tea", 3.10)])
print('Actual: ', result)
print()
########## TEST CASE 3 ##########
print('Test 3')
print('Expected:', 49.9)
result = get_order_amount("Grapefruit Yakult -5, Black Tea - 3, Lime Green Tea-1", [("Lime Green Tea", 3.60), ("Black Tea", 3.10), ("Grapefruit Yakult", 7.40)])
print('Actual: ', result)
print()
| def get_order_amount(order_string, price_list):
"""
This function returns the order amount, based on the items in the
order string, and the price of each item in the price list.
"""
if len(order_string) == 0:
return 0
order_list_inconsistent = order_string.split(',')
order_list = []
total_price = 0.0
for order in order_list_inconsistent:
order_split = order.split('-')
order_list.append((order_split[0].strip(), int(order_split[1].strip())))
for price_tuple in price_list:
for order in order_list:
if price_tuple[0] == order[0]:
price = price_tuple[1] * order[1]
total_price += price
return total_price
print('Test 1')
print('Expected:', 16.5)
result = get_order_amount('Lime Green Tea -2, Black Tea - 3', [('Lime Green Tea', 3.6), ('Black Tea', 3.1)])
print('Actual: ', result)
print()
print('Test 2')
print('Expected:', 0)
result = get_order_amount('', [('Lime Green Tea', 3.6), ('Black Tea', 3.1)])
print('Actual: ', result)
print()
print('Test 3')
print('Expected:', 49.9)
result = get_order_amount('Grapefruit Yakult -5, Black Tea - 3, Lime Green Tea-1', [('Lime Green Tea', 3.6), ('Black Tea', 3.1), ('Grapefruit Yakult', 7.4)])
print('Actual: ', result)
print() |
# -*- coding: utf-8 -*-
__author__ = 'Daniel Williams'
__email__ = 'd.williams.2@research.gla.ac.uk'
__version__ = '0.2.1'
| __author__ = 'Daniel Williams'
__email__ = 'd.williams.2@research.gla.ac.uk'
__version__ = '0.2.1' |
def stdout_handler(config):
def handle(event):
print('>', event._formatted)
print(event.message.strip())
return handle
| def stdout_handler(config):
def handle(event):
print('>', event._formatted)
print(event.message.strip())
return handle |
# Created from VeraMono.ttf with freetype-generator.
# freetype-generator created by Meurisse D ( MCHobby.be ).
VeraMono_14 = {
'width' : 0x9,
'height' : 0xf,
32:(),
33:( 0xe7e0,),
34:( 0xf800, 0x8000, 0xf800),
35:( 0x8800, 0xe900, 0x9f00, 0x89e0, 0xf900, 0x8f80, 0x89e0, 0x8100),
36:( 0x88e0, 0x9190, 0x9110, 0xfffc, 0x9110, 0x9310, 0x8e20),
37:( 0x80c0, 0x8920, 0x8520, 0x84c0, 0xb200, 0xca00, 0xc900, 0xb000),
38:( 0xbc00, 0xe3c0, 0xc320, 0xc420, 0xd820, 0xa000, 0xdc00),
39:( 0xf800,),
40:( 0x8fc0, 0xb038, 0xc008),
41:( 0xc008, 0xf030, 0x8fc0),
42:( 0xa400, 0xa800, 0x9800, 0xfe00, 0x9800, 0xa800, 0xa400),
43:( 0x8800, 0x8800, 0x8800, 0xff00, 0x8800, 0x8800, 0x8800),
44:( 0xc000, 0xb800, 0x9800),
45:( 0xc000, 0xc000, 0xc000, 0xc000),
46:( 0xe000, 0xe000),
47:( 0xc000, 0xb800, 0x8600, 0x8180, 0x8070, 0x8008),
48:( 0x9f80, 0xa040, 0xc020, 0xc220, 0xc020, 0xa040, 0x9f80),
49:( 0xc040, 0xc020, 0xffe0, 0xc000, 0xc000),
50:( 0xc040, 0xe020, 0xd020, 0xc820, 0xcc20, 0xc660, 0xc1c0),
51:( 0xa040, 0xc020, 0xc220, 0xc220, 0xc220, 0xe520, 0xbdc0),
52:( 0x8c00, 0x8a00, 0x8980, 0x88c0, 0x8820, 0xffe0, 0x8800),
53:( 0xa3e0, 0xc120, 0xc120, 0xc120, 0xc120, 0xa220, 0x9c00),
54:( 0x9f80, 0xa4c0, 0xc260, 0xc220, 0xc220, 0xe620, 0xbc40),
55:( 0x8020, 0xc020, 0xb020, 0x8c20, 0x8320, 0x80e0, 0x8060),
56:( 0xbdc0, 0xe620, 0xc220, 0xc220, 0xc220, 0xe620, 0xbdc0),
57:( 0xa3c0, 0xc660, 0xc420, 0xc420, 0xe420, 0xb240, 0x9f80),
58:( 0xe300, 0xe300),
59:( 0xc000, 0xb8c0, 0x98c0),
60:( 0x8800, 0x9400, 0x9400, 0xb600, 0xa200, 0xa200, 0xc100),
61:( 0xc800, 0xc800, 0xc800, 0xc800, 0xc800, 0xc800, 0xc800),
62:( 0xc100, 0xa200, 0xa200, 0xb600, 0x9400, 0x9400, 0x8800),
63:( 0x8040, 0x8020, 0xee20, 0x8320, 0x81c0),
64:( 0x8fc0, 0xb030, 0xa018, 0xc788, 0xc848, 0xc858, 0x8ff0),
65:( 0xe000, 0x9c00, 0x8bc0, 0x8820, 0x8bc0, 0x9c00, 0xe000),
66:( 0xffe0, 0xc220, 0xc220, 0xc220, 0xc220, 0xe620, 0xbdc0),
67:( 0x9f80, 0xa040, 0xc020, 0xc020, 0xc020, 0xc020, 0xa040),
68:( 0xffe0, 0xc020, 0xc020, 0xc020, 0xc020, 0xa040, 0x9f80),
69:( 0xffe0, 0xc220, 0xc220, 0xc220, 0xc220, 0xc220, 0xc220),
70:( 0xffe0, 0x8220, 0x8220, 0x8220, 0x8220, 0x8220, 0x8220),
71:( 0x9f80, 0xa040, 0xc020, 0xc020, 0xc020, 0xc420, 0xbc40),
72:( 0xffe0, 0x8200, 0x8200, 0x8200, 0x8200, 0x8200, 0xffe0),
73:( 0xc020, 0xc020, 0xffe0, 0xc020, 0xc020),
74:( 0xa000, 0xc000, 0xc020, 0xc020, 0xe020, 0xbfe0),
75:( 0xffe0, 0x8200, 0x8300, 0x8c80, 0x9840, 0xa020, 0xc000),
76:( 0xffe0, 0xc000, 0xc000, 0xc000, 0xc000, 0xc000, 0xc000),
77:( 0xffe0, 0x8060, 0x8380, 0x8400, 0x8380, 0x8060, 0xffe0),
78:( 0xffe0, 0x8060, 0x8180, 0x8600, 0x9800, 0xe000, 0xffe0),
79:( 0x9f80, 0xa040, 0xc020, 0xc020, 0xc020, 0xa040, 0x9f80),
80:( 0xffe0, 0x8420, 0x8420, 0x8420, 0x8420, 0x8660, 0x83c0),
81:( 0x87e0, 0x8810, 0x9008, 0x9008, 0xb008, 0xf810, 0x87e0),
82:( 0xffe0, 0x8420, 0x8420, 0x8420, 0x8420, 0x8a60, 0xb3c0, 0xc000),
83:( 0xa1c0, 0xc240, 0xc220, 0xc420, 0xc420, 0xe420, 0xb840),
84:( 0x8020, 0x8020, 0x8020, 0xffe0, 0x8020, 0x8020, 0x8020),
85:( 0xbfe0, 0xe000, 0xc000, 0xc000, 0xc000, 0xe000, 0xbfe0),
86:( 0x8060, 0x8380, 0xbc00, 0xc000, 0xbc00, 0x8380, 0x8060),
87:( 0x81e0, 0x8e00, 0xf000, 0x8f00, 0x8f00, 0xf000, 0x8e00, 0x81e0, 0x8000),
88:( 0xc020, 0xb040, 0x8d80, 0x8200, 0x8d80, 0xb040, 0xc020),
89:( 0x8020, 0x80c0, 0x8300, 0xfe00, 0x8300, 0x80c0, 0x8020),
90:( 0xe020, 0xf020, 0xc820, 0xc620, 0xc120, 0xc0e0, 0xc060),
91:( 0xfff8, 0xc008, 0xc008),
92:( 0x8008, 0x8070, 0x8180, 0x8600, 0xb800, 0xc000),
93:( 0xc008, 0xc008, 0xfff8),
94:( 0xc000, 0xe000, 0x9000, 0x8800, 0x9000, 0xe000, 0xc000),
95:( 0xc000, 0xc000, 0xc000, 0xc000, 0xc000, 0xc000, 0xc000),
96:( 0x9000, 0xb000, 0xc000),
97:( 0xb800, 0xc500, 0xc480, 0xc480, 0xa480, 0xff00),
98:( 0xfff0, 0xa180, 0xc080, 0xc080, 0xe180, 0x9e00),
99:( 0x9e00, 0xa100, 0xc080, 0xc080, 0xc080, 0xa100),
100:( 0x9e00, 0xe180, 0xc080, 0xc080, 0xa180, 0xfff0),
101:( 0x9e00, 0xa580, 0xc480, 0xc480, 0xc580, 0xa700),
102:( 0x8080, 0x8080, 0xffe0, 0x8090, 0x8090, 0x8090),
103:( 0x83c0, 0xac30, 0xc810, 0xc810, 0xc420, 0xbff0),
104:( 0xfff0, 0x8100, 0x8080, 0x8080, 0x8080, 0xff00),
105:( 0xc000, 0xc080, 0xc080, 0xffb0, 0xc000, 0xc000, 0xc000),
106:( 0xc000, 0xc010, 0xc010, 0xbff6),
107:( 0xfff0, 0x8400, 0x8600, 0x9900, 0xa080, 0xc000),
108:( 0x8010, 0x8010, 0x8010, 0xbff0, 0xc000, 0xc000, 0xc000),
109:( 0xff80, 0x8080, 0x8080, 0xff80, 0x8080, 0x8080, 0xff00),
110:( 0xff80, 0x8100, 0x8080, 0x8080, 0x8080, 0xff00),
111:( 0xbf00, 0xe180, 0xc080, 0xc080, 0xe180, 0xbf00),
112:( 0xfff0, 0x8c20, 0x8810, 0x8810, 0x8c30, 0x83c0),
113:( 0x83c0, 0x8c30, 0x8810, 0x8810, 0x8420, 0xfff0),
114:( 0xff80, 0x8180, 0x8080, 0x8080, 0x8100),
115:( 0xa700, 0xc480, 0xc480, 0xc880, 0xc880, 0xb900),
116:( 0x8080, 0x8080, 0xbfe0, 0xc080, 0xc080, 0xc080),
117:( 0xbf80, 0xc000, 0xc000, 0xc000, 0xa000, 0xff80),
118:( 0x8180, 0x8e00, 0xf000, 0xf000, 0x8e00, 0x8180),
119:( 0x8180, 0x9e00, 0xe000, 0x9e00, 0x9e00, 0xe000, 0x9e00, 0x8180),
120:( 0xc080, 0xb100, 0x8e00, 0x8e00, 0xb100, 0xc080),
121:( 0x8010, 0xc0e0, 0xe300, 0x9e00, 0x81c0, 0x8030),
122:( 0xe080, 0xd080, 0xc880, 0xc480, 0xc280, 0xc180),
123:( 0x8100, 0x8100, 0xbef8, 0xc004, 0xc004),
124:( 0xfffe,),
125:( 0xc004, 0xc004, 0xbef8, 0x8100, 0x8100),
126:( 0xc000, 0xa000, 0xa000, 0xa000, 0xc000, 0xc000, 0xa000),
127:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
128:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
129:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
130:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
131:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
132:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
133:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
134:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
135:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
136:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
137:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
138:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
139:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
140:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
141:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
142:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
143:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
144:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
145:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
146:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
147:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
148:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
149:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
150:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
151:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
152:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
153:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
154:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
155:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
156:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
157:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
158:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
159:( 0xfff8, 0xc008, 0xc008, 0xc008, 0xc008, 0xc008, 0xfff8),
161:( 0xfe60,),
162:( 0x8780, 0x8840, 0x9020, 0xfff8, 0x9020, 0x8840),
163:( 0xc000, 0xc400, 0xffc0, 0xc460, 0xc420, 0xc420, 0xc040),
164:( 0xc100, 0xbe00, 0xa200, 0xa200, 0xa200, 0xbe00, 0xc100),
165:( 0x8520, 0x8540, 0x8580, 0xfe00, 0x8580, 0x8540, 0x8520),
166:( 0xfcf8,),
167:( 0xc360, 0xc4d0, 0xcc90, 0xc890, 0xd910, 0xb710),
168:( 0xc000, 0x8000, 0xc000),
169:( 0x9e00, 0xa100, 0xcc80, 0xd280, 0xd280, 0xd280, 0xa100, 0x9e00),
170:( 0xcc80, 0xd280, 0xd280, 0xca80, 0xdf00),
171:( 0x9800, 0xbc00, 0xe600, 0x9800, 0xbc00, 0xe600),
172:( 0x9000, 0x9000, 0x9000, 0x9000, 0x9000, 0x9000, 0xf000),
173:( 0xc000, 0xc000, 0xc000, 0xc000),
174:( 0x9e00, 0xa100, 0xde80, 0xca80, 0xda80, 0xd680, 0xa100, 0x9e00),
175:( 0xc000, 0xc000, 0xc000, 0xc000),
176:( 0xb000, 0xc800, 0xc800, 0xb000),
177:( 0xc200, 0xc200, 0xc200, 0xcf80, 0xc200, 0xc200, 0xc200),
178:( 0xc200, 0xe200, 0xd200, 0xcc00),
179:( 0xc200, 0xca00, 0xca00, 0xb600),
180:( 0xc000, 0xb000, 0x9000),
181:( 0xfff0, 0x8800, 0x8800, 0x8800, 0x8c00, 0x8ff0, 0x8800),
182:( 0x81e0, 0x81e0, 0x83f0, 0x83f0, 0xfff0, 0x8010, 0xfff0),
183:( 0xe000, 0xe000),
184:( 0xc000, 0xd000, 0xe000),
185:( 0xc200, 0xfe00, 0xc000),
186:( 0xcf00, 0xd080, 0xd080, 0xd080, 0xcf00),
187:( 0xe600, 0xbc00, 0x9800, 0xe600, 0xbc00, 0x9800),
188:( 0x8200, 0x8284, 0x81fc, 0xb180, 0xa900, 0xa680, 0xfe80, 0xa000),
189:( 0x8200, 0x8284, 0x81fc, 0xc380, 0xe300, 0xd280, 0xcc80),
190:( 0x8284, 0x8294, 0x8194, 0xb16c, 0xa900, 0xa680, 0xfe80, 0xa000),
191:( 0xb800, 0xcc00, 0xc760, 0xc000, 0xa000),
192:( 0xe000, 0x9c04, 0x8bcc, 0x8828, 0x8bc0, 0x9c00, 0xe000),
193:( 0xe000, 0x9c00, 0x8bc8, 0x882c, 0x8bc4, 0x9c00, 0xe000),
194:( 0xe000, 0x9c08, 0x8bc4, 0x8824, 0x8bc8, 0x9c00, 0xe000),
195:( 0xe000, 0x9c0c, 0x8bc4, 0x882c, 0x8bc8, 0x9c0c, 0xe000),
196:( 0xe000, 0x9c00, 0x8bc8, 0x8820, 0x8bc8, 0x9c00, 0xe000),
197:( 0xe000, 0xbc00, 0x8b9c, 0x8864, 0x8b9c, 0xbc00, 0xe000),
198:( 0xe000, 0x9e00, 0x89e0, 0x8820, 0xffe0, 0xc220, 0xc220, 0xc220),
199:( 0x83f0, 0x8408, 0x8804, 0xc804, 0xd804, 0xe804, 0x8408),
200:( 0xffe0, 0xc224, 0xc22c, 0xc228, 0xc220, 0xc220, 0xc220),
201:( 0xffe0, 0xc220, 0xc228, 0xc22c, 0xc224, 0xc220, 0xc220),
202:( 0xffe0, 0xc228, 0xc224, 0xc224, 0xc228, 0xc220, 0xc220),
203:( 0xffe0, 0xc220, 0xc228, 0xc220, 0xc228, 0xc220, 0xc220),
204:( 0xc024, 0xc02c, 0xffe8, 0xc020, 0xc020),
205:( 0xc020, 0xc028, 0xffec, 0xc024, 0xc020),
206:( 0xc028, 0xc024, 0xffe4, 0xc028, 0xc020),
207:( 0xc020, 0xc028, 0xffe0, 0xc028, 0xc020),
208:( 0x8200, 0xffe0, 0xc220, 0xc220, 0xc020, 0xc020, 0xa040, 0x9f80),
209:( 0xffe0, 0x806c, 0x8184, 0x860c, 0x9808, 0xe00c, 0xffe0),
210:( 0x9f80, 0xa044, 0xc02c, 0xc028, 0xc020, 0xa040, 0x9f80),
211:( 0x9f80, 0xa040, 0xc028, 0xc02c, 0xc024, 0xa040, 0x9f80),
212:( 0x9f80, 0xa048, 0xc024, 0xc024, 0xc028, 0xa040, 0x9f80),
213:( 0x9f80, 0xa04c, 0xc024, 0xc02c, 0xc028, 0xa04c, 0x9f80),
214:( 0x9f80, 0xa040, 0xc028, 0xc020, 0xc028, 0xa040, 0x9f80),
215:( 0xc200, 0xa400, 0x9800, 0x9800, 0xa400, 0xc200),
216:( 0xc000, 0xbf80, 0xf840, 0xcc20, 0xc620, 0xc320, 0xa0e0, 0x9fe0, 0x8000),
217:( 0xbfe0, 0xe004, 0xc00c, 0xc008, 0xc000, 0xe000, 0xbfe0),
218:( 0xbfe0, 0xe000, 0xc008, 0xc00c, 0xc004, 0xe000, 0xbfe0),
219:( 0xbfe0, 0xe008, 0xc004, 0xc004, 0xc008, 0xe000, 0xbfe0),
220:( 0xbfe0, 0xe000, 0xc008, 0xc000, 0xc008, 0xe000, 0xbfe0),
221:( 0x8020, 0x80c0, 0x8308, 0xfe0c, 0x8304, 0x80c0, 0x8020),
222:( 0xffe0, 0x8840, 0x8840, 0x8840, 0x8840, 0x8cc0, 0x8780),
223:( 0xffe0, 0x8010, 0xc710, 0xc490, 0xcc60, 0xb800),
224:( 0xb800, 0xc508, 0xc498, 0xc4a0, 0xa480, 0xff00),
225:( 0xb800, 0xc500, 0xc4a0, 0xc498, 0xa488, 0xff00),
226:( 0xb800, 0xc520, 0xc498, 0xc498, 0xa4a0, 0xff00),
227:( 0xb800, 0xc530, 0xc490, 0xc4b0, 0xa4a0, 0xff30),
228:( 0xb800, 0xc500, 0xc4a0, 0xc480, 0xa4a0, 0xff00),
229:( 0xb800, 0xc518, 0xc4a4, 0xc4a4, 0xa498, 0xff00),
230:( 0xf880, 0xc480, 0xbf00, 0xc480, 0xc480, 0xc700),
231:( 0x83c0, 0x8420, 0x8810, 0xc810, 0xd810, 0xe420),
232:( 0x9e00, 0xa588, 0xc498, 0xc4a0, 0xc580, 0xa700),
233:( 0x9e00, 0xa580, 0xc4a0, 0xc498, 0xc588, 0xa700),
234:( 0x9e00, 0xa5a0, 0xc498, 0xc498, 0xc5a0, 0xa700),
235:( 0x9e00, 0xa580, 0xc4a0, 0xc480, 0xc5a0, 0xa700),
236:( 0xc000, 0xc088, 0xc098, 0xffa0, 0xc000, 0xc000, 0xc000),
237:( 0xc000, 0xc080, 0xc0a0, 0xff98, 0xc008, 0xc000, 0xc000),
238:( 0xc000, 0xc0a0, 0xc098, 0xff98, 0xc020, 0xc000, 0xc000),
239:( 0xc000, 0xc080, 0xc0a0, 0xff80, 0xc020, 0xc000, 0xc000),
240:( 0x9e00, 0xe1b0, 0xc0b0, 0xc0e0, 0xe1a0, 0xbf00),
241:( 0xff80, 0x8130, 0x8090, 0x80b0, 0x80a0, 0xff30),
242:( 0xbf00, 0xe188, 0xc098, 0xc0a0, 0xe180, 0xbf00),
243:( 0xbf00, 0xe180, 0xc0a0, 0xc098, 0xe188, 0xbf00),
244:( 0xbf00, 0xe1a0, 0xc098, 0xc098, 0xe1a0, 0xbf00),
245:( 0xbf00, 0xe1b0, 0xc090, 0xc0b0, 0xe1a0, 0xbf30),
246:( 0xbf00, 0xe180, 0xc0a0, 0xc080, 0xe1a0, 0xbf00),
247:( 0x8800, 0x8800, 0x8800, 0xeb00, 0xeb00, 0x8800, 0x8800, 0x8800),
248:( 0x8000, 0xff00, 0xf180, 0xc880, 0xc480, 0xe380, 0x9f80, 0x8000),
249:( 0xbf80, 0xc008, 0xc018, 0xc020, 0xa000, 0xff80),
250:( 0xbf80, 0xc000, 0xc020, 0xc018, 0xa008, 0xff80),
251:( 0xbf80, 0xc020, 0xc018, 0xc018, 0xa020, 0xff80),
252:( 0xbf80, 0xc000, 0xc020, 0xc000, 0xa020, 0xff80),
253:( 0x8010, 0xc0e0, 0xe304, 0x9e03, 0x81c1, 0x8030),
254:( 0xfffe, 0x8c20, 0x8810, 0x8810, 0x8c30, 0x83c0),
255:( 0x8010, 0xc0e0, 0xe304, 0x9e00, 0x81c4, 0x8030)
}
| vera_mono_14 = {'width': 9, 'height': 15, 32: (), 33: (59360,), 34: (63488, 32768, 63488), 35: (34816, 59648, 40704, 35296, 63744, 36736, 35296, 33024), 36: (35040, 37264, 37136, 65532, 37136, 37648, 36384), 37: (32960, 35104, 34080, 33984, 45568, 51712, 51456, 45056), 38: (48128, 58304, 49952, 50208, 55328, 40960, 56320), 39: (63488,), 40: (36800, 45112, 49160), 41: (49160, 61488, 36800), 42: (41984, 43008, 38912, 65024, 38912, 43008, 41984), 43: (34816, 34816, 34816, 65280, 34816, 34816, 34816), 44: (49152, 47104, 38912), 45: (49152, 49152, 49152, 49152), 46: (57344, 57344), 47: (49152, 47104, 34304, 33152, 32880, 32776), 48: (40832, 41024, 49184, 49696, 49184, 41024, 40832), 49: (49216, 49184, 65504, 49152, 49152), 50: (49216, 57376, 53280, 51232, 52256, 50784, 49600), 51: (41024, 49184, 49696, 49696, 49696, 58656, 48576), 52: (35840, 35328, 35200, 35008, 34848, 65504, 34816), 53: (41952, 49440, 49440, 49440, 49440, 41504, 39936), 54: (40832, 42176, 49760, 49696, 49696, 58912, 48192), 55: (32800, 49184, 45088, 35872, 33568, 32992, 32864), 56: (48576, 58912, 49696, 49696, 49696, 58912, 48576), 57: (41920, 50784, 50208, 50208, 58400, 45632, 40832), 58: (58112, 58112), 59: (49152, 47296, 39104), 60: (34816, 37888, 37888, 46592, 41472, 41472, 49408), 61: (51200, 51200, 51200, 51200, 51200, 51200, 51200), 62: (49408, 41472, 41472, 46592, 37888, 37888, 34816), 63: (32832, 32800, 60960, 33568, 33216), 64: (36800, 45104, 40984, 51080, 51272, 51288, 36848), 65: (57344, 39936, 35776, 34848, 35776, 39936, 57344), 66: (65504, 49696, 49696, 49696, 49696, 58912, 48576), 67: (40832, 41024, 49184, 49184, 49184, 49184, 41024), 68: (65504, 49184, 49184, 49184, 49184, 41024, 40832), 69: (65504, 49696, 49696, 49696, 49696, 49696, 49696), 70: (65504, 33312, 33312, 33312, 33312, 33312, 33312), 71: (40832, 41024, 49184, 49184, 49184, 50208, 48192), 72: (65504, 33280, 33280, 33280, 33280, 33280, 65504), 73: (49184, 49184, 65504, 49184, 49184), 74: (40960, 49152, 49184, 49184, 57376, 49120), 75: (65504, 33280, 33536, 35968, 38976, 40992, 49152), 76: (65504, 49152, 49152, 49152, 49152, 49152, 49152), 77: (65504, 32864, 33664, 33792, 33664, 32864, 65504), 78: (65504, 32864, 33152, 34304, 38912, 57344, 65504), 79: (40832, 41024, 49184, 49184, 49184, 41024, 40832), 80: (65504, 33824, 33824, 33824, 33824, 34400, 33728), 81: (34784, 34832, 36872, 36872, 45064, 63504, 34784), 82: (65504, 33824, 33824, 33824, 33824, 35424, 46016, 49152), 83: (41408, 49728, 49696, 50208, 50208, 58400, 47168), 84: (32800, 32800, 32800, 65504, 32800, 32800, 32800), 85: (49120, 57344, 49152, 49152, 49152, 57344, 49120), 86: (32864, 33664, 48128, 49152, 48128, 33664, 32864), 87: (33248, 36352, 61440, 36608, 36608, 61440, 36352, 33248, 32768), 88: (49184, 45120, 36224, 33280, 36224, 45120, 49184), 89: (32800, 32960, 33536, 65024, 33536, 32960, 32800), 90: (57376, 61472, 51232, 50720, 49440, 49376, 49248), 91: (65528, 49160, 49160), 92: (32776, 32880, 33152, 34304, 47104, 49152), 93: (49160, 49160, 65528), 94: (49152, 57344, 36864, 34816, 36864, 57344, 49152), 95: (49152, 49152, 49152, 49152, 49152, 49152, 49152), 96: (36864, 45056, 49152), 97: (47104, 50432, 50304, 50304, 42112, 65280), 98: (65520, 41344, 49280, 49280, 57728, 40448), 99: (40448, 41216, 49280, 49280, 49280, 41216), 100: (40448, 57728, 49280, 49280, 41344, 65520), 101: (40448, 42368, 50304, 50304, 50560, 42752), 102: (32896, 32896, 65504, 32912, 32912, 32912), 103: (33728, 44080, 51216, 51216, 50208, 49136), 104: (65520, 33024, 32896, 32896, 32896, 65280), 105: (49152, 49280, 49280, 65456, 49152, 49152, 49152), 106: (49152, 49168, 49168, 49142), 107: (65520, 33792, 34304, 39168, 41088, 49152), 108: (32784, 32784, 32784, 49136, 49152, 49152, 49152), 109: (65408, 32896, 32896, 65408, 32896, 32896, 65280), 110: (65408, 33024, 32896, 32896, 32896, 65280), 111: (48896, 57728, 49280, 49280, 57728, 48896), 112: (65520, 35872, 34832, 34832, 35888, 33728), 113: (33728, 35888, 34832, 34832, 33824, 65520), 114: (65408, 33152, 32896, 32896, 33024), 115: (42752, 50304, 50304, 51328, 51328, 47360), 116: (32896, 32896, 49120, 49280, 49280, 49280), 117: (49024, 49152, 49152, 49152, 40960, 65408), 118: (33152, 36352, 61440, 61440, 36352, 33152), 119: (33152, 40448, 57344, 40448, 40448, 57344, 40448, 33152), 120: (49280, 45312, 36352, 36352, 45312, 49280), 121: (32784, 49376, 58112, 40448, 33216, 32816), 122: (57472, 53376, 51328, 50304, 49792, 49536), 123: (33024, 33024, 48888, 49156, 49156), 124: (65534,), 125: (49156, 49156, 48888, 33024, 33024), 126: (49152, 40960, 40960, 40960, 49152, 49152, 40960), 127: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 128: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 129: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 130: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 131: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 132: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 133: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 134: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 135: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 136: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 137: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 138: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 139: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 140: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 141: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 142: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 143: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 144: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 145: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 146: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 147: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 148: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 149: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 150: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 151: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 152: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 153: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 154: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 155: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 156: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 157: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 158: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 159: (65528, 49160, 49160, 49160, 49160, 49160, 65528), 161: (65120,), 162: (34688, 34880, 36896, 65528, 36896, 34880), 163: (49152, 50176, 65472, 50272, 50208, 50208, 49216), 164: (49408, 48640, 41472, 41472, 41472, 48640, 49408), 165: (34080, 34112, 34176, 65024, 34176, 34112, 34080), 166: (64760,), 167: (50016, 50384, 52368, 51344, 55568, 46864), 168: (49152, 32768, 49152), 169: (40448, 41216, 52352, 53888, 53888, 53888, 41216, 40448), 170: (52352, 53888, 53888, 51840, 57088), 171: (38912, 48128, 58880, 38912, 48128, 58880), 172: (36864, 36864, 36864, 36864, 36864, 36864, 61440), 173: (49152, 49152, 49152, 49152), 174: (40448, 41216, 56960, 51840, 55936, 54912, 41216, 40448), 175: (49152, 49152, 49152, 49152), 176: (45056, 51200, 51200, 45056), 177: (49664, 49664, 49664, 53120, 49664, 49664, 49664), 178: (49664, 57856, 53760, 52224), 179: (49664, 51712, 51712, 46592), 180: (49152, 45056, 36864), 181: (65520, 34816, 34816, 34816, 35840, 36848, 34816), 182: (33248, 33248, 33776, 33776, 65520, 32784, 65520), 183: (57344, 57344), 184: (49152, 53248, 57344), 185: (49664, 65024, 49152), 186: (52992, 53376, 53376, 53376, 52992), 187: (58880, 48128, 38912, 58880, 48128, 38912), 188: (33280, 33412, 33276, 45440, 43264, 42624, 65152, 40960), 189: (33280, 33412, 33276, 50048, 58112, 53888, 52352), 190: (33412, 33428, 33172, 45420, 43264, 42624, 65152, 40960), 191: (47104, 52224, 51040, 49152, 40960), 192: (57344, 39940, 35788, 34856, 35776, 39936, 57344), 193: (57344, 39936, 35784, 34860, 35780, 39936, 57344), 194: (57344, 39944, 35780, 34852, 35784, 39936, 57344), 195: (57344, 39948, 35780, 34860, 35784, 39948, 57344), 196: (57344, 39936, 35784, 34848, 35784, 39936, 57344), 197: (57344, 48128, 35740, 34916, 35740, 48128, 57344), 198: (57344, 40448, 35296, 34848, 65504, 49696, 49696, 49696), 199: (33776, 33800, 34820, 51204, 55300, 59396, 33800), 200: (65504, 49700, 49708, 49704, 49696, 49696, 49696), 201: (65504, 49696, 49704, 49708, 49700, 49696, 49696), 202: (65504, 49704, 49700, 49700, 49704, 49696, 49696), 203: (65504, 49696, 49704, 49696, 49704, 49696, 49696), 204: (49188, 49196, 65512, 49184, 49184), 205: (49184, 49192, 65516, 49188, 49184), 206: (49192, 49188, 65508, 49192, 49184), 207: (49184, 49192, 65504, 49192, 49184), 208: (33280, 65504, 49696, 49696, 49184, 49184, 41024, 40832), 209: (65504, 32876, 33156, 34316, 38920, 57356, 65504), 210: (40832, 41028, 49196, 49192, 49184, 41024, 40832), 211: (40832, 41024, 49192, 49196, 49188, 41024, 40832), 212: (40832, 41032, 49188, 49188, 49192, 41024, 40832), 213: (40832, 41036, 49188, 49196, 49192, 41036, 40832), 214: (40832, 41024, 49192, 49184, 49192, 41024, 40832), 215: (49664, 41984, 38912, 38912, 41984, 49664), 216: (49152, 49024, 63552, 52256, 50720, 49952, 41184, 40928, 32768), 217: (49120, 57348, 49164, 49160, 49152, 57344, 49120), 218: (49120, 57344, 49160, 49164, 49156, 57344, 49120), 219: (49120, 57352, 49156, 49156, 49160, 57344, 49120), 220: (49120, 57344, 49160, 49152, 49160, 57344, 49120), 221: (32800, 32960, 33544, 65036, 33540, 32960, 32800), 222: (65504, 34880, 34880, 34880, 34880, 36032, 34688), 223: (65504, 32784, 50960, 50320, 52320, 47104), 224: (47104, 50440, 50328, 50336, 42112, 65280), 225: (47104, 50432, 50336, 50328, 42120, 65280), 226: (47104, 50464, 50328, 50328, 42144, 65280), 227: (47104, 50480, 50320, 50352, 42144, 65328), 228: (47104, 50432, 50336, 50304, 42144, 65280), 229: (47104, 50456, 50340, 50340, 42136, 65280), 230: (63616, 50304, 48896, 50304, 50304, 50944), 231: (33728, 33824, 34832, 51216, 55312, 58400), 232: (40448, 42376, 50328, 50336, 50560, 42752), 233: (40448, 42368, 50336, 50328, 50568, 42752), 234: (40448, 42400, 50328, 50328, 50592, 42752), 235: (40448, 42368, 50336, 50304, 50592, 42752), 236: (49152, 49288, 49304, 65440, 49152, 49152, 49152), 237: (49152, 49280, 49312, 65432, 49160, 49152, 49152), 238: (49152, 49312, 49304, 65432, 49184, 49152, 49152), 239: (49152, 49280, 49312, 65408, 49184, 49152, 49152), 240: (40448, 57776, 49328, 49376, 57760, 48896), 241: (65408, 33072, 32912, 32944, 32928, 65328), 242: (48896, 57736, 49304, 49312, 57728, 48896), 243: (48896, 57728, 49312, 49304, 57736, 48896), 244: (48896, 57760, 49304, 49304, 57760, 48896), 245: (48896, 57776, 49296, 49328, 57760, 48944), 246: (48896, 57728, 49312, 49280, 57760, 48896), 247: (34816, 34816, 34816, 60160, 60160, 34816, 34816, 34816), 248: (32768, 65280, 61824, 51328, 50304, 58240, 40832, 32768), 249: (49024, 49160, 49176, 49184, 40960, 65408), 250: (49024, 49152, 49184, 49176, 40968, 65408), 251: (49024, 49184, 49176, 49176, 40992, 65408), 252: (49024, 49152, 49184, 49152, 40992, 65408), 253: (32784, 49376, 58116, 40451, 33217, 32816), 254: (65534, 35872, 34832, 34832, 35888, 33728), 255: (32784, 49376, 58116, 40448, 33220, 32816)} |
def main():
f1, f2, limit, s = 1, 2, 4000000, 2
while True:
f = f1 + f2
if f > limit:
break
if not f & 1:
s += f
f1 = f2
f2 = f
return s
if __name__ == '__main__':
print(main())
| def main():
(f1, f2, limit, s) = (1, 2, 4000000, 2)
while True:
f = f1 + f2
if f > limit:
break
if not f & 1:
s += f
f1 = f2
f2 = f
return s
if __name__ == '__main__':
print(main()) |
tot = soma = 0
while True:
num = int(input('Digite um numero [999 para parar]: '))
if num == 999:
break
tot += 1
soma += num
print(f'A soma dos valores foi {soma} e voce digitou {tot} numeros')
| tot = soma = 0
while True:
num = int(input('Digite um numero [999 para parar]: '))
if num == 999:
break
tot += 1
soma += num
print(f'A soma dos valores foi {soma} e voce digitou {tot} numeros') |
TARGET_PAGE = {
'CONFIG_PATH': 'system files/config',
'NUMBER_OF_PAGES' : 2, ### update number of pages
'TITLE' : 'Job Listings - ML',
'URL' : '' ## add URL
}
TARGET_URL = TARGET_PAGE['URL']
CONFIG_FILE = TARGET_PAGE['CONFIG_PATH']
EXCEL_TITLE = TARGET_PAGE['TITLE']
NUM_PAGES = TARGET_PAGE['NUMBER_OF_PAGES'] + 2
LOGIN_URL = 'https://www.linkedin.com/uas/login'
EXCEL_PATH = 'excels/' | target_page = {'CONFIG_PATH': 'system files/config', 'NUMBER_OF_PAGES': 2, 'TITLE': 'Job Listings - ML', 'URL': ''}
target_url = TARGET_PAGE['URL']
config_file = TARGET_PAGE['CONFIG_PATH']
excel_title = TARGET_PAGE['TITLE']
num_pages = TARGET_PAGE['NUMBER_OF_PAGES'] + 2
login_url = 'https://www.linkedin.com/uas/login'
excel_path = 'excels/' |
gsCP437 = (
"\u0000"
"\u263A"
"\u263B"
"\u2665"
"\u2666"
"\u2663"
"\u2660"
"\u2022"
"\u25D8"
"\u25CB"
"\u25D9"
"\u2642"
"\u2640"
"\u266A"
"\u266B"
"\u263C"
"\u25BA"
"\u25C4"
"\u2195"
"\u203C"
"\u00B6"
"\u00A7"
"\u25AC"
"\u21A8"
"\u2191"
"\u2193"
"\u2192"
"\u2190"
"\u221F"
"\u2194"
"\u25B2"
"\u25BC"
"\u0020"
"\u0021"
"\u0022"
"\u0023"
"\u0024"
"\u0025"
"\u0026"
"\u0027"
"\u0028"
"\u0029"
"\u002A"
"\u002B"
"\u002C"
"\u002D"
"\u002E"
"\u002F"
"\u0030"
"\u0031"
"\u0032"
"\u0033"
"\u0034"
"\u0035"
"\u0036"
"\u0037"
"\u0038"
"\u0039"
"\u003A"
"\u003B"
"\u003C"
"\u003D"
"\u003E"
"\u003F"
"\u0040"
"\u0041"
"\u0042"
"\u0043"
"\u0044"
"\u0045"
"\u0046"
"\u0047"
"\u0048"
"\u0049"
"\u004A"
"\u004B"
"\u004C"
"\u004D"
"\u004E"
"\u004F"
"\u0050"
"\u0051"
"\u0052"
"\u0053"
"\u0054"
"\u0055"
"\u0056"
"\u0057"
"\u0058"
"\u0059"
"\u005A"
"\u005B"
"\u005C"
"\u005D"
"\u005E"
"\u005F"
"\u0060"
"\u0061"
"\u0062"
"\u0063"
"\u0064"
"\u0065"
"\u0066"
"\u0067"
"\u0068"
"\u0069"
"\u006A"
"\u006B"
"\u006C"
"\u006D"
"\u006E"
"\u006F"
"\u0070"
"\u0071"
"\u0072"
"\u0073"
"\u0074"
"\u0075"
"\u0076"
"\u0077"
"\u0078"
"\u0079"
"\u007A"
"\u007B"
"\u007C"
"\u007D"
"\u007E"
"\u2302"
"\u00C7"
"\u00FC"
"\u00E9"
"\u00E2"
"\u00E4"
"\u00E0"
"\u00E5"
"\u00E7"
"\u00EA"
"\u00EB"
"\u00E8"
"\u00EF"
"\u00EE"
"\u00EC"
"\u00C4"
"\u00C5"
"\u00C9"
"\u00E6"
"\u00C6"
"\u00F4"
"\u00F6"
"\u00F2"
"\u00FB"
"\u00F9"
"\u00FF"
"\u00D6"
"\u00DC"
"\u00A2"
"\u00A3"
"\u00A5"
"\u20A7"
"\u0192"
"\u00E1"
"\u00ED"
"\u00F3"
"\u00FA"
"\u00F1"
"\u00D1"
"\u00AA"
"\u00BA"
"\u00BF"
"\u2310"
"\u00AC"
"\u00BD"
"\u00BC"
"\u00A1"
"\u00AB"
"\u00BB"
"\u2591"
"\u2592"
"\u2593"
"\u2502"
"\u2524"
"\u2561"
"\u2562"
"\u2556"
"\u2555"
"\u2563"
"\u2551"
"\u2557"
"\u255D"
"\u255C"
"\u255B"
"\u2510"
"\u2514"
"\u2534"
"\u252C"
"\u251C"
"\u2500"
"\u253C"
"\u255E"
"\u255F"
"\u255A"
"\u2554"
"\u2569"
"\u2566"
"\u2560"
"\u2550"
"\u256C"
"\u2567"
"\u2568"
"\u2564"
"\u2565"
"\u2559"
"\u2558"
"\u2552"
"\u2553"
"\u256B"
"\u256A"
"\u2518"
"\u250C"
"\u2588"
"\u2584"
"\u258C"
"\u2590"
"\u2580"
"\u03B1"
"\u00DF"
"\u0393"
"\u03C0"
"\u03A3"
"\u03C3"
"\u00B5"
"\u03C4"
"\u03A6"
"\u0398"
"\u03A9"
"\u03B4"
"\u221E"
"\u03C6"
"\u03B5"
"\u2229"
"\u2261"
"\u00B1"
"\u2265"
"\u2264"
"\u2320"
"\u2321"
"\u00F7"
"\u2248"
"\u00B0"
"\u2219"
"\u00B7"
"\u221A"
"\u207F"
"\u00B2"
"\u25A0"
"\u00A0"
);
def fsCP437FromBytesString(sbData):
return "".join(gsCP437[uByte] for uByte in sbData);
def fsCP437FromByte(uByte):
return gsCP437[uByte];
asCP437HTML = [
" ", "☺", "☻", "♥", "♦", "♣", "♠", "•",
"◘", "○", "◙", "♂", "♀", "♪", "♫", "☼",
"►", "◄", "↕", "‼", "¶", "§", "▬", "↨",
"↑", "↓", "→", "←", "∟", "↔", "▲", "▼",
" ", "!", """, "#", "$", "%", "&", "'",
"(", ")", "*", "+", ",", "-", ".", "/",
"0" , "1", "2", "3", "4", "5", "6", "7",
"8", "9", ":", ";", "<", "=", ">", "?",
"@", "A", "B", "C", "D", "E", "F", "G",
"H", "I", "J", "K", "L", "M", "N", "O",
"P", "Q", "R", "S", "T", "U", "V", "W",
"X", "Y", "Z", "[", "\\", "]", "^", "_",
"`", "a", "b", "c", "d", "e", "f", "g",
"h", "i", "j", "k", "l", "m", "n", "o",
"p", "q", "r", "s", "t", "u", "v", "w",
"x", "y", "z", "{", "|", "}", "~", "⌂",
"Ç", "ü", "é", "â", "ä", "à", "å", "ç",
"ê", "ë", "è", "ï", "î", "ì", "Ä", "Å",
"É", "æ", "Æ", "ô", "ö", "ò", "û", "ù",
"ÿ", "Ö", "Ü", "¢", "£", "¥", "₧", "ƒ",
"á", "í", "ó", "ú", "ñ", "Ñ", "ª", "º",
"¿", "⌐", "¬", "½", "¼", "¡", "«", "»",
"░", "▒", "▓", "│", "┤", "╡", "╢", "╖",
"╕", "╣", "║", "╗", "╝", "╜", "╛", "┐",
"└", "┴", "┬", "├", "─", "┼", "╞", "╟",
"╚", "╔", "╩", "╦", "╠", "═", "╬", "╧",
"╨", "╤", "╥", "╙", "╘", "╒", "╓", "╫",
"╪", "┘", "┌", "█", "▄", "▌", "▐", "▀",
"α", "β", "Γ", "π", "Σ", "σ", "μ", "τ",
"Φ", "Θ", "Ω", "δ", "∞", "φ", "ε", "∩",
"≡", "±", "≥", "≤", "⌠", "⌡", "÷", "≈",
"°", "∙", "·", "√", "ⁿ", "²", "■", " ",
];
def fsCP437HTMLFromBytesString(sbData, u0TabStop = None):
if u0TabStop is None:
return "".join(asCP437HTML[uByte] for uByte in sbData);
sOutput = "";
uOutputIndex = 0;
for uByte in sbData:
if uByte == 9:
# Add at least one space, then pad the output up to the tab stop.
while 1:
sOutput += " ";
uOutputIndex += 1;
if uOutputIndex % u0TabStop == 0:
break;
else:
sOutput += asCP437HTML[uByte];
return sOutput;
def fsCP437HTMLFromChar(sChar):
uChar = ord(sChar);
return asCP437HTML[uChar] if uChar < 0x100 else "&#%d;" % uChar;
def fsCP437HTMLFromString(sData, u0TabStop = None):
sOutput = "";
if u0TabStop is None:
return "".join(fsCP437HTMLFromChar(sChar) for sChar in sData);
uOutputIndex = 0;
for sChar in sData:
if sChar == "\t":
# Add at least one space, then pad the output up to the tab stop.
while 1:
sOutput += " ";
uOutputIndex += 1;
if uOutputIndex % u0TabStop == 0:
break;
else:
sOutput += fsCP437HTMLFromChar(sChar);
return sOutput;
| gs_cp437 = '\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\xa0'
def fs_cp437_from_bytes_string(sbData):
return ''.join((gsCP437[uByte] for u_byte in sbData))
def fs_cp437_from_byte(uByte):
return gsCP437[uByte]
as_cp437_html = [' ', '☺', '☻', '♥', '♦', '♣', '♠', '•', '◘', '○', '◙', '♂', '♀', '♪', '♫', '☼', '►', '◄', '↕', '‼', '¶', '§', '▬', '↨', '↑', '↓', '→', '←', '∟', '↔', '▲', '▼', ' ', '!', '"', '#', '$', '%', '&', "'", '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '|', '}', '~', '⌂', 'Ç', 'ü', 'é', 'â', 'ä', 'à', 'å', 'ç', 'ê', 'ë', 'è', 'ï', 'î', 'ì', 'Ä', 'Å', 'É', 'æ', 'Æ', 'ô', 'ö', 'ò', 'û', 'ù', 'ÿ', 'Ö', 'Ü', '¢', '£', '¥', '₧', 'ƒ', 'á', 'í', 'ó', 'ú', 'ñ', 'Ñ', 'ª', 'º', '¿', '⌐', '¬', '½', '¼', '¡', '«', '»', '░', '▒', '▓', '│', '┤', '╡', '╢', '╖', '╕', '╣', '║', '╗', '╝', '╜', '╛', '┐', '└', '┴', '┬', '├', '─', '┼', '╞', '╟', '╚', '╔', '╩', '╦', '╠', '═', '╬', '╧', '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫', '╪', '┘', '┌', '█', '▄', '▌', '▐', '▀', 'α', 'β', 'Γ', 'π', 'Σ', 'σ', 'μ', 'τ', 'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩', '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈', '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ']
def fs_cp437_html_from_bytes_string(sbData, u0TabStop=None):
if u0TabStop is None:
return ''.join((asCP437HTML[uByte] for u_byte in sbData))
s_output = ''
u_output_index = 0
for u_byte in sbData:
if uByte == 9:
while 1:
s_output += ' '
u_output_index += 1
if uOutputIndex % u0TabStop == 0:
break
else:
s_output += asCP437HTML[uByte]
return sOutput
def fs_cp437_html_from_char(sChar):
u_char = ord(sChar)
return asCP437HTML[uChar] if uChar < 256 else '&#%d;' % uChar
def fs_cp437_html_from_string(sData, u0TabStop=None):
s_output = ''
if u0TabStop is None:
return ''.join((fs_cp437_html_from_char(sChar) for s_char in sData))
u_output_index = 0
for s_char in sData:
if sChar == '\t':
while 1:
s_output += ' '
u_output_index += 1
if uOutputIndex % u0TabStop == 0:
break
else:
s_output += fs_cp437_html_from_char(sChar)
return sOutput |
class Cyclist:
def __init__(self, name, nationality, nickname):
self._name = name
self._nationality = nationality
self._nickname = nickname
@property
def name(self):
return self._name
@name.setter
def name(self, new_name):
self._name = new_name
@property
def nationality(self):
return self._nationality
@nationality.setter
def nationality(self, new_nationality):
self._nationality = new_nationality
@property
def nickname(self):
return self._nickname
@nickname.setter
def nickname(self, new_nickname):
self._nickname = new_nickname
my_cyclist = Cyclist("Greg LeMond", "American", "Le Montstre")
print(my_cyclist.name)
print(my_cyclist.nationality)
print(my_cyclist.nickname)
my_cyclist.name = "Eddy Merckx"
my_cyclist.nationality = "Belgian"
my_cyclist.nickname = "The Cannibal"
print(my_cyclist.name)
print(my_cyclist.nationality)
print(my_cyclist.nickname) | class Cyclist:
def __init__(self, name, nationality, nickname):
self._name = name
self._nationality = nationality
self._nickname = nickname
@property
def name(self):
return self._name
@name.setter
def name(self, new_name):
self._name = new_name
@property
def nationality(self):
return self._nationality
@nationality.setter
def nationality(self, new_nationality):
self._nationality = new_nationality
@property
def nickname(self):
return self._nickname
@nickname.setter
def nickname(self, new_nickname):
self._nickname = new_nickname
my_cyclist = cyclist('Greg LeMond', 'American', 'Le Montstre')
print(my_cyclist.name)
print(my_cyclist.nationality)
print(my_cyclist.nickname)
my_cyclist.name = 'Eddy Merckx'
my_cyclist.nationality = 'Belgian'
my_cyclist.nickname = 'The Cannibal'
print(my_cyclist.name)
print(my_cyclist.nationality)
print(my_cyclist.nickname) |
class Ala:
def __init__(self):
print('a')
class Bob(Ala):
def __init__(self, var):
Ala.__init__(self)
self.var = var
print('b')
class Cecylia(Bob):
def __init__(self, vara, var2):
Bob.__init__(self, vara)
self.var = var2
print('c')
c = Cecylia(3, 5) | class Ala:
def __init__(self):
print('a')
class Bob(Ala):
def __init__(self, var):
Ala.__init__(self)
self.var = var
print('b')
class Cecylia(Bob):
def __init__(self, vara, var2):
Bob.__init__(self, vara)
self.var = var2
print('c')
c = cecylia(3, 5) |
def quadrado_de_pares(numero):
for num in range(2, numero + 1, 2):
print(f'{num}^2 = {num ** 2}')
n = int(input())
quadrado_de_pares(n)
| def quadrado_de_pares(numero):
for num in range(2, numero + 1, 2):
print(f'{num}^2 = {num ** 2}')
n = int(input())
quadrado_de_pares(n) |
def uppercase(func):
def wrapper():
originalResult = func()
modifiedResult = originalResult.upper()
return modifiedResult
return wrapper
@uppercase
def greet():
return 'Hello World!'
print(greet())
# OUTPUT
# HELLO WORLD! | def uppercase(func):
def wrapper():
original_result = func()
modified_result = originalResult.upper()
return modifiedResult
return wrapper
@uppercase
def greet():
return 'Hello World!'
print(greet()) |
panel = pm.getPanel(wf=True)
qtpanel = panel.asQtObject()
sew = qtpanel.children()[-1]
sewl = sew.layout()
seww = sewl.itemAt(1).widget()
sewww = seww.children()[-1]
splitter = sewww.children()[1]
splitter.setOrientation(QtCore.Qt.Orientation.Horizontal)
sc = splitter.widget(0)
se = splitter.widget(1)
splitter.insertWidget(0, se)
save = splitter.saveState()
#str(save)
splitter.restoreState(save)
sc = splitter.widget(0)
se = splitter.widget(1)
splitter.insertWidget(0, se)
qtpanel.focusWidget().hide()
fw = qtpanel.focusWidget()
fw.children()[0].hide()
fw.children()[0].show()
fw.children()[3].hide()
fw.children()[3].show()
te = fw.children()[0]
te.hide()
| panel = pm.getPanel(wf=True)
qtpanel = panel.asQtObject()
sew = qtpanel.children()[-1]
sewl = sew.layout()
seww = sewl.itemAt(1).widget()
sewww = seww.children()[-1]
splitter = sewww.children()[1]
splitter.setOrientation(QtCore.Qt.Orientation.Horizontal)
sc = splitter.widget(0)
se = splitter.widget(1)
splitter.insertWidget(0, se)
save = splitter.saveState()
splitter.restoreState(save)
sc = splitter.widget(0)
se = splitter.widget(1)
splitter.insertWidget(0, se)
qtpanel.focusWidget().hide()
fw = qtpanel.focusWidget()
fw.children()[0].hide()
fw.children()[0].show()
fw.children()[3].hide()
fw.children()[3].show()
te = fw.children()[0]
te.hide() |
#
# PySNMP MIB module P-BRIDGE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/P-BRIDGE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:05:00 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, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection")
dot1dTp, dot1dBasePortEntry, dot1dBridge, dot1dTpPort, dot1dBasePort = mibBuilder.importSymbols("BRIDGE-MIB", "dot1dTp", "dot1dBasePortEntry", "dot1dBridge", "dot1dTpPort", "dot1dBasePort")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Integer32, Counter64, Counter32, ModuleIdentity, iso, Unsigned32, MibIdentifier, Gauge32, Bits, IpAddress, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Integer32", "Counter64", "Counter32", "ModuleIdentity", "iso", "Unsigned32", "MibIdentifier", "Gauge32", "Bits", "IpAddress", "TimeTicks")
TruthValue, DisplayString, MacAddress, TimeInterval, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "DisplayString", "MacAddress", "TimeInterval", "TextualConvention")
pBridgeMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 17, 6))
pBridgeMIB.setRevisions(('2006-01-09 00:00', '1999-08-25 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: pBridgeMIB.setRevisionsDescriptions(('Added dot1dPortRestrictedGroupRegistration. Deprecated pBridgePortGmrpGroup and pBridgeCompliance and added pBridgePortGmrpGroup2 and pBridgeCompliance2.', 'The Bridge MIB Extension module for managing Priority and Multicast Filtering, defined by IEEE 802.1D-1998. Initial version, published as RFC 2674.',))
if mibBuilder.loadTexts: pBridgeMIB.setLastUpdated('200601090000Z')
if mibBuilder.loadTexts: pBridgeMIB.setOrganization('IETF Bridge MIB Working Group')
if mibBuilder.loadTexts: pBridgeMIB.setContactInfo('Email: bridge-mib@ietf.org ietfmibs@ops.ietf.org David Levi Postal: Nortel Networks 4655 Great America Parkway Santa Clara, CA 95054 USA Phone: +1 865 686 0432 Email: dlevi@nortel.com David Harrington Postal: Effective Software 50 Harding Rd. Portsmouth, NH 03801 USA Phone: +1 603 436 8634 Email: ietfdbh@comcast.net Les Bell Postal: Hemel Hempstead, Herts. HP2 7YU UK Email: elbell@ntlworld.com Vivian Ngai Email: vivian_ngai@acm.org Andrew Smith Postal: Beijing Harbour Networks Jiuling Building 21 North Xisanhuan Ave. Beijing, 100089 PRC Fax: +1 415 345 1827 Email: ah_smith@acm.org Paul Langille Postal: Newbridge Networks 5 Corporate Drive Andover, MA 01810 USA Phone: +1 978 691 4665 Email: langille@newbridge.com Anil Rijhsinghani Postal: Accton Technology Corporation 5 Mount Royal Ave Marlboro, MA 01752 USA Phone: Email: anil@accton.com Keith McCloghrie Postal: Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA Phone: +1 408 526 5260 Email: kzm@cisco.com')
if mibBuilder.loadTexts: pBridgeMIB.setDescription('The Bridge MIB Extension module for managing Priority and Multicast Filtering, defined by IEEE 802.1D-1998, including Restricted Group Registration defined by IEEE 802.1t-2001. Copyright (C) The Internet Society (2006). This version of this MIB module is part of RFC 4363; See the RFC itself for full legal notices.')
pBridgeMIBObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1))
class EnabledStatus(TextualConvention, Integer32):
description = 'A simple status value for the object.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("enabled", 1), ("disabled", 2))
dot1dExtBase = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 1))
dot1dPriority = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 2))
dot1dGarp = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 3))
dot1dGmrp = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 4))
dot1dDeviceCapabilities = MibScalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 1), Bits().clone(namedValues=NamedValues(("dot1dExtendedFilteringServices", 0), ("dot1dTrafficClasses", 1), ("dot1qStaticEntryIndividualPort", 2), ("dot1qIVLCapable", 3), ("dot1qSVLCapable", 4), ("dot1qHybridCapable", 5), ("dot1qConfigurablePvidTagging", 6), ("dot1dLocalVlanCapable", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dDeviceCapabilities.setReference('ISO/IEC 15802-3 Section 5.2, IEEE 802.1Q/D11 Section 5.2, 12.10.1.1.3/b/2')
if mibBuilder.loadTexts: dot1dDeviceCapabilities.setStatus('current')
if mibBuilder.loadTexts: dot1dDeviceCapabilities.setDescription('Indicates the optional parts of IEEE 802.1D and 802.1Q that are implemented by this device and are manageable through this MIB. Capabilities that are allowed on a per-port basis are indicated in dot1dPortCapabilities. dot1dExtendedFilteringServices(0), -- can perform filtering of -- individual multicast addresses -- controlled by GMRP. dot1dTrafficClasses(1), -- can map user priority to -- multiple traffic classes. dot1qStaticEntryIndividualPort(2), -- dot1qStaticUnicastReceivePort & -- dot1qStaticMulticastReceivePort -- can represent non-zero entries. dot1qIVLCapable(3), -- Independent VLAN Learning (IVL). dot1qSVLCapable(4), -- Shared VLAN Learning (SVL). dot1qHybridCapable(5), -- both IVL & SVL simultaneously. dot1qConfigurablePvidTagging(6), -- whether the implementation -- supports the ability to -- override the default PVID -- setting and its egress status -- (VLAN-Tagged or Untagged) on -- each port. dot1dLocalVlanCapable(7) -- can support multiple local -- bridges, outside of the scope -- of 802.1Q defined VLANs.')
dot1dTrafficClassesEnabled = MibScalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 2), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dTrafficClassesEnabled.setStatus('current')
if mibBuilder.loadTexts: dot1dTrafficClassesEnabled.setDescription('The value true(1) indicates that Traffic Classes are enabled on this bridge. When false(2), the bridge operates with a single priority level for all traffic. The value of this object MUST be retained across reinitializations of the management system.')
dot1dGmrpStatus = MibScalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 3), EnabledStatus().clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dGmrpStatus.setStatus('current')
if mibBuilder.loadTexts: dot1dGmrpStatus.setDescription('The administrative status requested by management for GMRP. The value enabled(1) indicates that GMRP should be enabled on this device, in all VLANs, on all ports for which it has not been specifically disabled. When disabled(2), GMRP is disabled, in all VLANs and on all ports, and all GMRP packets will be forwarded transparently. This object affects both Applicant and Registrar state machines. A transition from disabled(2) to enabled(1) will cause a reset of all GMRP state machines on all ports. The value of this object MUST be retained across reinitializations of the management system.')
dot1dPortCapabilitiesTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4), )
if mibBuilder.loadTexts: dot1dPortCapabilitiesTable.setStatus('current')
if mibBuilder.loadTexts: dot1dPortCapabilitiesTable.setDescription('A table that contains capabilities information about every port that is associated with this bridge.')
dot1dPortCapabilitiesEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4, 1), )
dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortCapabilitiesEntry"))
dot1dPortCapabilitiesEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts: dot1dPortCapabilitiesEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dPortCapabilitiesEntry.setDescription('A set of capabilities information about this port indexed by dot1dBasePort.')
dot1dPortCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4, 1, 1), Bits().clone(namedValues=NamedValues(("dot1qDot1qTagging", 0), ("dot1qConfigurableAcceptableFrameTypes", 1), ("dot1qIngressFiltering", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dPortCapabilities.setReference('ISO/IEC 15802-3 Section 5.2, IEEE 802.1Q/D11 Section 5.2')
if mibBuilder.loadTexts: dot1dPortCapabilities.setStatus('current')
if mibBuilder.loadTexts: dot1dPortCapabilities.setDescription('Indicates the parts of IEEE 802.1D and 802.1Q that are optional on a per-port basis, that are implemented by this device, and that are manageable through this MIB. dot1qDot1qTagging(0), -- supports 802.1Q VLAN tagging of -- frames and GVRP. dot1qConfigurableAcceptableFrameTypes(1), -- allows modified values of -- dot1qPortAcceptableFrameTypes. dot1qIngressFiltering(2) -- supports the discarding of any -- frame received on a Port whose -- VLAN classification does not -- include that Port in its Member -- set.')
dot1dPortPriorityTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1), )
if mibBuilder.loadTexts: dot1dPortPriorityTable.setStatus('current')
if mibBuilder.loadTexts: dot1dPortPriorityTable.setDescription('A table that contains information about every port that is associated with this transparent bridge.')
dot1dPortPriorityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1), )
dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortPriorityEntry"))
dot1dPortPriorityEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts: dot1dPortPriorityEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dPortPriorityEntry.setDescription('A list of Default User Priorities for each port of a transparent bridge. This is indexed by dot1dBasePort.')
dot1dPortDefaultUserPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dPortDefaultUserPriority.setStatus('current')
if mibBuilder.loadTexts: dot1dPortDefaultUserPriority.setDescription('The default ingress User Priority for this port. This only has effect on media, such as Ethernet, that do not support native User Priority. The value of this object MUST be retained across reinitializations of the management system.')
dot1dPortNumTrafficClasses = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dPortNumTrafficClasses.setStatus('current')
if mibBuilder.loadTexts: dot1dPortNumTrafficClasses.setDescription('The number of egress traffic classes supported on this port. This object may optionally be read-only. The value of this object MUST be retained across reinitializations of the management system.')
dot1dUserPriorityRegenTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2), )
if mibBuilder.loadTexts: dot1dUserPriorityRegenTable.setReference('ISO/IEC 15802-3 Section 6.4')
if mibBuilder.loadTexts: dot1dUserPriorityRegenTable.setStatus('current')
if mibBuilder.loadTexts: dot1dUserPriorityRegenTable.setDescription('A list of Regenerated User Priorities for each received User Priority on each port of a bridge. The Regenerated User Priority value may be used to index the Traffic Class Table for each input port. This only has effect on media that support native User Priority. The default values for Regenerated User Priorities are the same as the User Priorities.')
dot1dUserPriorityRegenEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1), ).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "P-BRIDGE-MIB", "dot1dUserPriority"))
if mibBuilder.loadTexts: dot1dUserPriorityRegenEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dUserPriorityRegenEntry.setDescription('A mapping of incoming User Priority to a Regenerated User Priority.')
dot1dUserPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)))
if mibBuilder.loadTexts: dot1dUserPriority.setStatus('current')
if mibBuilder.loadTexts: dot1dUserPriority.setDescription('The User Priority for a frame received on this port.')
dot1dRegenUserPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dRegenUserPriority.setStatus('current')
if mibBuilder.loadTexts: dot1dRegenUserPriority.setDescription('The Regenerated User Priority that the incoming User Priority is mapped to for this port. The value of this object MUST be retained across reinitializations of the management system.')
dot1dTrafficClassTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3), )
if mibBuilder.loadTexts: dot1dTrafficClassTable.setReference('ISO/IEC 15802-3 Table 7-2')
if mibBuilder.loadTexts: dot1dTrafficClassTable.setStatus('current')
if mibBuilder.loadTexts: dot1dTrafficClassTable.setDescription('A table mapping evaluated User Priority to Traffic Class, for forwarding by the bridge. Traffic class is a number in the range (0..(dot1dPortNumTrafficClasses-1)).')
dot1dTrafficClassEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1), ).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "P-BRIDGE-MIB", "dot1dTrafficClassPriority"))
if mibBuilder.loadTexts: dot1dTrafficClassEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dTrafficClassEntry.setDescription('User Priority to Traffic Class mapping.')
dot1dTrafficClassPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)))
if mibBuilder.loadTexts: dot1dTrafficClassPriority.setStatus('current')
if mibBuilder.loadTexts: dot1dTrafficClassPriority.setDescription('The Priority value determined for the received frame. This value is equivalent to the priority indicated in the tagged frame received, or one of the evaluated priorities, determined according to the media-type. For untagged frames received from Ethernet media, this value is equal to the dot1dPortDefaultUserPriority value for the ingress port. For untagged frames received from non-Ethernet media, this value is equal to the dot1dRegenUserPriority value for the ingress port and media-specific user priority.')
dot1dTrafficClass = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dTrafficClass.setStatus('current')
if mibBuilder.loadTexts: dot1dTrafficClass.setDescription('The Traffic Class the received frame is mapped to. The value of this object MUST be retained across reinitializations of the management system.')
dot1dPortOutboundAccessPriorityTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4), )
if mibBuilder.loadTexts: dot1dPortOutboundAccessPriorityTable.setReference('ISO/IEC 15802-3 Table 7-3')
if mibBuilder.loadTexts: dot1dPortOutboundAccessPriorityTable.setStatus('current')
if mibBuilder.loadTexts: dot1dPortOutboundAccessPriorityTable.setDescription('A table mapping Regenerated User Priority to Outbound Access Priority. This is a fixed mapping for all port types, with two options for 802.5 Token Ring.')
dot1dPortOutboundAccessPriorityEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4, 1), ).setIndexNames((0, "BRIDGE-MIB", "dot1dBasePort"), (0, "P-BRIDGE-MIB", "dot1dRegenUserPriority"))
if mibBuilder.loadTexts: dot1dPortOutboundAccessPriorityEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dPortOutboundAccessPriorityEntry.setDescription('Regenerated User Priority to Outbound Access Priority mapping.')
dot1dPortOutboundAccessPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dPortOutboundAccessPriority.setStatus('current')
if mibBuilder.loadTexts: dot1dPortOutboundAccessPriority.setDescription('The Outbound Access Priority the received frame is mapped to.')
dot1dPortGarpTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1), )
if mibBuilder.loadTexts: dot1dPortGarpTable.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGarpTable.setDescription('A table of GARP control information about every bridge port. This is indexed by dot1dBasePort.')
dot1dPortGarpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1), )
dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortGarpEntry"))
dot1dPortGarpEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts: dot1dPortGarpEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGarpEntry.setDescription('GARP control information for a bridge port.')
dot1dPortGarpJoinTime = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 1), TimeInterval().clone(20)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dPortGarpJoinTime.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGarpJoinTime.setDescription('The GARP Join time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
dot1dPortGarpLeaveTime = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 2), TimeInterval().clone(60)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dPortGarpLeaveTime.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGarpLeaveTime.setDescription('The GARP Leave time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
dot1dPortGarpLeaveAllTime = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 3), TimeInterval().clone(1000)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dPortGarpLeaveAllTime.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGarpLeaveAllTime.setDescription('The GARP LeaveAll time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
dot1dPortGmrpTable = MibTable((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1), )
if mibBuilder.loadTexts: dot1dPortGmrpTable.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGmrpTable.setDescription('A table of GMRP control and status information about every bridge port. Augments the dot1dBasePortTable.')
dot1dPortGmrpEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1), )
dot1dBasePortEntry.registerAugmentions(("P-BRIDGE-MIB", "dot1dPortGmrpEntry"))
dot1dPortGmrpEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts: dot1dPortGmrpEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGmrpEntry.setDescription('GMRP control and status information for a bridge port.')
dot1dPortGmrpStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 1), EnabledStatus().clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dPortGmrpStatus.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGmrpStatus.setDescription('The administrative state of GMRP operation on this port. The value enabled(1) indicates that GMRP is enabled on this port in all VLANs as long as dot1dGmrpStatus is also enabled(1). A value of disabled(2) indicates that GMRP is disabled on this port in all VLANs: any GMRP packets received will be silently discarded, and no GMRP registrations will be propagated from other ports. Setting this to a value of enabled(1) will be stored by the agent but will only take effect on the GMRP protocol operation if dot1dGmrpStatus also indicates the value enabled(1). This object affects all GMRP Applicant and Registrar state machines on this port. A transition from disabled(2) to enabled(1) will cause a reset of all GMRP state machines on this port. The value of this object MUST be retained across reinitializations of the management system.')
dot1dPortGmrpFailedRegistrations = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dPortGmrpFailedRegistrations.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGmrpFailedRegistrations.setDescription('The total number of failed GMRP registrations, for any reason, in all VLANs, on this port.')
dot1dPortGmrpLastPduOrigin = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 3), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dPortGmrpLastPduOrigin.setStatus('current')
if mibBuilder.loadTexts: dot1dPortGmrpLastPduOrigin.setDescription('The Source MAC Address of the last GMRP message received on this port.')
dot1dPortRestrictedGroupRegistration = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dot1dPortRestrictedGroupRegistration.setReference('IEEE 802.1t clause 10.3.2.3, 14.10.1.3.')
if mibBuilder.loadTexts: dot1dPortRestrictedGroupRegistration.setStatus('current')
if mibBuilder.loadTexts: dot1dPortRestrictedGroupRegistration.setDescription('The state of Restricted Group Registration on this port. If the value of this control is true(1), then creation of a new dynamic entry is permitted only if there is a Static Filtering Entry for the VLAN concerned, in which the Registrar Administrative Control value is Normal Registration. The value of this object MUST be retained across reinitializations of the management system.')
dot1dTpHCPortTable = MibTable((1, 3, 6, 1, 2, 1, 17, 4, 5), )
if mibBuilder.loadTexts: dot1dTpHCPortTable.setStatus('current')
if mibBuilder.loadTexts: dot1dTpHCPortTable.setDescription('A table that contains information about every high- capacity port that is associated with this transparent bridge.')
dot1dTpHCPortEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 4, 5, 1), ).setIndexNames((0, "BRIDGE-MIB", "dot1dTpPort"))
if mibBuilder.loadTexts: dot1dTpHCPortEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dTpHCPortEntry.setDescription('Statistics information for each high-capacity port of a transparent bridge.')
dot1dTpHCPortInFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 1), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dTpHCPortInFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts: dot1dTpHCPortInFrames.setStatus('current')
if mibBuilder.loadTexts: dot1dTpHCPortInFrames.setDescription('The number of frames that have been received by this port from its segment. Note that a frame received on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.')
dot1dTpHCPortOutFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 2), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dTpHCPortOutFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts: dot1dTpHCPortOutFrames.setStatus('current')
if mibBuilder.loadTexts: dot1dTpHCPortOutFrames.setDescription('The number of frames that have been transmitted by this port to its segment. Note that a frame transmitted on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.')
dot1dTpHCPortInDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 3), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dTpHCPortInDiscards.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts: dot1dTpHCPortInDiscards.setStatus('current')
if mibBuilder.loadTexts: dot1dTpHCPortInDiscards.setDescription('Count of valid frames that have been received by this port from its segment that were discarded (i.e., filtered) by the Forwarding Process.')
dot1dTpPortOverflowTable = MibTable((1, 3, 6, 1, 2, 1, 17, 4, 6), )
if mibBuilder.loadTexts: dot1dTpPortOverflowTable.setStatus('current')
if mibBuilder.loadTexts: dot1dTpPortOverflowTable.setDescription('A table that contains the most-significant bits of statistics counters for ports that are associated with this transparent bridge that are on high-capacity interfaces, as defined in the conformance clauses for this table. This table is provided as a way to read 64-bit counters for agents that support only SNMPv1. Note that the reporting of most-significant and least-significant counter bits separately runs the risk of missing an overflow of the lower bits in the interval between sampling. The manager must be aware of this possibility, even within the same varbindlist, when interpreting the results of a request or asynchronous notification.')
dot1dTpPortOverflowEntry = MibTableRow((1, 3, 6, 1, 2, 1, 17, 4, 6, 1), ).setIndexNames((0, "BRIDGE-MIB", "dot1dTpPort"))
if mibBuilder.loadTexts: dot1dTpPortOverflowEntry.setStatus('current')
if mibBuilder.loadTexts: dot1dTpPortOverflowEntry.setDescription('The most significant bits of statistics counters for a high- capacity interface of a transparent bridge. Each object is associated with a corresponding object in dot1dTpPortTable that indicates the least significant bits of the counter.')
dot1dTpPortInOverflowFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dTpPortInOverflowFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts: dot1dTpPortInOverflowFrames.setStatus('current')
if mibBuilder.loadTexts: dot1dTpPortInOverflowFrames.setDescription('The number of times the associated dot1dTpPortInFrames counter has overflowed.')
dot1dTpPortOutOverflowFrames = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dTpPortOutOverflowFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts: dot1dTpPortOutOverflowFrames.setStatus('current')
if mibBuilder.loadTexts: dot1dTpPortOutOverflowFrames.setDescription('The number of times the associated dot1dTpPortOutFrames counter has overflowed.')
dot1dTpPortInOverflowDiscards = MibTableColumn((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dot1dTpPortInOverflowDiscards.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts: dot1dTpPortInOverflowDiscards.setStatus('current')
if mibBuilder.loadTexts: dot1dTpPortInOverflowDiscards.setDescription('The number of times the associated dot1dTpPortInDiscards counter has overflowed.')
pBridgeConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 2))
pBridgeGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 2, 1))
pBridgeCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 17, 6, 2, 2))
pBridgeExtCapGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 1)).setObjects(("P-BRIDGE-MIB", "dot1dDeviceCapabilities"), ("P-BRIDGE-MIB", "dot1dPortCapabilities"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeExtCapGroup = pBridgeExtCapGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgeExtCapGroup.setDescription('A collection of objects indicating the optional capabilities of the device.')
pBridgeDeviceGmrpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 2)).setObjects(("P-BRIDGE-MIB", "dot1dGmrpStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeDeviceGmrpGroup = pBridgeDeviceGmrpGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgeDeviceGmrpGroup.setDescription('A collection of objects providing device-level control for the Multicast Filtering extended bridge services.')
pBridgeDevicePriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 3)).setObjects(("P-BRIDGE-MIB", "dot1dTrafficClassesEnabled"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeDevicePriorityGroup = pBridgeDevicePriorityGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgeDevicePriorityGroup.setDescription('A collection of objects providing device-level control for the Priority services.')
pBridgeDefaultPriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 4)).setObjects(("P-BRIDGE-MIB", "dot1dPortDefaultUserPriority"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeDefaultPriorityGroup = pBridgeDefaultPriorityGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgeDefaultPriorityGroup.setDescription('A collection of objects defining the User Priority applicable to each port for media that do not support native User Priority.')
pBridgeRegenPriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 5)).setObjects(("P-BRIDGE-MIB", "dot1dRegenUserPriority"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeRegenPriorityGroup = pBridgeRegenPriorityGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgeRegenPriorityGroup.setDescription('A collection of objects defining the User Priorities applicable to each port for media that support native User Priority.')
pBridgePriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 6)).setObjects(("P-BRIDGE-MIB", "dot1dPortNumTrafficClasses"), ("P-BRIDGE-MIB", "dot1dTrafficClass"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgePriorityGroup = pBridgePriorityGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgePriorityGroup.setDescription('A collection of objects defining the traffic classes within a bridge for each evaluated User Priority.')
pBridgeAccessPriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 7)).setObjects(("P-BRIDGE-MIB", "dot1dPortOutboundAccessPriority"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeAccessPriorityGroup = pBridgeAccessPriorityGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgeAccessPriorityGroup.setDescription('A collection of objects defining the media-dependent outbound access level for each priority.')
pBridgePortGarpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 8)).setObjects(("P-BRIDGE-MIB", "dot1dPortGarpJoinTime"), ("P-BRIDGE-MIB", "dot1dPortGarpLeaveTime"), ("P-BRIDGE-MIB", "dot1dPortGarpLeaveAllTime"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgePortGarpGroup = pBridgePortGarpGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgePortGarpGroup.setDescription('A collection of objects providing port level control and status information for GARP operation.')
pBridgePortGmrpGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 9)).setObjects(("P-BRIDGE-MIB", "dot1dPortGmrpStatus"), ("P-BRIDGE-MIB", "dot1dPortGmrpFailedRegistrations"), ("P-BRIDGE-MIB", "dot1dPortGmrpLastPduOrigin"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgePortGmrpGroup = pBridgePortGmrpGroup.setStatus('deprecated')
if mibBuilder.loadTexts: pBridgePortGmrpGroup.setDescription('A collection of objects providing port level control and status information for GMRP operation.')
pBridgeHCPortGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 10)).setObjects(("P-BRIDGE-MIB", "dot1dTpHCPortInFrames"), ("P-BRIDGE-MIB", "dot1dTpHCPortOutFrames"), ("P-BRIDGE-MIB", "dot1dTpHCPortInDiscards"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeHCPortGroup = pBridgeHCPortGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgeHCPortGroup.setDescription('A collection of objects providing 64-bit statistics counters for high-capacity bridge ports.')
pBridgePortOverflowGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 11)).setObjects(("P-BRIDGE-MIB", "dot1dTpPortInOverflowFrames"), ("P-BRIDGE-MIB", "dot1dTpPortOutOverflowFrames"), ("P-BRIDGE-MIB", "dot1dTpPortInOverflowDiscards"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgePortOverflowGroup = pBridgePortOverflowGroup.setStatus('current')
if mibBuilder.loadTexts: pBridgePortOverflowGroup.setDescription('A collection of objects providing overflow statistics counters for high-capacity bridge ports.')
pBridgePortGmrpGroup2 = ObjectGroup((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 12)).setObjects(("P-BRIDGE-MIB", "dot1dPortGmrpStatus"), ("P-BRIDGE-MIB", "dot1dPortGmrpFailedRegistrations"), ("P-BRIDGE-MIB", "dot1dPortGmrpLastPduOrigin"), ("P-BRIDGE-MIB", "dot1dPortRestrictedGroupRegistration"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgePortGmrpGroup2 = pBridgePortGmrpGroup2.setStatus('current')
if mibBuilder.loadTexts: pBridgePortGmrpGroup2.setDescription('A collection of objects providing port level control and status information for GMRP operation.')
pBridgeCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 6, 2, 2, 1)).setObjects(("P-BRIDGE-MIB", "pBridgeExtCapGroup"), ("P-BRIDGE-MIB", "pBridgeDeviceGmrpGroup"), ("P-BRIDGE-MIB", "pBridgeDevicePriorityGroup"), ("P-BRIDGE-MIB", "pBridgeDefaultPriorityGroup"), ("P-BRIDGE-MIB", "pBridgeRegenPriorityGroup"), ("P-BRIDGE-MIB", "pBridgePriorityGroup"), ("P-BRIDGE-MIB", "pBridgeAccessPriorityGroup"), ("P-BRIDGE-MIB", "pBridgePortGarpGroup"), ("P-BRIDGE-MIB", "pBridgePortGmrpGroup"), ("P-BRIDGE-MIB", "pBridgeHCPortGroup"), ("P-BRIDGE-MIB", "pBridgePortOverflowGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeCompliance = pBridgeCompliance.setStatus('deprecated')
if mibBuilder.loadTexts: pBridgeCompliance.setDescription('The compliance statement for device support of Priority and Multicast Filtering extended bridging services.')
pBridgeCompliance2 = ModuleCompliance((1, 3, 6, 1, 2, 1, 17, 6, 2, 2, 2)).setObjects(("P-BRIDGE-MIB", "pBridgeExtCapGroup"), ("P-BRIDGE-MIB", "pBridgeDeviceGmrpGroup"), ("P-BRIDGE-MIB", "pBridgeDevicePriorityGroup"), ("P-BRIDGE-MIB", "pBridgeDefaultPriorityGroup"), ("P-BRIDGE-MIB", "pBridgeRegenPriorityGroup"), ("P-BRIDGE-MIB", "pBridgePriorityGroup"), ("P-BRIDGE-MIB", "pBridgeAccessPriorityGroup"), ("P-BRIDGE-MIB", "pBridgePortGarpGroup"), ("P-BRIDGE-MIB", "pBridgePortGmrpGroup2"), ("P-BRIDGE-MIB", "pBridgeHCPortGroup"), ("P-BRIDGE-MIB", "pBridgePortOverflowGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pBridgeCompliance2 = pBridgeCompliance2.setStatus('current')
if mibBuilder.loadTexts: pBridgeCompliance2.setDescription('The compliance statement for device support of Priority and Multicast Filtering extended bridging services.')
mibBuilder.exportSymbols("P-BRIDGE-MIB", dot1dTrafficClass=dot1dTrafficClass, dot1dPortOutboundAccessPriority=dot1dPortOutboundAccessPriority, dot1dPortGarpLeaveTime=dot1dPortGarpLeaveTime, dot1dPortGmrpEntry=dot1dPortGmrpEntry, dot1dDeviceCapabilities=dot1dDeviceCapabilities, dot1dGarp=dot1dGarp, pBridgeCompliance2=pBridgeCompliance2, dot1dPortGmrpStatus=dot1dPortGmrpStatus, dot1dPortGmrpLastPduOrigin=dot1dPortGmrpLastPduOrigin, dot1dUserPriorityRegenEntry=dot1dUserPriorityRegenEntry, dot1dTpHCPortOutFrames=dot1dTpHCPortOutFrames, dot1dTpPortInOverflowDiscards=dot1dTpPortInOverflowDiscards, dot1dPortCapabilities=dot1dPortCapabilities, pBridgeDevicePriorityGroup=pBridgeDevicePriorityGroup, pBridgePortGarpGroup=pBridgePortGarpGroup, dot1dTrafficClassEntry=dot1dTrafficClassEntry, pBridgeDeviceGmrpGroup=pBridgeDeviceGmrpGroup, dot1dGmrp=dot1dGmrp, dot1dPortRestrictedGroupRegistration=dot1dPortRestrictedGroupRegistration, pBridgeConformance=pBridgeConformance, pBridgeCompliances=pBridgeCompliances, pBridgePortGmrpGroup2=pBridgePortGmrpGroup2, dot1dPortDefaultUserPriority=dot1dPortDefaultUserPriority, dot1dPortCapabilitiesTable=dot1dPortCapabilitiesTable, dot1dPortGarpJoinTime=dot1dPortGarpJoinTime, dot1dPortGmrpTable=dot1dPortGmrpTable, pBridgeDefaultPriorityGroup=pBridgeDefaultPriorityGroup, pBridgeCompliance=pBridgeCompliance, dot1dExtBase=dot1dExtBase, pBridgeHCPortGroup=pBridgeHCPortGroup, dot1dPortCapabilitiesEntry=dot1dPortCapabilitiesEntry, dot1dGmrpStatus=dot1dGmrpStatus, pBridgePortOverflowGroup=pBridgePortOverflowGroup, dot1dTpHCPortEntry=dot1dTpHCPortEntry, dot1dUserPriorityRegenTable=dot1dUserPriorityRegenTable, dot1dTpHCPortInFrames=dot1dTpHCPortInFrames, dot1dPortOutboundAccessPriorityEntry=dot1dPortOutboundAccessPriorityEntry, dot1dPortGarpTable=dot1dPortGarpTable, pBridgeGroups=pBridgeGroups, dot1dTrafficClassesEnabled=dot1dTrafficClassesEnabled, dot1dTrafficClassTable=dot1dTrafficClassTable, dot1dTpPortOverflowEntry=dot1dTpPortOverflowEntry, pBridgeMIB=pBridgeMIB, dot1dPortPriorityEntry=dot1dPortPriorityEntry, dot1dPortGmrpFailedRegistrations=dot1dPortGmrpFailedRegistrations, dot1dTpPortOverflowTable=dot1dTpPortOverflowTable, pBridgePriorityGroup=pBridgePriorityGroup, dot1dTpPortOutOverflowFrames=dot1dTpPortOutOverflowFrames, pBridgeRegenPriorityGroup=pBridgeRegenPriorityGroup, EnabledStatus=EnabledStatus, PYSNMP_MODULE_ID=pBridgeMIB, dot1dPortGarpLeaveAllTime=dot1dPortGarpLeaveAllTime, dot1dTpPortInOverflowFrames=dot1dTpPortInOverflowFrames, pBridgeMIBObjects=pBridgeMIBObjects, pBridgeAccessPriorityGroup=pBridgeAccessPriorityGroup, pBridgePortGmrpGroup=pBridgePortGmrpGroup, dot1dPortPriorityTable=dot1dPortPriorityTable, dot1dUserPriority=dot1dUserPriority, dot1dPortGarpEntry=dot1dPortGarpEntry, dot1dPortOutboundAccessPriorityTable=dot1dPortOutboundAccessPriorityTable, dot1dTrafficClassPriority=dot1dTrafficClassPriority, dot1dTpHCPortInDiscards=dot1dTpHCPortInDiscards, dot1dRegenUserPriority=dot1dRegenUserPriority, dot1dTpHCPortTable=dot1dTpHCPortTable, pBridgeExtCapGroup=pBridgeExtCapGroup, dot1dPortNumTrafficClasses=dot1dPortNumTrafficClasses, dot1dPriority=dot1dPriority)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_size_constraint, single_value_constraint, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection')
(dot1d_tp, dot1d_base_port_entry, dot1d_bridge, dot1d_tp_port, dot1d_base_port) = mibBuilder.importSymbols('BRIDGE-MIB', 'dot1dTp', 'dot1dBasePortEntry', 'dot1dBridge', 'dot1dTpPort', 'dot1dBasePort')
(module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup')
(object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, integer32, counter64, counter32, module_identity, iso, unsigned32, mib_identifier, gauge32, bits, ip_address, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'Integer32', 'Counter64', 'Counter32', 'ModuleIdentity', 'iso', 'Unsigned32', 'MibIdentifier', 'Gauge32', 'Bits', 'IpAddress', 'TimeTicks')
(truth_value, display_string, mac_address, time_interval, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'DisplayString', 'MacAddress', 'TimeInterval', 'TextualConvention')
p_bridge_mib = module_identity((1, 3, 6, 1, 2, 1, 17, 6))
pBridgeMIB.setRevisions(('2006-01-09 00:00', '1999-08-25 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
pBridgeMIB.setRevisionsDescriptions(('Added dot1dPortRestrictedGroupRegistration. Deprecated pBridgePortGmrpGroup and pBridgeCompliance and added pBridgePortGmrpGroup2 and pBridgeCompliance2.', 'The Bridge MIB Extension module for managing Priority and Multicast Filtering, defined by IEEE 802.1D-1998. Initial version, published as RFC 2674.'))
if mibBuilder.loadTexts:
pBridgeMIB.setLastUpdated('200601090000Z')
if mibBuilder.loadTexts:
pBridgeMIB.setOrganization('IETF Bridge MIB Working Group')
if mibBuilder.loadTexts:
pBridgeMIB.setContactInfo('Email: bridge-mib@ietf.org ietfmibs@ops.ietf.org David Levi Postal: Nortel Networks 4655 Great America Parkway Santa Clara, CA 95054 USA Phone: +1 865 686 0432 Email: dlevi@nortel.com David Harrington Postal: Effective Software 50 Harding Rd. Portsmouth, NH 03801 USA Phone: +1 603 436 8634 Email: ietfdbh@comcast.net Les Bell Postal: Hemel Hempstead, Herts. HP2 7YU UK Email: elbell@ntlworld.com Vivian Ngai Email: vivian_ngai@acm.org Andrew Smith Postal: Beijing Harbour Networks Jiuling Building 21 North Xisanhuan Ave. Beijing, 100089 PRC Fax: +1 415 345 1827 Email: ah_smith@acm.org Paul Langille Postal: Newbridge Networks 5 Corporate Drive Andover, MA 01810 USA Phone: +1 978 691 4665 Email: langille@newbridge.com Anil Rijhsinghani Postal: Accton Technology Corporation 5 Mount Royal Ave Marlboro, MA 01752 USA Phone: Email: anil@accton.com Keith McCloghrie Postal: Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA Phone: +1 408 526 5260 Email: kzm@cisco.com')
if mibBuilder.loadTexts:
pBridgeMIB.setDescription('The Bridge MIB Extension module for managing Priority and Multicast Filtering, defined by IEEE 802.1D-1998, including Restricted Group Registration defined by IEEE 802.1t-2001. Copyright (C) The Internet Society (2006). This version of this MIB module is part of RFC 4363; See the RFC itself for full legal notices.')
p_bridge_mib_objects = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 1))
class Enabledstatus(TextualConvention, Integer32):
description = 'A simple status value for the object.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('enabled', 1), ('disabled', 2))
dot1d_ext_base = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 1))
dot1d_priority = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 2))
dot1d_garp = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 3))
dot1d_gmrp = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 1, 4))
dot1d_device_capabilities = mib_scalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 1), bits().clone(namedValues=named_values(('dot1dExtendedFilteringServices', 0), ('dot1dTrafficClasses', 1), ('dot1qStaticEntryIndividualPort', 2), ('dot1qIVLCapable', 3), ('dot1qSVLCapable', 4), ('dot1qHybridCapable', 5), ('dot1qConfigurablePvidTagging', 6), ('dot1dLocalVlanCapable', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dDeviceCapabilities.setReference('ISO/IEC 15802-3 Section 5.2, IEEE 802.1Q/D11 Section 5.2, 12.10.1.1.3/b/2')
if mibBuilder.loadTexts:
dot1dDeviceCapabilities.setStatus('current')
if mibBuilder.loadTexts:
dot1dDeviceCapabilities.setDescription('Indicates the optional parts of IEEE 802.1D and 802.1Q that are implemented by this device and are manageable through this MIB. Capabilities that are allowed on a per-port basis are indicated in dot1dPortCapabilities. dot1dExtendedFilteringServices(0), -- can perform filtering of -- individual multicast addresses -- controlled by GMRP. dot1dTrafficClasses(1), -- can map user priority to -- multiple traffic classes. dot1qStaticEntryIndividualPort(2), -- dot1qStaticUnicastReceivePort & -- dot1qStaticMulticastReceivePort -- can represent non-zero entries. dot1qIVLCapable(3), -- Independent VLAN Learning (IVL). dot1qSVLCapable(4), -- Shared VLAN Learning (SVL). dot1qHybridCapable(5), -- both IVL & SVL simultaneously. dot1qConfigurablePvidTagging(6), -- whether the implementation -- supports the ability to -- override the default PVID -- setting and its egress status -- (VLAN-Tagged or Untagged) on -- each port. dot1dLocalVlanCapable(7) -- can support multiple local -- bridges, outside of the scope -- of 802.1Q defined VLANs.')
dot1d_traffic_classes_enabled = mib_scalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 2), truth_value().clone('true')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dTrafficClassesEnabled.setStatus('current')
if mibBuilder.loadTexts:
dot1dTrafficClassesEnabled.setDescription('The value true(1) indicates that Traffic Classes are enabled on this bridge. When false(2), the bridge operates with a single priority level for all traffic. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_gmrp_status = mib_scalar((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 3), enabled_status().clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dGmrpStatus.setStatus('current')
if mibBuilder.loadTexts:
dot1dGmrpStatus.setDescription('The administrative status requested by management for GMRP. The value enabled(1) indicates that GMRP should be enabled on this device, in all VLANs, on all ports for which it has not been specifically disabled. When disabled(2), GMRP is disabled, in all VLANs and on all ports, and all GMRP packets will be forwarded transparently. This object affects both Applicant and Registrar state machines. A transition from disabled(2) to enabled(1) will cause a reset of all GMRP state machines on all ports. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_port_capabilities_table = mib_table((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4))
if mibBuilder.loadTexts:
dot1dPortCapabilitiesTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortCapabilitiesTable.setDescription('A table that contains capabilities information about every port that is associated with this bridge.')
dot1d_port_capabilities_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4, 1))
dot1dBasePortEntry.registerAugmentions(('P-BRIDGE-MIB', 'dot1dPortCapabilitiesEntry'))
dot1dPortCapabilitiesEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts:
dot1dPortCapabilitiesEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortCapabilitiesEntry.setDescription('A set of capabilities information about this port indexed by dot1dBasePort.')
dot1d_port_capabilities = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 1, 4, 1, 1), bits().clone(namedValues=named_values(('dot1qDot1qTagging', 0), ('dot1qConfigurableAcceptableFrameTypes', 1), ('dot1qIngressFiltering', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dPortCapabilities.setReference('ISO/IEC 15802-3 Section 5.2, IEEE 802.1Q/D11 Section 5.2')
if mibBuilder.loadTexts:
dot1dPortCapabilities.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortCapabilities.setDescription('Indicates the parts of IEEE 802.1D and 802.1Q that are optional on a per-port basis, that are implemented by this device, and that are manageable through this MIB. dot1qDot1qTagging(0), -- supports 802.1Q VLAN tagging of -- frames and GVRP. dot1qConfigurableAcceptableFrameTypes(1), -- allows modified values of -- dot1qPortAcceptableFrameTypes. dot1qIngressFiltering(2) -- supports the discarding of any -- frame received on a Port whose -- VLAN classification does not -- include that Port in its Member -- set.')
dot1d_port_priority_table = mib_table((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1))
if mibBuilder.loadTexts:
dot1dPortPriorityTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortPriorityTable.setDescription('A table that contains information about every port that is associated with this transparent bridge.')
dot1d_port_priority_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1))
dot1dBasePortEntry.registerAugmentions(('P-BRIDGE-MIB', 'dot1dPortPriorityEntry'))
dot1dPortPriorityEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts:
dot1dPortPriorityEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortPriorityEntry.setDescription('A list of Default User Priorities for each port of a transparent bridge. This is indexed by dot1dBasePort.')
dot1d_port_default_user_priority = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dPortDefaultUserPriority.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortDefaultUserPriority.setDescription('The default ingress User Priority for this port. This only has effect on media, such as Ethernet, that do not support native User Priority. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_port_num_traffic_classes = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dPortNumTrafficClasses.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortNumTrafficClasses.setDescription('The number of egress traffic classes supported on this port. This object may optionally be read-only. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_user_priority_regen_table = mib_table((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2))
if mibBuilder.loadTexts:
dot1dUserPriorityRegenTable.setReference('ISO/IEC 15802-3 Section 6.4')
if mibBuilder.loadTexts:
dot1dUserPriorityRegenTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dUserPriorityRegenTable.setDescription('A list of Regenerated User Priorities for each received User Priority on each port of a bridge. The Regenerated User Priority value may be used to index the Traffic Class Table for each input port. This only has effect on media that support native User Priority. The default values for Regenerated User Priorities are the same as the User Priorities.')
dot1d_user_priority_regen_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1)).setIndexNames((0, 'BRIDGE-MIB', 'dot1dBasePort'), (0, 'P-BRIDGE-MIB', 'dot1dUserPriority'))
if mibBuilder.loadTexts:
dot1dUserPriorityRegenEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dUserPriorityRegenEntry.setDescription('A mapping of incoming User Priority to a Regenerated User Priority.')
dot1d_user_priority = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)))
if mibBuilder.loadTexts:
dot1dUserPriority.setStatus('current')
if mibBuilder.loadTexts:
dot1dUserPriority.setDescription('The User Priority for a frame received on this port.')
dot1d_regen_user_priority = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dRegenUserPriority.setStatus('current')
if mibBuilder.loadTexts:
dot1dRegenUserPriority.setDescription('The Regenerated User Priority that the incoming User Priority is mapped to for this port. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_traffic_class_table = mib_table((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3))
if mibBuilder.loadTexts:
dot1dTrafficClassTable.setReference('ISO/IEC 15802-3 Table 7-2')
if mibBuilder.loadTexts:
dot1dTrafficClassTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dTrafficClassTable.setDescription('A table mapping evaluated User Priority to Traffic Class, for forwarding by the bridge. Traffic class is a number in the range (0..(dot1dPortNumTrafficClasses-1)).')
dot1d_traffic_class_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1)).setIndexNames((0, 'BRIDGE-MIB', 'dot1dBasePort'), (0, 'P-BRIDGE-MIB', 'dot1dTrafficClassPriority'))
if mibBuilder.loadTexts:
dot1dTrafficClassEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dTrafficClassEntry.setDescription('User Priority to Traffic Class mapping.')
dot1d_traffic_class_priority = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)))
if mibBuilder.loadTexts:
dot1dTrafficClassPriority.setStatus('current')
if mibBuilder.loadTexts:
dot1dTrafficClassPriority.setDescription('The Priority value determined for the received frame. This value is equivalent to the priority indicated in the tagged frame received, or one of the evaluated priorities, determined according to the media-type. For untagged frames received from Ethernet media, this value is equal to the dot1dPortDefaultUserPriority value for the ingress port. For untagged frames received from non-Ethernet media, this value is equal to the dot1dRegenUserPriority value for the ingress port and media-specific user priority.')
dot1d_traffic_class = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dTrafficClass.setStatus('current')
if mibBuilder.loadTexts:
dot1dTrafficClass.setDescription('The Traffic Class the received frame is mapped to. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_port_outbound_access_priority_table = mib_table((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4))
if mibBuilder.loadTexts:
dot1dPortOutboundAccessPriorityTable.setReference('ISO/IEC 15802-3 Table 7-3')
if mibBuilder.loadTexts:
dot1dPortOutboundAccessPriorityTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortOutboundAccessPriorityTable.setDescription('A table mapping Regenerated User Priority to Outbound Access Priority. This is a fixed mapping for all port types, with two options for 802.5 Token Ring.')
dot1d_port_outbound_access_priority_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4, 1)).setIndexNames((0, 'BRIDGE-MIB', 'dot1dBasePort'), (0, 'P-BRIDGE-MIB', 'dot1dRegenUserPriority'))
if mibBuilder.loadTexts:
dot1dPortOutboundAccessPriorityEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortOutboundAccessPriorityEntry.setDescription('Regenerated User Priority to Outbound Access Priority mapping.')
dot1d_port_outbound_access_priority = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dPortOutboundAccessPriority.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortOutboundAccessPriority.setDescription('The Outbound Access Priority the received frame is mapped to.')
dot1d_port_garp_table = mib_table((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1))
if mibBuilder.loadTexts:
dot1dPortGarpTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGarpTable.setDescription('A table of GARP control information about every bridge port. This is indexed by dot1dBasePort.')
dot1d_port_garp_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1))
dot1dBasePortEntry.registerAugmentions(('P-BRIDGE-MIB', 'dot1dPortGarpEntry'))
dot1dPortGarpEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts:
dot1dPortGarpEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGarpEntry.setDescription('GARP control information for a bridge port.')
dot1d_port_garp_join_time = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 1), time_interval().clone(20)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dPortGarpJoinTime.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGarpJoinTime.setDescription('The GARP Join time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_port_garp_leave_time = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 2), time_interval().clone(60)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dPortGarpLeaveTime.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGarpLeaveTime.setDescription('The GARP Leave time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_port_garp_leave_all_time = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 3, 1, 1, 3), time_interval().clone(1000)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dPortGarpLeaveAllTime.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGarpLeaveAllTime.setDescription('The GARP LeaveAll time, in centiseconds. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_port_gmrp_table = mib_table((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1))
if mibBuilder.loadTexts:
dot1dPortGmrpTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGmrpTable.setDescription('A table of GMRP control and status information about every bridge port. Augments the dot1dBasePortTable.')
dot1d_port_gmrp_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1))
dot1dBasePortEntry.registerAugmentions(('P-BRIDGE-MIB', 'dot1dPortGmrpEntry'))
dot1dPortGmrpEntry.setIndexNames(*dot1dBasePortEntry.getIndexNames())
if mibBuilder.loadTexts:
dot1dPortGmrpEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGmrpEntry.setDescription('GMRP control and status information for a bridge port.')
dot1d_port_gmrp_status = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 1), enabled_status().clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dPortGmrpStatus.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGmrpStatus.setDescription('The administrative state of GMRP operation on this port. The value enabled(1) indicates that GMRP is enabled on this port in all VLANs as long as dot1dGmrpStatus is also enabled(1). A value of disabled(2) indicates that GMRP is disabled on this port in all VLANs: any GMRP packets received will be silently discarded, and no GMRP registrations will be propagated from other ports. Setting this to a value of enabled(1) will be stored by the agent but will only take effect on the GMRP protocol operation if dot1dGmrpStatus also indicates the value enabled(1). This object affects all GMRP Applicant and Registrar state machines on this port. A transition from disabled(2) to enabled(1) will cause a reset of all GMRP state machines on this port. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_port_gmrp_failed_registrations = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dPortGmrpFailedRegistrations.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGmrpFailedRegistrations.setDescription('The total number of failed GMRP registrations, for any reason, in all VLANs, on this port.')
dot1d_port_gmrp_last_pdu_origin = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 3), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dPortGmrpLastPduOrigin.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortGmrpLastPduOrigin.setDescription('The Source MAC Address of the last GMRP message received on this port.')
dot1d_port_restricted_group_registration = mib_table_column((1, 3, 6, 1, 2, 1, 17, 6, 1, 4, 1, 1, 4), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
dot1dPortRestrictedGroupRegistration.setReference('IEEE 802.1t clause 10.3.2.3, 14.10.1.3.')
if mibBuilder.loadTexts:
dot1dPortRestrictedGroupRegistration.setStatus('current')
if mibBuilder.loadTexts:
dot1dPortRestrictedGroupRegistration.setDescription('The state of Restricted Group Registration on this port. If the value of this control is true(1), then creation of a new dynamic entry is permitted only if there is a Static Filtering Entry for the VLAN concerned, in which the Registrar Administrative Control value is Normal Registration. The value of this object MUST be retained across reinitializations of the management system.')
dot1d_tp_hc_port_table = mib_table((1, 3, 6, 1, 2, 1, 17, 4, 5))
if mibBuilder.loadTexts:
dot1dTpHCPortTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpHCPortTable.setDescription('A table that contains information about every high- capacity port that is associated with this transparent bridge.')
dot1d_tp_hc_port_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 4, 5, 1)).setIndexNames((0, 'BRIDGE-MIB', 'dot1dTpPort'))
if mibBuilder.loadTexts:
dot1dTpHCPortEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpHCPortEntry.setDescription('Statistics information for each high-capacity port of a transparent bridge.')
dot1d_tp_hc_port_in_frames = mib_table_column((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 1), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dTpHCPortInFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts:
dot1dTpHCPortInFrames.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpHCPortInFrames.setDescription('The number of frames that have been received by this port from its segment. Note that a frame received on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.')
dot1d_tp_hc_port_out_frames = mib_table_column((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 2), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dTpHCPortOutFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts:
dot1dTpHCPortOutFrames.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpHCPortOutFrames.setDescription('The number of frames that have been transmitted by this port to its segment. Note that a frame transmitted on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.')
dot1d_tp_hc_port_in_discards = mib_table_column((1, 3, 6, 1, 2, 1, 17, 4, 5, 1, 3), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dTpHCPortInDiscards.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts:
dot1dTpHCPortInDiscards.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpHCPortInDiscards.setDescription('Count of valid frames that have been received by this port from its segment that were discarded (i.e., filtered) by the Forwarding Process.')
dot1d_tp_port_overflow_table = mib_table((1, 3, 6, 1, 2, 1, 17, 4, 6))
if mibBuilder.loadTexts:
dot1dTpPortOverflowTable.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpPortOverflowTable.setDescription('A table that contains the most-significant bits of statistics counters for ports that are associated with this transparent bridge that are on high-capacity interfaces, as defined in the conformance clauses for this table. This table is provided as a way to read 64-bit counters for agents that support only SNMPv1. Note that the reporting of most-significant and least-significant counter bits separately runs the risk of missing an overflow of the lower bits in the interval between sampling. The manager must be aware of this possibility, even within the same varbindlist, when interpreting the results of a request or asynchronous notification.')
dot1d_tp_port_overflow_entry = mib_table_row((1, 3, 6, 1, 2, 1, 17, 4, 6, 1)).setIndexNames((0, 'BRIDGE-MIB', 'dot1dTpPort'))
if mibBuilder.loadTexts:
dot1dTpPortOverflowEntry.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpPortOverflowEntry.setDescription('The most significant bits of statistics counters for a high- capacity interface of a transparent bridge. Each object is associated with a corresponding object in dot1dTpPortTable that indicates the least significant bits of the counter.')
dot1d_tp_port_in_overflow_frames = mib_table_column((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dTpPortInOverflowFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts:
dot1dTpPortInOverflowFrames.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpPortInOverflowFrames.setDescription('The number of times the associated dot1dTpPortInFrames counter has overflowed.')
dot1d_tp_port_out_overflow_frames = mib_table_column((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dTpPortOutOverflowFrames.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts:
dot1dTpPortOutOverflowFrames.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpPortOutOverflowFrames.setDescription('The number of times the associated dot1dTpPortOutFrames counter has overflowed.')
dot1d_tp_port_in_overflow_discards = mib_table_column((1, 3, 6, 1, 2, 1, 17, 4, 6, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dot1dTpPortInOverflowDiscards.setReference('ISO/IEC 15802-3 Section 14.6.1.1.3')
if mibBuilder.loadTexts:
dot1dTpPortInOverflowDiscards.setStatus('current')
if mibBuilder.loadTexts:
dot1dTpPortInOverflowDiscards.setDescription('The number of times the associated dot1dTpPortInDiscards counter has overflowed.')
p_bridge_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 2))
p_bridge_groups = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 2, 1))
p_bridge_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 17, 6, 2, 2))
p_bridge_ext_cap_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 1)).setObjects(('P-BRIDGE-MIB', 'dot1dDeviceCapabilities'), ('P-BRIDGE-MIB', 'dot1dPortCapabilities'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_ext_cap_group = pBridgeExtCapGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgeExtCapGroup.setDescription('A collection of objects indicating the optional capabilities of the device.')
p_bridge_device_gmrp_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 2)).setObjects(('P-BRIDGE-MIB', 'dot1dGmrpStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_device_gmrp_group = pBridgeDeviceGmrpGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgeDeviceGmrpGroup.setDescription('A collection of objects providing device-level control for the Multicast Filtering extended bridge services.')
p_bridge_device_priority_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 3)).setObjects(('P-BRIDGE-MIB', 'dot1dTrafficClassesEnabled'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_device_priority_group = pBridgeDevicePriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgeDevicePriorityGroup.setDescription('A collection of objects providing device-level control for the Priority services.')
p_bridge_default_priority_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 4)).setObjects(('P-BRIDGE-MIB', 'dot1dPortDefaultUserPriority'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_default_priority_group = pBridgeDefaultPriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgeDefaultPriorityGroup.setDescription('A collection of objects defining the User Priority applicable to each port for media that do not support native User Priority.')
p_bridge_regen_priority_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 5)).setObjects(('P-BRIDGE-MIB', 'dot1dRegenUserPriority'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_regen_priority_group = pBridgeRegenPriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgeRegenPriorityGroup.setDescription('A collection of objects defining the User Priorities applicable to each port for media that support native User Priority.')
p_bridge_priority_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 6)).setObjects(('P-BRIDGE-MIB', 'dot1dPortNumTrafficClasses'), ('P-BRIDGE-MIB', 'dot1dTrafficClass'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_priority_group = pBridgePriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgePriorityGroup.setDescription('A collection of objects defining the traffic classes within a bridge for each evaluated User Priority.')
p_bridge_access_priority_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 7)).setObjects(('P-BRIDGE-MIB', 'dot1dPortOutboundAccessPriority'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_access_priority_group = pBridgeAccessPriorityGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgeAccessPriorityGroup.setDescription('A collection of objects defining the media-dependent outbound access level for each priority.')
p_bridge_port_garp_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 8)).setObjects(('P-BRIDGE-MIB', 'dot1dPortGarpJoinTime'), ('P-BRIDGE-MIB', 'dot1dPortGarpLeaveTime'), ('P-BRIDGE-MIB', 'dot1dPortGarpLeaveAllTime'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_port_garp_group = pBridgePortGarpGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgePortGarpGroup.setDescription('A collection of objects providing port level control and status information for GARP operation.')
p_bridge_port_gmrp_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 9)).setObjects(('P-BRIDGE-MIB', 'dot1dPortGmrpStatus'), ('P-BRIDGE-MIB', 'dot1dPortGmrpFailedRegistrations'), ('P-BRIDGE-MIB', 'dot1dPortGmrpLastPduOrigin'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_port_gmrp_group = pBridgePortGmrpGroup.setStatus('deprecated')
if mibBuilder.loadTexts:
pBridgePortGmrpGroup.setDescription('A collection of objects providing port level control and status information for GMRP operation.')
p_bridge_hc_port_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 10)).setObjects(('P-BRIDGE-MIB', 'dot1dTpHCPortInFrames'), ('P-BRIDGE-MIB', 'dot1dTpHCPortOutFrames'), ('P-BRIDGE-MIB', 'dot1dTpHCPortInDiscards'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_hc_port_group = pBridgeHCPortGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgeHCPortGroup.setDescription('A collection of objects providing 64-bit statistics counters for high-capacity bridge ports.')
p_bridge_port_overflow_group = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 11)).setObjects(('P-BRIDGE-MIB', 'dot1dTpPortInOverflowFrames'), ('P-BRIDGE-MIB', 'dot1dTpPortOutOverflowFrames'), ('P-BRIDGE-MIB', 'dot1dTpPortInOverflowDiscards'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_port_overflow_group = pBridgePortOverflowGroup.setStatus('current')
if mibBuilder.loadTexts:
pBridgePortOverflowGroup.setDescription('A collection of objects providing overflow statistics counters for high-capacity bridge ports.')
p_bridge_port_gmrp_group2 = object_group((1, 3, 6, 1, 2, 1, 17, 6, 2, 1, 12)).setObjects(('P-BRIDGE-MIB', 'dot1dPortGmrpStatus'), ('P-BRIDGE-MIB', 'dot1dPortGmrpFailedRegistrations'), ('P-BRIDGE-MIB', 'dot1dPortGmrpLastPduOrigin'), ('P-BRIDGE-MIB', 'dot1dPortRestrictedGroupRegistration'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_port_gmrp_group2 = pBridgePortGmrpGroup2.setStatus('current')
if mibBuilder.loadTexts:
pBridgePortGmrpGroup2.setDescription('A collection of objects providing port level control and status information for GMRP operation.')
p_bridge_compliance = module_compliance((1, 3, 6, 1, 2, 1, 17, 6, 2, 2, 1)).setObjects(('P-BRIDGE-MIB', 'pBridgeExtCapGroup'), ('P-BRIDGE-MIB', 'pBridgeDeviceGmrpGroup'), ('P-BRIDGE-MIB', 'pBridgeDevicePriorityGroup'), ('P-BRIDGE-MIB', 'pBridgeDefaultPriorityGroup'), ('P-BRIDGE-MIB', 'pBridgeRegenPriorityGroup'), ('P-BRIDGE-MIB', 'pBridgePriorityGroup'), ('P-BRIDGE-MIB', 'pBridgeAccessPriorityGroup'), ('P-BRIDGE-MIB', 'pBridgePortGarpGroup'), ('P-BRIDGE-MIB', 'pBridgePortGmrpGroup'), ('P-BRIDGE-MIB', 'pBridgeHCPortGroup'), ('P-BRIDGE-MIB', 'pBridgePortOverflowGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_compliance = pBridgeCompliance.setStatus('deprecated')
if mibBuilder.loadTexts:
pBridgeCompliance.setDescription('The compliance statement for device support of Priority and Multicast Filtering extended bridging services.')
p_bridge_compliance2 = module_compliance((1, 3, 6, 1, 2, 1, 17, 6, 2, 2, 2)).setObjects(('P-BRIDGE-MIB', 'pBridgeExtCapGroup'), ('P-BRIDGE-MIB', 'pBridgeDeviceGmrpGroup'), ('P-BRIDGE-MIB', 'pBridgeDevicePriorityGroup'), ('P-BRIDGE-MIB', 'pBridgeDefaultPriorityGroup'), ('P-BRIDGE-MIB', 'pBridgeRegenPriorityGroup'), ('P-BRIDGE-MIB', 'pBridgePriorityGroup'), ('P-BRIDGE-MIB', 'pBridgeAccessPriorityGroup'), ('P-BRIDGE-MIB', 'pBridgePortGarpGroup'), ('P-BRIDGE-MIB', 'pBridgePortGmrpGroup2'), ('P-BRIDGE-MIB', 'pBridgeHCPortGroup'), ('P-BRIDGE-MIB', 'pBridgePortOverflowGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
p_bridge_compliance2 = pBridgeCompliance2.setStatus('current')
if mibBuilder.loadTexts:
pBridgeCompliance2.setDescription('The compliance statement for device support of Priority and Multicast Filtering extended bridging services.')
mibBuilder.exportSymbols('P-BRIDGE-MIB', dot1dTrafficClass=dot1dTrafficClass, dot1dPortOutboundAccessPriority=dot1dPortOutboundAccessPriority, dot1dPortGarpLeaveTime=dot1dPortGarpLeaveTime, dot1dPortGmrpEntry=dot1dPortGmrpEntry, dot1dDeviceCapabilities=dot1dDeviceCapabilities, dot1dGarp=dot1dGarp, pBridgeCompliance2=pBridgeCompliance2, dot1dPortGmrpStatus=dot1dPortGmrpStatus, dot1dPortGmrpLastPduOrigin=dot1dPortGmrpLastPduOrigin, dot1dUserPriorityRegenEntry=dot1dUserPriorityRegenEntry, dot1dTpHCPortOutFrames=dot1dTpHCPortOutFrames, dot1dTpPortInOverflowDiscards=dot1dTpPortInOverflowDiscards, dot1dPortCapabilities=dot1dPortCapabilities, pBridgeDevicePriorityGroup=pBridgeDevicePriorityGroup, pBridgePortGarpGroup=pBridgePortGarpGroup, dot1dTrafficClassEntry=dot1dTrafficClassEntry, pBridgeDeviceGmrpGroup=pBridgeDeviceGmrpGroup, dot1dGmrp=dot1dGmrp, dot1dPortRestrictedGroupRegistration=dot1dPortRestrictedGroupRegistration, pBridgeConformance=pBridgeConformance, pBridgeCompliances=pBridgeCompliances, pBridgePortGmrpGroup2=pBridgePortGmrpGroup2, dot1dPortDefaultUserPriority=dot1dPortDefaultUserPriority, dot1dPortCapabilitiesTable=dot1dPortCapabilitiesTable, dot1dPortGarpJoinTime=dot1dPortGarpJoinTime, dot1dPortGmrpTable=dot1dPortGmrpTable, pBridgeDefaultPriorityGroup=pBridgeDefaultPriorityGroup, pBridgeCompliance=pBridgeCompliance, dot1dExtBase=dot1dExtBase, pBridgeHCPortGroup=pBridgeHCPortGroup, dot1dPortCapabilitiesEntry=dot1dPortCapabilitiesEntry, dot1dGmrpStatus=dot1dGmrpStatus, pBridgePortOverflowGroup=pBridgePortOverflowGroup, dot1dTpHCPortEntry=dot1dTpHCPortEntry, dot1dUserPriorityRegenTable=dot1dUserPriorityRegenTable, dot1dTpHCPortInFrames=dot1dTpHCPortInFrames, dot1dPortOutboundAccessPriorityEntry=dot1dPortOutboundAccessPriorityEntry, dot1dPortGarpTable=dot1dPortGarpTable, pBridgeGroups=pBridgeGroups, dot1dTrafficClassesEnabled=dot1dTrafficClassesEnabled, dot1dTrafficClassTable=dot1dTrafficClassTable, dot1dTpPortOverflowEntry=dot1dTpPortOverflowEntry, pBridgeMIB=pBridgeMIB, dot1dPortPriorityEntry=dot1dPortPriorityEntry, dot1dPortGmrpFailedRegistrations=dot1dPortGmrpFailedRegistrations, dot1dTpPortOverflowTable=dot1dTpPortOverflowTable, pBridgePriorityGroup=pBridgePriorityGroup, dot1dTpPortOutOverflowFrames=dot1dTpPortOutOverflowFrames, pBridgeRegenPriorityGroup=pBridgeRegenPriorityGroup, EnabledStatus=EnabledStatus, PYSNMP_MODULE_ID=pBridgeMIB, dot1dPortGarpLeaveAllTime=dot1dPortGarpLeaveAllTime, dot1dTpPortInOverflowFrames=dot1dTpPortInOverflowFrames, pBridgeMIBObjects=pBridgeMIBObjects, pBridgeAccessPriorityGroup=pBridgeAccessPriorityGroup, pBridgePortGmrpGroup=pBridgePortGmrpGroup, dot1dPortPriorityTable=dot1dPortPriorityTable, dot1dUserPriority=dot1dUserPriority, dot1dPortGarpEntry=dot1dPortGarpEntry, dot1dPortOutboundAccessPriorityTable=dot1dPortOutboundAccessPriorityTable, dot1dTrafficClassPriority=dot1dTrafficClassPriority, dot1dTpHCPortInDiscards=dot1dTpHCPortInDiscards, dot1dRegenUserPriority=dot1dRegenUserPriority, dot1dTpHCPortTable=dot1dTpHCPortTable, pBridgeExtCapGroup=pBridgeExtCapGroup, dot1dPortNumTrafficClasses=dot1dPortNumTrafficClasses, dot1dPriority=dot1dPriority) |
# Definition for singly-linked list.
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def not_null(self, head: ListNode) -> bool:
return head is not None
def hasCycle(self, head: ListNode) -> bool:
if head is None:
return False
slow, fast = head, head.next
while self.not_null(slow) and self.not_null(fast) and self.not_null(slow.next) and self.not_null(fast.next):
if slow is fast:
return True
slow = slow.next
fast = fast.next.next
return False
| class Listnode:
def __init__(self, x):
self.val = x
self.next = None
class Solution:
def not_null(self, head: ListNode) -> bool:
return head is not None
def has_cycle(self, head: ListNode) -> bool:
if head is None:
return False
(slow, fast) = (head, head.next)
while self.not_null(slow) and self.not_null(fast) and self.not_null(slow.next) and self.not_null(fast.next):
if slow is fast:
return True
slow = slow.next
fast = fast.next.next
return False |
def setup():
size(800, 400)
desenha_retangulos(0, 0, 399, 10)
def desenha_retangulos(x, y, tam, level):
rect(x, y, tam, tam)
if level > 1:
level = level -1
desenha_retangulos(x, y, tam/2, level)
desenha_retangulos(x + tam, y, tam/2, level)
| def setup():
size(800, 400)
desenha_retangulos(0, 0, 399, 10)
def desenha_retangulos(x, y, tam, level):
rect(x, y, tam, tam)
if level > 1:
level = level - 1
desenha_retangulos(x, y, tam / 2, level)
desenha_retangulos(x + tam, y, tam / 2, level) |
class Calculadora:
def soma(self, num1, num2):
return num1 + num2
def subtracao(self, num1, num2):
return num1 - num2
def multiplicacao(self, num1, num2):
return num1 * num2
def divisao(self, num1, num2):
return num1 / num2
calculadora = Calculadora()
print(calculadora.soma(10, 2))
print(calculadora.subtracao(5, 3))
print(calculadora.multiplicacao(100, 2))
print(calculadora.divisao(20, 4))
| class Calculadora:
def soma(self, num1, num2):
return num1 + num2
def subtracao(self, num1, num2):
return num1 - num2
def multiplicacao(self, num1, num2):
return num1 * num2
def divisao(self, num1, num2):
return num1 / num2
calculadora = calculadora()
print(calculadora.soma(10, 2))
print(calculadora.subtracao(5, 3))
print(calculadora.multiplicacao(100, 2))
print(calculadora.divisao(20, 4)) |
#!/usr/bin/python
#
# Locates SEH try blocks, exception filters and handlers for x64 Windows files.
#
# Author: Satoshi Tanda
#
################################################################################
# The MIT License (MIT)
#
# Copyright (c) 2015 tandasat
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
################################################################################
class RuntimeFuncton(object):
'''Represents RUNTIME_FUNCTION'''
def __init__(self, address):
self.begin_address = Dword(address) + idaapi.get_imagebase()
self.unwind_info = Dword(address + 8)
MakeStructEx(address, -1, 'RUNTIME_FUNCTION')
def get_unwind_info(self):
name = Name(self.begin_address)
return UnwindInfo(name, self.unwind_info + idaapi.get_imagebase())
class UnwindInfo(object):
'''Represents UNWIND_INFO'''
_UNW_FLAG_NHANDLER = 0
_UNW_FLAG_EHANDLER = 1
_UNW_FLAG_UHANDLER = 2
_UNW_FLAG_CHAININFO = 4
def __init__(self, name, address):
self.begin_address = address
if name == '':
name = '_loc_{:016X}'.format(address)
name += '_unwind_info'
if MakeNameEx(address, name, SN_CHECK | SN_NOWARN) == 0:
MakeNameEx(address, '_' + name, SN_CHECK | SN_NOWARN)
MakeStructEx(address, -1, 'UNWIND_INFO')
def _has_exception_handler(self):
flag = Byte(self.begin_address) >> 3
if flag & self._UNW_FLAG_CHAININFO:
return False
return (
flag & self._UNW_FLAG_EHANDLER or
flag & self._UNW_FLAG_UHANDLER
)
def get_exp_handler_info(self):
code_count = Byte(self.begin_address + 2)
for i in range(0, code_count):
MakeStructEx(self.begin_address + 4 + (i * 2), -1, 'UNWIND_CODE')
if not self._has_exception_handler():
return
print('%016X : %s' % (self.begin_address, Name(self.begin_address)))
addr = self.begin_address + 4 + code_count * 2
addr += (addr % 4) # 4 bytes aligned (0->0, 2->4, 4->4, ...)
return ExceptionHandlerInformation(addr) # get Exception Info
class ExceptionHandlerInformation(object):
'''Represents Exception Handler Information (a.k.a, SCOPE_TABLE)'''
def __init__(self, address):
self.address = address
self.exp_handler = Dword(address) + idaapi.get_imagebase()
self.number_of_scope_entries = Dword(address + 4)
self.address_of_scope_entries = address + 8
self.scope_entries = []
# Only some handlers' date formats are supported.
if not self._is_suppoeted_handler(Name(self.exp_handler)):
return
for i in range(0, self.number_of_scope_entries):
self.scope_entries.append(
ScopeEntry(self.address_of_scope_entries + i * 16))
def _is_suppoeted_handler(self, handler_name):
SUPPORTED_HANDLER_NAMES = [
'__GSHandlerCheck_SEH',
'__C_specific_handler',
]
for name in SUPPORTED_HANDLER_NAMES:
if handler_name.startswith(name):
return True
return False
def apply_to_database(self):
_make_references(self.address, self.exp_handler, 'Handler ')
MakeDword(self.address + 4)
# Since nested SEH blocks show up first in the table, this reversing
# makes comments prettier like this:
# __try{ // outside SEH
# __try{ // nested SEH
# } // nested SEH
# } // outside SEH
for entry in reversed(self.scope_entries):
entry.apply_to_database()
class ScopeEntry(object):
'''Represents an entry of SCOPE_TABLE'''
def __init__(self, address):
if Dword(address + 8) == 1:
# Filter may have 1 in it. This is invalid and this code handle it
# as __try/__except but without a valid except filter information.
self.entry = TryInvalidExceptEntry(address)
elif Dword(address + 12) == 0:
# It is __try/__finally when Target has no value.
self.entry = TryFinallyEntry(address)
else:
# It is __try/__except when Filter and Target have valid values.
self.entry = TryExceptEntry(address)
def apply_to_database(self):
self.entry.apply_to_database()
class SEHEntry(object):
'''Implements common things for an SEH SCOPE_TABLE'''
def __init__(self, address):
self.address = address
self.begin = Dword(address) + idaapi.get_imagebase()
self.end = Dword(address + 4) + idaapi.get_imagebase()
def apply_to_database(self):
_make_references(self.address, self.begin, '__try { ')
_make_references(self.address + 4, self.end, '} //try ')
class TryExceptEntryBase(SEHEntry):
'''Implements common things for a __try/__except style SCOPE_TABLE'''
def __init__(self, address):
super(TryExceptEntryBase, self).__init__(address)
def apply_to_database(self, target, handler):
super(TryExceptEntryBase, self).apply_to_database()
_append_comment(
self.begin,
'__try {{ // till {:016X} }} __except( {:016X} ) {{ {:016X} }}'.format(
self.end,
handler,
target))
_append_comment(
self.end,
'}} // from {:016X}'.format(
self.begin))
_append_comment(
target,
'__except( {:016X} ) {{ here }} // __try {{ {:016X}-{:016X} }}'.format(
handler,
self.begin,
self.end))
class TryExceptEntry(TryExceptEntryBase):
'''Represents a __try/__except style SCOPE_TABLE'''
def __init__(self, address):
super(TryExceptEntry, self).__init__(address)
self.handler = Dword(address + 8) + idaapi.get_imagebase()
self.target = Dword(address + 12) + idaapi.get_imagebase()
def apply_to_database(self):
super(TryExceptEntry, self).apply_to_database(
self.target, self.handler)
_make_references(self.address + 8, self.handler, 'Filter ')
_make_references(self.address + 12, self.target, 'ExpBody ')
_append_comment(
self.handler,
'__except( here ) {{ {:016X} }} // __try {{ {:016X}-{:016X} }}'.format(
self.target,
self.begin,
self.end))
class TryInvalidExceptEntry(TryExceptEntryBase):
'''Represents a __try/__except style SCOPE_TABLE w/ invalid filter'''
def __init__(self, address):
super(TryInvalidExceptEntry, self).__init__(address)
self.target = Dword(address + 12) + idaapi.get_imagebase()
def apply_to_database(self):
pass # An invalid handler will never be called
class TryFinallyEntry(SEHEntry):
'''Represents a __try/__finally style SCOPE_TABLE'''
def __init__(self, address):
super(TryFinallyEntry, self).__init__(address)
self.handler = Dword(address + 8) + idaapi.get_imagebase()
def apply_to_database(self):
super(TryFinallyEntry, self).apply_to_database()
_make_references(self.address + 8, self.handler, 'Finally ')
MakeDword(self.address + 12)
_append_comment(
self.begin,
'__try {{ // till {:016X} }} __finally {{ {:016X} }}'.format(
self.end,
self.handler))
_append_comment(
self.end,
'}} // from {:016X}'.format(
self.begin))
_append_comment(
self.handler,
'__finally {{ here }} // __try {{ {:016X}-{:016X} }}'.format(
self.begin,
self.end))
def _append_comment(address, comment):
old_comment = Comment(address)
if old_comment == comment: # ignore duplicates
return
elif old_comment:
old_comment += '\n'
else:
old_comment = ''
MakeComm(address, old_comment + comment)
def _make_references(from_address, to_address, comment):
MakeDword(from_address)
add_dref(from_address, to_address, XREF_USER | dr_O)
name = Name(to_address)
if name == '':
name = '{:016X}'.format(to_address)
_append_comment(from_address, comment + ': ' + name)
def main():
# Enumerates .pdata section until
segments = idaapi.get_segm_by_name('.pdata')
address = segments.startEA
segment_end = segments.endEA
while address < segment_end:
if Dword(address) == 0:
break
# try to get exception info from RUNTIME_FUNCTION and apply it
runtime_function = RuntimeFuncton(address)
unwind_info = runtime_function.get_unwind_info()
if unwind_info:
exception_info = unwind_info.get_exp_handler_info()
if exception_info:
exception_info.apply_to_database()
address += 12 # size of RUNTIME_FUNCTION
if __name__ == '__main__':
main()
| class Runtimefuncton(object):
"""Represents RUNTIME_FUNCTION"""
def __init__(self, address):
self.begin_address = dword(address) + idaapi.get_imagebase()
self.unwind_info = dword(address + 8)
make_struct_ex(address, -1, 'RUNTIME_FUNCTION')
def get_unwind_info(self):
name = name(self.begin_address)
return unwind_info(name, self.unwind_info + idaapi.get_imagebase())
class Unwindinfo(object):
"""Represents UNWIND_INFO"""
_unw_flag_nhandler = 0
_unw_flag_ehandler = 1
_unw_flag_uhandler = 2
_unw_flag_chaininfo = 4
def __init__(self, name, address):
self.begin_address = address
if name == '':
name = '_loc_{:016X}'.format(address)
name += '_unwind_info'
if make_name_ex(address, name, SN_CHECK | SN_NOWARN) == 0:
make_name_ex(address, '_' + name, SN_CHECK | SN_NOWARN)
make_struct_ex(address, -1, 'UNWIND_INFO')
def _has_exception_handler(self):
flag = byte(self.begin_address) >> 3
if flag & self._UNW_FLAG_CHAININFO:
return False
return flag & self._UNW_FLAG_EHANDLER or flag & self._UNW_FLAG_UHANDLER
def get_exp_handler_info(self):
code_count = byte(self.begin_address + 2)
for i in range(0, code_count):
make_struct_ex(self.begin_address + 4 + i * 2, -1, 'UNWIND_CODE')
if not self._has_exception_handler():
return
print('%016X : %s' % (self.begin_address, name(self.begin_address)))
addr = self.begin_address + 4 + code_count * 2
addr += addr % 4
return exception_handler_information(addr)
class Exceptionhandlerinformation(object):
"""Represents Exception Handler Information (a.k.a, SCOPE_TABLE)"""
def __init__(self, address):
self.address = address
self.exp_handler = dword(address) + idaapi.get_imagebase()
self.number_of_scope_entries = dword(address + 4)
self.address_of_scope_entries = address + 8
self.scope_entries = []
if not self._is_suppoeted_handler(name(self.exp_handler)):
return
for i in range(0, self.number_of_scope_entries):
self.scope_entries.append(scope_entry(self.address_of_scope_entries + i * 16))
def _is_suppoeted_handler(self, handler_name):
supported_handler_names = ['__GSHandlerCheck_SEH', '__C_specific_handler']
for name in SUPPORTED_HANDLER_NAMES:
if handler_name.startswith(name):
return True
return False
def apply_to_database(self):
_make_references(self.address, self.exp_handler, 'Handler ')
make_dword(self.address + 4)
for entry in reversed(self.scope_entries):
entry.apply_to_database()
class Scopeentry(object):
"""Represents an entry of SCOPE_TABLE"""
def __init__(self, address):
if dword(address + 8) == 1:
self.entry = try_invalid_except_entry(address)
elif dword(address + 12) == 0:
self.entry = try_finally_entry(address)
else:
self.entry = try_except_entry(address)
def apply_to_database(self):
self.entry.apply_to_database()
class Sehentry(object):
"""Implements common things for an SEH SCOPE_TABLE"""
def __init__(self, address):
self.address = address
self.begin = dword(address) + idaapi.get_imagebase()
self.end = dword(address + 4) + idaapi.get_imagebase()
def apply_to_database(self):
_make_references(self.address, self.begin, '__try { ')
_make_references(self.address + 4, self.end, '} //try ')
class Tryexceptentrybase(SEHEntry):
"""Implements common things for a __try/__except style SCOPE_TABLE"""
def __init__(self, address):
super(TryExceptEntryBase, self).__init__(address)
def apply_to_database(self, target, handler):
super(TryExceptEntryBase, self).apply_to_database()
_append_comment(self.begin, '__try {{ // till {:016X} }} __except( {:016X} ) {{ {:016X} }}'.format(self.end, handler, target))
_append_comment(self.end, '}} // from {:016X}'.format(self.begin))
_append_comment(target, '__except( {:016X} ) {{ here }} // __try {{ {:016X}-{:016X} }}'.format(handler, self.begin, self.end))
class Tryexceptentry(TryExceptEntryBase):
"""Represents a __try/__except style SCOPE_TABLE"""
def __init__(self, address):
super(TryExceptEntry, self).__init__(address)
self.handler = dword(address + 8) + idaapi.get_imagebase()
self.target = dword(address + 12) + idaapi.get_imagebase()
def apply_to_database(self):
super(TryExceptEntry, self).apply_to_database(self.target, self.handler)
_make_references(self.address + 8, self.handler, 'Filter ')
_make_references(self.address + 12, self.target, 'ExpBody ')
_append_comment(self.handler, '__except( here ) {{ {:016X} }} // __try {{ {:016X}-{:016X} }}'.format(self.target, self.begin, self.end))
class Tryinvalidexceptentry(TryExceptEntryBase):
"""Represents a __try/__except style SCOPE_TABLE w/ invalid filter"""
def __init__(self, address):
super(TryInvalidExceptEntry, self).__init__(address)
self.target = dword(address + 12) + idaapi.get_imagebase()
def apply_to_database(self):
pass
class Tryfinallyentry(SEHEntry):
"""Represents a __try/__finally style SCOPE_TABLE"""
def __init__(self, address):
super(TryFinallyEntry, self).__init__(address)
self.handler = dword(address + 8) + idaapi.get_imagebase()
def apply_to_database(self):
super(TryFinallyEntry, self).apply_to_database()
_make_references(self.address + 8, self.handler, 'Finally ')
make_dword(self.address + 12)
_append_comment(self.begin, '__try {{ // till {:016X} }} __finally {{ {:016X} }}'.format(self.end, self.handler))
_append_comment(self.end, '}} // from {:016X}'.format(self.begin))
_append_comment(self.handler, '__finally {{ here }} // __try {{ {:016X}-{:016X} }}'.format(self.begin, self.end))
def _append_comment(address, comment):
old_comment = comment(address)
if old_comment == comment:
return
elif old_comment:
old_comment += '\n'
else:
old_comment = ''
make_comm(address, old_comment + comment)
def _make_references(from_address, to_address, comment):
make_dword(from_address)
add_dref(from_address, to_address, XREF_USER | dr_O)
name = name(to_address)
if name == '':
name = '{:016X}'.format(to_address)
_append_comment(from_address, comment + ': ' + name)
def main():
segments = idaapi.get_segm_by_name('.pdata')
address = segments.startEA
segment_end = segments.endEA
while address < segment_end:
if dword(address) == 0:
break
runtime_function = runtime_functon(address)
unwind_info = runtime_function.get_unwind_info()
if unwind_info:
exception_info = unwind_info.get_exp_handler_info()
if exception_info:
exception_info.apply_to_database()
address += 12
if __name__ == '__main__':
main() |
class Node:
def __init__(self, data):
self.data = data
self.left = self.right = None
def leafTraversal(node, lst):
if node is None:
return
if node is not None:
leafTraversal(node.left, lst)
if node.left is not None and node.right is not None:
lst.append(node.data)
leafTraversal(node.right, lst)
root1 = Node(1)
root1.left = Node(2)
root1.right = Node(3)
root1.left.left = Node(4)
root1.right.left = Node(6)
root1.right.right = Node(7)
root2 = Node(0)
root2.left = Node(5)
root2.left.right = Node(4)
root2.right = Node(8)
root2.right.left = Node(6)
root2.right.right = Node(7)
lst1 = []
lst2 = []
leafTraversal(root1, lst1)
leafTraversal(root2, lst2)
print(lst1 == lst2)
| class Node:
def __init__(self, data):
self.data = data
self.left = self.right = None
def leaf_traversal(node, lst):
if node is None:
return
if node is not None:
leaf_traversal(node.left, lst)
if node.left is not None and node.right is not None:
lst.append(node.data)
leaf_traversal(node.right, lst)
root1 = node(1)
root1.left = node(2)
root1.right = node(3)
root1.left.left = node(4)
root1.right.left = node(6)
root1.right.right = node(7)
root2 = node(0)
root2.left = node(5)
root2.left.right = node(4)
root2.right = node(8)
root2.right.left = node(6)
root2.right.right = node(7)
lst1 = []
lst2 = []
leaf_traversal(root1, lst1)
leaf_traversal(root2, lst2)
print(lst1 == lst2) |
# In this challenge, we'll work with lists
# Remember to make sure the tests pass
# count the number of 1s in the given list
def list_count_ones():
a = [1, 8, 6, 7, 5, 3, 0, 9, 1]
# we have not covered the list method with this functionality
return None
# calculate the average value of the given list
def list_mean():
b = [0, 3, 4, 7]
# use functions you're familiar with
# watch out for division
return None
# finally, let's count the number of elements less than 3
def list_lt3():
c = [5, 9, 0, -1, 6, 3, 2, 1]
# making use of list methods will be useful here
return None
| def list_count_ones():
a = [1, 8, 6, 7, 5, 3, 0, 9, 1]
return None
def list_mean():
b = [0, 3, 4, 7]
return None
def list_lt3():
c = [5, 9, 0, -1, 6, 3, 2, 1]
return None |
def partition(a,l,h):
p = h
i = l-1
for j in range(l,h):
if a[j] <= a[p]:
i+=1
a[i],a[j]=a[j],a[i]
a[i+1],a[h]=a[h],a[i+1]
return i+1
def quickSort(a,l,h):
if l<h:
x=partition(a,l,h)
quickSort(a,l,x-1)
quickSort(a,x+1,h)
a = [97, 42, 1, 24, 63, 94, 2]
quickSort(a,0,len(a)-1)
print(a)
| def partition(a, l, h):
p = h
i = l - 1
for j in range(l, h):
if a[j] <= a[p]:
i += 1
(a[i], a[j]) = (a[j], a[i])
(a[i + 1], a[h]) = (a[h], a[i + 1])
return i + 1
def quick_sort(a, l, h):
if l < h:
x = partition(a, l, h)
quick_sort(a, l, x - 1)
quick_sort(a, x + 1, h)
a = [97, 42, 1, 24, 63, 94, 2]
quick_sort(a, 0, len(a) - 1)
print(a) |
def mergesort(array, byfunc=None):
pass
class Stack:
pass
class EvaluateExpression:
pass
def get_smallest_three(challenge):
records = challenge.records
times = [r for r in records]
mergesort(times, lambda x: x.elapsed_time)
return times[:3]
| def mergesort(array, byfunc=None):
pass
class Stack:
pass
class Evaluateexpression:
pass
def get_smallest_three(challenge):
records = challenge.records
times = [r for r in records]
mergesort(times, lambda x: x.elapsed_time)
return times[:3] |
authType = {
"access_token": str,
"token_type": str,
}
| auth_type = {'access_token': str, 'token_type': str} |
# 8. Print an array - Given an array of integers prints all the elements one per line. This
# is a little bit dierent as there is no need for a 'return' statement just to print and recurse.
# Define the function
def print_array(array):
# Set the base case, in this case, when the length of the array is 0.
base_case = len(array)
# if the base case has been reached return nothing
if base_case == 0:
return 0
# Print the value at index 0 of the input array.
else:
print(array[0])
print_array(array[1:])
# array of values
array = [3, 4, 5, 6, 7, 8, 10, 12 , 13]
# Call the function and print
print_array(array)
| def print_array(array):
base_case = len(array)
if base_case == 0:
return 0
else:
print(array[0])
print_array(array[1:])
array = [3, 4, 5, 6, 7, 8, 10, 12, 13]
print_array(array) |
user_password = 's3cr3t!P@ssw0rd'
input_password = input()
if input_password == user_password:
print('Welcome')
else:
print('Wrong password!')
| user_password = 's3cr3t!P@ssw0rd'
input_password = input()
if input_password == user_password:
print('Welcome')
else:
print('Wrong password!') |
def sum_fucntion(arr, i, N):
if i > N - 1:
return 0
return int(arr[i]) + sum_fucntion(arr, i + 1, N)
def main():
N = int(input())
arr = input()
print(sum_fucntion(arr, 0, N))
if __name__ == "__main__":
main()
| def sum_fucntion(arr, i, N):
if i > N - 1:
return 0
return int(arr[i]) + sum_fucntion(arr, i + 1, N)
def main():
n = int(input())
arr = input()
print(sum_fucntion(arr, 0, N))
if __name__ == '__main__':
main() |
# to convert list to dictionary
x="SecondName FirstName Intials "
y= x.split(" ") #this will create list "y"
print("Type yourname with Firstname Secondname Intials")
a=input()
b = a.split(" ") #this will create input to list
resultdict = {}
for index in y:
for value in b:
resultdict[index] = value
break
print(resultdict)
| x = 'SecondName FirstName Intials '
y = x.split(' ')
print('Type yourname with Firstname Secondname Intials')
a = input()
b = a.split(' ')
resultdict = {}
for index in y:
for value in b:
resultdict[index] = value
break
print(resultdict) |
# Given a set of non-overlapping intervals, insert a new interval into the
# intervals (merge if necessary).
# You may assume that the intervals were initially sorted according to their
# start times.
# Example 1:
# Input: intervals = [[1,3],[6,9]], newInterval = [2,5]
# Output: [[1,5],[6,9]]
# Example 2:
# Input: intervals = [[1,2],[3,5],[6,7],[8,10],[12,16]], newInterval = [4,8]
# Output: [[1,2],[3,10],[12,16]]
# Explanation: Because the new interval [4,8] overlaps with [3,5],[6,7],[8,10].
# Example 3:
# Input: intervals = [], newInterval = [5,7]
# Output: [[5,7]]
# Example 4:
# Input: intervals = [[1,5]], newInterval = [2,3]
# Output: [[1,5]]
# Example 5:
# Input: intervals = [[1,5]], newInterval = [2,7]
# Output: [[1,7]]
# Solution 1 -- Sorting -- Time complexity : O(nlogn) --
# Space complexity : O(logn) - Sorting takes O(logn) space or
# O(n) - Storing a copy of intervals and then sorting takes O(n) space
class Solution_1:
def insert(intervals, newInterval):
intervals.append(newInterval)
intervals.sort()
merge = []
for ele in intervals:
if not merge or merge[-1][1] < ele[0]:
merge.append(ele)
else:
merge[-1][1] = max(merge[-1][1], ele[1])
return merge
| class Solution_1:
def insert(intervals, newInterval):
intervals.append(newInterval)
intervals.sort()
merge = []
for ele in intervals:
if not merge or merge[-1][1] < ele[0]:
merge.append(ele)
else:
merge[-1][1] = max(merge[-1][1], ele[1])
return merge |
# Interview Question 3.3
class SetOfStacks(object):
def __init__(self, threshold):
if threshold <= 0:
raise ValueError('Invalid threshold value')
self._threshold = threshold
self._stacks = []
def __len__(self):
return len(self._stacks)
def push(self, item):
if not self._stacks or len(self._stacks[-1]) == self._threshold:
self._stacks.append([])
self._stacks[-1].append(item)
def pop(self):
return self.popAt(-1)
def popAt(self, index):
if index >= len(self._stacks) or index < -len(self._stacks):
raise IndexError('Invalid stack index')
item = self._stacks[index].pop()
if not self._stacks[index]:
del self._stacks[index]
return item
if __name__ == '__main__':
s = SetOfStacks(3)
for item in range(9):
s.push(item)
print(len(s))
while s:
print(s.pop())
| class Setofstacks(object):
def __init__(self, threshold):
if threshold <= 0:
raise value_error('Invalid threshold value')
self._threshold = threshold
self._stacks = []
def __len__(self):
return len(self._stacks)
def push(self, item):
if not self._stacks or len(self._stacks[-1]) == self._threshold:
self._stacks.append([])
self._stacks[-1].append(item)
def pop(self):
return self.popAt(-1)
def pop_at(self, index):
if index >= len(self._stacks) or index < -len(self._stacks):
raise index_error('Invalid stack index')
item = self._stacks[index].pop()
if not self._stacks[index]:
del self._stacks[index]
return item
if __name__ == '__main__':
s = set_of_stacks(3)
for item in range(9):
s.push(item)
print(len(s))
while s:
print(s.pop()) |
#!/usr/bin/python3.5
# import time
def kosaraju_strongly_connected_components():
# input_file_name = 'kosaraju_SCC_test_result_is_3_3_3_0_0.txt'
# input_file_name = 'kosaraju_SCC_test_result_is_6_3_2_1_0.txt'
input_file_name = 'kosaraju_SCC_input.txt'
print('Creating adjacency lists')
adjacency_list = []
reversed_adjacency_list = []
n = 0
rn = 0
with open(input_file_name) as f:
for line in f:
uv = line[:-1].strip().split(' ')
u = int(uv[0]) - 1 # - 1 is problem-specific (teacher's vertices id start from one)
v = int(uv[1]) - 1 # also, we assume that if vertices 1 and 3 exist, vertex 2 exists too
max_uv = max(u, v) # even if no edge refers to vertex 2
while n <= max_uv:
adjacency_list.append([])
n += 1
while rn <= max_uv:
reversed_adjacency_list.append([])
rn += 1
adjacency_list[u].append(v)
reversed_adjacency_list[v].append(u)
# print(adjacency_list)
# print(reversed_adjacency_list)
print('Adjacency lists created:', n, 'vertices')
print('Running first depth-first search')
stack = [] # A stack is used to perform DFS without recursion and avoid stack overflow
orderings = []
explored = [False] * n
for i in range(n - 1, -1, -1):
if not explored[i]:
explored[i] = True
stack.append(i)
# print('considering', i)
# print('starting explored_vertices:', explored_vertices)
while len(stack):
current_vertex = stack[-1]
all_neighbours_explored = True
for j in reversed_adjacency_list[current_vertex]:
if not explored[j]:
all_neighbours_explored = False
explored[j] = True
stack.append(j)
break
if all_neighbours_explored:
stack.pop()
orderings.append(current_vertex)
# print('All neighbours of', current_vertex, 'explored. order:', t)
# print('explored_vertices:', explored_vertices)
# print('stack:', stack)
# print('stack size:', len(stack), 't:', len(orderings))
# print('orderings:', orderings)
print('Running second depth-first search')
orderings.reverse()
explored = [False] * n
leaders_dict = {}
for i in orderings:
if not explored[i]:
explored[i] = True
stack.append(i)
# We use a set to prevent member testing: (if current_vertex not in leaders_dict[i + 1])
# Idk what is better: python noob
# We add + 1 to retrieve the correct vertex id
leaders_dict[i + 1] = set()
while len(stack):
current_vertex = stack[-1]
all_neighbours_explored = True
leaders_dict[i + 1].add(current_vertex + 1)
for j in adjacency_list[current_vertex]:
if not explored[j]:
all_neighbours_explored = False
explored[j] = True
stack.append(j)
break
if all_neighbours_explored:
stack.pop()
# print(leaders_dict)
# print(len(leaders_dict))
# A conventional implementation would return here
# return leaders_dict
print('Computing assigment result')
results = []
items = leaders_dict.items()
while len(results) < 5:
best_leader = None
best_n_followers = 0
for (leaders, followers) in items:
n_followers = len(followers)
if n_followers > best_n_followers:
best_n_followers = n_followers
best_leader = leaders
results.append(str(best_n_followers))
if best_leader is not None:
del leaders_dict[best_leader]
print('Final result:')
print(','.join(results))
if __name__ == '__main__': kosaraju_strongly_connected_components()
| def kosaraju_strongly_connected_components():
input_file_name = 'kosaraju_SCC_input.txt'
print('Creating adjacency lists')
adjacency_list = []
reversed_adjacency_list = []
n = 0
rn = 0
with open(input_file_name) as f:
for line in f:
uv = line[:-1].strip().split(' ')
u = int(uv[0]) - 1
v = int(uv[1]) - 1
max_uv = max(u, v)
while n <= max_uv:
adjacency_list.append([])
n += 1
while rn <= max_uv:
reversed_adjacency_list.append([])
rn += 1
adjacency_list[u].append(v)
reversed_adjacency_list[v].append(u)
print('Adjacency lists created:', n, 'vertices')
print('Running first depth-first search')
stack = []
orderings = []
explored = [False] * n
for i in range(n - 1, -1, -1):
if not explored[i]:
explored[i] = True
stack.append(i)
while len(stack):
current_vertex = stack[-1]
all_neighbours_explored = True
for j in reversed_adjacency_list[current_vertex]:
if not explored[j]:
all_neighbours_explored = False
explored[j] = True
stack.append(j)
break
if all_neighbours_explored:
stack.pop()
orderings.append(current_vertex)
print('Running second depth-first search')
orderings.reverse()
explored = [False] * n
leaders_dict = {}
for i in orderings:
if not explored[i]:
explored[i] = True
stack.append(i)
leaders_dict[i + 1] = set()
while len(stack):
current_vertex = stack[-1]
all_neighbours_explored = True
leaders_dict[i + 1].add(current_vertex + 1)
for j in adjacency_list[current_vertex]:
if not explored[j]:
all_neighbours_explored = False
explored[j] = True
stack.append(j)
break
if all_neighbours_explored:
stack.pop()
print('Computing assigment result')
results = []
items = leaders_dict.items()
while len(results) < 5:
best_leader = None
best_n_followers = 0
for (leaders, followers) in items:
n_followers = len(followers)
if n_followers > best_n_followers:
best_n_followers = n_followers
best_leader = leaders
results.append(str(best_n_followers))
if best_leader is not None:
del leaders_dict[best_leader]
print('Final result:')
print(','.join(results))
if __name__ == '__main__':
kosaraju_strongly_connected_components() |
def debug_input_output(function):
def wrapper(*args, **kwargs):
print(f"[INPUT] ARGS: {args}")
print(f"[INPUT] KWARGS: {kwargs}")
output = function(*args, **kwargs)
print(f"[OUTPUT]: {output}")
return output
return wrapper
@debug_input_output
def say_something(word):
print(word)
def main():
say_something("hello")
if __name__ == "__main__":
main()
| def debug_input_output(function):
def wrapper(*args, **kwargs):
print(f'[INPUT] ARGS: {args}')
print(f'[INPUT] KWARGS: {kwargs}')
output = function(*args, **kwargs)
print(f'[OUTPUT]: {output}')
return output
return wrapper
@debug_input_output
def say_something(word):
print(word)
def main():
say_something('hello')
if __name__ == '__main__':
main() |
class Solution:
def stoneGame(self, piles: List[int]) -> bool:
# dp = [[0]*len(piles) for _ in range(len(piles))]
# for i in range(len(piles)-2,-1,-1):
# for j in range(i,len((piles))):
# dp[i][j] = max(piles[i]-dp[i+1][j],piles[j]-dp[i][j-1])
# return dp[0][len(piles)-1]>0
dp = [0]*len(piles)
for i in range(len(piles)-2,-1,-1):
for j in range(i,len((piles))):
dp[j] = max(piles[i]-dp[j],piles[j]-dp[max(0,j-1)])
return dp[len(piles)-1]>0
| class Solution:
def stone_game(self, piles: List[int]) -> bool:
dp = [0] * len(piles)
for i in range(len(piles) - 2, -1, -1):
for j in range(i, len(piles)):
dp[j] = max(piles[i] - dp[j], piles[j] - dp[max(0, j - 1)])
return dp[len(piles) - 1] > 0 |
# k_configfile = "configFileName"
# dev keys
packageName = "infobot"
socialModule = "social."
storageModule = "storage."
# storage keys
dataDirectoryKey = "directory"
counterKey = "counterfile"
indexFileFormatKey = "indexformat"
pickleFileKey = "picklefile"
downloadUrlKey = "downloadurl"
# index related keys
startKey = "start"
lastKey = "last"
previousKey = "previous"
# post format keys
footerKey = "footer"
headerKey = "header"
fakeKey = "fake"
mastodonKey = "mastodon"
# social Keys
useridKey = "userid"
passwdKey = "password"
socialAppKey = "socialapp"
apiURLKey = "apiurl"
clientAppNameKey = "clientappname"
clientSecretKey = "clientsecretfilename"
userSecretKey = "usersecretfilename"
| package_name = 'infobot'
social_module = 'social.'
storage_module = 'storage.'
data_directory_key = 'directory'
counter_key = 'counterfile'
index_file_format_key = 'indexformat'
pickle_file_key = 'picklefile'
download_url_key = 'downloadurl'
start_key = 'start'
last_key = 'last'
previous_key = 'previous'
footer_key = 'footer'
header_key = 'header'
fake_key = 'fake'
mastodon_key = 'mastodon'
userid_key = 'userid'
passwd_key = 'password'
social_app_key = 'socialapp'
api_url_key = 'apiurl'
client_app_name_key = 'clientappname'
client_secret_key = 'clientsecretfilename'
user_secret_key = 'usersecretfilename' |
#generar tuplas
tupla1=(1,2,3)
tupla2_=(1,) #sirve para crear una tupla con un solo componente
| tupla1 = (1, 2, 3)
tupla2_ = (1,) |
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'conditions': [
# In component mode (shared_lib), we build all of skia as a single DLL.
# However, in the static mode, we need to build skia as multiple targets
# in order to support the use case where a platform (e.g. Android) may
# already have a copy of skia as a system library.
['component=="static_library"', {
'targets': [
{
'target_name': 'skia_library',
'type': 'static_library',
# The optimize: 'max' scattered throughout are particularly
# important when compiled by MSVC 2013, which seems
# to mis-link-time-compile code that's built with
# different optimization levels. http://crbug.com/543583
'variables': {
'optimize': 'max',
},
'includes': [
'skia_common.gypi',
'skia_library.gypi',
],
},
],
}],
['component=="static_library"', {
'targets': [
{
'target_name': 'skia',
# The optimize: 'max' scattered throughout are particularly
# important when compiled by MSVC 2013, which seems
# to mis-link-time-compile code that's built with
# different optimization levels. http://crbug.com/543583
'variables': {
'optimize': 'max',
},
'type': 'none',
'dependencies': [
'skia_library',
'skia_pdfium',
],
'export_dependent_settings': [
'skia_library',
'skia_pdfium',
],
'direct_dependent_settings': {
'conditions': [
[ 'OS == "win"', {
'defines': [
'GR_GL_FUNCTION_TYPE=__stdcall',
],
}],
],
},
},
{
'target_name': 'skia_pdfium',
'type': 'static_library',
'includes': [
'skia_pdfium.gypi',
'skia_common.gypi',
],
},
],
}],
],
}
| {'conditions': [['component=="static_library"', {'targets': [{'target_name': 'skia_library', 'type': 'static_library', 'variables': {'optimize': 'max'}, 'includes': ['skia_common.gypi', 'skia_library.gypi']}]}], ['component=="static_library"', {'targets': [{'target_name': 'skia', 'variables': {'optimize': 'max'}, 'type': 'none', 'dependencies': ['skia_library', 'skia_pdfium'], 'export_dependent_settings': ['skia_library', 'skia_pdfium'], 'direct_dependent_settings': {'conditions': [['OS == "win"', {'defines': ['GR_GL_FUNCTION_TYPE=__stdcall']}]]}}, {'target_name': 'skia_pdfium', 'type': 'static_library', 'includes': ['skia_pdfium.gypi', 'skia_common.gypi']}]}]]} |
RAW_PATH="./data/PeMS_04/PeMS04.npz"
SCAL_PATH='./scal/standard_scal.pkl'
HISTORY_WINDOW=50
PROCESS_PATH='./processed/process_data.csv'
LSTM_RE_PATH='./re/LSTM_re.csv'
GRU_RE_PATH='./re/GRU_re.csv'
GRU_ATTENTION_RE_PATH='./re/GRU_attention_re.csv'
GRU_DUAL_STAGE_ATTENTION_RE_PATH='./re/gru_dual_stage_attention_re.csv'
TCN_ATTENTION_RE_PATH='./re/TCN_attention_re.csv'
LSTM_MODEL_PATH='./lstm_model/lstm_model.pkl'
GRU_MODEL_PATH='./gru_model/gru_model.pkl'
GRU_ATTENTION_PATH='./gru_attention_model/gru_attention_model.pkl'
GRU_DUAL_STAGE_ATTENTION_PATH='./gru_dual_stage_attention_model/gru_dual_stage_attention_model.pkl'
TCN_MODEL_PATH='./tcn_model/tcn_model.pkl'
LOSS_PATH='./loss/loss.pkl' | raw_path = './data/PeMS_04/PeMS04.npz'
scal_path = './scal/standard_scal.pkl'
history_window = 50
process_path = './processed/process_data.csv'
lstm_re_path = './re/LSTM_re.csv'
gru_re_path = './re/GRU_re.csv'
gru_attention_re_path = './re/GRU_attention_re.csv'
gru_dual_stage_attention_re_path = './re/gru_dual_stage_attention_re.csv'
tcn_attention_re_path = './re/TCN_attention_re.csv'
lstm_model_path = './lstm_model/lstm_model.pkl'
gru_model_path = './gru_model/gru_model.pkl'
gru_attention_path = './gru_attention_model/gru_attention_model.pkl'
gru_dual_stage_attention_path = './gru_dual_stage_attention_model/gru_dual_stage_attention_model.pkl'
tcn_model_path = './tcn_model/tcn_model.pkl'
loss_path = './loss/loss.pkl' |
# This script is dynamically added as a subclass in tool_dock_examples.py
def main():
print("This is a script that prints when evaluated")
if __name__ == "__main__":
main()
| def main():
print('This is a script that prints when evaluated')
if __name__ == '__main__':
main() |
myList = [16, 1, 10, 31, 15, 11, 47, 23, 47, 3, 29, 23, 44, 27, 10, 14, 17, 15, 1, 38, 7, 7, 25, 1, 8, 15, 16, 20, 12,
14, 6, 10, 39, 42, 33, 26, 30, 27, 25, 13, 11, 26, 39, 19, 15, 21, 22]
starting_index = int(input("Please enter the starting index: "))
if 0 <= starting_index <= len(myList):
stopping_index = int(input("Please enter the stopping index: "))
if 0 <= stopping_index <= len(myList):
step_size = int(input("Please enter the step size: "))
if 0 < step_size:
sub_list = myList[starting_index:stopping_index:step_size]
print("The summation of the elements of ", myList[starting_index:stopping_index:step_size], "is", sum(myList[starting_index:stopping_index:step_size]) + ".")
else:
print("Invalid stopping value!")
else:
print("Invalid starting value!")
| my_list = [16, 1, 10, 31, 15, 11, 47, 23, 47, 3, 29, 23, 44, 27, 10, 14, 17, 15, 1, 38, 7, 7, 25, 1, 8, 15, 16, 20, 12, 14, 6, 10, 39, 42, 33, 26, 30, 27, 25, 13, 11, 26, 39, 19, 15, 21, 22]
starting_index = int(input('Please enter the starting index: '))
if 0 <= starting_index <= len(myList):
stopping_index = int(input('Please enter the stopping index: '))
if 0 <= stopping_index <= len(myList):
step_size = int(input('Please enter the step size: '))
if 0 < step_size:
sub_list = myList[starting_index:stopping_index:step_size]
print('The summation of the elements of ', myList[starting_index:stopping_index:step_size], 'is', sum(myList[starting_index:stopping_index:step_size]) + '.')
else:
print('Invalid stopping value!')
else:
print('Invalid starting value!') |
class Solution:
def minDistance(self, word1: str, word2: str) -> int:
n1 = len(word1)
n2 = len(word2)
dp = []
for i in range(n1+1):
dp.append([0]*(n2+1))
for i in range(1, n1+1):
for j in range(1, n2+1):
if(word1[i-1] == word2[j-1]):
dp[i][j] = dp[i-1][j-1] + 1
else:
dp[i][j] = max(dp[i-1][j], dp[i][j-1])
res = n1 + n2 - 2*dp[n1][n2]
return res
b = Solution()
print(b.minDistance("sea", "eat")) | class Solution:
def min_distance(self, word1: str, word2: str) -> int:
n1 = len(word1)
n2 = len(word2)
dp = []
for i in range(n1 + 1):
dp.append([0] * (n2 + 1))
for i in range(1, n1 + 1):
for j in range(1, n2 + 1):
if word1[i - 1] == word2[j - 1]:
dp[i][j] = dp[i - 1][j - 1] + 1
else:
dp[i][j] = max(dp[i - 1][j], dp[i][j - 1])
res = n1 + n2 - 2 * dp[n1][n2]
return res
b = solution()
print(b.minDistance('sea', 'eat')) |
def solution(n):
largest = 1
div = 2
while n > 1:
while n % div == 0:
if div > largest: largest = div;
n /= div
div += 1
if div * div > n:
if n > 1 and n > largest: largest = n
break
return largest
def test_LargestPrimeFactor():
assert solution(600851475143) == 6857 | def solution(n):
largest = 1
div = 2
while n > 1:
while n % div == 0:
if div > largest:
largest = div
n /= div
div += 1
if div * div > n:
if n > 1 and n > largest:
largest = n
break
return largest
def test__largest_prime_factor():
assert solution(600851475143) == 6857 |
class Pile:
def __init__(self, *args):
self.__valeur = list(args)
def __str__(self):
return str(self.__valeur)
def __repr__(self):
return self.__str__()
def empiler(self, valeur):
self.__valeur.append(valeur)
def depiler(self):
return self.__valeur.pop() | class Pile:
def __init__(self, *args):
self.__valeur = list(args)
def __str__(self):
return str(self.__valeur)
def __repr__(self):
return self.__str__()
def empiler(self, valeur):
self.__valeur.append(valeur)
def depiler(self):
return self.__valeur.pop() |
text = input("Text to translate to Roachanese: ")
words = text.split(" ")
special_chars = ['.', ',', ';', ':', '-', '_', '\'', '\"', '?', '!', '$', '%', '&', '*', '(', ')', '/', '\\']
translated = []
for word in words:
if "brother" in word:
translated.append(word)
else:
newWord = word
noSC = True
for char in special_chars:
if char in word:
noSC = False
index = word.find(char)
newWord = word[:index] + "roach" + word[index:]
if noSC:
translated.append(newWord + "roach")
else:
translated.append(newWord)
translatedText = " "
print(translatedText.join(translated))
| text = input('Text to translate to Roachanese: ')
words = text.split(' ')
special_chars = ['.', ',', ';', ':', '-', '_', "'", '"', '?', '!', '$', '%', '&', '*', '(', ')', '/', '\\']
translated = []
for word in words:
if 'brother' in word:
translated.append(word)
else:
new_word = word
no_sc = True
for char in special_chars:
if char in word:
no_sc = False
index = word.find(char)
new_word = word[:index] + 'roach' + word[index:]
if noSC:
translated.append(newWord + 'roach')
else:
translated.append(newWord)
translated_text = ' '
print(translatedText.join(translated)) |
# Author: Kirill Leontyev (DC)
# These exceptions can be raised by frt_bootstrap.boot_starter.boot.
class Boot_attempt_failure(Exception):
pass
class System_corruption(Exception):
pass
class Localization_loss(Exception):
pass
class CodePage_loss(Exception):
pass
| class Boot_Attempt_Failure(Exception):
pass
class System_Corruption(Exception):
pass
class Localization_Loss(Exception):
pass
class Codepage_Loss(Exception):
pass |
#!/usr/bin/python
#
# Copyright 2018-2022 Polyaxon, Inc.
#
# 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 PolyaxonServiceHeaders:
CLI_VERSION = "X_POLYAXON_CLI_VERSION"
CLIENT_VERSION = "X_POLYAXON_CLIENT_VERSION"
INTERNAL = "X_POLYAXON_INTERNAL"
SERVICE = "X_POLYAXON_SERVICE"
VALUES = {CLIENT_VERSION, CLIENT_VERSION, INTERNAL, SERVICE}
@staticmethod
def get_header(header):
return header.replace("_", "-")
@classmethod
def get_headers(cls):
return tuple(cls.VALUES | {cls.get_header(h) for h in cls.VALUES})
| class Polyaxonserviceheaders:
cli_version = 'X_POLYAXON_CLI_VERSION'
client_version = 'X_POLYAXON_CLIENT_VERSION'
internal = 'X_POLYAXON_INTERNAL'
service = 'X_POLYAXON_SERVICE'
values = {CLIENT_VERSION, CLIENT_VERSION, INTERNAL, SERVICE}
@staticmethod
def get_header(header):
return header.replace('_', '-')
@classmethod
def get_headers(cls):
return tuple(cls.VALUES | {cls.get_header(h) for h in cls.VALUES}) |
#!/usr/bin/env python3
#
# # Copyright (c) 2021 Facebook, inc. and its affiliates. All Rights Reserved
#
#
if __name__ == '__main__':
pass
| if __name__ == '__main__':
pass |
'''
Wifi Facade.
=============
The :class:`Wifi` is to provide access to the wifi of your mobile/ desktop
devices.
It currently supports `connecting`, `disconnecting`, `scanning`, `getting
available wifi network list` and `getting network information`.
Simple examples
---------------
To enable/ turn on wifi scanning::
>>> from plyer import wifi
>>> wifi.start_scanning()
Once the wifi is enabled/ turned on, then this command starts to scan
all the nearby available wifi networks.
To get network info::
>>> from plyer import wifi
>>> wifi.start_scanning()
>>> return wifi.get_network_info(name)
Returns network details of the network who's name/ssid is provided in the
`name` parameter.
To connect to a network::
>>> from plyer import wifi
>>> wifi.start_scanning()
>>> wifi.connect(network, parameters)
This connects to the network who's name/ssid is provided under `network`
parameter and along with other necessary methods for connection
which depends upon platform to platform.
please visit following files for more details about requirements of
`paramaters` argument in `connect` method:
plyer/platforms/win/wifi.py
plyer/platforms/macosx/wifi.py
plyer/platforms/win/wifi.py
To disconnect from wifi::
>>> from plyer import wifi
>>> wifi.disconnect()
This disconnects your device from any wifi network.
To get available wifi networks::
>>> from plyer import wifi
>>> wifi.start_scanning()
>>> return wifi.get_available_wifi()
This returns all the available wifi networks near the device.
Supported Platforms
-------------------
Windows, OS X, Linux
Ex: 6
----------
from plyer import wifi
wifi.enable()
This enables wifi device.
Ex: 7
----------
from plyer import wifi
wifi.disable()
This disable wifi device
'''
class Wifi(object):
'''
Wifi Facade.
'''
def is_enabled(self):
'''
Returns `True`if the Wifi is enables else `False`.
'''
return self._is_enabled()
def start_scanning(self):
'''
Turn on scanning.
'''
return self._start_scanning()
def get_network_info(self, name):
'''
Return a dictionary of secified network.
'''
return self._get_network_info(name=name)
def get_available_wifi(self):
'''
Returns a list of all the available wifi.
'''
return self._get_available_wifi()
def connect(self, network, parameters):
'''
Method to connect to some network.
'''
self._connect(network=network, parameters=parameters)
def disconnect(self):
'''
To disconnect from some network.
'''
self._disconnect()
def enable(self):
'''
Wifi interface power state is set to "ON".
'''
self._enable()
def disable(self):
'''
Wifi interface power state is set to "OFF".
'''
self._disable()
# private
def _is_enabled(self):
raise NotImplementedError()
def _start_scanning(self):
raise NotImplementedError()
def _get_network_info(self, **kwargs):
raise NotImplementedError()
def _get_available_wifi(self):
raise NotImplementedError()
def _connect(self, **kwargs):
raise NotImplementedError()
def _disconnect(self):
raise NotImplementedError()
def _enable(self):
raise NotImplementedError()
def _disable(self):
raise NotImplementedError()
| """
Wifi Facade.
=============
The :class:`Wifi` is to provide access to the wifi of your mobile/ desktop
devices.
It currently supports `connecting`, `disconnecting`, `scanning`, `getting
available wifi network list` and `getting network information`.
Simple examples
---------------
To enable/ turn on wifi scanning::
>>> from plyer import wifi
>>> wifi.start_scanning()
Once the wifi is enabled/ turned on, then this command starts to scan
all the nearby available wifi networks.
To get network info::
>>> from plyer import wifi
>>> wifi.start_scanning()
>>> return wifi.get_network_info(name)
Returns network details of the network who's name/ssid is provided in the
`name` parameter.
To connect to a network::
>>> from plyer import wifi
>>> wifi.start_scanning()
>>> wifi.connect(network, parameters)
This connects to the network who's name/ssid is provided under `network`
parameter and along with other necessary methods for connection
which depends upon platform to platform.
please visit following files for more details about requirements of
`paramaters` argument in `connect` method:
plyer/platforms/win/wifi.py
plyer/platforms/macosx/wifi.py
plyer/platforms/win/wifi.py
To disconnect from wifi::
>>> from plyer import wifi
>>> wifi.disconnect()
This disconnects your device from any wifi network.
To get available wifi networks::
>>> from plyer import wifi
>>> wifi.start_scanning()
>>> return wifi.get_available_wifi()
This returns all the available wifi networks near the device.
Supported Platforms
-------------------
Windows, OS X, Linux
Ex: 6
----------
from plyer import wifi
wifi.enable()
This enables wifi device.
Ex: 7
----------
from plyer import wifi
wifi.disable()
This disable wifi device
"""
class Wifi(object):
"""
Wifi Facade.
"""
def is_enabled(self):
"""
Returns `True`if the Wifi is enables else `False`.
"""
return self._is_enabled()
def start_scanning(self):
"""
Turn on scanning.
"""
return self._start_scanning()
def get_network_info(self, name):
"""
Return a dictionary of secified network.
"""
return self._get_network_info(name=name)
def get_available_wifi(self):
"""
Returns a list of all the available wifi.
"""
return self._get_available_wifi()
def connect(self, network, parameters):
"""
Method to connect to some network.
"""
self._connect(network=network, parameters=parameters)
def disconnect(self):
"""
To disconnect from some network.
"""
self._disconnect()
def enable(self):
"""
Wifi interface power state is set to "ON".
"""
self._enable()
def disable(self):
"""
Wifi interface power state is set to "OFF".
"""
self._disable()
def _is_enabled(self):
raise not_implemented_error()
def _start_scanning(self):
raise not_implemented_error()
def _get_network_info(self, **kwargs):
raise not_implemented_error()
def _get_available_wifi(self):
raise not_implemented_error()
def _connect(self, **kwargs):
raise not_implemented_error()
def _disconnect(self):
raise not_implemented_error()
def _enable(self):
raise not_implemented_error()
def _disable(self):
raise not_implemented_error() |
def get_encoder_decoder_hp(model='gin', decoder=None):
if model == 'gin':
model_hp = {
# hp from model
"num_layers": 5,
"hidden": [64,64,64,64],
"dropout": 0.5,
"act": "relu",
"eps": "False",
"mlp_layers": 2
}
if model == 'gat':
model_hp = {
"num_layers": 2,
"hidden": [8],
"num_hidden_heads": 8,
"num_output_heads": 8,
"dropout": 0.6,
"act": "elu"
}
elif model == 'gcn':
model_hp = {
"num_layers": 2,
"hidden": [16],
"dropout": 0.5,
"act": "relu"
}
elif model == 'sage':
model_hp = {
"num_layers": 2,
"hidden": [64],
"dropout": 0.5,
"act": "relu",
"agg": "mean",
}
else:
model_hp = {}
if decoder is None or decoder == "addpoolmlp":
decoder_hp = {
"hidden": 64,
"act": "relu",
"dropout": 0.5
}
elif decoder == "diffpool":
decoder_hp = {
"ratio": 0.8,
"dropout": 0.5,
"act": "relu"
}
else:
decoder_hp = {}
return model_hp, decoder_hp
| def get_encoder_decoder_hp(model='gin', decoder=None):
if model == 'gin':
model_hp = {'num_layers': 5, 'hidden': [64, 64, 64, 64], 'dropout': 0.5, 'act': 'relu', 'eps': 'False', 'mlp_layers': 2}
if model == 'gat':
model_hp = {'num_layers': 2, 'hidden': [8], 'num_hidden_heads': 8, 'num_output_heads': 8, 'dropout': 0.6, 'act': 'elu'}
elif model == 'gcn':
model_hp = {'num_layers': 2, 'hidden': [16], 'dropout': 0.5, 'act': 'relu'}
elif model == 'sage':
model_hp = {'num_layers': 2, 'hidden': [64], 'dropout': 0.5, 'act': 'relu', 'agg': 'mean'}
else:
model_hp = {}
if decoder is None or decoder == 'addpoolmlp':
decoder_hp = {'hidden': 64, 'act': 'relu', 'dropout': 0.5}
elif decoder == 'diffpool':
decoder_hp = {'ratio': 0.8, 'dropout': 0.5, 'act': 'relu'}
else:
decoder_hp = {}
return (model_hp, decoder_hp) |
Experiment(description='Trying latest code on classic data sets',
data_dir='../data/tsdlr-renamed/',
max_depth=10,
random_order=False,
k=1,
debug=False,
local_computation=False,
n_rand=9,
sd=2,
jitter_sd=0.1,
max_jobs=400,
verbose=False,
make_predictions=False,
skip_complete=True,
results_dir='../results/2014-01-15-GPSS-add/',
iters=250,
base_kernels='SE,Per,Lin,Const,Noise',
random_seed=2,
period_heuristic=3,
max_period_heuristic=5,
period_heuristic_type='min',
subset=True,
subset_size=250,
full_iters=10,
bundle_size=5,
additive_form=True,
mean='ff.MeanZero()', # Starting mean
kernel='ff.NoiseKernel()', # Starting kernel
lik='ff.LikGauss(sf=-np.Inf)', # Starting likelihood
score='bic',
search_operators=[('A', ('+', 'A', 'B'), {'A': 'kernel', 'B': 'base'}),
('A', ('*', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}),
('A', ('*-const', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}),
('A', 'B', {'A': 'kernel', 'B': 'base'}),
('A', ('CP', 'd', 'A'), {'A': 'kernel', 'd' : 'dimension'}),
('A', ('CW', 'd', 'A'), {'A': 'kernel', 'd' : 'dimension'}),
('A', ('B', 'd', 'A'), {'A': 'kernel', 'd' : 'dimension'}),
('A', ('BL', 'd', 'A'), {'A': 'kernel', 'd' : 'dimension'}),
('A', ('None',), {'A': 'kernel'})])
| experiment(description='Trying latest code on classic data sets', data_dir='../data/tsdlr-renamed/', max_depth=10, random_order=False, k=1, debug=False, local_computation=False, n_rand=9, sd=2, jitter_sd=0.1, max_jobs=400, verbose=False, make_predictions=False, skip_complete=True, results_dir='../results/2014-01-15-GPSS-add/', iters=250, base_kernels='SE,Per,Lin,Const,Noise', random_seed=2, period_heuristic=3, max_period_heuristic=5, period_heuristic_type='min', subset=True, subset_size=250, full_iters=10, bundle_size=5, additive_form=True, mean='ff.MeanZero()', kernel='ff.NoiseKernel()', lik='ff.LikGauss(sf=-np.Inf)', score='bic', search_operators=[('A', ('+', 'A', 'B'), {'A': 'kernel', 'B': 'base'}), ('A', ('*', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}), ('A', ('*-const', 'A', 'B'), {'A': 'kernel', 'B': 'base-not-const'}), ('A', 'B', {'A': 'kernel', 'B': 'base'}), ('A', ('CP', 'd', 'A'), {'A': 'kernel', 'd': 'dimension'}), ('A', ('CW', 'd', 'A'), {'A': 'kernel', 'd': 'dimension'}), ('A', ('B', 'd', 'A'), {'A': 'kernel', 'd': 'dimension'}), ('A', ('BL', 'd', 'A'), {'A': 'kernel', 'd': 'dimension'}), ('A', ('None',), {'A': 'kernel'})]) |
#!/usr/bin/env python3
total_sum = 0
def calculate_fuel(mass: int) -> int:
part = int((mass/3)-2)
if part <= 0:
return 0
print(part)
return part + calculate_fuel(part)
with open("input.txt", "r") as f:
for line in f.readlines():
value = int(line.strip())
total_sum += calculate_fuel(value)
print(total_sum)
| total_sum = 0
def calculate_fuel(mass: int) -> int:
part = int(mass / 3 - 2)
if part <= 0:
return 0
print(part)
return part + calculate_fuel(part)
with open('input.txt', 'r') as f:
for line in f.readlines():
value = int(line.strip())
total_sum += calculate_fuel(value)
print(total_sum) |
# -*- coding: utf-8 -*-
# this file is released under public domain and you can use without limitations
#########################################################################
## Customize your APP title, subtitle and menus here
#########################################################################
response.logo = A(B('Slug',SPAN('IOT')),
_class="navbar-brand",_href=URL('default','index'),
_id="web2py-logo")
response.title = request.application.replace('_',' ').title()
response.subtitle = ''
## read more at http://dev.w3.org/html5/markup/meta.name.html
response.meta.author = myconf.get('app.author')
response.meta.description = myconf.get('app.description')
response.meta.keywords = myconf.get('app.keywords')
response.meta.generator = myconf.get('app.generator')
## your http://google.com/analytics id
response.google_analytics_id = None
#########################################################################
## this is the main application menu add/remove items as required
#########################################################################
response.menu = [
(T('Home'), False, URL('default', 'index'), [])
]
DEVELOPMENT_MENU = False
#########################################################################
## provide shortcuts for development. remove in production
#########################################################################
def _():
# shortcuts
app = request.application
ctr = request.controller
# useful links to internal and external resources
response.menu += [
(T('My Sites'), False, URL('admin', 'default', 'site')),
(T('This App'), False, '#', [
(T('Design'), False, URL('admin', 'default', 'design/%s' % app)),
LI(_class="divider"),
(T('Controller'), False,
URL(
'admin', 'default', 'edit/%s/controllers/%s.py' % (app, ctr))),
(T('View'), False,
URL(
'admin', 'default', 'edit/%s/views/%s' % (app, response.view))),
(T('DB Model'), False,
URL(
'admin', 'default', 'edit/%s/models/db.py' % app)),
(T('Menu Model'), False,
URL(
'admin', 'default', 'edit/%s/models/menu.py' % app)),
(T('Config.ini'), False,
URL(
'admin', 'default', 'edit/%s/private/appconfig.ini' % app)),
(T('Layout'), False,
URL(
'admin', 'default', 'edit/%s/views/layout.html' % app)),
(T('Stylesheet'), False,
URL(
'admin', 'default', 'edit/%s/static/css/web2py-bootstrap3.css' % app)),
(T('Database'), False, URL(app, 'appadmin', 'index')),
(T('Errors'), False, URL(
'admin', 'default', 'errors/' + app)),
(T('About'), False, URL(
'admin', 'default', 'about/' + app)),
]),
('web2py.com', False, '#', [
(T('Download'), False,
'http://www.web2py.com/examples/default/download'),
(T('Support'), False,
'http://www.web2py.com/examples/default/support'),
(T('Demo'), False, 'http://web2py.com/demo_admin'),
(T('Quick Examples'), False,
'http://web2py.com/examples/default/examples'),
(T('FAQ'), False, 'http://web2py.com/AlterEgo'),
(T('Videos'), False,
'http://www.web2py.com/examples/default/videos/'),
(T('Free Applications'),
False, 'http://web2py.com/appliances'),
(T('Plugins'), False, 'http://web2py.com/plugins'),
(T('Recipes'), False, 'http://web2pyslices.com/'),
]),
(T('Documentation'), False, '#', [
(T('Online book'), False, 'http://www.web2py.com/book'),
LI(_class="divider"),
(T('Preface'), False,
'http://www.web2py.com/book/default/chapter/00'),
(T('Introduction'), False,
'http://www.web2py.com/book/default/chapter/01'),
(T('Python'), False,
'http://www.web2py.com/book/default/chapter/02'),
(T('Overview'), False,
'http://www.web2py.com/book/default/chapter/03'),
(T('The Core'), False,
'http://www.web2py.com/book/default/chapter/04'),
(T('The Views'), False,
'http://www.web2py.com/book/default/chapter/05'),
(T('Database'), False,
'http://www.web2py.com/book/default/chapter/06'),
(T('Forms and Validators'), False,
'http://www.web2py.com/book/default/chapter/07'),
(T('Email and SMS'), False,
'http://www.web2py.com/book/default/chapter/08'),
(T('Access Control'), False,
'http://www.web2py.com/book/default/chapter/09'),
(T('Services'), False,
'http://www.web2py.com/book/default/chapter/10'),
(T('Ajax Recipes'), False,
'http://www.web2py.com/book/default/chapter/11'),
(T('Components and Plugins'), False,
'http://www.web2py.com/book/default/chapter/12'),
(T('Deployment Recipes'), False,
'http://www.web2py.com/book/default/chapter/13'),
(T('Other Recipes'), False,
'http://www.web2py.com/book/default/chapter/14'),
(T('Helping web2py'), False,
'http://www.web2py.com/book/default/chapter/15'),
(T("Buy web2py's book"), False,
'http://stores.lulu.com/web2py'),
]),
(T('Community'), False, None, [
(T('Groups'), False,
'http://www.web2py.com/examples/default/usergroups'),
(T('Twitter'), False, 'http://twitter.com/web2py'),
(T('Live Chat'), False,
'http://webchat.freenode.net/?channels=web2py'),
]),
]
if DEVELOPMENT_MENU: _()
if "auth" in locals(): auth.wikimenu()
| response.logo = a(b('Slug', span('IOT')), _class='navbar-brand', _href=url('default', 'index'), _id='web2py-logo')
response.title = request.application.replace('_', ' ').title()
response.subtitle = ''
response.meta.author = myconf.get('app.author')
response.meta.description = myconf.get('app.description')
response.meta.keywords = myconf.get('app.keywords')
response.meta.generator = myconf.get('app.generator')
response.google_analytics_id = None
response.menu = [(t('Home'), False, url('default', 'index'), [])]
development_menu = False
def _():
app = request.application
ctr = request.controller
response.menu += [(t('My Sites'), False, url('admin', 'default', 'site')), (t('This App'), False, '#', [(t('Design'), False, url('admin', 'default', 'design/%s' % app)), li(_class='divider'), (t('Controller'), False, url('admin', 'default', 'edit/%s/controllers/%s.py' % (app, ctr))), (t('View'), False, url('admin', 'default', 'edit/%s/views/%s' % (app, response.view))), (t('DB Model'), False, url('admin', 'default', 'edit/%s/models/db.py' % app)), (t('Menu Model'), False, url('admin', 'default', 'edit/%s/models/menu.py' % app)), (t('Config.ini'), False, url('admin', 'default', 'edit/%s/private/appconfig.ini' % app)), (t('Layout'), False, url('admin', 'default', 'edit/%s/views/layout.html' % app)), (t('Stylesheet'), False, url('admin', 'default', 'edit/%s/static/css/web2py-bootstrap3.css' % app)), (t('Database'), False, url(app, 'appadmin', 'index')), (t('Errors'), False, url('admin', 'default', 'errors/' + app)), (t('About'), False, url('admin', 'default', 'about/' + app))]), ('web2py.com', False, '#', [(t('Download'), False, 'http://www.web2py.com/examples/default/download'), (t('Support'), False, 'http://www.web2py.com/examples/default/support'), (t('Demo'), False, 'http://web2py.com/demo_admin'), (t('Quick Examples'), False, 'http://web2py.com/examples/default/examples'), (t('FAQ'), False, 'http://web2py.com/AlterEgo'), (t('Videos'), False, 'http://www.web2py.com/examples/default/videos/'), (t('Free Applications'), False, 'http://web2py.com/appliances'), (t('Plugins'), False, 'http://web2py.com/plugins'), (t('Recipes'), False, 'http://web2pyslices.com/')]), (t('Documentation'), False, '#', [(t('Online book'), False, 'http://www.web2py.com/book'), li(_class='divider'), (t('Preface'), False, 'http://www.web2py.com/book/default/chapter/00'), (t('Introduction'), False, 'http://www.web2py.com/book/default/chapter/01'), (t('Python'), False, 'http://www.web2py.com/book/default/chapter/02'), (t('Overview'), False, 'http://www.web2py.com/book/default/chapter/03'), (t('The Core'), False, 'http://www.web2py.com/book/default/chapter/04'), (t('The Views'), False, 'http://www.web2py.com/book/default/chapter/05'), (t('Database'), False, 'http://www.web2py.com/book/default/chapter/06'), (t('Forms and Validators'), False, 'http://www.web2py.com/book/default/chapter/07'), (t('Email and SMS'), False, 'http://www.web2py.com/book/default/chapter/08'), (t('Access Control'), False, 'http://www.web2py.com/book/default/chapter/09'), (t('Services'), False, 'http://www.web2py.com/book/default/chapter/10'), (t('Ajax Recipes'), False, 'http://www.web2py.com/book/default/chapter/11'), (t('Components and Plugins'), False, 'http://www.web2py.com/book/default/chapter/12'), (t('Deployment Recipes'), False, 'http://www.web2py.com/book/default/chapter/13'), (t('Other Recipes'), False, 'http://www.web2py.com/book/default/chapter/14'), (t('Helping web2py'), False, 'http://www.web2py.com/book/default/chapter/15'), (t("Buy web2py's book"), False, 'http://stores.lulu.com/web2py')]), (t('Community'), False, None, [(t('Groups'), False, 'http://www.web2py.com/examples/default/usergroups'), (t('Twitter'), False, 'http://twitter.com/web2py'), (t('Live Chat'), False, 'http://webchat.freenode.net/?channels=web2py')])]
if DEVELOPMENT_MENU:
_()
if 'auth' in locals():
auth.wikimenu() |
__all__ = ['MAJOR_VERSION', 'MINOR_VERSION', 'PATCH', 'TAG', \
'VERSION', 'TEXT_VERSION',
'JSONSCHEMA_SPECIFICATION']
JSONSCHEMA_SPECIFICATION = 'draft-07'
MAJOR_VERSION = 2
MINOR_VERSION = 2
PATCH = 0
TAG = 'master'
VERSION = (MAJOR_VERSION,
MINOR_VERSION,
PATCH,
TAG)
TEXT_VERSION = '{}.{}.{}#{}'.format(*list(VERSION))
| __all__ = ['MAJOR_VERSION', 'MINOR_VERSION', 'PATCH', 'TAG', 'VERSION', 'TEXT_VERSION', 'JSONSCHEMA_SPECIFICATION']
jsonschema_specification = 'draft-07'
major_version = 2
minor_version = 2
patch = 0
tag = 'master'
version = (MAJOR_VERSION, MINOR_VERSION, PATCH, TAG)
text_version = '{}.{}.{}#{}'.format(*list(VERSION)) |
# HEAD
# Python Basics - Creating variables
# DESCRIPTION
# Describes how variables throws error
# without any assignation
#
# RESOURCES
#
# STRUCTURE
# variable_target_name | equal_to_assignment_operator | target_value
var = 10
# # COMPULSORY DECLARATION
# A variable cannot just be declared and left. It has to be defined with a
# value unlike other languages like C
# # Following declaration without definition of a value will errs out
# var
# # ALTERNATIVE FOR COMPULSORY DECLARATION
# Assigning a None value (Null equvivalent) for a empty/valueless declaration
var = None
| var = 10
var = None |
headers = {
'accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'accept-encoding':'gzip, deflate, br',
'accept-language':'zh-CN,zh;q=0.9',
'cookie':'cna=gY5GE8vPMGACASvgLWesBpgg; _med=dw:1440&dh:900&pw:1440&ph:900&ist:0; l=bBgQUK1lvHlc2bE_BOCg5uI81fb9kIRPguPRwGoei_5Q-1T-JB_OlkIbwe96Vj5P9bYB4R3ZAF9teFmT8PsV.; sm4=110100; enc=xzqpgSiaHaMOi%2BHzY%2BcQ8xIJ6jeSOrGpaJQ3yJ2MJm22hbDyWWnk1saajEjzUU5PAmCn0Kvw4fr%2FIX%2F6FkAhoA%3D%3D; _uab_collina=155187561517221955690883; lid=%E6%8F%90%E6%96%AF%E6%8B%89%E7%88%B8%E7%88%B8; hng=CN%7Czh-CN%7CCNY%7C156; tk_trace=1; t=a3e60ff03b942db42bf59b62b90443e5; tracknick=%5Cu63D0%5Cu65AF%5Cu62C9%5Cu7238%5Cu7238; lgc=%5Cu63D0%5Cu65AF%5Cu62C9%5Cu7238%5Cu7238; _tb_token_=31be3e73997e5; cookie2=1b8f21a5c9e506e84e656d60295a13a5; _m_h5_tk=cfb444dcbb06a43d4a577b24234b80b0_1552150173904; _m_h5_tk_enc=ce73ae367db4d19a16f655f333eaa140; uc1=cookie16=URm48syIJ1yk0MX2J7mAAEhTuw%3D%3D&cookie21=UtASsssmfufd&cookie15=WqG3DMC9VAQiUQ%3D%3D&existShop=false&pas=0&cookie14=UoTZ5iTLQ9MXPA%3D%3D&tag=8&lng=zh_CN; uc3=vt3=F8dByEvz1X9YYE1xpaY%3D&id2=UUphyu7opSokkbNd8Q%3D%3D&nk2=r7Qc2M7TAvy3RA%3D%3D&lg2=UIHiLt3xD8xYTw%3D%3D; _l_g_=Ug%3D%3D; ck1=""; unb=2200733418885; cookie1=W80vOuO9AY8m2yPvjGw2CQE%2B%2Bjh7a7z5PnzPvOgtEs0%3D; login=true; cookie17=UUphyu7opSokkbNd8Q%3D%3D; _nk_=%5Cu63D0%5Cu65AF%5Cu62C9%5Cu7238%5Cu7238; uss=""; csg=f378d88d; skt=5f3a54dd35a3edd2; cq=ccp%3D0; res=scroll%3A1440*6137-client%3A1440*789-offset%3A1440*6137-screen%3A1440*900; x5sec=7b22746d616c6c7365617263683b32223a226364383366363066656166666539306137323030323566356433633766653433434f6d316a2b5146454a486b754c717677664f3164426f504d6a49774d44637a4d7a51784f4467344e547378227d; pnm_cku822=098%23E1hv6vvUvbpvUpCkvvvvvjiPRLqh6jt8R2MWtjD2PmPWzjtUPLM9tjEbnLsv1jrmR8wCvvpvvUmmRphvCvvvvvvPvpvhvv2MMQhCvvOvCvvvphvEvpCW2Hl1vva6DO29T2eAnhjEKOmD5dUf8r1lGE7rV16s%2BX7t5LI6N6S9tRLIVBizBb2XS4ZAhjCbFOcnDBmwJ9kx6acEn1vDNr1lYE7refyCvm9vvvvvphvvvvvv9DCvpv1ZvvmmZhCv2CUvvUEpphvWFvvv9DCvpvQouphvmvvv9bpFW8%2BEkphvC99vvOHzBp%3D%3D; isg=BAkJbT1NsTs2VEpTtmehjf2FGDOj_uLf0LUXFKt-h_Av8isE9KbeWKcgMBBhqpXA',
'referer':'https://s.m.tmall.com/m/searchbar.htm?searchType=default',
'upgrade-insecure-requests':'1',
'user-agent':'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1',
} | headers = {'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'accept-encoding': 'gzip, deflate, br', 'accept-language': 'zh-CN,zh;q=0.9', 'cookie': 'cna=gY5GE8vPMGACASvgLWesBpgg; _med=dw:1440&dh:900&pw:1440&ph:900&ist:0; l=bBgQUK1lvHlc2bE_BOCg5uI81fb9kIRPguPRwGoei_5Q-1T-JB_OlkIbwe96Vj5P9bYB4R3ZAF9teFmT8PsV.; sm4=110100; enc=xzqpgSiaHaMOi%2BHzY%2BcQ8xIJ6jeSOrGpaJQ3yJ2MJm22hbDyWWnk1saajEjzUU5PAmCn0Kvw4fr%2FIX%2F6FkAhoA%3D%3D; _uab_collina=155187561517221955690883; lid=%E6%8F%90%E6%96%AF%E6%8B%89%E7%88%B8%E7%88%B8; hng=CN%7Czh-CN%7CCNY%7C156; tk_trace=1; t=a3e60ff03b942db42bf59b62b90443e5; tracknick=%5Cu63D0%5Cu65AF%5Cu62C9%5Cu7238%5Cu7238; lgc=%5Cu63D0%5Cu65AF%5Cu62C9%5Cu7238%5Cu7238; _tb_token_=31be3e73997e5; cookie2=1b8f21a5c9e506e84e656d60295a13a5; _m_h5_tk=cfb444dcbb06a43d4a577b24234b80b0_1552150173904; _m_h5_tk_enc=ce73ae367db4d19a16f655f333eaa140; uc1=cookie16=URm48syIJ1yk0MX2J7mAAEhTuw%3D%3D&cookie21=UtASsssmfufd&cookie15=WqG3DMC9VAQiUQ%3D%3D&existShop=false&pas=0&cookie14=UoTZ5iTLQ9MXPA%3D%3D&tag=8&lng=zh_CN; uc3=vt3=F8dByEvz1X9YYE1xpaY%3D&id2=UUphyu7opSokkbNd8Q%3D%3D&nk2=r7Qc2M7TAvy3RA%3D%3D&lg2=UIHiLt3xD8xYTw%3D%3D; _l_g_=Ug%3D%3D; ck1=""; unb=2200733418885; cookie1=W80vOuO9AY8m2yPvjGw2CQE%2B%2Bjh7a7z5PnzPvOgtEs0%3D; login=true; cookie17=UUphyu7opSokkbNd8Q%3D%3D; _nk_=%5Cu63D0%5Cu65AF%5Cu62C9%5Cu7238%5Cu7238; uss=""; csg=f378d88d; skt=5f3a54dd35a3edd2; cq=ccp%3D0; res=scroll%3A1440*6137-client%3A1440*789-offset%3A1440*6137-screen%3A1440*900; x5sec=7b22746d616c6c7365617263683b32223a226364383366363066656166666539306137323030323566356433633766653433434f6d316a2b5146454a486b754c717677664f3164426f504d6a49774d44637a4d7a51784f4467344e547378227d; pnm_cku822=098%23E1hv6vvUvbpvUpCkvvvvvjiPRLqh6jt8R2MWtjD2PmPWzjtUPLM9tjEbnLsv1jrmR8wCvvpvvUmmRphvCvvvvvvPvpvhvv2MMQhCvvOvCvvvphvEvpCW2Hl1vva6DO29T2eAnhjEKOmD5dUf8r1lGE7rV16s%2BX7t5LI6N6S9tRLIVBizBb2XS4ZAhjCbFOcnDBmwJ9kx6acEn1vDNr1lYE7refyCvm9vvvvvphvvvvvv9DCvpv1ZvvmmZhCv2CUvvUEpphvWFvvv9DCvpvQouphvmvvv9bpFW8%2BEkphvC99vvOHzBp%3D%3D; isg=BAkJbT1NsTs2VEpTtmehjf2FGDOj_uLf0LUXFKt-h_Av8isE9KbeWKcgMBBhqpXA', 'referer': 'https://s.m.tmall.com/m/searchbar.htm?searchType=default', 'upgrade-insecure-requests': '1', 'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1'} |
#
# PySNMP MIB module INT-SERV-GUARANTEED-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/INT-SERV-GUARANTEED-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:42:35 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")
ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
intSrv, = mibBuilder.importSymbols("INT-SERV-MIB", "intSrv")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
Gauge32, ObjectIdentity, Bits, Unsigned32, Counter32, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, MibIdentifier, Integer32, TimeTicks, ModuleIdentity, NotificationType, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "ObjectIdentity", "Bits", "Unsigned32", "Counter32", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "MibIdentifier", "Integer32", "TimeTicks", "ModuleIdentity", "NotificationType", "Counter64")
RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TextualConvention", "DisplayString")
intSrvGuaranteed = ModuleIdentity((1, 3, 6, 1, 2, 1, 52, 4))
if mibBuilder.loadTexts: intSrvGuaranteed.setLastUpdated('9511030500Z')
if mibBuilder.loadTexts: intSrvGuaranteed.setOrganization('IETF Integrated Services Working Group')
intSrvGuaranteedObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4, 1))
intSrvGuaranteedNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4, 2))
intSrvGuaranteedConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4, 3))
intSrvGuaranteedIfTable = MibTable((1, 3, 6, 1, 2, 1, 52, 4, 1, 1), )
if mibBuilder.loadTexts: intSrvGuaranteedIfTable.setStatus('current')
intSrvGuaranteedIfEntry = MibTableRow((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: intSrvGuaranteedIfEntry.setStatus('current')
intSrvGuaranteedIfC = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setUnits('bytes').setMaxAccess("readcreate")
if mibBuilder.loadTexts: intSrvGuaranteedIfC.setStatus('current')
intSrvGuaranteedIfD = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setUnits('microseconds').setMaxAccess("readcreate")
if mibBuilder.loadTexts: intSrvGuaranteedIfD.setStatus('current')
intSrvGuaranteedIfSlack = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: intSrvGuaranteedIfSlack.setStatus('current')
intSrvGuaranteedIfStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: intSrvGuaranteedIfStatus.setStatus('current')
intSrvGuaranteedGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4, 3, 1))
intSrvGuaranteedCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 52, 4, 3, 2))
intSrvGuaranteedCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 52, 4, 3, 2, 1)).setObjects(("INT-SERV-GUARANTEED-MIB", "intSrvGuaranteedIfAttribGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
intSrvGuaranteedCompliance = intSrvGuaranteedCompliance.setStatus('current')
intSrvGuaranteedIfAttribGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 52, 4, 3, 1, 2)).setObjects(("INT-SERV-GUARANTEED-MIB", "intSrvGuaranteedIfC"), ("INT-SERV-GUARANTEED-MIB", "intSrvGuaranteedIfD"), ("INT-SERV-GUARANTEED-MIB", "intSrvGuaranteedIfSlack"), ("INT-SERV-GUARANTEED-MIB", "intSrvGuaranteedIfStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
intSrvGuaranteedIfAttribGroup = intSrvGuaranteedIfAttribGroup.setStatus('current')
mibBuilder.exportSymbols("INT-SERV-GUARANTEED-MIB", intSrvGuaranteedCompliances=intSrvGuaranteedCompliances, intSrvGuaranteedIfStatus=intSrvGuaranteedIfStatus, intSrvGuaranteedIfAttribGroup=intSrvGuaranteedIfAttribGroup, intSrvGuaranteedIfD=intSrvGuaranteedIfD, intSrvGuaranteed=intSrvGuaranteed, intSrvGuaranteedIfSlack=intSrvGuaranteedIfSlack, intSrvGuaranteedIfTable=intSrvGuaranteedIfTable, intSrvGuaranteedGroups=intSrvGuaranteedGroups, intSrvGuaranteedObjects=intSrvGuaranteedObjects, intSrvGuaranteedCompliance=intSrvGuaranteedCompliance, intSrvGuaranteedConformance=intSrvGuaranteedConformance, intSrvGuaranteedNotifications=intSrvGuaranteedNotifications, intSrvGuaranteedIfC=intSrvGuaranteedIfC, intSrvGuaranteedIfEntry=intSrvGuaranteedIfEntry, PYSNMP_MODULE_ID=intSrvGuaranteed)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_size_constraint, single_value_constraint, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(int_srv,) = mibBuilder.importSymbols('INT-SERV-MIB', 'intSrv')
(object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance')
(gauge32, object_identity, bits, unsigned32, counter32, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, mib_identifier, integer32, time_ticks, module_identity, notification_type, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'ObjectIdentity', 'Bits', 'Unsigned32', 'Counter32', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'MibIdentifier', 'Integer32', 'TimeTicks', 'ModuleIdentity', 'NotificationType', 'Counter64')
(row_status, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TextualConvention', 'DisplayString')
int_srv_guaranteed = module_identity((1, 3, 6, 1, 2, 1, 52, 4))
if mibBuilder.loadTexts:
intSrvGuaranteed.setLastUpdated('9511030500Z')
if mibBuilder.loadTexts:
intSrvGuaranteed.setOrganization('IETF Integrated Services Working Group')
int_srv_guaranteed_objects = mib_identifier((1, 3, 6, 1, 2, 1, 52, 4, 1))
int_srv_guaranteed_notifications = mib_identifier((1, 3, 6, 1, 2, 1, 52, 4, 2))
int_srv_guaranteed_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 52, 4, 3))
int_srv_guaranteed_if_table = mib_table((1, 3, 6, 1, 2, 1, 52, 4, 1, 1))
if mibBuilder.loadTexts:
intSrvGuaranteedIfTable.setStatus('current')
int_srv_guaranteed_if_entry = mib_table_row((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'))
if mibBuilder.loadTexts:
intSrvGuaranteedIfEntry.setStatus('current')
int_srv_guaranteed_if_c = mib_table_column((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 268435455))).setUnits('bytes').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
intSrvGuaranteedIfC.setStatus('current')
int_srv_guaranteed_if_d = mib_table_column((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 268435455))).setUnits('microseconds').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
intSrvGuaranteedIfD.setStatus('current')
int_srv_guaranteed_if_slack = mib_table_column((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 268435455))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
intSrvGuaranteedIfSlack.setStatus('current')
int_srv_guaranteed_if_status = mib_table_column((1, 3, 6, 1, 2, 1, 52, 4, 1, 1, 1, 4), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
intSrvGuaranteedIfStatus.setStatus('current')
int_srv_guaranteed_groups = mib_identifier((1, 3, 6, 1, 2, 1, 52, 4, 3, 1))
int_srv_guaranteed_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 52, 4, 3, 2))
int_srv_guaranteed_compliance = module_compliance((1, 3, 6, 1, 2, 1, 52, 4, 3, 2, 1)).setObjects(('INT-SERV-GUARANTEED-MIB', 'intSrvGuaranteedIfAttribGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
int_srv_guaranteed_compliance = intSrvGuaranteedCompliance.setStatus('current')
int_srv_guaranteed_if_attrib_group = object_group((1, 3, 6, 1, 2, 1, 52, 4, 3, 1, 2)).setObjects(('INT-SERV-GUARANTEED-MIB', 'intSrvGuaranteedIfC'), ('INT-SERV-GUARANTEED-MIB', 'intSrvGuaranteedIfD'), ('INT-SERV-GUARANTEED-MIB', 'intSrvGuaranteedIfSlack'), ('INT-SERV-GUARANTEED-MIB', 'intSrvGuaranteedIfStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
int_srv_guaranteed_if_attrib_group = intSrvGuaranteedIfAttribGroup.setStatus('current')
mibBuilder.exportSymbols('INT-SERV-GUARANTEED-MIB', intSrvGuaranteedCompliances=intSrvGuaranteedCompliances, intSrvGuaranteedIfStatus=intSrvGuaranteedIfStatus, intSrvGuaranteedIfAttribGroup=intSrvGuaranteedIfAttribGroup, intSrvGuaranteedIfD=intSrvGuaranteedIfD, intSrvGuaranteed=intSrvGuaranteed, intSrvGuaranteedIfSlack=intSrvGuaranteedIfSlack, intSrvGuaranteedIfTable=intSrvGuaranteedIfTable, intSrvGuaranteedGroups=intSrvGuaranteedGroups, intSrvGuaranteedObjects=intSrvGuaranteedObjects, intSrvGuaranteedCompliance=intSrvGuaranteedCompliance, intSrvGuaranteedConformance=intSrvGuaranteedConformance, intSrvGuaranteedNotifications=intSrvGuaranteedNotifications, intSrvGuaranteedIfC=intSrvGuaranteedIfC, intSrvGuaranteedIfEntry=intSrvGuaranteedIfEntry, PYSNMP_MODULE_ID=intSrvGuaranteed) |
bestbot_wieght_layer_one = [[0.5083356940068343, 0.6413884327387512, 0.12597500318803512, 0.409734240278669, 0.5238183286955302, 0.24756818387086588, 0.07996951671732211, 0.8661360538895999, 0.021330280161349524, 0.48867128687465466, 0.7091463179823605, 0.5510191844939321, 0.1511562255369685, 0.9902045558754771, 0.5598235194641445, 0.2987502784350923, 0.9133580328077606, 0.4319790167215327, 0.882638956669701, 0.13396400586064428, 0.5643936240773798, 0.45469444818099747, 0.013877091194470448, 0.30127467531838115, 0.6204798693485853, 0.9386592224383452, 0.4552674682341863, 0.8203134724421871, 0.0504241302759324, 0.3832716960261172, 0.13184975835300283, 0.7861721990440431, 0.7526183690226589, 0.029002338307896225, 0.6560216350691683, 0.49514280423939194, 0.6217197103438309, 0.004327317921587359, 0.2521185323453553, 0.5907112823388861, 0.5497697510443235, 0.4613798337357624, 0.21456228189162663, 0.2058328696752405, 0.8863315411442563, 0.3762121412385343, 0.1013654256158173, 0.8491711500788556, 0.5870530550189083, 0.7964419636832196, 0.40173700830758763, 0.351487524580257, 0.36777868950638914, 0.9849354865126682, 0.04781850787993458, 0.4616792821527781, 0.46740282149223256, 0.25756439233302864, 0.8131119081403727, 0.5218949597774837, 0.13094125319802608, 0.8539380075167886, 0.8544594558969093, 0.1518290350001379, 0.640633900557939, 0.7068761411643191, 0.9739796168337547, 0.4622412786905581, 0.7256496658788288, 0.67627411251782, 0.5045871202599759, 0.4474291422984228, 0.004440617927931267, 0.11736018137648419, 0.10853358842653726, 0.9060757587000742, 0.9999276197491352, 0.7179598402634598, 0.7929235330635965, 0.8750969279668221, 0.08245325011131854, 0.4581163235514889, 0.6940880112439268, 0.027251461294989565, 0.7989178095681376, 0.52614741391192, 0.16961900204276792, 0.8079041114221676, 0.09686607906592415], [0.44732060686240427, 0.5965458737068393, 0.49079692122973395, 0.6734995764904032, 0.011269344688713767, 0.7743814639448289, 0.21285898252564772, 0.7239251236968279, 0.5193778769353926, 0.02097501315742656, 0.7360527461419282, 0.342980190097963, 0.8952019602043025, 0.9538053276143122, 0.449148374416259, 0.04924934963011929, 0.6040520111142427, 0.9379069278863937, 0.7034729455964114, 0.5295926311054755, 0.333028709636071, 0.4797660644809155, 0.9946543507329271, 0.7219456161941203, 0.009073670127202949, 0.16317582954639953, 0.2348125693340265, 0.16035214133902664, 0.4453506900798563, 0.1337409415389904, 0.31749215340711867, 0.5303403511582013, 0.6286113604723674, 0.21698217659846475, 0.965557926212913, 0.9531015008543482, 0.26777967202351327, 0.7448616363072315, 0.7469316179704107, 0.17652175164361372, 0.9842598238468006, 0.6448334244973555, 0.465212276135632, 0.4579262384921249, 0.2304670593021676, 0.2583964383327617, 0.9175312502155607, 0.6366347711155572, 0.9172830689671416, 0.41446334300675625, 0.5527499956017332, 0.12790797334976522, 0.5683021014837767, 0.8932188487952264, 0.07000465153632307, 0.04433442104191443, 0.6257670380265532, 0.029623107954036665, 0.3375955946864595, 0.4111744908740558, 0.014873841964081591, 0.46029107434913497, 0.9062490722494158, 0.47797584189807485, 0.4459623180311395, 0.6705693719833891, 0.035889609633035446, 0.598888046228321, 0.09957663411102102, 0.1833471680058394, 0.9338478764511818, 0.0018323283567314164, 0.4226807646821895, 0.6207281651922394, 0.4453112092781921, 0.9670298945216684, 0.5112983368364218, 0.18275653679362747, 0.08633305238863986, 0.924077053371721, 0.25097402357147014, 0.6771503445013011, 0.6241074536800665, 0.03395333079263585, 0.22288115103463368, 0.3424511922372696, 0.44661767651765993, 0.7361811838899964, 0.8249165559305982], [0.02018048717651222, 0.7581818414998046, 0.16758461478611442, 0.7486157774767164, 0.29456782374703183, 0.6412877574017902, 0.8511183002299005, 0.3700032872643265, 0.9594038328678093, 0.04629838704844247, 0.6749723386112758, 0.6498901087215712, 0.4201797853376934, 0.34376810403053704, 0.7609770811264756, 0.9898496155208767, 0.12475482629134282, 0.681193566143118, 0.779361773422472, 0.4466306809515591, 0.13945509362194486, 0.16325939143154333, 0.006279431856545559, 0.18077558354404255, 0.043684117916898746, 0.09394637717907595, 0.3591363926546901, 0.9594923450699729, 0.9383644767347549, 0.6091042717229864, 0.7553225222057758, 0.2858946231139712, 0.8248065334361011, 0.8690829081693856, 0.03915174835811519, 0.7160297371106641, 0.36126269500361663, 0.46096171879557135, 0.7559482030585145, 0.08215375659909063, 0.41996586115079326, 0.04954589959185407, 0.5008440112510776, 0.6153363516455316, 0.5781016922474963, 0.45342709076675625, 0.7428673891877775, 0.9312020387671791, 0.14668336861356712, 0.1694250299555362, 0.7207157844237642, 0.5521856155366568, 0.07075483793889314, 0.9910432031980071, 0.7040715348637976, 0.5220291151478094, 0.6929448856705775, 0.44414099581903876, 0.2242373351424114, 0.7821128482900072, 0.6950348439604672, 0.10789052812607225, 0.3573202171278591, 0.8560470926419935, 0.26240541515931504, 0.3245155985021979, 0.32268179913450745, 0.4795316305356606, 0.6149531739869545, 0.3811116828085209, 0.31578804905213564, 0.37830356500453877, 0.6819283485620643, 0.42698727471751174, 0.34367358618613764, 0.5303212664640963, 0.3646672700868582, 0.1375414766440729, 0.18326170750642268, 0.3540176108462342, 0.27220542567376216, 0.9743846783430218, 0.316176357620815, 0.41767781631096124, 0.7565891510521163, 0.5537559164163394, 0.5486275576679056, 0.19817553634203922, 0.7105006440260081], [0.5604291114935926, 0.9714702726660814, 0.4783542784922493, 0.12186031130295194, 0.6763584337208685, 0.26925611953740014, 0.30938282665722006, 0.4772046940217263, 0.20917939939628905, 0.947053820436586, 0.6213563819168169, 0.7442803834667624, 0.9092261498830413, 0.3645496800149608, 0.099152422844758, 0.2899809700795474, 0.1734450934526327, 0.3663702672209701, 0.8364051081459092, 0.5790296381553229, 0.8142411469657191, 0.4197085736874142, 0.5495026293879369, 0.00899381215719719, 0.7777307095515558, 0.19301578448020862, 0.9453196017574236, 0.39049740078934003, 0.4654767923104478, 0.019448366340949375, 0.6736295241274275, 0.6390073140952494, 0.8272355453699698, 0.6462747207028589, 0.92018881484142, 0.733073867004477, 0.2552100467357008, 0.7636681660230787, 0.4151215385724719, 0.5343787418811972, 0.19812266603318818, 0.44471443079441697, 0.01473312077745903, 0.534304712437915, 0.7601571764901264, 0.2051267865837324, 0.4823357652299445, 0.292212323571831, 0.6797251932656161, 0.11035587392085722, 0.07485185318858767, 0.7422971944240869, 0.9756044837529667, 0.2085643036567203, 0.8030520152008666, 0.6808938381588522, 0.5534725929257401, 0.9393871136078871, 0.30264289436005365, 0.954528691287696, 0.5685704547523369, 0.24456220410066554, 0.19056549230139685, 0.965243082838079, 0.2133492481773912, 0.7468069376698039, 0.3835535400184409, 0.1416306963306171, 0.9546089268542084, 0.9531622239555476, 0.2398728955160424, 0.28866002862887197, 0.9767865334413385, 0.6340254354729454, 0.7218959082091733, 0.48895975785022283, 0.12905543358395677, 0.3759789376760465, 0.39400929375898386, 0.9177015562703543, 0.15373417527131117, 0.25901357540664993, 0.9957034681770154, 0.48225292732002567, 0.13002819994059145, 0.09535273405929268, 0.00940031625561033, 0.6626831302395553, 0.8633050751016679], [0.3923217130381551, 0.927631325432574, 0.16534526517274328, 0.346184935958203, 0.6349002165933239, 0.34025760208838796, 0.49814759173950696, 0.4166214121575721, 0.3932153386012387, 0.38262945421127115, 0.7417609752768413, 0.6612630965413642, 0.9734486384182732, 0.1883243003633983, 0.3771597423260351, 0.2795413322252783, 0.5529629221431348, 0.5798809905604083, 0.6143461952584212, 0.09241495701398483, 0.1923554703412439, 0.20843619060912855, 0.4034773303445617, 0.8209875421506904, 0.5440545358072746, 0.1454528865875302, 0.15435000024924295, 0.7427197868544537, 0.6890800511216496, 0.17319020957535336, 0.5033738328564605, 0.4320320588088812, 0.28901183685765397, 0.7826154315673387, 0.5891230333389987, 0.09153152511481377, 0.21779875657267267, 0.07834026125303806, 0.5661249880412732, 0.11411386267928891, 0.07027582313149527, 0.6803188867449569, 0.715096816277777, 0.5790460004712493, 0.36154779310024443, 0.09593393499590075, 0.6665031581535927, 0.2971855419056406, 0.7882750981113863, 0.4951412673681359, 0.8858502278523562, 0.9214860235311498, 0.8836924892595962, 0.43031868937072826, 0.9577787292061967, 0.08153700721769985, 0.7306300225948283, 0.340820387563048, 0.8928369014841465, 0.5171150292093225, 0.662441940335801, 0.7909134289029212, 0.6959364325249491, 0.922618390039394, 0.6563929459693805, 0.6874097274368116, 0.23477832521463293, 0.059873425167410566, 0.5112630823146588, 0.7716719473111209, 0.6727402940928368, 0.9317161785917387, 0.6309376596731346, 0.9670332633035303, 0.38170124739072053, 0.014815308871163224, 0.9859908064684962, 0.10606247061714869, 0.7958463638460447, 0.15034380447400786, 0.717060467016927, 0.9927663907022335, 0.8452912167568905, 0.7888484710445776, 0.6357609149400777, 0.15389456412316482, 0.995316271075813, 0.27972915468060433, 0.12158849543526973], [0.5481533069373333, 0.23631378876285947, 0.3492203901350259, 0.2644264178993718, 0.45150902134430193, 0.3073042158386923, 0.7412790568837891, 0.38464543089409964, 0.2318684443034824, 0.9471640690596532, 0.9245116105986637, 0.9226443727476606, 0.564512045879707, 0.949935038791364, 0.727958554360541, 0.3195395662452377, 0.6891297063219118, 0.45083719211605044, 0.9616543617925624, 0.5331387301996496, 0.847960980115698, 0.13631221203682664, 0.09517919403562969, 0.5085866426540181, 0.9196713241255481, 0.8180614474780438, 0.9384916970585654, 0.8901537478146938, 0.05294492779640558, 0.7535318874587119, 0.5229679798775425, 0.4044413937375968, 0.29509075336011126, 0.8458947120588866, 0.18633867487515887, 0.35611573038047106, 0.7230920992621691, 0.8945127782713984, 0.35082581356409615, 0.17792370802025226, 0.18172512973039767, 0.8541219255386225, 0.23103152819149386, 0.734155672416717, 0.034174731804771485, 0.22661674500476892, 0.2947734663729794, 0.40332429582403706, 0.5897060959456316, 0.37718118696239944, 0.9979820569493603, 0.2302472454108886, 0.988471561590019, 0.7150657350528221, 0.8535686247960939, 0.2629604367564524, 0.6137112413027493, 0.6040737944586351, 0.1938783570573086, 0.03546311450509143, 0.6009647538543609, 0.6956821887746525, 0.6743963899159551, 0.21016851839873563, 0.5063436354735312, 0.4088666609080279, 0.5521974070288524, 0.16779755465296764, 0.8258702689498507, 0.5171214949760935, 0.20611183101291408, 0.27555419835036277, 0.9111685543432454, 0.33816458798856885, 0.6197221528205438, 0.5430286690461754, 0.5211978635981385, 0.22842980297598603, 0.14264547763922109, 0.5905914865934847, 0.3443746390484872, 0.249785711348522, 0.08499004068749616, 0.5208403993111295, 0.27984635012793657, 0.5391002577028009, 0.37177723746676383, 0.9011936419841998, 0.8813985460829622], [0.49749287030201017, 0.8806484662506301, 0.3123787800986494, 0.010675508978881476, 0.7583754710116958, 0.8538441087024782, 0.6660385764842573, 0.7761137372712323, 0.9113765160676802, 0.7430385555247789, 0.9534446480685707, 0.02117671519328579, 0.47779150426863803, 0.106502080001872, 0.6226058843910565, 0.3840442454694871, 0.9778996961774052, 0.46129424527277907, 0.07881832190882465, 0.8103012999205798, 0.6389488548804214, 0.4325340777455502, 0.7301522048374846, 0.6167074510390562, 0.899511823246406, 0.6531385352612927, 0.7101964176730838, 0.04633977086489238, 0.10835396676484044, 0.7610495394273518, 0.9764973016382477, 0.5472568662835272, 0.49932259165825, 0.014871991701850495, 0.22161969069259724, 0.18845139323200089, 0.44093997187305, 0.8331773656567366, 0.14260771810664452, 0.07608655962278676, 0.789324113279971, 0.584217525739802, 0.55271873259416, 0.5867751455665335, 0.1553668939999442, 0.7657148350930969, 0.5337113854250222, 0.9654581142706308, 0.16545560389959457, 0.07197658596149625, 0.4471436812249129, 0.6777683423691677, 0.10774311021470073, 0.04324551754608874, 0.7355192242717465, 0.2768102872381152, 0.7196390260572773, 0.4528390882061746, 0.8624930676017196, 0.5844613593835437, 0.573586556897275, 0.657867693541677, 0.32071299649704277, 0.14919265362173417, 0.038889951239786336, 0.9755667018328213, 0.4358513008088849, 0.5451073695761851, 0.05098914406619037, 0.42426434360046106, 0.2747019771794337, 0.899041271737255, 0.44074378381506596, 0.7603858277363232, 0.9453072185053668, 0.6159874306862407, 0.8034410152539377, 0.5431486072159538, 0.03605853050327301, 0.38207065107123184, 0.7065146104262882, 0.5386760407478592, 0.516397798364354, 0.23675149294556175, 0.5558613824833031, 0.7846894336601646, 0.640463651757786, 0.30959903110624387, 0.9280831684225038], [0.7590757481388752, 0.35651185795644824, 0.9700645627185762, 0.896423355149134, 0.7826515190669003, 0.39947552492061245, 0.5098402384431973, 0.8883777987628296, 0.7915110566140199, 0.6115967559106664, 0.6843448009526619, 0.9000934133938591, 0.7174626880009486, 0.07713899217862219, 0.8047418132465363, 0.2907609440990606, 0.27464707237363983, 0.8308056112146716, 0.027733627049628118, 0.5087271094755709, 0.5457228795439921, 0.9776143113657889, 0.5252309614453342, 0.35213097384951153, 0.788360860855954, 0.2715677838244013, 0.23143100074700118, 0.04645618486838754, 0.7755280971792913, 0.5274312223994543, 0.14471385811326787, 0.37404439062408035, 0.3588071355954635, 0.5697557088871302, 0.8597828141486259, 0.3052954083781333, 0.6023798000660952, 0.03543974834561192, 0.6931108501277893, 0.9909070804146383, 0.19491285439885098, 0.8165343317842357, 0.5304706645262651, 0.7184235837872515, 0.6878890383398776, 0.2132392071544046, 0.14826120363013717, 0.6127269913175553, 0.5034112807318785, 0.4900432087991048, 0.5440432598444073, 0.2790645487646475, 0.7626224420725121, 0.22403874901166232, 0.7276053205015847, 0.9202150087656388, 0.2902934536952425, 0.8310766254747931, 0.48444738371294505, 0.3183569331036785, 0.6236914986936526, 0.34433533560552587, 0.2631015709259663, 0.16978140572115163, 0.9511429688039958, 0.6543496309663372, 0.649545354730402, 0.4149395132765845, 0.24669856246567712, 0.3842468087902172, 0.7510563521320146, 0.9771731029200398, 0.9229920858696089, 0.44162325010726167, 0.710331425477846, 0.6186221233207561, 0.434985735035499, 0.19388464730108756, 0.43678822746836143, 0.053567114953948725, 0.021381776415262843, 0.7484780427544864, 0.19888154212873888, 0.036701502581397594, 0.8615166500119606, 0.804988256255883, 0.13840711808686068, 0.6862150148218841, 0.7108805259473682], [0.24422852573481058, 0.006471156278194723, 0.4545575092023676, 0.554780251242209, 0.04618290049049356, 0.6337946716470784, 0.7370403909826088, 0.6026201996879458, 0.2751326751512695, 0.9460673572580429, 0.6960829801298273, 0.17232129149232622, 0.4147791189171395, 0.2745951568036985, 0.8321144573588158, 0.9790809345266869, 0.5052904777626952, 0.986693671190374, 0.29099573470951623, 0.8316427114391294, 0.6403971819355102, 0.07736077331225644, 0.7880510901258688, 0.8079509024263442, 0.6539833716698277, 0.35264936454932394, 0.7132965511680092, 0.7621180454499857, 0.6832177970932624, 0.9480946550557159, 0.9872821661867269, 0.8337084873428051, 0.144759396258466, 0.16623771334297477, 0.20108168882587396, 0.9302344161907148, 0.27989275319884355, 0.46436422034053304, 0.581594248865586, 0.9016659327231978, 0.4406007052155857, 0.7097569657292843, 0.1687663702643205, 0.779780577638187, 0.18345074556814644, 0.39755095844369703, 0.6878275129230587, 0.6010237660027191, 0.43126490044382104, 0.07658480863449602, 0.6105120876226189, 0.09189985064004735, 0.28392099796864256, 0.3398375355041131, 0.5342615565406676, 0.2371699692811351, 0.9156405923538632, 0.30607483870376395, 0.14872485694261706, 0.8445046477316465, 0.5276599175751828, 0.8138034283087676, 0.15663718309903663, 0.8432053429874451, 0.15679096056993536, 0.1757857223346908, 0.8958395094856639, 0.33301400616513455, 0.08234792361306853, 0.3895221588790051, 0.9310878321966409, 0.4236818580544027, 0.22885435823633082, 0.5244951258906083, 0.5376013641077403, 0.9381527132392921, 0.42931812835951544, 0.4626951074604865, 0.3986520566044164, 0.2724519892467828, 0.2562812529015652, 0.3785575396443923, 0.2443464422600291, 0.05950171895720735, 0.026057394412939527, 0.6263992407790135, 0.028326225239745817, 0.07478585324510811, 0.28069192394466846], [0.18823468115713027, 0.9491037808088497, 0.5394430766727812, 0.4241607402202975, 0.2532759726281082, 0.8294273532137544, 0.8461596201023514, 0.3826869434643777, 0.21401185248911747, 0.13251081927869068, 0.22090587060548883, 0.1603205748283799, 0.053692338677290286, 0.9352761875344486, 0.39185769515915436, 0.9190320125691411, 0.007007167963013261, 0.7098486172289845, 0.20153131491255238, 0.3721649778909898, 0.7696426010739107, 0.8948207868022702, 0.03406617929364375, 0.9299567936058805, 0.3905953340501672, 0.5435452129674673, 0.5569530395016932, 0.7010094723279858, 0.5897323647954261, 0.699487237939866, 0.6623240690266253, 0.7331290972429266, 0.02350525722352581, 0.2195641180406831, 0.28857757479066026, 0.5409626281389746, 0.5171579285134347, 0.5687859582357003, 0.7977540582629684, 0.9396251633640327, 0.8093088011998308, 0.31906199836108196, 0.7293495271346923, 0.7815214589247351, 0.1404444399628677, 0.5288733893100297, 0.38001386334092746, 0.6151060663899255, 0.9952364273274766, 0.05284728402188099, 0.6457222307148748, 0.8934500107462447, 0.507989019852049, 0.729733257897206, 0.6340030082808558, 0.10899790287218325, 0.0010721906349568933, 0.17954741245557382, 0.8656397731985678, 0.11703667021150421, 0.6944572342391326, 0.7301856221304919, 0.2322903505522509, 0.07540299291658581, 0.3304214175713349, 0.6533853864004865, 0.8670346208732284, 0.0806691482422689, 0.1232422684251322, 0.614771573703666, 0.5297904381557776, 0.28731389927039874, 0.653563688143571, 0.8936405541337771, 0.13096700432946362, 0.6625121515143407, 0.7088210123059913, 0.30068338379017745, 0.17341135652430462, 0.7353327102176788, 0.7898023763320853, 0.20337324432305726, 0.3315162049266144, 0.6939781726451612, 0.6583362116605304, 0.027645802733869962, 0.6613321163801427, 0.26252694930593123, 0.10051248687517222], [0.8964203114506818, 0.4155228944947629, 0.7304343627579893, 0.3900972299794411, 0.32118782261683165, 0.8930901873526546, 0.7632301414457996, 0.7236936568354294, 0.7084412067973798, 0.6328978025149183, 0.0379538962996685, 0.8283831490292473, 0.05162170339641281, 0.5375067045005237, 0.24193659764722786, 0.2453026811716016, 0.7527644424353007, 0.1675814149911775, 0.7459972703925971, 0.09509785592893893, 0.23411441827830515, 0.3710732545846137, 0.4474130797232422, 0.5976703774749869, 0.687984142959812, 0.3958282917086057, 0.5118151144710239, 0.07811074144543562, 0.33502631551468987, 0.0716635836109748, 0.9433775389532101, 0.036967883895142384, 0.22018807592253398, 0.46031471190370377, 0.7611412350309279, 0.11316557083059942, 0.9399451542496825, 0.04493543104864617, 0.19663936080265731, 0.35367852080737106, 0.35856769488252005, 0.0670571944445213, 0.18902751915664007, 0.7179148531520697, 0.7250185708155055, 0.4028993868344244, 0.8115875821477581, 0.686193375834604, 0.7877347380067876, 0.6060694759604733, 0.8719931918658241, 0.05457966083971899, 0.6852512481495083, 0.07120839711632654, 0.8630827219655653, 0.6380363422161449, 0.9091449535107198, 0.19060929094661705, 0.2728093385615721, 0.9808729991552015, 0.31064446633420606, 0.0666827962393618, 0.22946482647682354, 0.14853755036427108, 0.23028028062400785, 0.24474902266405418, 0.0037941936245361463, 0.7831311997988423, 0.9656414937949173, 0.2738905155397804, 0.7354279240693473, 0.16858611563807413, 0.49890789441885464, 0.4004157432083634, 0.45925875687826123, 0.6820835430878356, 0.6113241921929073, 0.3481492737953592, 0.8055751518853811, 0.9143379463675634, 0.10230462219619274, 0.9887857747391088, 0.8993873655133435, 0.22024997083839648, 0.8993785981845989, 0.32598334492773695, 0.028806202726770924, 0.6841493928724225, 0.18576090419951996], [0.7444158556675533, 0.33277537425925907, 0.5726299153850932, 0.051147772480777176, 0.5720382107642586, 0.5278810194140121, 0.5515810937670799, 0.12559649314940036, 0.90256935446683, 0.645947126122254, 0.36831805084294156, 0.4151438174790215, 0.780986344009323, 0.7095399284588982, 0.9307982861043583, 0.5689234952550919, 0.03949876188628143, 0.0009322296640986716, 0.7908928747012787, 0.02473256066175411, 0.5812447881605401, 0.567019369662427, 0.1437916087983636, 0.5978069690162937, 0.6312251070621067, 0.4068633726318144, 0.8555835365228809, 0.8646688495360867, 0.6600746327402812, 0.8083403392136894, 0.6010211144299099, 0.45592068293654187, 0.6101896584458981, 0.41474431856458427, 0.08653560279881445, 0.8625038414495085, 0.3071778219006206, 0.5986901442396391, 0.1776986216549612, 0.4334811253306433, 0.6910543589097559, 0.6649757095242201, 0.08954848292752782, 0.6094261233043601, 0.1607180915555193, 0.7221139075176337, 0.9407998347316802, 0.010307535856809324, 0.7951404685392367, 0.5203265059204001, 0.7381691754290488, 0.7165030494147232, 0.6912572298372374, 0.4627292188145756, 0.381669721888074, 0.022263729288099166, 0.7771443232311819, 0.9255555722412235, 0.4537065740221169, 0.3876196505242817, 0.3545508668715259, 0.10907516709052822, 0.4525464366437765, 0.6380863554353794, 0.05564728702267108, 0.11804225346429231, 0.07178781355219188, 0.6871187289534805, 0.09624332022403981, 0.08864956380343014, 0.7764473108674925, 0.27240957988422254, 0.3922899735606147, 0.4638411269685878, 0.992987551187826, 0.7614974909980091, 0.48311386247375376, 0.08356688434532611, 0.9267339734444079, 0.7263119145311155, 0.6545251521059269, 0.2813371791553273, 0.7296320624324217, 0.41247442859811423, 0.4187486893225574, 0.7499389620680762, 0.692501150131849, 0.5703524115189047, 0.7288850347996408], [0.5300842736522037, 0.15911172784795247, 0.02523475488648408, 0.8462948845452729, 0.6621144196223673, 0.09010457083430823, 0.5112439220387288, 0.8167956886429564, 0.3388562260163789, 0.21079751078595121, 0.29537488127391254, 0.604217086143981, 0.0023685393975936275, 0.0511083275721983, 0.8691548619011095, 0.5245320270190045, 0.8780948832493888, 0.0014645702978953734, 0.8944888495736151, 0.8600029504748401, 0.5280905505566222, 0.9707665505518203, 0.620518125136259, 0.9700502000610653, 0.4482377158911731, 0.24322563672761155, 0.459360731977264, 0.29803119724241556, 0.6202705807310491, 0.8540168534889723, 0.22123557107492242, 0.4994116816390477, 0.09980821033266585, 0.857382967747352, 0.5336385496800874, 0.2352197555394555, 0.6657438810763245, 0.21921776230849188, 0.5117657090175658, 0.2553050946165867, 0.04642459406024524, 0.41264652354805187, 0.9984831732163528, 0.5085443441303589, 0.38935827378298193, 0.3693647205057493, 0.28147605728240266, 0.477687480324108, 0.6388142416198467, 0.45610956172528627, 0.8716773114822415, 0.11998824147379028, 0.6235289619339974, 0.7710135159676185, 0.004468665534012373, 0.6132338200972024, 0.22917699421630355, 0.36306360630052126, 0.0030452545476826742, 0.18395092919420641, 0.15562483919593662, 0.08591267816342407, 0.28391210038272885, 0.2624041550056829, 0.72268096118249, 0.5390805239115407, 0.59045122602472, 0.6656810593425632, 0.8341162083097048, 0.8734644282144448, 0.20419495537141985, 0.021726084143916302, 0.03340952676405384, 0.23613756938435748, 0.9851165066002994, 0.46359152311274276, 0.248557076861189, 0.7569806262258035, 0.09197112697122001, 0.3007561803709221, 0.15964956013254317, 0.1795816466203426, 0.14160380889257163, 0.7781537232849116, 0.8975641938815586, 0.09627481771028612, 0.39533288894888263, 0.38794643407351603, 0.8616020826149468], [0.8036384632357606, 0.7813560658345995, 0.5252938942314784, 0.6387950940454501, 0.47611667732743057, 0.9358064185341112, 0.32466258696417083, 0.8867591548506321, 0.534197850527223, 0.9690784000413339, 0.9970263433080558, 0.964408683609245, 0.6603730287619533, 0.6568436193126512, 0.5867900473944757, 0.4580239803485735, 0.39713907577775776, 0.26284276276283725, 0.15404312547494847, 0.30087928421701415, 0.27846858489161264, 0.6028792247824881, 0.08044156582855588, 0.7056677468645595, 0.5802086554061933, 0.4482464729028468, 0.45403290899783433, 0.9599966820011484, 0.6549768056744975, 0.5557066002150709, 0.09547794432147305, 0.05311208837612946, 0.2716009746385808, 0.5453482698754698, 0.4782073233278402, 0.3981612619860063, 0.8193924302825799, 0.7098046197309278, 0.6109107467935093, 0.8758432407526267, 0.0914314022485857, 0.1854603388830851, 0.10654767823285982, 0.5278623661759452, 0.7741123100075629, 0.11150017091604492, 0.34214387478440533, 0.707015866102185, 0.7552171829848745, 0.6939445838266439, 0.20403860404219765, 0.8265399751820237, 0.37658763747507706, 0.3224398186412283, 0.2383816334048906, 0.7013756831486916, 0.638238309465348, 0.9854321062802776, 0.13529535100500734, 0.8266123218787874, 0.8342155974746734, 0.5814996208572147, 0.3142878021795339, 0.7774674506085555, 0.8024993885718317, 0.2673943828433146, 0.41558415181974306, 0.20145235057725597, 0.06934083255693013, 0.47652976469904484, 0.006235609927141339, 0.637679286235198, 0.7091346130573684, 0.3991606997578656, 0.5869499744157783, 0.26668465404877495, 0.39367228731235926, 0.8750442091361377, 0.12464866067398439, 0.6753036668332404, 0.10900892907386683, 0.7625259725313387, 0.25177345052923006, 0.6892841205291551, 0.9327285667981486, 0.793514485602992, 0.19910864473790346, 0.7554410430783325, 0.052377825287903024], [0.31137480919263405, 0.6226377424685919, 0.8749670954771877, 0.78592022726606, 0.2344844898598707, 0.879473470777731, 0.5080989409346055, 0.42323940360929524, 0.3136259450755432, 0.1231088885949857, 0.028580643534441563, 0.4967787301863239, 0.5927483549676422, 0.054283455264466984, 0.63896995501571, 0.8647046223409477, 0.3407253668400374, 0.4077575337101439, 0.1409418166091927, 0.292432328858091, 0.41769020221804753, 0.0744617013692398, 0.4153631181653621, 0.0237097208360616, 0.7432570861516532, 0.22862701022799115, 0.3073095690955524, 0.5831242876445631, 0.7070142985878227, 0.13624072978535884, 0.4042267905806306, 0.5666812456316136, 0.36112315724886423, 0.06083228728736878, 0.9483910070444965, 0.8059658467046689, 0.6170681518313095, 0.24967689002277937, 0.49294403794594366, 0.7583449402151623, 0.6315445767659864, 0.5245873925649044, 0.17839555679964425, 0.28002444637025914, 0.519645062597835, 0.08415026209451104, 0.14419844330257958, 0.5820541756795268, 0.2072761875331698, 0.2688313872896446, 0.5029118447723182, 0.03414159281153595, 0.0907618217434919, 0.01586709354692828, 0.7251282744901322, 0.21118781857546431, 0.27696141361642435, 0.6272751017797898, 0.05502804091934854, 0.22792176572961254, 0.3679035899669688, 0.547337207063888, 0.08484254902536448, 0.45314675432864215, 0.30202399625346266, 0.005577969772632474, 0.8041258442027728, 0.2230724171680072, 0.22961991751908029, 0.8201451731184614, 0.09026872418780651, 0.041385266741023496, 0.8707670112493031, 0.2203238085369933, 0.9532610615285676, 0.8952545216622078, 0.9967169120764059, 0.2777972635628436, 0.4827659091141693, 0.23079207559658965, 0.3158216784700333, 0.9587555246509798, 0.8569314373848461, 0.5856030988772146, 0.8079382491034034, 0.03711060720656012, 0.5072650203072291, 0.5848690143180288, 0.2499150454315966], [0.4339808455941968, 0.350089642699117, 0.342799335713287, 0.655859242843662, 0.8710916758254631, 0.07407077863375877, 0.3523053724555736, 0.5105076226868375, 0.13619635640011163, 0.20629578532140502, 0.37114563290690505, 0.7323689560176843, 0.4841956549428511, 0.8616314606300992, 0.028984524766886177, 0.9984476508573245, 0.011753260879154404, 0.35774307236255376, 0.8093106714148124, 0.8539298271819595, 0.950718721885755, 0.005090945113746859, 0.35284499882357845, 0.48243333937680843, 0.5092304583063791, 0.2683430281975513, 0.7800588125270387, 0.7021390479938092, 0.8202790221492176, 0.7508111033968533, 0.6099097588195139, 0.6668718527037458, 0.36484286078530337, 0.1659237261156412, 0.3906089567372817, 0.3348425227232461, 0.8366565307514481, 0.02724295736859228, 0.9118425974423203, 0.023904939631345434, 0.8013366596788586, 0.668580231179745, 0.26845443528194546, 0.6016964874996759, 0.009092046711597357, 0.13872660889965083, 0.40421733412479766, 0.5822236917768133, 0.3481119991202013, 0.47976779916925605, 0.45605932510137015, 0.8195207079905796, 0.9070856756475777, 0.13506136842324978, 0.6244158927675381, 0.5974917545491538, 0.5650872455145792, 0.9477470964393672, 0.5124609996870103, 0.200914907858194, 0.7805965310892062, 0.7409284249660274, 0.3411516750172705, 0.8741558955960527, 0.36251060776843314, 0.8468571766138953, 0.38370845355492167, 0.19015016310395483, 0.35226235031244413, 0.39458781825001366, 0.11583413308338808, 0.047022600368743395, 0.9724865275903337, 0.4777173379643618, 0.41371535970921247, 0.4182004592221371, 0.7118780706482365, 0.3273556477462152, 0.4371514015442238, 0.7677019709419538, 0.9034686610898418, 0.9742005631079736, 0.4635296039542729, 0.7592758884373619, 0.0664095302519756, 0.07943643730982175, 0.3046229674643155, 0.5782451039415206, 0.48872146916453874], [0.5731277681743266, 0.9799944144909762, 0.748873969586653, 0.058841158244454905, 0.6015598371806125, 0.0512796530879851, 0.07256971229742049, 0.33905660861976405, 0.5830566221218539, 0.04588029001319538, 0.9328409004204281, 0.23173452772491465, 0.5699668009947322, 0.2807684352222337, 0.5059049964439954, 0.35733469255126293, 0.47701319456558056, 0.8726215538229094, 0.9819460973587776, 0.6587196029899671, 0.027712100784727967, 0.434346102480061, 0.9079742340303463, 0.9615672023026689, 0.43351588273817443, 0.7555766307486304, 0.6365388961328707, 0.05967293973591792, 0.8542446078647888, 0.7155663138785128, 0.4222379954619181, 0.009415610382688122, 0.5513385078214544, 0.20233166399823022, 0.4794855363374153, 0.9640752645468916, 0.6764578771275013, 0.9664800320491893, 0.014592370150111611, 0.9479162667109047, 0.4509543119875138, 0.5491135801901043, 0.04737011706069616, 0.7130429300193906, 0.3506200040424361, 0.4686625386536115, 0.548001298402958, 0.9455588031915649, 0.26294508255537064, 0.6576703620272911, 0.9834287218013543, 0.42629725619210823, 0.8499283691724154, 0.08695690043738935, 0.7069034203818694, 0.6577486482116758, 0.9583550318000763, 0.1060335795872076, 0.2682898160549685, 0.5823577688373937, 0.357150183943173, 0.012479613476363505, 0.7245810288632574, 0.6627951004702015, 0.000778608505367484, 0.3986804366043045, 0.8492326534831751, 0.0674089409648908, 0.397876209050143, 0.9228610512854366, 0.4204814460712032, 0.007051435849977694, 0.6848576022758677, 0.263065673022412, 0.6152952264017657, 0.7744020796574602, 0.7886148048733611, 0.9813751069059203, 0.2644883199699424, 0.7645109099338296, 0.7932997399842986, 0.12010107429161487, 0.24226199019569827, 0.5023309931031, 0.027839122786633808, 0.2365143324703345, 0.1399435145675323, 0.45673511520636556, 0.11526658284787927], [0.024782007687611185, 0.5949395280089175, 0.0818697461825394, 0.26029461628156747, 0.1630758446228543, 0.017048169321333573, 0.8132674895603739, 0.6078368426242051, 0.6390644970000111, 0.577961085945345, 0.9680179760837857, 0.1694074944516315, 0.9593132243477316, 0.44725855925103364, 0.6462659089621571, 0.9899763775930824, 0.9052905840592265, 0.7986329342946072, 0.7359399387665242, 0.19470501347904434, 0.8135617711303548, 0.2744665219488065, 0.38627136610966817, 0.19712845371078103, 0.9970295536868102, 0.590402807132197, 0.17224073400406803, 0.6380728375254797, 0.28459915983496065, 0.6310252669089027, 0.8437600665381695, 0.004814081883608989, 0.4616274090251813, 0.24914854090743666, 0.10109050348291848, 0.7194238710654072, 0.3515917256159976, 0.9231167649216641, 0.9187596617879966, 0.8429956023859805, 0.1961422591428068, 0.12557003468933536, 0.5426202586927066, 0.22385945628140358, 0.5164952231690545, 0.5658554269055253, 0.7059381229760436, 0.713058608897446, 0.41804030931662917, 0.9790418145254527, 0.283408876237095, 0.35296025297504496, 0.4730000558252785, 0.5402880656232539, 0.6557231737146768, 0.14261627815054256, 0.9050567578288762, 0.15719409174053633, 0.09642534538180925, 0.4328883897402568, 0.4421051949050583, 0.03025910208721394, 0.14064200393139736, 0.36925998651826275, 0.0036815961072517167, 0.7372277979844685, 0.6847014075276082, 0.532302131709902, 0.425970632508215, 0.07519870045988186, 0.9604442393233819, 0.4328543192029455, 0.372409674062099, 0.9098335878017744, 0.6843792157200405, 0.4678150813940455, 0.6775729744306439, 0.2465710104060438, 0.12800709217931594, 0.09821685287165716, 0.9904613204720981, 0.9250952410652252, 0.8142895002420386, 0.059705828754975876, 0.0686543864531255, 0.25326579113361136, 0.22143000345416664, 0.027244568753273746, 0.4437288709165945], [0.9910444876140012, 0.13593179668730737, 0.7697952839832312, 0.8163855225553633, 0.7955281081814463, 0.9304636231971082, 0.7309945875491135, 0.5372521864476734, 0.7042188318548507, 0.9978434051612891, 0.8807804598788855, 0.7845050507620499, 0.7769829772913288, 0.20283506700065146, 0.32466340420171313, 0.2701183037061674, 0.7134203091673187, 0.6835226695619995, 0.4532133934712418, 0.8908989582115157, 0.0276176546895176, 0.6911339034532809, 0.3303772050756265, 0.5007622018730625, 0.9244235593852732, 0.45311153829774264, 0.21569143803188828, 0.8740766973065061, 0.6547323018070471, 0.9440903398389767, 0.3444751685247329, 0.4139836466751501, 0.4054536300286231, 0.825291183080295, 0.32515629288028713, 0.10515331231685088, 0.3070561389704871, 0.274370734265432, 0.014721968909487404, 0.565290425837733, 0.04991492145138676, 0.5630188912790951, 0.2596956620683212, 0.12064350259528689, 0.9854733434343769, 0.6966427298259159, 0.19793473381269167, 0.8394334344265384, 0.8436385641135575, 0.8994651130207748, 0.9713213591372538, 0.6298121472100827, 0.656644064915045, 0.8817439227429119, 0.029810242479515248, 0.29006221581699065, 0.7199632795167191, 0.6871453118420856, 0.2230831974947486, 0.7807872252374943, 0.015495117338736764, 0.10637825983364335, 0.6570512764372828, 0.706648882473201, 0.48589541681995574, 0.9758648278751433, 0.3370423757587161, 0.05856262454959549, 0.3069536391092561, 0.9117527499170854, 0.5298452632351212, 0.38469592138890873, 0.49531149425069865, 0.314120442664649, 0.8720918507369113, 0.17772630584114957, 0.7217356220825568, 0.6636944702393319, 0.14877940881577945, 0.9226744304585768, 0.32294793352742723, 0.7993344272813354, 0.24149438710762905, 0.7005346766526559, 0.22178606508554144, 0.5872236459899303, 0.7429354164950133, 0.876653509029902, 0.4396629426746498], [0.7977610458325066, 0.47475304498270576, 0.680447210885485, 0.8347886246750696, 0.5412116986482808, 0.7339284080358889, 0.7168697103658885, 0.009126683957614845, 0.6522489102475107, 0.8163950784450958, 0.6509981619380985, 0.06901144772210754, 0.26638839415417126, 0.33475225889512783, 0.042317564815807285, 0.07243963168521728, 0.11317231658809668, 0.7309484113499586, 0.03503981140728307, 0.17346910461092813, 0.6851061747222975, 0.14582922464729886, 0.591489968772159, 0.7663305910483013, 0.3344230003155617, 0.9186605187517585, 0.7004517793925138, 0.7311394129479714, 0.29644529498998373, 0.5504535587599276, 0.400508657220784, 0.4068464398175049, 0.6438751428805257, 0.7068022935750758, 0.6637134641887413, 0.24755422335661437, 0.6320880048275163, 0.26053526785220515, 0.553218503149715, 0.819285392920947, 0.8074908333488258, 0.24287251322910297, 0.6900971219228119, 0.8536475976869048, 0.9949584781977272, 0.12740923049659902, 0.48886593317633686, 0.05865779411494643, 0.6059995451522792, 0.25052098858960603, 0.14027406540807263, 0.2885239041326142, 0.41539101861673033, 0.5980730722158051, 0.7160130222561625, 0.5740809453179908, 0.20542535226662295, 0.7312877694990018, 0.01954044709234648, 0.10901041610122197, 0.05898419837097746, 0.7360737729035404, 0.45400133337738524, 0.24582177759120494, 0.32329043994069373, 0.4617174137806509, 0.7499069442797278, 0.9465863295755628, 0.8397552624905145, 0.46897383146674454, 0.06536223552938158, 0.5294882343157632, 0.9994073125560144, 0.9018497710017166, 0.5245845024019926, 0.5204141844400172, 0.7313434193484138, 0.9034736258063991, 0.34934193688246307, 0.28066362353661367, 0.18773564862247794, 0.4032660033660175, 0.6863725649458481, 0.7910161292768558, 0.25197546036114815, 0.8833805036109578, 0.699131141549144, 0.36749815693212406, 0.3106705146246437], [0.7555276209019475, 0.5533269935759182, 0.10869197755793336, 0.8195546590278455, 0.7629636895766898, 0.6975034546421137, 0.6657915205525372, 0.3432403958249569, 0.682773184439969, 0.3095731440984545, 0.7873836430944589, 0.5864329994364916, 0.7893866653662471, 0.4317935861928004, 0.3965118298874031, 0.7010427797916987, 0.037226313030488956, 0.7642101262551741, 0.3384904209018982, 0.2703962259497106, 0.9128561985839772, 0.8748066568396454, 0.22143905167093503, 0.09774359454998738, 0.041735479926022, 0.9509843493499023, 0.5078612890837672, 0.15543630775860906, 0.9980207547886256, 0.6176485960018642, 0.5295240636741426, 0.6540229951851204, 0.3448779955529131, 0.3659978870506819, 0.3614810481736257, 0.6145075986782208, 0.9878837626795582, 0.5212454968977848, 0.6869709461021724, 0.5111080598259617, 0.13042618326689304, 0.4708432688479882, 0.7617905753734999, 0.8337193503916859, 0.06572483315106958, 0.23238254191101437, 0.21337041625938258, 0.09127856537856327, 0.761151321036068, 0.7454935414307755, 0.8598316992378116, 0.2332711236897994, 0.7521432137474063, 0.11873029444194505, 0.4403983784439425, 0.1935548212852044, 0.6358250581882386, 0.8693274207576848, 0.5951071479273656, 0.5285747186821996, 0.24124524583343487, 0.04642334617212451, 0.9844625949983071, 0.6839073743130715, 0.7024298659986564, 0.13085382870087914, 0.4580130522772162, 0.10858824613936913, 0.3637484052461447, 0.09743332375220937, 0.5434007843560033, 0.8483616628279441, 0.3154936398819359, 0.2448692990185285, 0.2742100884484058, 0.8763280112608726, 0.2108909473730567, 0.06044523115342493, 0.2274932700100456, 0.7437304376803173, 0.1145190604531553, 0.9022365066691949, 0.05286797824417211, 0.41289008502670554, 0.8280298664518734, 0.6294411858554857, 0.41714844771966597, 0.8780000749838247, 0.6782351259037342], [0.7986718122079719, 0.6700682534682193, 0.26401522461370475, 0.8504863000014167, 0.8532284653967979, 0.9465742706996321, 0.5374357240268072, 0.17467573103653888, 0.03285860731881851, 0.9743980617527356, 0.013247742163721266, 0.595400851665467, 0.8737040491023218, 0.5684350958254173, 0.4475984088729619, 0.5529560890253833, 0.4754664422649635, 0.4353469396198515, 0.3792046188465239, 0.9119829620958267, 0.8839842176810467, 0.07100054977676018, 0.3319286334309399, 0.14002215286774022, 0.6904803544188934, 0.8479205731600423, 0.8067022236025868, 0.6986556593662497, 0.7787549429756222, 0.4160408805835073, 0.8571319341419279, 0.5085108423771417, 0.7845983044705868, 0.5870480169251879, 0.49486963147196805, 0.7573856912287966, 0.424147248264367, 0.28499097620884195, 0.41118148477344385, 0.5974072026032421, 0.0028679773460196234, 0.8045735646346852, 0.9254609017790706, 0.3321269880054323, 0.5316160961515112, 0.8475412492003771, 0.29855342105361315, 0.9346509920388903, 0.787896296849044, 0.12287935406029538, 0.7111035974997437, 0.4741475864563143, 0.4818352341337243, 0.41885781088897645, 0.5175255472771408, 0.5258498627919934, 0.9386030533388483, 0.42509726717630136, 0.37042795941895656, 0.20783631622037346, 0.013813081680840278, 0.724776319433286, 0.1713552673610491, 0.9552921104550114, 0.8519169603110456, 0.4381445911835631, 0.5617843783230814, 0.7470085840958922, 0.9066079173735384, 0.30371356792861537, 0.21586917145137696, 0.13341580796701813, 0.7253572578941556, 0.49568331651878783, 0.31233733675256703, 0.17583428692630032, 0.72386205378527, 0.27102558104587704, 0.7000120899735304, 0.4504528627160662, 0.10224349428822166, 0.05463518546454238, 0.5087088219054562, 0.12232853679751976, 0.6242083831566766, 0.09142132659423785, 0.6112203692585263, 0.7531213597829778, 0.8471727009785444], [0.9732444743207518, 0.9224237738009133, 0.261920937670558, 0.7832058607159472, 0.6973833257811934, 0.34400555300699065, 0.5619992179656218, 0.7516339155771612, 0.7320216900984313, 0.1800546823834661, 0.7778938245152588, 0.5422787800075112, 0.206501012942649, 0.614668625529387, 0.9799164886889162, 0.02695582249206918, 0.07585354864663851, 0.07148624641009149, 0.5282873015601135, 0.2099055048714339, 0.5506832127266764, 0.32238407771123356, 0.11875995711622578, 0.06238260779169591, 0.7115592544072796, 0.2876780332161172, 0.8700892087191799, 0.23816164489799874, 0.2681494077864066, 0.15243238588038355, 0.5911164873659775, 0.2537334851496905, 0.33493508610240863, 0.5133174827828298, 0.4082510451875432, 0.8115577928621721, 0.3721791366755276, 0.03745838680659508, 0.6136229924808483, 0.16065283611784842, 0.014447471390863553, 0.13003958567427143, 0.5712032893030634, 0.35867955051605327, 0.9373382650989762, 0.22214021583416954, 0.8713758017966349, 0.8108167736917421, 0.9170002743782854, 0.15995152281783886, 0.9777703808009217, 0.5788722384220256, 0.343744599131073, 0.31358211798497393, 0.471006187094823, 0.6967674046025036, 0.21709833853626714, 0.37958326113245844, 0.2047527860942322, 0.5632783726023051, 0.6519091774139574, 0.2988240463904457, 0.49344362863659874, 0.05579964499846368, 0.8587057716310517, 0.4584678876628936, 0.11071031087526473, 0.2839183315251592, 0.5986452740398926, 0.3683296899318067, 0.9263837644113403, 0.8681374344805772, 0.7340997531384368, 0.08883548087464099, 0.9985364594784177, 0.9951967488783371, 0.23042528318775013, 0.07284975530150561, 0.5889081965863264, 0.37926621986773223, 0.7140251233478645, 0.4760054036188244, 0.4802380936249522, 0.8245098435587257, 0.6339339429918819, 0.7087571731033078, 0.9269963185560959, 0.526575081480813, 0.5967509612468758], [0.7259011083750604, 0.14142260880200896, 0.9212295187955757, 0.927138927490917, 0.5679986319143668, 0.14529755035966085, 0.8862800364966736, 0.1767005205823461, 0.26960302848528495, 0.08589169121794904, 0.596376672917052, 0.5310048117340398, 0.8167614576913077, 0.49803711420549146, 0.6199323207395718, 0.24813313349518795, 0.5811330652880882, 0.8429672784481768, 0.5356994089928074, 0.8320998402049422, 0.4368022244503078, 0.8211227888056873, 0.8641626355830726, 0.2024329481498286, 0.13802323262671878, 0.08551649142193374, 0.9977620850763886, 0.60517384833988, 0.7648018547125578, 0.5893075670602161, 0.17263529228742824, 0.32274994838508064, 0.4494493129755489, 0.2599161601819382, 0.5816169550055462, 0.7278569739333888, 0.11805347511914843, 0.3183833451508673, 0.7918769608988162, 0.8885706046734833, 0.7512861481849321, 0.4804720796243783, 0.8835720982117782, 0.4358803770188515, 0.43121808174412335, 0.3816083899724969, 0.822125666197932, 0.1862385793700827, 0.1539291721278946, 0.2554267101706855, 0.46243339241689563, 0.0032650907833018383, 0.5048201805756077, 0.9690891004793267, 0.2588916679019506, 0.08860370557976238, 0.879743336650591, 0.8242238754778852, 0.18534740528945415, 0.9728182968346787, 0.5473217644412818, 0.6905931381641687, 0.41990744347910003, 0.08093377733167051, 0.11327992400037923, 0.9565820346498779, 0.14912100265235084, 0.7774233850125017, 0.7047689472032331, 0.8511664966617567, 0.41242920264888816, 0.07246816388853128, 0.3113062455078681, 0.8430507719747429, 0.7118667520658277, 0.8999255070046422, 0.93033521566686, 0.5795233756611039, 0.6980334305831162, 0.7422812630001493, 0.7949701770508627, 0.09395236897040771, 0.4854087645430645, 0.5793117621109821, 0.505004563008032, 0.514107415222552, 0.21029584832520876, 0.05943245887063464, 0.13249518225694124], [0.592813956008291, 0.10900856349765908, 0.8005737339444575, 0.5205964574265699, 0.6330419756636962, 0.32792442071454686, 0.25232959759173335, 0.7590947165703863, 0.5279208561513478, 0.3564805654369887, 0.1963017025777306, 0.17523583173502866, 0.6814389720862352, 0.9945404950133735, 0.8360450348622938, 0.5252422321285094, 0.9114019296665568, 0.7368502992201783, 0.6313221650415253, 0.6059894738535816, 0.323117010473601, 0.18291883971672918, 0.8396911181004679, 0.6428026339211409, 0.06739046598256082, 0.37737072096717605, 0.06885879814007057, 0.009776457723259302, 0.8338688663222052, 0.9670323635299283, 0.8336436104582186, 0.22776291648696778, 0.5272775846878, 0.042315143643868125, 0.7955596785597624, 0.5578445189468235, 0.10185776832199311, 0.29109834199502216, 0.7958080410676549, 0.16292634355949798, 0.6311917016884748, 0.4425134580630309, 0.9063810775909102, 0.8607853661837835, 0.8795074678247751, 0.3095488755401077, 0.9202861587797205, 0.7197092706421101, 0.17070675767535626, 0.5760325289568969, 0.39219541929895085, 0.6989545652694198, 0.1797539675708475, 0.38605846852174885, 0.855774475528614, 0.1785721922166853, 0.9674341225260454, 0.06230512226460383, 0.17733926361320562, 0.19196914979553525, 0.500207000204239, 0.6245846033436976, 0.7900037538757256, 0.9441741313183324, 0.9859457483080861, 0.7457553666175105, 0.2943112477769777, 0.6193249516544136, 0.7862715764070405, 0.6800906213548182, 0.43605223517363667, 0.06124238398205839, 0.45598475233141844, 0.03665540399640976, 0.8516700129319256, 0.21458300549484732, 0.47105982075269115, 0.6666357886372191, 0.47624451440262106, 0.825406794070691, 0.7077513600009059, 0.05061325729809818, 0.6195822273242008, 0.2870961378321283, 0.5019149565799935, 0.7346725203989362, 0.5494122845743514, 0.06637488087190213, 0.10403804685531459], [0.3306457981169134, 0.7558519253439727, 0.9830273707308532, 0.09399347469372776, 0.6886272834195672, 0.6842506102044058, 0.3614299297483491, 0.6447931510144744, 0.1303533407609947, 0.6667708025439109, 0.44572319036600694, 0.9219636555508793, 0.19687686959653694, 0.7836916391447601, 0.5125566576267843, 0.04243254199013746, 0.6464107749083321, 0.851571743584667, 0.6345978788015394, 0.6409319692752078, 0.6054725751563781, 0.7412194838765694, 0.06739526317777234, 0.37042133251922693, 0.4528076892576135, 0.6063410419744251, 0.5621973509249397, 0.9747684845024488, 0.9414575659120928, 0.9504502913139968, 0.5500225856968127, 0.34622378063737536, 0.007681620737153616, 0.6039285446572789, 0.6880744372006857, 0.2506272297640214, 0.611513271448149, 0.5784146132449681, 0.43282293490048096, 0.8604151317254067, 0.8649338009108107, 0.8776447849087533, 0.027441404621110665, 0.038835745378461684, 0.821725599174164, 0.03935076521215797, 0.6681288300094825, 0.337446294260354, 0.26461995927333626, 0.925969689379439, 0.3850399659408871, 0.35651018777569143, 0.24138278259397694, 0.3509304890567718, 0.6264988122455284, 0.32114111028105685, 0.08996236398005097, 0.332590858020798, 0.07603955374955584, 0.736942490682193, 0.42216740802260233, 0.20967675496558835, 0.2106415596978084, 0.714928853253648, 0.3731007056707015, 0.3735126392738486, 0.1254893487926021, 0.9709501161539615, 0.04234567099258191, 0.37451193588550125, 0.02104349327860011, 0.9570852852202157, 0.34668231570410313, 0.46217765450223847, 0.46462057216149355, 0.6561843150624905, 0.9822323976357247, 0.7602513165374623, 0.22232286742986163, 0.26883074514592986, 0.7592084461728145, 0.6572566988145008, 0.565491485819599, 0.9386098521797211, 0.8678354093776668, 0.7020423908865847, 0.8309198525532474, 0.7876354978882807, 0.3957417149188891], [0.9459264204448119, 0.8616156720595031, 0.6386716365681767, 0.9201986748667063, 0.20203758630159574, 0.2420791868914266, 0.731224556821161, 0.060849754966268765, 0.0509526307921353, 0.8624131891320718, 0.821112600717831, 0.7333423542473579, 0.6730200538067841, 0.3757307233821179, 0.977703907605466, 0.9719374736604255, 0.5032502999295444, 0.39864856639225865, 0.6197508878291993, 0.02969192986080449, 0.6319661033966084, 0.9753755890575261, 0.8179508548861547, 0.0286585850337997, 0.32902705020832623, 0.28182256449210197, 0.7637771097113524, 0.10611648274031438, 0.9666600796589382, 0.8716358968303786, 0.027337550772313368, 0.8614472004551547, 0.05902538069001351, 0.3987608640371113, 0.6190013670000991, 0.3066206230521502, 0.021452714596081224, 0.11792656695458958, 0.8429685171307635, 0.7604499721526559, 0.4425010107657058, 0.9552357034650683, 0.6282477772809734, 0.7873772900067624, 0.41626530605690126, 0.2954731465878987, 0.31571007418101893, 0.08187726838548282, 0.1395383864441292, 0.6883738596662757, 0.9033071081582882, 0.27647477348560345, 0.04507869853748103, 0.7329365696386304, 0.7419902022296786, 0.6612147529649649, 0.4802491651879548, 0.7032274225767543, 0.015397204307988632, 0.7471084505817588, 0.1710095022779865, 0.8119396236600525, 0.3495678445361313, 0.7952012262473598, 0.24274281835850087, 0.01381252563935731, 0.29442056122928784, 0.874713122069753, 0.9025729425739412, 0.006061728669588318, 0.5329429445950915, 0.022641306077631707, 0.9903882269493299, 0.1425692961122983, 0.45302432003257775, 0.7224994099898124, 0.9750592228970606, 0.7780706687706046, 0.30258898088054165, 0.9006309000632154, 0.0025399620605089934, 0.31779024361888475, 0.5224062452890609, 0.6164963121376917, 0.5112144273868257, 0.07246311999371546, 0.9877126552603654, 0.21042297544298272, 0.6679956130917062], [0.22796197474444502, 0.9938810751612469, 0.2065664309618993, 0.3180708066648015, 0.8355265638464344, 0.023017168901470764, 0.1299275790721809, 0.8564551833029246, 0.9651642569277536, 0.08446728967963524, 0.043075542427086, 0.4325935089651376, 0.22252407702311516, 0.30389516233007197, 0.23414548431366755, 0.24014734696184292, 0.7821791200052538, 0.5463448895440027, 0.6731483754849713, 0.29537638541117506, 0.25063897819419345, 0.4503251443319968, 0.37964948919901953, 0.7070843519361155, 0.7130215335117043, 0.32852639313611687, 0.6357453528983406, 0.23162987286571102, 0.7717389006585811, 0.15295483451142444, 0.698559647576509, 0.45814009391316246, 0.5564025350935493, 0.4485136559752184, 0.19164735969673852, 0.357994810116924, 0.5487501280217874, 0.576785379306412, 0.4772561193196091, 0.5180346038230909, 0.7307184417302317, 0.5542227851692234, 0.8736540982857796, 0.13913873649267117, 0.1849189010369099, 0.06225459384356846, 0.12846111743677147, 0.026848144779398897, 0.8657176615351285, 0.5131893761802674, 0.39192055914430535, 0.8474511151293586, 0.5377005003787905, 0.52545627536694, 0.6211990418111789, 0.7608427174312107, 0.05189038136625235, 0.0423807569375958, 0.33650657443045395, 0.43125929151539455, 0.97955821472083, 0.16867276633178652, 0.4560861923296853, 0.7974458299985934, 0.27291850999953726, 0.9056870322171681, 0.3637012659390576, 0.6342653744378496, 0.41430928636723985, 0.58541258288383, 0.8901374499874871, 0.9987442443818566, 0.7537336474167129, 0.5962813010171235, 0.4979996366750632, 0.6567301544560625, 0.8700852622255534, 0.34579108685930915, 0.8888005150018261, 0.035910829138393385, 0.09680626453295971, 0.35900461639376147, 0.43759352977094956, 0.5942399926117719, 0.9546866902350349, 0.41516610729899606, 0.11188231881141131, 0.43235374053255116, 0.8657826911369555], [0.2910503726971375, 0.6408860752521527, 0.42442270860366293, 0.20702892468025558, 0.7922677587325105, 0.10808437578744667, 0.07690471770452789, 0.4931047617904494, 0.6879164216859053, 0.8690524217524459, 0.2611194007316321, 0.7843519477958426, 0.36414307532270385, 0.9924242442592466, 0.22779829330175283, 0.21860929393293205, 0.007349380091883462, 0.11045326944115041, 0.07240525701278089, 0.8922794838287037, 0.7693344273177735, 0.0018861055168551966, 0.4399218776040732, 0.24939193154413763, 0.6270155917143814, 0.7111746558801708, 0.2093686510075502, 0.9549654441768411, 0.340041859701521, 0.9478671712971668, 0.45744749043566213, 0.21687050111638984, 0.06431031565264744, 0.08463017445204646, 0.6656796122461592, 0.26965687757096046, 0.3741040764928518, 0.676908458867534, 0.302891376997106, 0.1421135458063022, 0.984961793254127, 0.19183601870247258, 0.19578433150599506, 0.9916964411711611, 0.3113542830354191, 0.7039202643141599, 0.48945248047644974, 0.2575376688899149, 0.35821434047796974, 0.9089453166546443, 0.07118710434702313, 0.2468065243821036, 0.6223067345081164, 0.8006178389492656, 0.2985227787273802, 0.12815932367906258, 0.003160932161117347, 0.6337457073440476, 0.5998362615788793, 0.9433524470448524, 0.005791436404514738, 0.31741686697482785, 0.5308712272544037, 0.49638360834026574, 0.9445919372079514, 0.799144101051607, 0.723397203759775, 0.974411160148471, 0.8541409615936101, 0.4686661580082798, 0.6563403032506117, 0.8514674677738044, 0.06199569839896779, 0.7026446491132965, 0.47134941641429007, 0.43508559819875003, 0.4956443774360062, 0.41260549092923293, 0.36294123238023857, 0.7760476527229221, 0.7204459290755828, 0.9983000215737238, 0.3406407832500521, 0.09556301626398989, 0.8430806935175711, 0.8282329762301891, 0.34661436478803676, 0.7787190364049786, 0.3694438255012802], [0.6368418806173609, 0.8177845401421623, 0.00696396398037058, 0.4387967955430777, 0.4181039174099809, 0.006932288182362023, 0.2617151770013456, 0.8405162870664785, 0.8131120053466552, 0.9809672257669408, 0.4298696225913381, 0.5928304454986566, 0.021998814290265734, 0.42316418606568407, 0.11272337802262611, 0.6425648088261647, 0.14478476677058938, 0.9930963171365207, 0.6062284900012627, 0.4659808456966913, 0.742723190386684, 0.6497474312513434, 0.07172176837921307, 0.9344111455913541, 0.06724447663906896, 0.18759000610924947, 0.7908252605376686, 0.7326995985766116, 0.4228416133588264, 0.4694736994899924, 0.5422131846211089, 0.8027776682587393, 0.4111440105806121, 0.15863733775229916, 0.47142842510471583, 0.20670899809431786, 0.8486132626810363, 0.1893380771198735, 0.3568032191631285, 0.6637292663316005, 0.9561015086148933, 0.7682545704622837, 0.27439280371020436, 0.32006866825050695, 0.25236702276403256, 0.238820180406617, 0.37812888509405795, 0.32019541701015386, 0.3794253359240811, 0.13182702669444513, 0.5741482103580362, 0.2832302481905721, 0.16439756032401476, 0.8009984531907556, 0.6084865001575482, 0.49949524382720045, 0.517542697841107, 0.21092801793481442, 0.7461756025079589, 0.9025428641818922, 0.1716023681138087, 0.3054673296329041, 0.3889148847021442, 0.9394138794996211, 0.28368343401416896, 0.15021895814382846, 0.059348369793633005, 0.3197094673458729, 0.8777182466540803, 0.2095171436202551, 0.2977002033391146, 0.9759516493132913, 0.9376230779380027, 0.33731167344952406, 0.8178776663428357, 0.21908506828949414, 0.6078514591302322, 0.9684721209795791, 0.7232110346359623, 0.17587541046931554, 0.13066843437685483, 0.9876219250834961, 0.1625088320974295, 0.8073275576781461, 0.4555401684658321, 0.064958212364566, 0.3134874093749165, 0.7958812633800265, 0.6737444271628701], [0.4527819111541086, 0.8715757623955432, 0.5159106037413833, 0.8272350823750324, 0.30387357080764477, 0.25653996430078096, 0.960287319043134, 0.09398385311021518, 0.12890321485863832, 0.07597093054596649, 0.2804010105117274, 0.12885503475260185, 0.4537848598680708, 0.999840572653075, 0.9606361671415681, 0.4454039015518392, 0.3181098010381007, 0.5915428556554538, 0.5459181520460291, 0.3550393302577878, 0.8172075597229305, 0.48926530399142687, 0.560610408572006, 0.2863530099159497, 0.25286710210709107, 0.6474157437742017, 0.6917187435459505, 0.06303805991310862, 0.004569949049430533, 0.6236511892489472, 0.9524736977662994, 0.353976966104972, 0.10615165684029404, 0.758399818837753, 0.7846585038696656, 0.13944895713622174, 0.48749203036431776, 0.4935777486866021, 0.829671545795688, 0.17131935892958639, 0.2839727971988285, 0.5444818500642041, 0.9225589049232495, 0.26081969864176346, 0.0611584819003651, 0.35162957555654006, 0.436724479776446, 0.24760364465314033, 0.8560939513288465, 0.37383035649746477, 0.17109395320868392, 0.9652133911401589, 0.6141187160535398, 0.2132162656275951, 0.3556395046859532, 0.4380135111763962, 0.6584722443966091, 0.3507395725334682, 0.48866004027326426, 0.9490540111052245, 0.09073466210906966, 0.20192360569448642, 0.7786236245083727, 0.022275735207445413, 0.4971688595937013, 0.520128417095031, 0.7520092335325312, 0.6553413231037476, 0.3194690599045086, 0.39168742353568375, 0.3499887992297879, 0.9446757091077005, 0.06681255443641376, 0.6443102290957397, 0.5266194766341105, 0.9909359306891188, 0.7002847254990655, 0.25620485792381464, 0.4070466704876141, 0.30561587275739677, 0.32051776569641466, 0.999773251065679, 0.294439597181409, 0.32115811989388876, 0.8120594391534289, 0.45975176414208474, 0.2614575095851869, 0.11989691589229434, 0.7104142596155735], [0.21060764110186547, 0.7415831608602376, 0.2853450778780684, 0.6210213030446752, 0.18478986444700485, 0.3783691022527913, 0.6646637867459618, 0.8672212819794209, 0.29706874096516034, 0.18451577785544415, 0.4392504592901799, 0.8040860379802636, 0.916416093500695, 0.09410261725681102, 0.07678502283485622, 0.43783582036637847, 0.6190397570924363, 0.01554446944239296, 0.39526619648428285, 0.793778027994534, 0.43819231427812977, 0.5212494351863272, 0.5451162295258376, 0.8011654764232152, 0.8569829314068946, 0.44019990863866876, 0.3847472806713307, 0.6419221688663757, 0.9634918645892001, 0.4827952847898147, 0.8969930520379044, 0.23010012024050586, 0.5122774858721572, 0.3224244410688405, 0.6845642722428802, 0.7377386298013913, 0.6819611344668856, 0.29926010932961855, 0.34412869975812554, 0.8965946594202727, 0.2619922815242489, 0.7263209443296339, 0.6524802904944095, 0.398880334207773, 0.17317081159810555, 0.851310001979001, 0.5034783342076603, 0.42036377309085526, 0.83657689738968, 0.5834920069552141, 0.5666896281460503, 0.4080471136239736, 0.6187912947881546, 0.8688025439931042, 0.07726416255629476, 0.12378844446471671, 0.6279893235410852, 0.6909204116341784, 0.6017845783634144, 0.2037546019060852, 0.1509967660681245, 0.8863604940692985, 0.3574005405867172, 0.14749643983166927, 0.28163553423320464, 0.28636747825352205, 0.6466468835037997, 0.5149129027831048, 0.8050709398353444, 0.22987455554952574, 0.5228295676364006, 0.3460335642922151, 0.41640896938703653, 0.5306446181066766, 0.13011388791284906, 0.7770395412639131, 0.6365319881494483, 0.23507458221864075, 0.44936200547504646, 0.724275270742083, 0.9837593159722923, 0.5573713456303401, 0.057628582223284375, 0.6699177789891936, 0.20554474377213405, 0.37624534941279575, 0.79807447827325, 0.21218673646863384, 0.21819263716038861], [0.03897265403220185, 0.21837339331630878, 0.05743071063016192, 0.8486905283031274, 0.7540911291500133, 0.6312002353257942, 0.877286497071858, 0.45360060543446934, 0.8300371007699713, 0.8378465772187004, 0.5373160696173089, 0.7825561665571132, 0.14234457427295633, 0.9351834049982952, 0.17261899447197793, 0.43283647918926915, 0.08311848929224575, 0.5246522031774474, 0.06177199219873841, 0.27163921490738996, 0.4594812031286738, 0.2738369112101098, 0.44438613953567707, 0.3863751094326945, 0.9854853486663929, 0.252868881541247, 0.6930137130714704, 0.9996536592023392, 0.7215651772334943, 0.08755039557267141, 0.8989159251411527, 0.3018894149898663, 0.02167422499427829, 0.24487480023373176, 0.020754038029450195, 0.37683373167687206, 0.5736047501334764, 0.39830851209990326, 0.01876525645812388, 0.4082245122366406, 0.6642033521495321, 0.12414618095219165, 0.5632547207340673, 0.8338796332805194, 0.7411245677234046, 0.9801677744757704, 0.5063729308456013, 0.06167367540400892, 0.14844419810276555, 0.5925530228807603, 0.8149923858953618, 0.4184830796325928, 0.6322888800709894, 0.9944057508979397, 0.8059951104932292, 0.15442113154909043, 0.4197311279090594, 0.1530599538620121, 0.17205193026920762, 0.02076570194186733, 0.0668791677369609, 0.7287764052430625, 0.5950408013103938, 0.1509620645269304, 0.653247449898774, 0.25466870801019437, 0.20752088266429147, 0.32324470226571844, 0.3906636613340726, 0.8218240487077931, 0.8813081474566011, 0.14652066893442728, 0.061210224052202444, 0.7189162414259302, 0.7703488392683, 0.19155079277561116, 0.8824721137727224, 0.6100442021098781, 0.12260311253191747, 0.20386968031168318, 0.44880002788766127, 0.4667368563755401, 0.0336662943825522, 0.43390355522238067, 0.9768183458235397, 0.42638917478245697, 0.911662019832323, 0.19216997042663164, 0.173769849413564], [0.9335605563242012, 0.6598116868014728, 0.8721353566036596, 0.6253024485732454, 0.5055517186930002, 0.1442117474942175, 0.430735642303923, 0.4020867805655749, 0.7914444628006547, 0.18504903809768014, 0.32239387497736793, 0.8013324856361865, 0.17479888518602116, 0.5853084096312409, 0.2794471757642931, 0.004425974898687013, 0.5634024212624583, 0.4670819218793518, 0.19375839210263957, 0.1391399403998601, 0.8808472851079598, 0.02638924416989763, 0.38585228732683274, 0.5782782800238279, 0.012228722589827767, 0.04668735420525838, 0.07062423102770865, 0.3789472315955198, 0.7507877894765567, 0.2141391643730799, 0.44921082837287296, 0.43971807748742975, 0.6802827701751664, 0.22329878505503764, 0.6174624520500084, 0.7612134483894734, 0.7997215566005024, 0.25662141951145767, 0.8887899521856379, 0.5066158698970209, 0.7468208449841978, 0.706768812429827, 0.5910478329139676, 0.5056204247927089, 0.471466078717234, 0.6026486025258868, 0.6746795327641194, 0.7978597177677198, 0.46366936756852184, 0.5708294473362321, 0.1745150981282787, 0.9747973934980959, 0.8621707911546693, 0.6093439657383446, 0.42093462479241195, 0.8696373789475678, 0.8118749923563103, 0.815491874555964, 0.7986199022400321, 0.18398286112329598, 0.48512773645676466, 0.11681632768509032, 0.4471988473684836, 0.587106232097867, 0.8949148055021465, 0.5846911867331699, 0.2685114734064511, 0.6981001580073379, 0.5866039620137343, 0.07473819557986872, 0.586567475508251, 0.6443244287060016, 0.7505759790808784, 0.13472756206995484, 0.5886558668629618, 0.18238959203783744, 0.476890884139228, 0.5604077554650705, 0.3498494911389153, 0.20788986781414043, 0.8431218991153971, 0.08472203612897089, 0.22490007627286968, 0.5097159118786063, 0.9878557535934923, 0.5395514798847911, 0.4321036127760305, 0.47364026251464253, 0.20331273101267833], [0.008059794056416214, 0.2689966293614756, 0.21756567723594655, 0.6121826313093088, 0.16264639197969954, 0.07848049939378055, 0.36239028819243435, 0.5530268926746639, 0.2679866724532659, 0.6484026370820766, 0.040208942299870376, 0.7447877409222344, 0.07244013343472477, 0.3947181198142342, 0.23879134723160222, 0.5060764880840276, 0.7423321093556767, 0.15772263930337738, 0.25594302192182816, 0.17546599729810342, 0.06689163422908839, 0.1649265637969527, 0.15099620751948417, 0.17090449335209967, 0.3470933345180659, 0.9700380832889224, 0.9962023209938331, 0.9226432072979627, 0.5280636157553512, 0.9478117742811465, 0.2843195286495388, 0.011096290074303794, 0.3312380535974284, 0.4669900086657094, 0.4681697632220263, 0.24984365186770985, 0.570925632352598, 0.7999240897394274, 0.3191903944458844, 0.5762546461399842, 0.5491644348961474, 0.6842919443174558, 0.045987634338641836, 0.7739332460737307, 0.5602510524330804, 0.9938374807128662, 0.7383663270961339, 0.705578755004088, 0.16586521972035084, 0.8519979701444903, 0.7748430033280501, 0.7651384239008664, 0.43851380058967315, 0.15955955343005457, 0.3838842138767081, 0.0767388506111607, 0.3889528530187114, 0.4298144387613865, 0.11817159778736308, 0.35957051490945147, 0.055040179769533126, 0.40121896869828777, 0.24318238709141582, 0.27975206219332405, 0.7192791179025902, 0.043367836805397464, 0.3833049761275067, 0.6134653417915039, 0.17368205753277677, 0.22051142779700483, 0.9124593256381482, 0.6552853867436924, 0.9858618773300353, 0.6997763531227771, 0.9357752712501595, 0.6646686526880289, 0.8896683889113776, 0.93435678011018, 0.362625495694906, 0.8805548419917437, 0.3637874296332464, 0.3406579212236359, 0.9641970133072908, 0.6715745192301191, 0.268186253756331, 0.10897351573604475, 0.6605825011452706, 0.8938972799784266, 0.5469545451432484], [0.24931091306606656, 0.08632126885037916, 0.63217963235398, 0.8794264593228627, 0.6084017656518549, 0.29717108937610826, 0.5260034781367878, 0.8876290812366867, 0.2283954173966395, 0.5779385367319128, 0.45364635824123567, 0.606821821015322, 0.9830530461186576, 0.5777833893121679, 0.23226323626742684, 0.16350928662830166, 0.5776600131669574, 0.16342763642228764, 0.7848384959370958, 0.11485268809917126, 0.586771033801774, 0.7801756869886156, 0.1289312338537496, 0.9352901733176092, 0.41359365618209254, 0.10816417329444461, 0.8926788220985895, 0.3025075424209511, 0.09937284258039103, 0.5440307598158252, 0.5437672710783027, 0.44774577687556205, 0.9491613835702378, 0.34772650909570557, 0.21795480930597833, 0.9610732922481453, 0.6229291385421578, 0.14561325584614315, 0.03851708579983404, 0.5311941648917505, 0.15190360063855135, 0.7844769493052893, 0.28835110928095964, 0.7819502920572318, 0.7115456149374937, 0.05465913947012002, 0.7551263756956227, 0.10788736251997988, 0.044732429162066656, 0.7664657964782744, 0.2042844106013154, 0.7086778135631298, 0.0017317630709575704, 0.8071660132692985, 0.2060568229267996, 0.10818035297393935, 0.0828041856454298, 0.46137026361555145, 0.5086650810071789, 0.757317525646086, 0.4678916636740953, 0.54731524866817, 0.24925834815013448, 0.2439384351452497, 0.1719633793142613, 0.9355794971112409, 0.1052676484426055, 0.2244243451132193, 0.20056184480773187, 0.23359399234842615, 0.8968528998706028, 0.23952624852041515, 0.27405066031494574, 0.8479351078573081, 0.06864943335312912, 0.28862174879952707, 0.38114527727420966, 0.8217216306950439, 0.33911625393509226, 0.9805321593130507, 0.44415829977185484, 0.3572506196557792, 0.36416860792180605, 0.5391468318446765, 0.35996442763945924, 0.8830284194247717, 0.4595681796738317, 0.49690117902396314, 0.6634423984371042], [0.5944534418532013, 0.1906677349973649, 0.19841666312833128, 0.7614812908592914, 0.25827047608401543, 0.03919940071003036, 0.5224180462970743, 0.2503395524311317, 0.735134947318893, 0.5967637308977931, 0.5018510901388931, 0.19668063902468647, 0.04859988753925626, 0.34167429087078627, 0.6616819354240795, 0.05454556215512785, 0.8483352876626105, 0.2489454813490426, 0.6475787440120399, 0.28716529783753275, 0.054438952077878744, 0.012307986568561136, 0.05143725614836914, 0.06492454735841324, 0.6827431302429035, 0.801781762363605, 0.6134130194181976, 0.7703892245141851, 0.40999423202182095, 0.6029820413797186, 0.7259480282432128, 0.9191190851799816, 0.7975605011277966, 0.44956279031712987, 0.8369707581082857, 0.6574053151023319, 0.679824607034044, 0.7946673350190977, 0.21349438190465797, 0.1257522848544551, 0.6670176194230084, 0.5354021687388455, 0.028894790858679298, 0.28943800636560546, 0.8731952218840087, 0.8068633438924437, 0.11836164050779219, 0.20792787392287737, 0.7943404790743571, 0.7316773649544869, 0.20164398342827738, 0.331114241581869, 0.9897343069777569, 0.517707213291915, 0.43759627014346425, 0.14611634023778763, 0.4440728565722064, 0.06029335960445803, 0.4247466905729915, 0.9385927260415945, 0.5255550498301961, 0.3955409228272335, 0.6115229148336624, 0.5367185173425656, 0.8557792910834777, 0.9417322478556718, 0.11592202980335664, 0.03392060689322407, 0.30866795256443214, 0.671685211574287, 0.7493743090356727, 0.584760876064559, 0.982082093429524, 0.08351482082926309, 0.449010251856486, 0.8872015638840163, 0.12284385455211144, 0.6864589066297511, 0.2048899732599727, 0.5182929124556228, 0.4488454326722291, 0.94255673102708, 0.9954277674552197, 0.7886591005288821, 0.34875667217064965, 0.0828794131240761, 0.1437173879411887, 0.667284909210653, 0.25714573586822764], [0.0423598172586922, 0.11114231185120327, 0.6326677677941293, 0.5706118690931616, 0.006596026967960578, 0.04456162594335644, 0.8861032365997162, 0.786900370654286, 0.28870505412743785, 0.46003384898564614, 0.6127827670435486, 0.14963353811295932, 0.49212028374215855, 0.7801701148199575, 0.9329833033076246, 0.46823758709079366, 0.26113185452503096, 0.4818031429827708, 0.7942604233396481, 0.9009683292362827, 0.7172198951585735, 0.8401435954773689, 0.7642848824180932, 0.6272079994306909, 0.9583983958065073, 0.38637678770681083, 0.4861215030678335, 0.9379996454594821, 0.16851994984091334, 0.14171647955048017, 0.5881745385425683, 0.1661508892971285, 0.3562846699100264, 0.6673450280341893, 0.5569317729040572, 0.5962998561478923, 0.9822783561017524, 0.5090693889915073, 0.8841436723741447, 0.3814347201281083, 0.47245431318049536, 0.39081890419840215, 0.08473865990916885, 0.34624790766496905, 0.25609675881392313, 0.546979670792693, 0.7169249683022555, 0.9453755862495012, 0.1943830747902423, 0.9729067532529695, 0.7815296355075649, 0.20039259183622837, 0.21979032465863835, 0.08904427285853822, 0.3026089899227974, 0.24803538333468667, 0.09318206149799135, 0.31521886905676333, 0.6372638806484195, 0.11772308163959344, 0.9671102568001427, 0.20177757897294302, 0.7104486151387214, 0.6265859360632278, 0.5396586191023491, 0.8431068605180381, 0.6575540322368831, 0.053881948043698835, 0.7864061523668802, 0.7751952182347419, 0.6533031321762528, 0.30018655804332595, 0.271698812524204, 0.2715861750587486, 0.03631488319046883, 0.7790196301348221, 0.5058076476783613, 0.5786981040228415, 0.6266181613431104, 0.07370192769086825, 0.4836268507250392, 0.7900494787732302, 0.6030899453543832, 0.9899180338817218, 0.782276188809181, 0.748922928449791, 0.3142503884939696, 0.42644402226524647, 0.6293198406119814], [0.04549870455572136, 0.38194315850743144, 0.16269634025983648, 0.8807983888261588, 0.4871047553650868, 0.8503368854785109, 0.48608322635227164, 0.2506969628887358, 0.43785963208501555, 0.5338072116544336, 0.6419540752483325, 0.7311905594666033, 0.4521632810299433, 0.11501249058768503, 0.09820422832728115, 0.021932346874150577, 0.24285100167273743, 0.6486262631861986, 0.8791726740636366, 0.07968528413748854, 0.11971536102054814, 0.4076584841793949, 0.9033528079418093, 0.11383465406408655, 0.6147811676908085, 0.2911447716358929, 0.3377012359828908, 0.5541393517513642, 0.3501016926866827, 0.30238641582824355, 0.758491739877139, 0.6782434287136418, 0.6944371239028787, 0.48309884018188143, 0.3220044320690434, 0.9818968120142737, 0.49782316159249096, 0.04180437467239273, 0.9614479218586822, 0.886278805955894, 0.5979756493884999, 0.7954137377638766, 0.6358928494642062, 0.26241514867674, 0.07456245888861301, 0.9188653102567758, 0.9364391008977029, 0.6420624052577114, 0.36063376118002843, 0.8979146830880372, 0.7526586197409194, 0.8963587105998275, 0.8961733264239976, 0.3785078639120233, 0.8404353059834183, 0.36451413480566064, 0.24395241764930786, 0.5701920434984148, 0.7582109689244765, 0.20779654246655765, 0.3251723076861739, 0.33153958122512184, 0.5180217925191019, 0.6439524873063933, 0.7130990072113416, 0.8531192974352391, 0.99764783093527, 0.37001265805693495, 0.4458089197268127, 0.9153464085833602, 0.19436010342934318, 0.18868141756105938, 0.5309804976012027, 0.07724686333573327, 0.8052068729772963, 0.1654107817183228, 0.4238707121484523, 0.562847350611082, 0.8510141173523572, 0.5552761738500299, 0.7061505914357654, 0.6975310729789946, 0.5920434121028548, 0.2456797953881179, 0.48188688511953526, 0.7710195124344102, 0.9582949703556664, 0.8891282291931689, 0.8677495546857988], [0.9442287403741365, 0.424431475190559, 0.09778968754183803, 0.8565200796172927, 0.38231503477518913, 0.4313115506747617, 0.9138793928015005, 0.3931734127651625, 0.2422518380394182, 0.6722144712116231, 0.18742588954877726, 0.3341915660638598, 0.33647520535235964, 0.8373924509964246, 0.0789171663284115, 0.03340003547040238, 0.06969822832802608, 0.11147719933670341, 0.5031205126366368, 0.4571414955704345, 0.5099509919665213, 0.830865540626445, 0.2153139093971127, 0.8031303065437225, 0.682141173138206, 0.02083384331138194, 0.006724324391275349, 0.29726901371582004, 0.8175002987697042, 0.5577745571140922, 0.7078037773824121, 0.7595415329045907, 0.39672635940157597, 0.9657265485949282, 0.5976497718888204, 0.4082449481679744, 0.01327497816751888, 0.17204758852543756, 0.7477174599726728, 0.48027803484749, 0.5363560169576529, 0.9252541540263103, 0.7088180603919747, 0.5624397958062738, 0.27669016728765394, 0.5738465033588692, 0.5833801306290324, 0.37556663880066, 0.057625941240925904, 0.4794842709654358, 0.9551797462562338, 0.062391497859238365, 0.4496892517628045, 0.6906931022879625, 0.05052814908773784, 0.4558135174651663, 0.2324808322821823, 0.2857314333121409, 0.34694703286473827, 0.07174397189102788, 0.4737595908955422, 0.49914405685239827, 0.9970860347976724, 0.7405201072768433, 0.856640048094733, 0.2924163440474702, 0.9661863813185472, 0.032348551980201146, 0.4164442799077962, 0.48880278555558054, 0.2846932066364478, 0.10179905419235336, 0.810247001378036, 0.5648758097585349, 0.9185101036038891, 0.42440550250095765, 0.6493451819561473, 0.07727096471321271, 0.27314696555935136, 0.9317702113026586, 0.3295741431063546, 0.8807232023841852, 0.4413066018327889, 0.6513398498681242, 0.7691211577304075, 0.29169499085188966, 0.49418352602207716, 0.7682008380079949, 0.008151727641101725]]
bestbot_bias_layer_one = [[0.5869843034155573, 0.01726293549357827, 0.32380919370482575, 0.40209337128900813, 0.45948066522322073, 0.4829439721932879, 0.7498779412575997, 0.02497271688713465, 0.5690014229514194, 0.9928415031515031, 0.04658496066654971, 0.5524711228900091, 0.4388660741853295, 0.8151349330576652, 0.45540200943386244, 0.2296308502845923, 0.7136723473512485, 0.6125239583178802, 0.9405895428130282, 0.4012770939207424, 0.04403679777529812, 0.8570470164313635, 0.5308449794457709, 0.3038421285197491, 0.5478259579857355, 0.5323509316557327, 0.3061410541508941, 0.9287235677642257, 0.49550475770904867, 0.2919305294198272, 0.7696823206009715, 0.656734312783879, 0.6122544061735317, 0.6717905362776706, 0.833437410272183, 0.06404973304007389, 0.5927207372591844, 0.19700520826216372, 0.8168207311629369, 0.5142057646812788], [0.7051590064353349, 0.6934937521213669, 0.3154485022882898, 0.38293013023364064, 0.6637383497201229, 0.13952811525972464, 0.1713271385770827, 0.7067805226167707, 0.7654389134462866, 0.2758511525899614, 0.7410253515702949, 0.8616194100925286, 0.10045205599351836, 0.6997586996288497, 0.9745272111651245, 0.4239580452690247, 0.11172328846339163, 0.5077749348439146, 0.16337172320940785, 0.9377808439396493, 0.3920148610903501, 0.8777463155809128, 0.28179476322162966, 0.8812919165841336, 0.0405447119055099, 0.7285547918484994, 0.5982901621163246, 0.5620726178740193, 0.29689373580984146, 0.6445213724875892, 0.3192100958353604, 0.1304954719651492, 0.9150972312594478, 0.9280214670727516, 0.9182621546449449, 0.513648875845493, 0.8939820449964189, 0.020880256238280603, 0.22028833518776358, 0.7331562905218973], [0.3393691299324336, 0.014332818739899666, 0.464028862489536, 0.8358516990149437, 0.3985419794254623, 0.7290713579391268, 0.6002536383507754, 0.4609455359636261, 0.8798832053143857, 0.3181491465624823, 0.32611263214266784, 0.9289808687231027, 0.5556289057149086, 0.11556529209770061, 0.4691440708367196, 0.516967526910564, 0.5292291673590227, 0.4264067071423141, 0.8716303620321492, 0.11699488564221405, 0.034883215070566465, 0.5080181390118121, 0.2831004745679889, 0.4572227091853506, 0.9640974720368808, 0.348776550472335, 0.7288359281916602, 0.606271564479506, 0.09038069869059884, 0.3714452102425114, 0.526953459838478, 0.7083871656356846, 0.3975791615581482, 0.19342139560043936, 0.2890950524811138, 0.43380701439151803, 0.7315398100039177, 0.513291662838563, 0.07670622431656826, 0.032274287252976985], [0.32463614250333694, 0.4411024637566179, 0.6452128604323639, 0.839340841875141, 0.49301281131871466, 0.1008424838510864, 0.5748186968373075, 0.5723008753475625, 0.730141667954161, 0.791320007984113, 0.5726067292340237, 0.05862818562872152, 0.9705135519965542, 0.11062058713422984, 0.8016929399081717, 0.33004472014526165, 0.38248302431200853, 0.5167332960226184, 0.4284582131331556, 0.26296626162275816, 0.5979194636801236, 0.4032296235281183, 0.6865163020094032, 0.5458912727723548, 0.6321587499718764, 0.9821950602990837, 0.6331033297573513, 0.46325215509895934, 0.3070285232626587, 0.16647548954801328, 0.8637386145660525, 0.2565376111417671, 0.5233959625225358, 0.9397112659380477, 0.8609354123769875, 0.25747373397395046, 0.5884762994933592, 0.9392496773564102, 0.42581820825190286, 0.47652570859942667], [0.12490589524504891, 0.4046967358011444, 0.509899534263223, 0.613416322304062, 0.744337998284888, 0.4274397129835258, 0.4724800199609962, 0.5954743268005194, 0.9467516014114231, 0.5701427475970856, 0.6263496344148853, 0.21966891003734101, 0.6477762609605933, 0.2388461389328277, 0.6940268605289682, 0.8786978242517444, 0.8683497773110876, 0.7493635615145222, 0.9120697645678426, 0.07916368028913978, 0.7805007988062088, 0.863182038230432, 0.30112214860331943, 0.7989251079987345, 0.3639688181179338, 0.7678341055597983, 0.29862445247509173, 0.5672472739442507, 0.47713603947715044, 0.5446246928070916, 0.024312055777480746, 0.8197679517587939, 0.28882237120120346, 0.37957110552072637, 0.792059016910262, 0.4721643168663515, 0.7031740435023112, 0.9587976098317011, 0.37190866825563407, 0.8207651582618248], [0.9848849587136944, 0.428300836198624, 0.970977051134408, 0.06098431153892625, 0.21862261138693972, 0.5192349883960562, 0.8454122594069349, 0.7571328568749341, 0.3399860511220323, 0.7071905633098727, 0.6445547280925873, 0.39527001744739554, 0.7075523052055807, 0.2822366413550136, 0.7792269530886707, 0.3376946879421936, 0.4634172847320447, 0.1956691474008313, 0.09644303983788483, 0.16069057476756832, 0.32070525403009686, 0.4364128384629794, 0.6916745743000224, 0.5299961749044829, 0.7816236114075538, 0.4132312457240688, 0.9232874092474268, 0.012963529720940503, 0.19279508001038925, 0.1160569609668256, 0.43826898293609917, 0.3179253863280015, 0.6580908508443628, 0.1905785948583365, 0.941868381753341, 0.615818732019937, 0.4157750629552086, 0.6009037440719381, 0.75363752149783, 0.48220946860123237], [0.8412658477838035, 0.5096408456417326, 0.0038681652077868778, 0.9360891863547243, 0.5659062587498304, 0.0928152000629, 0.2583477156946534, 0.9731505664769442, 0.0038494045076241656, 0.08559400050769317, 0.3661157792618094, 0.24586800922038143, 0.3303760234996247, 0.5489843098238874, 0.6462864603202875, 0.754081717104515, 0.911400116377411, 0.7158050867465208, 0.059750006910185616, 0.8441492149130284, 0.39066832655259, 0.44903332250519323, 0.27608239958053316, 0.8434382475608068, 0.04333080864471095, 0.4121095834090096, 0.7261882287776862, 0.7171735853874578, 0.586338528838428, 0.8533801946817883, 0.6467847736893537, 0.23912847654442715, 0.5757660250312258, 0.77111741958121, 0.19857057360579633, 0.14936794272330656, 0.44310795941241854, 0.5898066973855092, 0.2756171724753069, 0.2547503144302793], [0.5374750638681309, 0.5991376854232124, 0.7891857285223945, 0.16670912607877264, 0.7356536210332838, 0.5387056848225406, 0.17525136407944963, 0.28397745905237015, 0.0667180374620232, 0.6849578372664762, 0.8683768550364402, 0.671695768163775, 0.38769299711260063, 0.12264852691284267, 0.9667166829050429, 0.06395858926817388, 0.10283987408265183, 0.899841434391164, 0.24365253646024088, 0.0489692482398465, 0.9765363196643393, 0.7921057127578887, 0.26232246668236403, 0.25778439429787037, 0.5685312178802286, 0.812510029449445, 0.08681766343167352, 0.4704466392229436, 0.7594448474806748, 0.5438335309354643, 0.6632132961469417, 0.7549269779471378, 0.3113626416775641, 0.9663423124107762, 0.4814928089280477, 0.7891729221847982, 0.9281282280064231, 0.917886872510553, 0.29219574614373667, 0.8496826237249925], [0.4274473944056766, 0.8997329631674615, 0.7333051506314315, 0.246924590343653, 0.7552156796772141, 0.737030027821469, 0.44671303063396073, 0.12721986879693337, 0.7598894602386473, 0.6021055442621218, 0.40031377419350334, 0.7526173285634752, 0.8179647954234609, 0.4666872885200545, 0.9769826721882346, 0.6076842245670706, 0.008521031609271756, 0.30612303490940307, 0.5133997133764433, 0.46550050468358595, 0.9063827493573432, 0.5931215755431828, 0.8942470810413261, 0.1339347627591133, 0.7495786228067004, 0.13027788800103401, 0.619920264238309, 0.9859550633455454, 0.6020190018685244, 0.5919542397033075, 0.02438656520720328, 0.25228384623347677, 0.7533853088378498, 0.7292329178761787, 0.17874249976225798, 0.9024743328395708, 0.45874128192060815, 0.5444267916161052, 0.20215971319764636, 0.9491172142489701], [0.4613020571859725, 0.9370377411692619, 0.5607839057045216, 0.5649287472772042, 0.2846767329456714, 0.2025854986748986, 0.11938661219434321, 0.09330858796558028, 0.573843870955233, 0.8692234327088826, 0.13134665670167367, 0.2621675800369411, 0.8783956005809461, 0.7779308981453649, 0.9996952779192133, 0.5593853836115266, 0.43287344900859426, 0.712798919953591, 0.43473946459808455, 0.19236184035186732, 0.31006854086500657, 0.6680375710948333, 0.9574045687785544, 0.9139548363306833, 0.3251766802902898, 0.9345151189986184, 0.0837839998518285, 0.3644143036515509, 0.49739620485943925, 0.3951614057286681, 0.27559213504357993, 0.39065558163256453, 0.8484411300852319, 0.40777932241669446, 0.21126699489791645, 0.6145489300534415, 0.9393258466947169, 0.13463686603192138, 0.7781373563585937, 0.7877891439685033], [0.7414685453521099, 0.5416800817687003, 0.8676296827997173, 0.588707727776239, 0.8007724530358384, 0.4523377458112253, 0.20185882010984713, 0.4262493233681528, 0.9403291463804849, 0.6431347331366793, 0.8101623596483081, 0.07105465905166142, 0.7102942689289995, 0.9238716983218968, 0.046669197109809435, 0.36091738378517924, 0.11848039236890529, 0.6490903684697422, 0.21334878218840025, 0.7455893714925231, 0.5282834579122047, 0.8427291230423946, 0.6080356352364318, 0.8046495086954177, 0.9290737345368922, 0.8267382648249895, 0.237197567863353, 0.038854949201064914, 0.8739044743161059, 0.4722592877382664, 0.20018393922444977, 0.7025359405528611, 0.7290149460503391, 0.841300253261586, 0.8512492429136496, 0.2041166528514614, 0.3869285821405517, 0.9015384421598049, 0.9029779388320561, 0.8141421118673502], [0.020202180869545838, 0.38797821461924664, 0.3623214731466442, 0.5782749332140563, 0.9408949876357316, 0.2553750738897531, 0.9694417032259485, 0.32765494835836295, 0.9066494099561891, 0.9139164252343521, 0.4986021089534436, 0.8639697443236954, 0.20668705955450384, 0.23685200999711953, 0.4524460942487034, 0.29560781547894566, 0.11476132768103031, 0.2986366910153374, 0.5103328863070767, 0.9304949306315848, 0.992995629083381, 0.13639559787461375, 0.7596335581591659, 0.004992460913428309, 0.7769131363299036, 0.44303876754749094, 0.05291721090267121, 0.7818331182700626, 0.22181416220916605, 0.2518270628393636, 0.5816065193771636, 0.7900925785205721, 0.3695639926216171, 0.06597735212175004, 0.631898853102541, 0.9899191370370066, 0.892833288016897, 0.39983978132167064, 0.5473716432083893, 0.6156362590194197], [0.08911333772521057, 0.35349357566857875, 0.24211392098757678, 0.23936012439813248, 0.26350084131779905, 0.14670575974402322, 0.6893655541300804, 0.4374496612349118, 0.5119766957467426, 0.11433001448498159, 0.44380803977778227, 0.23291076001673205, 0.13291434603854435, 0.5545262555313976, 0.7491703162488016, 0.27783545039075674, 0.404246392786738, 0.3798403010532527, 0.19416399432320008, 0.8333253561304906, 0.25846487613766644, 0.9161500731770728, 0.4985393782962515, 0.6841402889019856, 0.43615318621549815, 0.5953761994363032, 0.929849610277857, 0.39946811603357235, 0.6130755217354221, 0.7382591013682536, 0.8707838556533436, 0.7285710016503628, 0.8862683185603776, 0.49357959328259915, 0.3094664224245718, 0.7820204421802692, 0.14886076931388192, 0.5064585737247733, 0.19772510101740604, 0.3943024810012682], [0.45665916345570234, 0.1298534997704135, 0.042635149150170304, 0.9994510501742617, 0.8780828221332965, 0.07900541119947513, 0.23787898040801836, 0.7444854316679634, 0.602428755735753, 0.6851752063625743, 0.3085950236382101, 0.5887434165185164, 0.5266029056423681, 0.4139542058084372, 0.20724327106017448, 0.3817708484258113, 0.8954430887145242, 0.06984804909460962, 0.35380935023009763, 0.2691695688233855, 0.7625927049396838, 0.7136849129944668, 0.4683650399010443, 0.31967112400070086, 0.43330208593596775, 0.3640846871804764, 0.9525064737843258, 0.5322585324136816, 0.9534357318010117, 0.6531543699359696, 0.9805638849415415, 0.6635948285460564, 0.0870515039900368, 0.48150310411852404, 0.5321581938406069, 0.43913241596401287, 0.9808991741278246, 0.3986904391336823, 0.9079479591592143, 0.07644121110820135], [0.4428567027828717, 0.7740969394845598, 0.04319618406852832, 0.8819081008821954, 0.42073692956555964, 0.5007537440050366, 0.328631739223059, 0.2546241111014359, 0.16192601858329603, 0.25482492429481574, 0.3936133582069675, 0.36458331550336, 0.9053958251836952, 0.9501048771650369, 0.7214709720732838, 0.8906379137515107, 0.6369268451658008, 0.7246365156540054, 0.22494970064919806, 0.717651699438425, 0.3756904730256009, 0.828587113441086, 0.4279868417029875, 0.11038917734974996, 0.9972249891346358, 0.03368301446789679, 0.3682504088133972, 0.31647749153920435, 0.718608242984337, 0.024112090582382284, 0.27009017472454677, 0.43176776256576277, 0.09276625047216247, 0.05988917034910102, 0.15540431554611656, 0.5647604362403398, 0.19715440645937699, 0.3789819213100236, 0.4056862064386054, 0.24715329519020213], [0.4527154403367496, 0.3651389804209568, 0.5607530493793982, 0.554340443258823, 0.7172137005003486, 0.9850024296060819, 0.33312245759615955, 0.27821728471212137, 0.11155170812014292, 0.7451018910059583, 0.6629820132862455, 0.1459252806936625, 0.8407749362603466, 0.45551100876444506, 0.38109074460284964, 0.5164225404670663, 0.5424201100892742, 0.1368468760759931, 0.09863877857160008, 0.22175613956377294, 0.9745012886725058, 0.8916701482890335, 0.8821016362323871, 0.3083788151416924, 0.8024465448701531, 0.07030029057288978, 0.3068742783704477, 0.24717600565983044, 0.33599025939454175, 0.9246604930154034, 0.9011759381978862, 0.2529597049707154, 0.8696296247404111, 0.455503642772774, 0.5080998848519652, 0.44832785536694886, 0.16127035496386422, 0.6330914473665068, 0.778388537753675, 0.06589970808498402], [0.812762306918621, 0.7223491658228666, 0.5682850230979652, 0.7747584413091316, 0.47284023514066387, 0.3645320366948047, 0.3282780347884945, 0.1829743125906842, 0.8415911553322436, 0.09275671681114128, 0.6602020643536536, 0.05554807848566179, 0.21305328327066142, 0.1377881539533008, 0.805621501696826, 0.5139016140001019, 0.14179295255459634, 0.9048977630459515, 0.14598817995905944, 0.10583083082485656, 0.6161589807822411, 0.7714108121904788, 0.7778313412342784, 0.057925915083303914, 0.3077995677432387, 0.36070291124593135, 0.9744846308865732, 0.5242613674381889, 0.9876900725909675, 0.9362356412051699, 0.28844044213790254, 0.6641906900149369, 0.8017977640053372, 0.08311929608697777, 0.4455463571283733, 0.9238944255006494, 0.082291669991153, 0.1736780345307264, 0.15409875533280826, 0.2543396570321348], [0.704456900223904, 0.8851957990331072, 0.518698968202288, 0.051111554136491155, 0.46247721142637566, 0.09980941182687819, 0.1943310971083011, 0.5212278201665913, 0.2792265648430513, 0.5876561525275132, 0.5326340586337494, 0.18290388852472605, 0.17750722230579663, 0.5552381324090908, 0.9376381973511447, 0.5085662472941733, 0.7724846772912071, 0.03825562839595953, 0.0461069218230743, 0.49651372787226966, 0.8350660303955126, 0.7606167116630606, 0.44356329826270247, 0.5481385653167135, 0.5006405586533574, 0.3278396411243928, 0.4986431902682743, 0.6756435389873457, 0.522264399841206, 0.7245196035877904, 0.3654642452965594, 0.22888341356645425, 0.4586138235157109, 0.276699406118493, 0.35178800866291016, 0.38745019373182377, 0.05667878537934967, 0.8655714765185204, 0.4894319935438127, 0.15382772401170353], [0.898086871754162, 0.362282433758625, 0.12332957980555914, 0.6289171368228548, 0.6231123196707952, 0.017016010660653502, 0.6273766045339223, 0.9846845502458803, 0.6659240213827896, 0.034895166618286066, 0.09269824416462003, 0.016591215810755955, 0.1266758186552206, 0.2968558801529636, 0.8656440147313851, 0.010348947621789395, 0.8890587473295494, 0.6966310323309339, 0.6978157347923427, 0.04453371933023864, 0.4354247519118124, 0.38283233346735024, 0.34744540163864646, 0.8895459644228261, 0.9329303596650262, 0.44973033099791915, 0.27762203272145736, 0.5648447349430736, 0.3546553519086677, 0.1556277248314385, 0.2940764939877004, 0.3551051392991206, 0.5016808132209193, 0.36668789365768784, 0.0464872547866686, 0.6075960646122247, 0.9570546262975064, 0.24792399572730917, 0.9800793386624602, 0.8869208474492485], [0.07073848191624277, 0.15075196675304425, 0.8068540810870977, 0.9719907603602065, 0.2560998501680254, 0.7706158474911176, 0.6036335229961499, 0.31667982201820966, 0.8024238048249457, 0.5566149989458918, 0.8904103383588189, 0.27567104159001166, 0.2101074187973756, 0.12267286924710974, 0.8069188996338025, 0.5419059370814713, 0.6642006782329984, 0.6697657215604117, 0.3181006070004798, 0.8418471805026915, 0.4997607937886659, 0.2556717932425927, 0.6643911952882033, 0.33535113422356044, 0.20555015019493106, 0.9255137629732839, 0.20703104356990487, 0.7349007433324666, 0.5787345967612136, 0.5205223223065745, 0.34500404261810436, 0.6335763927251006, 0.9474468354572864, 0.7179575853964196, 0.2885253575899184, 0.9336900279036989, 0.24434000235129805, 0.9099959861179732, 0.5630590359805082, 0.5592659060005903], [0.3799824591388602, 0.4291129197203155, 0.6639706059776933, 0.13662070256851344, 0.902018349564977, 0.9226029351314309, 0.7584136846731687, 0.6477977090214923, 0.7227828296968941, 0.9562300272004937, 0.6001729881924865, 0.44247225667503765, 0.7617240685506587, 0.425863488703795, 0.3752030120365024, 0.010937002951755925, 0.8028219807598993, 0.513203916061168, 0.6862750888553341, 0.44544745444694567, 0.9963684094007372, 0.2014082734127507, 0.9749912120311305, 0.5535976121925623, 0.08952736649519688, 0.1600329614123972, 0.2689841586774082, 0.04773215928772212, 0.5694282319305862, 0.8459799223697663, 0.498982096015296, 0.4901008300819264, 0.40258580050290516, 0.1864242267599825, 0.5969301970231615, 0.6232836029966629, 0.5638976887056755, 0.3658724932704486, 0.6321261017858146, 0.655341801238754], [0.7627845125404704, 0.16174019918624827, 0.2676012020510773, 0.5279457681956321, 0.7549396715191978, 0.06781537411180849, 0.5718388025958564, 0.14960397917075885, 0.9594095046505506, 0.04907649729581143, 0.8251972382965918, 0.6251759918402042, 0.24072078594774404, 0.6134833805433879, 0.8633963858680415, 0.8233964359492462, 0.4650499247967036, 0.5581241249399843, 0.3928997572541675, 0.4853642085182337, 0.17041771111676418, 0.7700096572377916, 0.14456245454632966, 0.058268896071947296, 0.008914804246149655, 0.9892242436793406, 0.5312666074444914, 0.8179147410350498, 0.0002972092772499657, 0.640898555637924, 0.943779629382228, 0.20886330093171157, 0.7960164383309857, 0.4321354073094925, 0.843125538095342, 0.6862124382788999, 0.664514592122937, 0.07921168836849579, 0.23877529146727583, 0.6831560763517076], [0.10294458663241068, 0.34915963722960985, 0.6500406922575035, 0.9926623331249472, 0.7401615715276249, 0.5607061935733381, 0.9817655807966149, 0.48109778691983074, 0.4131340899240127, 0.5748303829751821, 0.021790520820264114, 0.6947455069716936, 0.21395697690699134, 0.7427019232176143, 0.0372711310257956, 0.5541849561761505, 0.013080239761535939, 0.8141967507002528, 0.0016558643991879674, 0.19543986522163703, 0.287091824847474, 0.5193633630736615, 0.6354893919808746, 0.9220633077555119, 0.23576637454089788, 0.5977821799089824, 0.8488554996948792, 0.2752969331347549, 0.4715306128494109, 0.5835827809230765, 0.8487466994216012, 0.2743276162117124, 0.29968054916980735, 0.6945360099477116, 0.16882261230639228, 0.4380528807427069, 0.3103235578960779, 0.04950246682300352, 0.2428426174649213, 0.07693295609842554], [0.8323665710533417, 0.030267119528524233, 0.20403868427902105, 0.3706916630031948, 0.9341529973111321, 0.08696455662071467, 0.5330905294265774, 0.11071303651428532, 0.5007547580765618, 0.6319040771701337, 0.08473622194156838, 0.09950288139828745, 0.7376877069625386, 0.2970657941271011, 0.4852509326384511, 0.6848245487588422, 0.33857605334183116, 0.14052868778573047, 0.5427089052744156, 0.8511075779117464, 0.523089953653095, 0.42110345551244366, 0.3148021204024134, 0.5631125939272442, 0.27596332570090654, 0.7697289302725636, 0.5959055976011175, 0.537888898396601, 0.4784405842063788, 0.5109125209261537, 0.9805525069013622, 0.5694832681400323, 0.027393968431952076, 0.07731911712472772, 0.0536202696491479, 0.8033968085924381, 0.6727098101763138, 0.5787098501404687, 0.6903574296335616, 0.788285947060284], [0.7789823202543318, 0.9337472837397733, 0.39203918199677135, 0.38410531747375143, 0.7911178769959133, 0.17697983856722788, 0.3193030028459558, 0.6438870965332472, 0.7653517958833503, 0.11034399935355732, 0.6681815215332754, 0.12878053175629667, 0.5576889189037992, 0.9909151610899432, 0.8902267571481761, 0.9379307004627212, 0.6100725298455365, 0.49795763738813137, 0.7532267162755735, 0.6040945640584581, 0.7213024766491897, 0.37399117622146905, 0.9368795243098074, 0.35702143360245053, 0.4260776298360005, 0.01106945368825396, 0.961767968557568, 0.12984914886410248, 0.35320192759155533, 0.08074337482550664, 0.5772930817551868, 0.8624644863100733, 0.24187404283255487, 0.3447021876280565, 0.7656421475736108, 0.24327357761901336, 0.7659168651707687, 0.02582868540519556, 0.6045961742725618, 0.3043125221961249], [0.471316028579023, 0.9884880162314554, 0.9041714590238618, 0.7675545335849712, 0.4296789782866268, 0.3436390365103541, 0.03879363230324662, 0.9438092716296573, 0.07876151042501878, 0.38642104253241427, 0.6694224498574612, 0.18286152885037277, 0.9816674222431858, 0.743727577985447, 0.21287068143183252, 0.008669272439345121, 0.6653788553668887, 0.09180155232522635, 0.9502185639966334, 0.26634903362463824, 0.5118620890477107, 0.002902732488722859, 0.43690397384728463, 0.8340053903550922, 0.3887429984611569, 0.7183656315219423, 0.20150515709550076, 0.909085862308593, 0.5443694690584463, 0.8412607926240531, 0.33677180766798787, 0.9543387426470175, 0.9340797912743674, 0.5108335367488216, 0.7155782382501017, 0.8426833387972662, 0.3631187550096251, 0.33154161670252214, 0.8738433676078716, 0.5716413069016604], [0.07880085853584051, 0.811433024988757, 0.5962203390809151, 0.2758494231090458, 0.22970508343668983, 0.10597543750207894, 0.4768601001752877, 0.5688123034509933, 0.5899578106487994, 0.14633610521426643, 0.2554670886403364, 0.7903840251369308, 0.14234483887405414, 0.7109907913153878, 0.8998146082703748, 0.5021894814461506, 0.5447404263704758, 0.7535248014229952, 0.4973719283900113, 0.19820278050249962, 0.4093591208777565, 0.5770559675142553, 0.12542139345189207, 0.15986586771398437, 0.33949103513738765, 0.9319829612194332, 0.41206083237062796, 0.9973883867917578, 0.9883611173915734, 0.790718010120937, 0.2625720411703888, 0.02354590950359836, 0.559506430364891, 0.8151882878519414, 0.24635488059043276, 0.8944315523876605, 0.6047891993495771, 0.6581339207110963, 0.25072101398168967, 0.943615975512352], [0.16719322894310062, 0.847501385844308, 0.157546430827322, 0.6525884428930617, 0.06802069997503124, 0.8528127656896984, 0.2788911052916879, 0.20746857628699034, 0.6850248529202584, 0.14545153442558822, 0.8898678776273622, 0.9824012439891887, 0.6449250404283502, 0.9066508373654687, 0.2274278968909702, 0.30986813814020464, 0.5915744390730722, 0.5614134180762353, 0.0638335916760796, 0.6924986793891867, 0.09197310158018157, 0.5883178987052563, 0.6171893949325614, 0.11817656649430863, 0.03370778017085552, 0.5911483830184704, 0.9055763029988504, 0.6246112525081156, 0.11522517824141909, 0.8140705752929128, 0.05012879539561266, 0.27233539067749646, 0.6544005722018764, 0.9790713057801116, 0.15310302992072056, 0.45820118276087485, 0.8343584616982185, 0.7739143351290958, 0.3255120155417599, 0.6385359295382186], [0.56477301308494, 0.31555315792536387, 0.5504412334066751, 0.06823676426935221, 0.932220604962686, 0.6361401730941487, 0.4240865047992889, 0.9456767042196388, 0.1997090233845472, 0.03372892955197293, 0.2987064867381857, 0.3961303953581089, 0.5345062559926338, 0.24000511667467506, 0.4288267437192379, 0.1995775982889586, 0.9875888931662052, 0.4966872800265748, 0.08977446506377751, 0.8181517286173426, 0.6040314844503067, 0.036457119201727006, 0.7135094601679203, 0.5069255398243558, 0.04668527967192726, 0.9200541710999917, 0.753260689005333, 0.4101534674190217, 0.2672727636990614, 0.4718960619186017, 0.49072264874503413, 0.6876338250940602, 0.6628496593552341, 0.011850377867909545, 0.3730537450902438, 0.968833394750598, 0.010089567678673639, 0.6241745537489809, 0.2722499886226999, 0.8410418445907003], [0.309333797322051, 0.15286568084574292, 0.751658199519775, 0.20318777453967374, 0.7665484807325488, 0.5178526842334534, 0.905953253588598, 0.21722785756762109, 0.33869925758593245, 0.16631333287226158, 0.8748064596806273, 0.7376329263771274, 0.30579915502331745, 0.47485384160700406, 0.20955611846117517, 0.890684640270709, 0.6294641266457797, 0.2874266589289648, 0.9582631611647808, 0.7842454375087925, 0.005943076848931916, 0.6589115990345344, 0.4786654655173769, 0.6299502602155869, 0.8718746099347955, 0.6529410200913339, 0.1674744637714165, 0.17224181171658703, 0.45185877605903235, 0.29614195778542274, 0.8431241186227195, 0.4497341489905967, 0.9429318254900839, 0.36739852558568253, 0.9432503303273098, 0.45158037618114266, 0.38069509875327423, 0.4432456751822892, 0.6531753541292484, 0.25818535523412944], [0.11638093181056575, 0.8999744556528811, 0.4202291957119406, 0.5552129301856581, 0.9198197737420941, 0.2806302253981402, 0.38793000350328855, 0.8290349206594864, 0.2691744225486129, 0.106518463893849, 0.89766322805086, 0.412588035859913, 0.8340559516244067, 0.12438095302826002, 0.9169674291674732, 0.7510010960512259, 0.15418382377579476, 0.7465786328099228, 0.6456954714529791, 0.558419671954236, 0.21077594103927533, 0.7029062329738186, 0.21103098587389013, 0.011557298175641884, 0.26494964544677857, 0.720594916189021, 0.13878464453338502, 0.5336049384190266, 0.2525675516948397, 0.6530751602451345, 0.7048534826144928, 0.6471619219202784, 0.5797547636147298, 0.8704719091862013, 0.24335309598524846, 0.2451038912551211, 0.2964620514363787, 0.8849244960392766, 0.3017606511826272, 0.8029907113191791], [0.9947987376446243, 0.37751980944941166, 0.7839384957786899, 0.6827328268634208, 0.3134544102043185, 0.06466551621982186, 0.7304139211019084, 0.7113177228650772, 0.09152591112449926, 0.6841114193602037, 0.07856298533392192, 0.760153756143896, 0.27524151658899243, 0.37767879790021475, 0.8419063901470719, 0.11261551325314179, 0.2133079173060789, 0.587597378619917, 0.9479452662153942, 0.40191061634010883, 0.18909996718347777, 0.906739286997658, 0.49604985915261335, 0.6732912050417671, 0.5579313256451405, 0.010911315492148188, 0.8465055211494473, 0.542593260392574, 0.556450476683373, 0.9854010391347514, 0.5889986102472585, 0.09726052123265716, 0.2711737719139431, 0.9582102575547544, 0.08271044576821718, 0.48628054031239076, 0.6945285297669778, 0.5463925213037752, 0.3703904099053078, 0.664101603051181], [0.29010754751686385, 0.8027021367960877, 0.038883972146420254, 0.8618917861682355, 0.48175674186509576, 0.9112753337196801, 0.41334967238777287, 0.5599863920078669, 0.8293696793176534, 0.18291947025884703, 0.8304631306346058, 0.5036848878582375, 0.6197817030966754, 0.263712479782358, 0.15898794821027684, 0.37664205004701323, 0.2403078618624348, 0.773518462262316, 0.027545394948941482, 0.22241096458119358, 0.05611275708551022, 0.10273632431625324, 0.9774907443176027, 0.20670168701962133, 0.12814722697740244, 0.18275424623759517, 0.8124585944381127, 0.8048066809292118, 0.007009212511789653, 0.40272147000152325, 0.19578392668077638, 0.759082831306003, 0.6276141192929524, 0.1044431713169719, 0.7545548745318413, 0.8796912434260803, 0.6935746015419721, 0.2887361426092485, 0.09358616890052696, 0.10763425443571517], [0.6840080223824859, 0.9246791017865741, 0.41882092418451267, 0.24427422478142358, 0.590633130430664, 0.4182214722676054, 0.8461316777622254, 0.3073913246801041, 0.023131975161298723, 0.6909509140423208, 0.7475258641124181, 0.11575350467483658, 0.3377038941470222, 0.5374690016895896, 0.741996954261171, 0.2279053636785362, 0.8628640722110315, 0.4859404990888986, 0.0538797980559762, 0.27221744067010045, 0.6713635354075653, 0.648778645837501, 0.8443339925675096, 0.12807256179883642, 0.2362913834604412, 0.41549267576259585, 0.7080280350869839, 0.7847851376771691, 0.6312329952812126, 0.1860337197002332, 0.593336022475037, 0.27609223211721345, 0.7572986376219942, 0.7006041629581932, 0.43800007984914946, 0.36858517450950046, 0.8100861572694547, 0.22691136400038026, 0.7139292491776245, 0.12583913408557246], [0.5435782160705133, 0.6651070084452423, 0.674296195050896, 0.1699274491902074, 0.09363621864483873, 0.9525630136010766, 0.7144583682397998, 0.7119419465408064, 0.8803715125424625, 0.94920178060598, 0.027211716690207943, 0.9384580050690037, 0.1596464222417594, 0.6590773366157616, 0.032581730834572054, 0.3758635565538273, 0.4279248401456821, 0.7873511895680749, 0.41255083634634493, 0.923405565461025, 0.6267501013505629, 0.2693188564888137, 0.9944006022348744, 0.3031905175467965, 0.9878902591037929, 0.9495140286545042, 0.43021619137960343, 0.86784319939201, 0.4681416144217797, 0.5572232945596475, 0.6658506624656504, 0.12761520474056154, 0.28908302511970596, 0.9558229158157677, 0.7898531724514024, 0.9538711119691223, 0.10231844988743954, 0.012717344993310897, 0.03206922800686696, 0.1792878306660013], [0.16792963961212937, 0.7639078350903677, 0.8700397989092892, 0.8113735959471841, 0.9200194391769506, 0.7338193270479004, 0.4580741470279459, 0.8226535121281003, 0.8067222764504312, 0.6375868031756078, 0.7957453978340264, 0.553650511526864, 0.6739975181801647, 0.8639452623810935, 0.986543945684671, 0.20122898822505353, 0.7556143688913779, 0.2816729760293486, 0.8343674971361319, 0.1805616436607813, 0.43842201199166453, 0.7612855575634678, 0.26093583316712454, 0.4734936746166627, 0.5453823823838573, 0.7766437712787306, 0.28569030994687783, 0.8902302525625133, 0.6346683384570895, 0.23189212288030725, 0.677462232147979, 0.5993123122691657, 0.13931938666401433, 0.21027995278150047, 0.23372064375654045, 0.14904657257706733, 0.29968730145198663, 0.38726387051853295, 0.5875925172321653, 0.5815320402749569], [0.29954801032519573, 0.36877334414265117, 0.830562692020493, 0.529464007505296, 0.9021218759298741, 0.4444958537060476, 0.3508165965531568, 0.8445962624616489, 0.745386976069418, 0.7147990006978449, 0.4086678584385415, 0.20061106835772835, 0.5669332239664587, 0.1668957950343226, 0.9163190191857554, 0.2808248882676585, 0.6877894408034828, 0.5100148351369542, 0.3415238229229428, 0.4700670980541267, 0.7768282998816709, 0.08309911288283622, 0.41815556699461265, 0.9754494393889072, 0.8018202590819976, 0.3973599145630099, 0.2953763509462073, 0.903796953108554, 0.8939153900561937, 0.916133019254577, 0.586399372033927, 0.8784038587948075, 0.07255883529372698, 0.0747375281971937, 0.2861398898741916, 0.21393470708698148, 0.9349242071584837, 0.9210250259632038, 0.018725873291935535, 0.9511353804989896], [0.8953166911912535, 0.9483828653151093, 0.24657876872210083, 0.8458253049599157, 0.3219515453769952, 0.6154108447905102, 0.5286978967495845, 0.945840241810976, 0.3472400406276498, 0.17508492481556004, 0.44104487886886223, 0.1622723476275928, 0.995397787666822, 0.7647253446388574, 0.2818770887845923, 0.5750948369656338, 0.529584110481206, 0.59328554234041, 0.9491490737995181, 0.2993853383793801, 0.8237376140892244, 0.6666258628371888, 0.5824193839991827, 0.6721911206371148, 0.310330047739537, 0.44556140414337375, 0.56448962555816, 0.26682152565543493, 0.49157564299488377, 0.9969974439019924, 0.1983975253123974, 0.5805545344607684, 0.05788102001223394, 0.680827428486303, 0.4152771055783526, 0.6677654231169946, 0.052272175433518364, 0.658582164210725, 0.7934911477368203, 0.2963128386305919], [0.2307614446647871, 0.16461622006551324, 0.875241716018483, 0.9192621480354913, 0.44205425377169383, 0.19662851193392383, 0.07750859334575977, 0.8628593513552557, 0.2287415927397234, 0.6252228730724826, 0.6554949620226828, 0.8047214003574278, 0.2765050742763584, 0.3770017730731028, 0.8123332259644706, 0.27061969804342434, 0.45700147091342636, 0.5803607976693109, 0.21614514772813298, 0.05967505435154308, 0.12047188128263486, 0.5617913827281413, 0.771369256949991, 0.954950428652477, 0.6194093107180039, 0.5846271202213753, 0.13465778890928148, 0.2802748576448355, 0.5044687553833174, 0.2761708094972388, 0.6161190627869806, 0.1796620165465025, 0.1776170304618725, 0.38034301399113457, 0.9476279027698198, 0.8883978519939408, 0.5809178758676368, 0.42765434226257804, 0.017578285966486806, 0.19715728283493061], [0.07204976196888724, 0.5250651754548347, 0.0332473170717178, 0.7874945898299603, 0.5550139234030446, 0.49861564367987987, 0.3469298131806767, 0.3214794780332515, 0.7423312105598974, 0.8592446512495201, 0.5085671088252588, 0.8522287679986624, 0.2309272092668534, 0.18903124727331966, 0.812984019940139, 0.1878278167313353, 0.7470536447561795, 0.8735533386258447, 0.7074438835689082, 0.13319896182845614, 0.27390676651738, 0.11029227407892239, 0.8961797012173804, 0.5341297994324944, 0.007886891637712612, 0.582236527359727, 0.7886155079065753, 0.4372514179416863, 0.6144665333244853, 0.678072332325488, 0.9013452672067328, 0.8387457672102363, 0.05997655845859973, 0.6679778133979024, 0.21886500163468647, 0.6488934413585218, 0.5574593031943001, 0.247221316494727, 0.20833556643273077, 0.23101314047019395]]
bestbot_wieght_layer_two = [[0.30199007532965794, 0.649863105352778, 0.07878158775346522, 0.06856096919859667, 0.76046627826131, 0.07606874616309922, 0.48067353545347624, 0.906419553291269, 0.6130598594271559, 0.7530499643730484, 0.9478302902575031, 0.742621561376834, 0.12466256748538873, 0.16085360090320344, 0.7723968892846171, 0.481059750830778, 0.14972987640754976, 0.8502267272553916, 0.5199717706135193, 0.5397813469926318, 0.7224665033348465, 0.6861790993283774, 0.8294890346688684, 0.03172395424362573, 0.6474494743442335, 0.5960715786575665, 0.7794929513154084, 0.42179845814354344, 0.8340220511600775, 0.635096375778871, 0.011792203019839631, 0.000404970996905174, 0.45501980906341877, 0.4815650824463289, 0.40657542009530434, 0.7353209880998934, 0.07300481533185332, 0.7468558263386845, 0.16633966137854672, 0.9273107454758274], [0.2618178857268575, 0.8059084234258315, 0.3892084515954918, 0.511425530101818, 0.6135316018336275, 0.24982217100203064, 0.2788063288494209, 0.43000546627953307, 0.011234929906502766, 0.5809835186151234, 0.32580129362398236, 0.8865222933902184, 0.3099329326384538, 0.12846719943449825, 0.1524013705430074, 0.833596970322699, 0.02414604468786785, 0.5032346068132045, 0.7889147356767268, 0.6928956277427352, 0.4620860245781534, 0.5521223508460003, 0.09752133174572442, 0.0032384154012790045, 0.05049091296997188, 0.6643820021817466, 0.26909235842231305, 0.4408982078145355, 0.7909139358729895, 0.5055657611496549, 0.8653460603889427, 0.6799849834394638, 0.28746034379881025, 0.8263364896388539, 0.6613305761772941, 0.08864229732273066, 0.7752914086740953, 0.7769131553279733, 0.008139334692245481, 0.6787269967816101], [0.40549204636687985, 0.09749009484529148, 0.796917574080154, 0.0692577868925911, 0.4607639455089301, 0.8076256422519743, 0.30653879202651424, 0.2913278269126577, 0.8195224252203727, 0.13071693362849757, 0.450900211323079, 0.456545806339301, 0.5193310874942899, 0.16956834058997683, 0.2825963343701784, 0.6721450498857677, 0.3845750877926719, 0.17353498070381113, 0.6446663409766525, 0.2965408777370334, 0.7963391990149843, 0.16315473676558534, 0.2608672296463287, 0.45818188190224063, 0.42917714684840813, 0.021771310429737345, 0.9946149155530009, 0.30748779963032236, 0.5746881614128814, 0.011378595329325503, 0.37639180886785717, 0.20069063013978106, 0.45362862143770666, 0.5701661014929003, 0.39253085338283056, 0.9625584977440659, 0.96315720738013, 0.9711995383324793, 0.8254858670754297, 0.05317353524078405], [0.758513153926303, 0.13854105206337652, 0.754148353980734, 0.8426939218196244, 0.11797879318419091, 0.14894744905122792, 0.3413929920066687, 0.3833902085419426, 0.3074167647363677, 0.12897398981153885, 0.06654716200533295, 0.2434709793937161, 0.6169772433522663, 0.6216801878676474, 0.04635059657909579, 0.9241691426785392, 0.3911018499647718, 0.5972343977635788, 0.5684640592190692, 0.6809736370532699, 0.7493632013926423, 0.7107635245899753, 0.19264725243338976, 0.7235997787825806, 0.9926829661049967, 0.24426437050200056, 0.04231147066952712, 0.5470011668632949, 0.16943954754147172, 0.48883412065698517, 0.45512980911402445, 0.39851146770179613, 0.8408568853667081, 0.2489080109515388, 0.6766596308600638, 0.6289016578609256, 0.23288801076985866, 0.11204672737653643, 0.6020279738825397, 0.13380224979508393], [0.6627551001388462, 0.4547118785711002, 0.2321241269566422, 0.3241938323082708, 0.8245621170775675, 0.1240039691337309, 0.45083267257231396, 0.5525099736268062, 0.8229132542591093, 0.8615000993242417, 0.9263441508796036, 0.29402957472463054, 0.9435578570136944, 0.6257185003209204, 0.8602015732404901, 0.8489832996771431, 0.9818416090522923, 0.2409822864456611, 0.2903063412396688, 0.8604701195768565, 0.5178716013807514, 0.11760078250400852, 0.39123661619969485, 0.04982302342347622, 0.6584967064677989, 0.21650287574210325, 0.2351023303537475, 0.0052012439993269766, 0.5929583784960885, 0.9486169225935627, 0.9300804405465859, 0.864337032596597, 0.4762397096102663, 0.6559404194863174, 0.6110239777937657, 0.8392289065326435, 0.1696824372979353, 0.12212104814386848, 0.3414830737010782, 0.4489663924315944], [0.3629593520656984, 0.17457933702016637, 0.05149031836549356, 0.18576687075613285, 0.6686604536472496, 0.8526794247296627, 0.7270124564932968, 0.17456129523764452, 0.6273163733006182, 0.34905624279725256, 0.5824721842854241, 0.7182099695918125, 0.36953623835078053, 0.37194973679533805, 0.8661626866865706, 0.08684765547602669, 0.6410873824747795, 0.42773385507948203, 0.07685724399429672, 0.04274241088572861, 0.15832164476101385, 0.007791874857678072, 0.37450642615765006, 0.15978862657695425, 0.6706323510290298, 0.14934231259209074, 0.6597962011204804, 0.828071299458373, 0.19595988795978525, 0.8942515069066316, 0.5898243676223468, 0.40549518028025944, 0.6806402456027594, 0.15424719059011505, 0.33799227540260557, 0.44815730424060396, 0.8678636572775412, 0.9591369119574622, 0.24401049029339916, 0.8738465819727226], [0.1690472868848456, 0.15982775656362325, 0.889349749676769, 0.1193452637747332, 0.010094463839263268, 0.7117303185165009, 0.6688553177203382, 0.9495513899038759, 0.6985782771165809, 0.341294936748468, 0.07117612450072275, 0.5993553414826165, 0.7237370311103261, 0.64548837853116, 0.7770484483999378, 0.14452353236823912, 0.6881781255295636, 0.64509511826331, 0.9059985517976321, 0.02644992029072124, 0.6878235580597813, 0.8051918199616186, 0.1824185654598801, 0.29228543268980534, 0.9598098860972485, 0.2804224247848738, 0.42891885556852016, 0.9882816442142877, 0.022497795243496044, 0.84583571568372, 0.2649880893907317, 0.07036995549724268, 0.6528533580457601, 0.7782244601533626, 0.7578169324352917, 0.4619772576802913, 0.6039864146789575, 0.5498813980980128, 0.8749956641813113, 0.5522943842175541], [0.3177093275545816, 0.9691897196803771, 0.8696711091197302, 0.08766665694143672, 0.8486678217730139, 0.81970091482655, 0.7203714054613719, 0.03472934257779081, 0.5607158617256353, 0.7765179838652718, 0.21019735186973387, 0.3372156595933161, 0.37867149635258956, 0.6861111728145721, 0.8915652103857217, 0.04264506577341598, 0.09080113452771876, 0.1911262054406635, 0.38187720772999956, 0.3474113095879102, 0.7324654566658749, 0.42966948430863383, 0.7082816839535698, 0.659897870254417, 0.4783141545537971, 0.8644156379291156, 0.5116403695294546, 0.6029999864785116, 0.6553678973496069, 0.39182456217094885, 0.48409638222416485, 0.9659888096081811, 0.7680208091475625, 0.2572600687057246, 0.7572855222841322, 0.19625289842302496, 0.9807709530608029, 0.8091585978943232, 0.26971744998534153, 0.8004207787455574]]
bestbot_bias_layer_two = [0.7236707838124047, 0.5469334677476838, 0.11561437612681269, 0.5821607110044735, 0.45871832125546574, 0.8552296092962862, 0.007646318172703559, 0.2720926735806478, 0.05806296272320988, 0.6629829785768987, 0.8143311942135837, 0.5648823713708742, 0.3992116579674766, 0.8515349919465708, 0.9016721554683195, 0.11641065253486149, 0.45501842872990517, 0.881829583883305, 0.08493463605949203, 0.5790171406725497, 0.10712502740359742, 0.9241950512926693, 0.9334346247203467, 0.38159813438654233, 0.9430263691706117, 0.18113409534523284, 0.021094432956666465, 0.026373663005672454, 0.4801327108765785, 0.5849999008307452, 0.8816674242640268, 0.10171777930599624, 0.850009256861808, 0.366869022748592, 0.35460458589602895, 0.2516281059216402, 0.1320042290107568, 0.40728268154862224, 0.21170983886597594, 0.3660064095362576]
bestbot_wieght_layer_three = [0.06480433624230608, 0.9667029783113225, 0.3916478474327115, 0.27727796299577, 0.5346227874678943, 0.7027078882811499, 0.6300996254734779, 0.8832495456573777, 0.514668152396727, 0.7587983629552989, 0.08605372440328218, 0.579410066184372, 0.0016391077459979586, 0.33214408605564716, 0.7835458423749675, 0.11671668680627967, 0.060741289244867214, 0.9783051760770657, 0.38138874019505964, 0.8916233584096597, 0.2880026943412871, 0.08917480201264472, 0.46464817342507114, 0.34289554474290385, 0.11864272278461341, 0.6353764944671949, 0.10166444017817244, 0.27861090986625714, 0.4028054942221707, 0.20828621916567047, 0.42462866175880887, 0.9939057256125428, 0.29623919762354056, 0.08533685705533767, 0.14564121957995468, 0.7607408335869575, 0.4890451481022672, 0.8374620187614255, 0.3891534352530499, 0.10356785122945955]
bestbot_bias_layer_three = [0.1480601550921955, 0.6215676624975024, 0.23126579264775105, 0.8622107364366359, 0.7764421152072524, 0.2275928381685819, 0.4847569567867478, 0.35511664364325524]
bestbot_fitness = 78.68742684241911
| bestbot_wieght_layer_one = [[0.5083356940068343, 0.6413884327387512, 0.12597500318803512, 0.409734240278669, 0.5238183286955302, 0.24756818387086588, 0.07996951671732211, 0.8661360538895999, 0.021330280161349524, 0.48867128687465466, 0.7091463179823605, 0.5510191844939321, 0.1511562255369685, 0.9902045558754771, 0.5598235194641445, 0.2987502784350923, 0.9133580328077606, 0.4319790167215327, 0.882638956669701, 0.13396400586064428, 0.5643936240773798, 0.45469444818099747, 0.013877091194470448, 0.30127467531838115, 0.6204798693485853, 0.9386592224383452, 0.4552674682341863, 0.8203134724421871, 0.0504241302759324, 0.3832716960261172, 0.13184975835300283, 0.7861721990440431, 0.7526183690226589, 0.029002338307896225, 0.6560216350691683, 0.49514280423939194, 0.6217197103438309, 0.004327317921587359, 0.2521185323453553, 0.5907112823388861, 0.5497697510443235, 0.4613798337357624, 0.21456228189162663, 0.2058328696752405, 0.8863315411442563, 0.3762121412385343, 0.1013654256158173, 0.8491711500788556, 0.5870530550189083, 0.7964419636832196, 0.40173700830758763, 0.351487524580257, 0.36777868950638914, 0.9849354865126682, 0.04781850787993458, 0.4616792821527781, 0.46740282149223256, 0.25756439233302864, 0.8131119081403727, 0.5218949597774837, 0.13094125319802608, 0.8539380075167886, 0.8544594558969093, 0.1518290350001379, 0.640633900557939, 0.7068761411643191, 0.9739796168337547, 0.4622412786905581, 0.7256496658788288, 0.67627411251782, 0.5045871202599759, 0.4474291422984228, 0.004440617927931267, 0.11736018137648419, 0.10853358842653726, 0.9060757587000742, 0.9999276197491352, 0.7179598402634598, 0.7929235330635965, 0.8750969279668221, 0.08245325011131854, 0.4581163235514889, 0.6940880112439268, 0.027251461294989565, 0.7989178095681376, 0.52614741391192, 0.16961900204276792, 0.8079041114221676, 0.09686607906592415], [0.44732060686240427, 0.5965458737068393, 0.49079692122973395, 0.6734995764904032, 0.011269344688713767, 0.7743814639448289, 0.21285898252564772, 0.7239251236968279, 0.5193778769353926, 0.02097501315742656, 0.7360527461419282, 0.342980190097963, 0.8952019602043025, 0.9538053276143122, 0.449148374416259, 0.04924934963011929, 0.6040520111142427, 0.9379069278863937, 0.7034729455964114, 0.5295926311054755, 0.333028709636071, 0.4797660644809155, 0.9946543507329271, 0.7219456161941203, 0.009073670127202949, 0.16317582954639953, 0.2348125693340265, 0.16035214133902664, 0.4453506900798563, 0.1337409415389904, 0.31749215340711867, 0.5303403511582013, 0.6286113604723674, 0.21698217659846475, 0.965557926212913, 0.9531015008543482, 0.26777967202351327, 0.7448616363072315, 0.7469316179704107, 0.17652175164361372, 0.9842598238468006, 0.6448334244973555, 0.465212276135632, 0.4579262384921249, 0.2304670593021676, 0.2583964383327617, 0.9175312502155607, 0.6366347711155572, 0.9172830689671416, 0.41446334300675625, 0.5527499956017332, 0.12790797334976522, 0.5683021014837767, 0.8932188487952264, 0.07000465153632307, 0.04433442104191443, 0.6257670380265532, 0.029623107954036665, 0.3375955946864595, 0.4111744908740558, 0.014873841964081591, 0.46029107434913497, 0.9062490722494158, 0.47797584189807485, 0.4459623180311395, 0.6705693719833891, 0.035889609633035446, 0.598888046228321, 0.09957663411102102, 0.1833471680058394, 0.9338478764511818, 0.0018323283567314164, 0.4226807646821895, 0.6207281651922394, 0.4453112092781921, 0.9670298945216684, 0.5112983368364218, 0.18275653679362747, 0.08633305238863986, 0.924077053371721, 0.25097402357147014, 0.6771503445013011, 0.6241074536800665, 0.03395333079263585, 0.22288115103463368, 0.3424511922372696, 0.44661767651765993, 0.7361811838899964, 0.8249165559305982], [0.02018048717651222, 0.7581818414998046, 0.16758461478611442, 0.7486157774767164, 0.29456782374703183, 0.6412877574017902, 0.8511183002299005, 0.3700032872643265, 0.9594038328678093, 0.04629838704844247, 0.6749723386112758, 0.6498901087215712, 0.4201797853376934, 0.34376810403053704, 0.7609770811264756, 0.9898496155208767, 0.12475482629134282, 0.681193566143118, 0.779361773422472, 0.4466306809515591, 0.13945509362194486, 0.16325939143154333, 0.006279431856545559, 0.18077558354404255, 0.043684117916898746, 0.09394637717907595, 0.3591363926546901, 0.9594923450699729, 0.9383644767347549, 0.6091042717229864, 0.7553225222057758, 0.2858946231139712, 0.8248065334361011, 0.8690829081693856, 0.03915174835811519, 0.7160297371106641, 0.36126269500361663, 0.46096171879557135, 0.7559482030585145, 0.08215375659909063, 0.41996586115079326, 0.04954589959185407, 0.5008440112510776, 0.6153363516455316, 0.5781016922474963, 0.45342709076675625, 0.7428673891877775, 0.9312020387671791, 0.14668336861356712, 0.1694250299555362, 0.7207157844237642, 0.5521856155366568, 0.07075483793889314, 0.9910432031980071, 0.7040715348637976, 0.5220291151478094, 0.6929448856705775, 0.44414099581903876, 0.2242373351424114, 0.7821128482900072, 0.6950348439604672, 0.10789052812607225, 0.3573202171278591, 0.8560470926419935, 0.26240541515931504, 0.3245155985021979, 0.32268179913450745, 0.4795316305356606, 0.6149531739869545, 0.3811116828085209, 0.31578804905213564, 0.37830356500453877, 0.6819283485620643, 0.42698727471751174, 0.34367358618613764, 0.5303212664640963, 0.3646672700868582, 0.1375414766440729, 0.18326170750642268, 0.3540176108462342, 0.27220542567376216, 0.9743846783430218, 0.316176357620815, 0.41767781631096124, 0.7565891510521163, 0.5537559164163394, 0.5486275576679056, 0.19817553634203922, 0.7105006440260081], [0.5604291114935926, 0.9714702726660814, 0.4783542784922493, 0.12186031130295194, 0.6763584337208685, 0.26925611953740014, 0.30938282665722006, 0.4772046940217263, 0.20917939939628905, 0.947053820436586, 0.6213563819168169, 0.7442803834667624, 0.9092261498830413, 0.3645496800149608, 0.099152422844758, 0.2899809700795474, 0.1734450934526327, 0.3663702672209701, 0.8364051081459092, 0.5790296381553229, 0.8142411469657191, 0.4197085736874142, 0.5495026293879369, 0.00899381215719719, 0.7777307095515558, 0.19301578448020862, 0.9453196017574236, 0.39049740078934003, 0.4654767923104478, 0.019448366340949375, 0.6736295241274275, 0.6390073140952494, 0.8272355453699698, 0.6462747207028589, 0.92018881484142, 0.733073867004477, 0.2552100467357008, 0.7636681660230787, 0.4151215385724719, 0.5343787418811972, 0.19812266603318818, 0.44471443079441697, 0.01473312077745903, 0.534304712437915, 0.7601571764901264, 0.2051267865837324, 0.4823357652299445, 0.292212323571831, 0.6797251932656161, 0.11035587392085722, 0.07485185318858767, 0.7422971944240869, 0.9756044837529667, 0.2085643036567203, 0.8030520152008666, 0.6808938381588522, 0.5534725929257401, 0.9393871136078871, 0.30264289436005365, 0.954528691287696, 0.5685704547523369, 0.24456220410066554, 0.19056549230139685, 0.965243082838079, 0.2133492481773912, 0.7468069376698039, 0.3835535400184409, 0.1416306963306171, 0.9546089268542084, 0.9531622239555476, 0.2398728955160424, 0.28866002862887197, 0.9767865334413385, 0.6340254354729454, 0.7218959082091733, 0.48895975785022283, 0.12905543358395677, 0.3759789376760465, 0.39400929375898386, 0.9177015562703543, 0.15373417527131117, 0.25901357540664993, 0.9957034681770154, 0.48225292732002567, 0.13002819994059145, 0.09535273405929268, 0.00940031625561033, 0.6626831302395553, 0.8633050751016679], [0.3923217130381551, 0.927631325432574, 0.16534526517274328, 0.346184935958203, 0.6349002165933239, 0.34025760208838796, 0.49814759173950696, 0.4166214121575721, 0.3932153386012387, 0.38262945421127115, 0.7417609752768413, 0.6612630965413642, 0.9734486384182732, 0.1883243003633983, 0.3771597423260351, 0.2795413322252783, 0.5529629221431348, 0.5798809905604083, 0.6143461952584212, 0.09241495701398483, 0.1923554703412439, 0.20843619060912855, 0.4034773303445617, 0.8209875421506904, 0.5440545358072746, 0.1454528865875302, 0.15435000024924295, 0.7427197868544537, 0.6890800511216496, 0.17319020957535336, 0.5033738328564605, 0.4320320588088812, 0.28901183685765397, 0.7826154315673387, 0.5891230333389987, 0.09153152511481377, 0.21779875657267267, 0.07834026125303806, 0.5661249880412732, 0.11411386267928891, 0.07027582313149527, 0.6803188867449569, 0.715096816277777, 0.5790460004712493, 0.36154779310024443, 0.09593393499590075, 0.6665031581535927, 0.2971855419056406, 0.7882750981113863, 0.4951412673681359, 0.8858502278523562, 0.9214860235311498, 0.8836924892595962, 0.43031868937072826, 0.9577787292061967, 0.08153700721769985, 0.7306300225948283, 0.340820387563048, 0.8928369014841465, 0.5171150292093225, 0.662441940335801, 0.7909134289029212, 0.6959364325249491, 0.922618390039394, 0.6563929459693805, 0.6874097274368116, 0.23477832521463293, 0.059873425167410566, 0.5112630823146588, 0.7716719473111209, 0.6727402940928368, 0.9317161785917387, 0.6309376596731346, 0.9670332633035303, 0.38170124739072053, 0.014815308871163224, 0.9859908064684962, 0.10606247061714869, 0.7958463638460447, 0.15034380447400786, 0.717060467016927, 0.9927663907022335, 0.8452912167568905, 0.7888484710445776, 0.6357609149400777, 0.15389456412316482, 0.995316271075813, 0.27972915468060433, 0.12158849543526973], [0.5481533069373333, 0.23631378876285947, 0.3492203901350259, 0.2644264178993718, 0.45150902134430193, 0.3073042158386923, 0.7412790568837891, 0.38464543089409964, 0.2318684443034824, 0.9471640690596532, 0.9245116105986637, 0.9226443727476606, 0.564512045879707, 0.949935038791364, 0.727958554360541, 0.3195395662452377, 0.6891297063219118, 0.45083719211605044, 0.9616543617925624, 0.5331387301996496, 0.847960980115698, 0.13631221203682664, 0.09517919403562969, 0.5085866426540181, 0.9196713241255481, 0.8180614474780438, 0.9384916970585654, 0.8901537478146938, 0.05294492779640558, 0.7535318874587119, 0.5229679798775425, 0.4044413937375968, 0.29509075336011126, 0.8458947120588866, 0.18633867487515887, 0.35611573038047106, 0.7230920992621691, 0.8945127782713984, 0.35082581356409615, 0.17792370802025226, 0.18172512973039767, 0.8541219255386225, 0.23103152819149386, 0.734155672416717, 0.034174731804771485, 0.22661674500476892, 0.2947734663729794, 0.40332429582403706, 0.5897060959456316, 0.37718118696239944, 0.9979820569493603, 0.2302472454108886, 0.988471561590019, 0.7150657350528221, 0.8535686247960939, 0.2629604367564524, 0.6137112413027493, 0.6040737944586351, 0.1938783570573086, 0.03546311450509143, 0.6009647538543609, 0.6956821887746525, 0.6743963899159551, 0.21016851839873563, 0.5063436354735312, 0.4088666609080279, 0.5521974070288524, 0.16779755465296764, 0.8258702689498507, 0.5171214949760935, 0.20611183101291408, 0.27555419835036277, 0.9111685543432454, 0.33816458798856885, 0.6197221528205438, 0.5430286690461754, 0.5211978635981385, 0.22842980297598603, 0.14264547763922109, 0.5905914865934847, 0.3443746390484872, 0.249785711348522, 0.08499004068749616, 0.5208403993111295, 0.27984635012793657, 0.5391002577028009, 0.37177723746676383, 0.9011936419841998, 0.8813985460829622], [0.49749287030201017, 0.8806484662506301, 0.3123787800986494, 0.010675508978881476, 0.7583754710116958, 0.8538441087024782, 0.6660385764842573, 0.7761137372712323, 0.9113765160676802, 0.7430385555247789, 0.9534446480685707, 0.02117671519328579, 0.47779150426863803, 0.106502080001872, 0.6226058843910565, 0.3840442454694871, 0.9778996961774052, 0.46129424527277907, 0.07881832190882465, 0.8103012999205798, 0.6389488548804214, 0.4325340777455502, 0.7301522048374846, 0.6167074510390562, 0.899511823246406, 0.6531385352612927, 0.7101964176730838, 0.04633977086489238, 0.10835396676484044, 0.7610495394273518, 0.9764973016382477, 0.5472568662835272, 0.49932259165825, 0.014871991701850495, 0.22161969069259724, 0.18845139323200089, 0.44093997187305, 0.8331773656567366, 0.14260771810664452, 0.07608655962278676, 0.789324113279971, 0.584217525739802, 0.55271873259416, 0.5867751455665335, 0.1553668939999442, 0.7657148350930969, 0.5337113854250222, 0.9654581142706308, 0.16545560389959457, 0.07197658596149625, 0.4471436812249129, 0.6777683423691677, 0.10774311021470073, 0.04324551754608874, 0.7355192242717465, 0.2768102872381152, 0.7196390260572773, 0.4528390882061746, 0.8624930676017196, 0.5844613593835437, 0.573586556897275, 0.657867693541677, 0.32071299649704277, 0.14919265362173417, 0.038889951239786336, 0.9755667018328213, 0.4358513008088849, 0.5451073695761851, 0.05098914406619037, 0.42426434360046106, 0.2747019771794337, 0.899041271737255, 0.44074378381506596, 0.7603858277363232, 0.9453072185053668, 0.6159874306862407, 0.8034410152539377, 0.5431486072159538, 0.03605853050327301, 0.38207065107123184, 0.7065146104262882, 0.5386760407478592, 0.516397798364354, 0.23675149294556175, 0.5558613824833031, 0.7846894336601646, 0.640463651757786, 0.30959903110624387, 0.9280831684225038], [0.7590757481388752, 0.35651185795644824, 0.9700645627185762, 0.896423355149134, 0.7826515190669003, 0.39947552492061245, 0.5098402384431973, 0.8883777987628296, 0.7915110566140199, 0.6115967559106664, 0.6843448009526619, 0.9000934133938591, 0.7174626880009486, 0.07713899217862219, 0.8047418132465363, 0.2907609440990606, 0.27464707237363983, 0.8308056112146716, 0.027733627049628118, 0.5087271094755709, 0.5457228795439921, 0.9776143113657889, 0.5252309614453342, 0.35213097384951153, 0.788360860855954, 0.2715677838244013, 0.23143100074700118, 0.04645618486838754, 0.7755280971792913, 0.5274312223994543, 0.14471385811326787, 0.37404439062408035, 0.3588071355954635, 0.5697557088871302, 0.8597828141486259, 0.3052954083781333, 0.6023798000660952, 0.03543974834561192, 0.6931108501277893, 0.9909070804146383, 0.19491285439885098, 0.8165343317842357, 0.5304706645262651, 0.7184235837872515, 0.6878890383398776, 0.2132392071544046, 0.14826120363013717, 0.6127269913175553, 0.5034112807318785, 0.4900432087991048, 0.5440432598444073, 0.2790645487646475, 0.7626224420725121, 0.22403874901166232, 0.7276053205015847, 0.9202150087656388, 0.2902934536952425, 0.8310766254747931, 0.48444738371294505, 0.3183569331036785, 0.6236914986936526, 0.34433533560552587, 0.2631015709259663, 0.16978140572115163, 0.9511429688039958, 0.6543496309663372, 0.649545354730402, 0.4149395132765845, 0.24669856246567712, 0.3842468087902172, 0.7510563521320146, 0.9771731029200398, 0.9229920858696089, 0.44162325010726167, 0.710331425477846, 0.6186221233207561, 0.434985735035499, 0.19388464730108756, 0.43678822746836143, 0.053567114953948725, 0.021381776415262843, 0.7484780427544864, 0.19888154212873888, 0.036701502581397594, 0.8615166500119606, 0.804988256255883, 0.13840711808686068, 0.6862150148218841, 0.7108805259473682], [0.24422852573481058, 0.006471156278194723, 0.4545575092023676, 0.554780251242209, 0.04618290049049356, 0.6337946716470784, 0.7370403909826088, 0.6026201996879458, 0.2751326751512695, 0.9460673572580429, 0.6960829801298273, 0.17232129149232622, 0.4147791189171395, 0.2745951568036985, 0.8321144573588158, 0.9790809345266869, 0.5052904777626952, 0.986693671190374, 0.29099573470951623, 0.8316427114391294, 0.6403971819355102, 0.07736077331225644, 0.7880510901258688, 0.8079509024263442, 0.6539833716698277, 0.35264936454932394, 0.7132965511680092, 0.7621180454499857, 0.6832177970932624, 0.9480946550557159, 0.9872821661867269, 0.8337084873428051, 0.144759396258466, 0.16623771334297477, 0.20108168882587396, 0.9302344161907148, 0.27989275319884355, 0.46436422034053304, 0.581594248865586, 0.9016659327231978, 0.4406007052155857, 0.7097569657292843, 0.1687663702643205, 0.779780577638187, 0.18345074556814644, 0.39755095844369703, 0.6878275129230587, 0.6010237660027191, 0.43126490044382104, 0.07658480863449602, 0.6105120876226189, 0.09189985064004735, 0.28392099796864256, 0.3398375355041131, 0.5342615565406676, 0.2371699692811351, 0.9156405923538632, 0.30607483870376395, 0.14872485694261706, 0.8445046477316465, 0.5276599175751828, 0.8138034283087676, 0.15663718309903663, 0.8432053429874451, 0.15679096056993536, 0.1757857223346908, 0.8958395094856639, 0.33301400616513455, 0.08234792361306853, 0.3895221588790051, 0.9310878321966409, 0.4236818580544027, 0.22885435823633082, 0.5244951258906083, 0.5376013641077403, 0.9381527132392921, 0.42931812835951544, 0.4626951074604865, 0.3986520566044164, 0.2724519892467828, 0.2562812529015652, 0.3785575396443923, 0.2443464422600291, 0.05950171895720735, 0.026057394412939527, 0.6263992407790135, 0.028326225239745817, 0.07478585324510811, 0.28069192394466846], [0.18823468115713027, 0.9491037808088497, 0.5394430766727812, 0.4241607402202975, 0.2532759726281082, 0.8294273532137544, 0.8461596201023514, 0.3826869434643777, 0.21401185248911747, 0.13251081927869068, 0.22090587060548883, 0.1603205748283799, 0.053692338677290286, 0.9352761875344486, 0.39185769515915436, 0.9190320125691411, 0.007007167963013261, 0.7098486172289845, 0.20153131491255238, 0.3721649778909898, 0.7696426010739107, 0.8948207868022702, 0.03406617929364375, 0.9299567936058805, 0.3905953340501672, 0.5435452129674673, 0.5569530395016932, 0.7010094723279858, 0.5897323647954261, 0.699487237939866, 0.6623240690266253, 0.7331290972429266, 0.02350525722352581, 0.2195641180406831, 0.28857757479066026, 0.5409626281389746, 0.5171579285134347, 0.5687859582357003, 0.7977540582629684, 0.9396251633640327, 0.8093088011998308, 0.31906199836108196, 0.7293495271346923, 0.7815214589247351, 0.1404444399628677, 0.5288733893100297, 0.38001386334092746, 0.6151060663899255, 0.9952364273274766, 0.05284728402188099, 0.6457222307148748, 0.8934500107462447, 0.507989019852049, 0.729733257897206, 0.6340030082808558, 0.10899790287218325, 0.0010721906349568933, 0.17954741245557382, 0.8656397731985678, 0.11703667021150421, 0.6944572342391326, 0.7301856221304919, 0.2322903505522509, 0.07540299291658581, 0.3304214175713349, 0.6533853864004865, 0.8670346208732284, 0.0806691482422689, 0.1232422684251322, 0.614771573703666, 0.5297904381557776, 0.28731389927039874, 0.653563688143571, 0.8936405541337771, 0.13096700432946362, 0.6625121515143407, 0.7088210123059913, 0.30068338379017745, 0.17341135652430462, 0.7353327102176788, 0.7898023763320853, 0.20337324432305726, 0.3315162049266144, 0.6939781726451612, 0.6583362116605304, 0.027645802733869962, 0.6613321163801427, 0.26252694930593123, 0.10051248687517222], [0.8964203114506818, 0.4155228944947629, 0.7304343627579893, 0.3900972299794411, 0.32118782261683165, 0.8930901873526546, 0.7632301414457996, 0.7236936568354294, 0.7084412067973798, 0.6328978025149183, 0.0379538962996685, 0.8283831490292473, 0.05162170339641281, 0.5375067045005237, 0.24193659764722786, 0.2453026811716016, 0.7527644424353007, 0.1675814149911775, 0.7459972703925971, 0.09509785592893893, 0.23411441827830515, 0.3710732545846137, 0.4474130797232422, 0.5976703774749869, 0.687984142959812, 0.3958282917086057, 0.5118151144710239, 0.07811074144543562, 0.33502631551468987, 0.0716635836109748, 0.9433775389532101, 0.036967883895142384, 0.22018807592253398, 0.46031471190370377, 0.7611412350309279, 0.11316557083059942, 0.9399451542496825, 0.04493543104864617, 0.19663936080265731, 0.35367852080737106, 0.35856769488252005, 0.0670571944445213, 0.18902751915664007, 0.7179148531520697, 0.7250185708155055, 0.4028993868344244, 0.8115875821477581, 0.686193375834604, 0.7877347380067876, 0.6060694759604733, 0.8719931918658241, 0.05457966083971899, 0.6852512481495083, 0.07120839711632654, 0.8630827219655653, 0.6380363422161449, 0.9091449535107198, 0.19060929094661705, 0.2728093385615721, 0.9808729991552015, 0.31064446633420606, 0.0666827962393618, 0.22946482647682354, 0.14853755036427108, 0.23028028062400785, 0.24474902266405418, 0.0037941936245361463, 0.7831311997988423, 0.9656414937949173, 0.2738905155397804, 0.7354279240693473, 0.16858611563807413, 0.49890789441885464, 0.4004157432083634, 0.45925875687826123, 0.6820835430878356, 0.6113241921929073, 0.3481492737953592, 0.8055751518853811, 0.9143379463675634, 0.10230462219619274, 0.9887857747391088, 0.8993873655133435, 0.22024997083839648, 0.8993785981845989, 0.32598334492773695, 0.028806202726770924, 0.6841493928724225, 0.18576090419951996], [0.7444158556675533, 0.33277537425925907, 0.5726299153850932, 0.051147772480777176, 0.5720382107642586, 0.5278810194140121, 0.5515810937670799, 0.12559649314940036, 0.90256935446683, 0.645947126122254, 0.36831805084294156, 0.4151438174790215, 0.780986344009323, 0.7095399284588982, 0.9307982861043583, 0.5689234952550919, 0.03949876188628143, 0.0009322296640986716, 0.7908928747012787, 0.02473256066175411, 0.5812447881605401, 0.567019369662427, 0.1437916087983636, 0.5978069690162937, 0.6312251070621067, 0.4068633726318144, 0.8555835365228809, 0.8646688495360867, 0.6600746327402812, 0.8083403392136894, 0.6010211144299099, 0.45592068293654187, 0.6101896584458981, 0.41474431856458427, 0.08653560279881445, 0.8625038414495085, 0.3071778219006206, 0.5986901442396391, 0.1776986216549612, 0.4334811253306433, 0.6910543589097559, 0.6649757095242201, 0.08954848292752782, 0.6094261233043601, 0.1607180915555193, 0.7221139075176337, 0.9407998347316802, 0.010307535856809324, 0.7951404685392367, 0.5203265059204001, 0.7381691754290488, 0.7165030494147232, 0.6912572298372374, 0.4627292188145756, 0.381669721888074, 0.022263729288099166, 0.7771443232311819, 0.9255555722412235, 0.4537065740221169, 0.3876196505242817, 0.3545508668715259, 0.10907516709052822, 0.4525464366437765, 0.6380863554353794, 0.05564728702267108, 0.11804225346429231, 0.07178781355219188, 0.6871187289534805, 0.09624332022403981, 0.08864956380343014, 0.7764473108674925, 0.27240957988422254, 0.3922899735606147, 0.4638411269685878, 0.992987551187826, 0.7614974909980091, 0.48311386247375376, 0.08356688434532611, 0.9267339734444079, 0.7263119145311155, 0.6545251521059269, 0.2813371791553273, 0.7296320624324217, 0.41247442859811423, 0.4187486893225574, 0.7499389620680762, 0.692501150131849, 0.5703524115189047, 0.7288850347996408], [0.5300842736522037, 0.15911172784795247, 0.02523475488648408, 0.8462948845452729, 0.6621144196223673, 0.09010457083430823, 0.5112439220387288, 0.8167956886429564, 0.3388562260163789, 0.21079751078595121, 0.29537488127391254, 0.604217086143981, 0.0023685393975936275, 0.0511083275721983, 0.8691548619011095, 0.5245320270190045, 0.8780948832493888, 0.0014645702978953734, 0.8944888495736151, 0.8600029504748401, 0.5280905505566222, 0.9707665505518203, 0.620518125136259, 0.9700502000610653, 0.4482377158911731, 0.24322563672761155, 0.459360731977264, 0.29803119724241556, 0.6202705807310491, 0.8540168534889723, 0.22123557107492242, 0.4994116816390477, 0.09980821033266585, 0.857382967747352, 0.5336385496800874, 0.2352197555394555, 0.6657438810763245, 0.21921776230849188, 0.5117657090175658, 0.2553050946165867, 0.04642459406024524, 0.41264652354805187, 0.9984831732163528, 0.5085443441303589, 0.38935827378298193, 0.3693647205057493, 0.28147605728240266, 0.477687480324108, 0.6388142416198467, 0.45610956172528627, 0.8716773114822415, 0.11998824147379028, 0.6235289619339974, 0.7710135159676185, 0.004468665534012373, 0.6132338200972024, 0.22917699421630355, 0.36306360630052126, 0.0030452545476826742, 0.18395092919420641, 0.15562483919593662, 0.08591267816342407, 0.28391210038272885, 0.2624041550056829, 0.72268096118249, 0.5390805239115407, 0.59045122602472, 0.6656810593425632, 0.8341162083097048, 0.8734644282144448, 0.20419495537141985, 0.021726084143916302, 0.03340952676405384, 0.23613756938435748, 0.9851165066002994, 0.46359152311274276, 0.248557076861189, 0.7569806262258035, 0.09197112697122001, 0.3007561803709221, 0.15964956013254317, 0.1795816466203426, 0.14160380889257163, 0.7781537232849116, 0.8975641938815586, 0.09627481771028612, 0.39533288894888263, 0.38794643407351603, 0.8616020826149468], [0.8036384632357606, 0.7813560658345995, 0.5252938942314784, 0.6387950940454501, 0.47611667732743057, 0.9358064185341112, 0.32466258696417083, 0.8867591548506321, 0.534197850527223, 0.9690784000413339, 0.9970263433080558, 0.964408683609245, 0.6603730287619533, 0.6568436193126512, 0.5867900473944757, 0.4580239803485735, 0.39713907577775776, 0.26284276276283725, 0.15404312547494847, 0.30087928421701415, 0.27846858489161264, 0.6028792247824881, 0.08044156582855588, 0.7056677468645595, 0.5802086554061933, 0.4482464729028468, 0.45403290899783433, 0.9599966820011484, 0.6549768056744975, 0.5557066002150709, 0.09547794432147305, 0.05311208837612946, 0.2716009746385808, 0.5453482698754698, 0.4782073233278402, 0.3981612619860063, 0.8193924302825799, 0.7098046197309278, 0.6109107467935093, 0.8758432407526267, 0.0914314022485857, 0.1854603388830851, 0.10654767823285982, 0.5278623661759452, 0.7741123100075629, 0.11150017091604492, 0.34214387478440533, 0.707015866102185, 0.7552171829848745, 0.6939445838266439, 0.20403860404219765, 0.8265399751820237, 0.37658763747507706, 0.3224398186412283, 0.2383816334048906, 0.7013756831486916, 0.638238309465348, 0.9854321062802776, 0.13529535100500734, 0.8266123218787874, 0.8342155974746734, 0.5814996208572147, 0.3142878021795339, 0.7774674506085555, 0.8024993885718317, 0.2673943828433146, 0.41558415181974306, 0.20145235057725597, 0.06934083255693013, 0.47652976469904484, 0.006235609927141339, 0.637679286235198, 0.7091346130573684, 0.3991606997578656, 0.5869499744157783, 0.26668465404877495, 0.39367228731235926, 0.8750442091361377, 0.12464866067398439, 0.6753036668332404, 0.10900892907386683, 0.7625259725313387, 0.25177345052923006, 0.6892841205291551, 0.9327285667981486, 0.793514485602992, 0.19910864473790346, 0.7554410430783325, 0.052377825287903024], [0.31137480919263405, 0.6226377424685919, 0.8749670954771877, 0.78592022726606, 0.2344844898598707, 0.879473470777731, 0.5080989409346055, 0.42323940360929524, 0.3136259450755432, 0.1231088885949857, 0.028580643534441563, 0.4967787301863239, 0.5927483549676422, 0.054283455264466984, 0.63896995501571, 0.8647046223409477, 0.3407253668400374, 0.4077575337101439, 0.1409418166091927, 0.292432328858091, 0.41769020221804753, 0.0744617013692398, 0.4153631181653621, 0.0237097208360616, 0.7432570861516532, 0.22862701022799115, 0.3073095690955524, 0.5831242876445631, 0.7070142985878227, 0.13624072978535884, 0.4042267905806306, 0.5666812456316136, 0.36112315724886423, 0.06083228728736878, 0.9483910070444965, 0.8059658467046689, 0.6170681518313095, 0.24967689002277937, 0.49294403794594366, 0.7583449402151623, 0.6315445767659864, 0.5245873925649044, 0.17839555679964425, 0.28002444637025914, 0.519645062597835, 0.08415026209451104, 0.14419844330257958, 0.5820541756795268, 0.2072761875331698, 0.2688313872896446, 0.5029118447723182, 0.03414159281153595, 0.0907618217434919, 0.01586709354692828, 0.7251282744901322, 0.21118781857546431, 0.27696141361642435, 0.6272751017797898, 0.05502804091934854, 0.22792176572961254, 0.3679035899669688, 0.547337207063888, 0.08484254902536448, 0.45314675432864215, 0.30202399625346266, 0.005577969772632474, 0.8041258442027728, 0.2230724171680072, 0.22961991751908029, 0.8201451731184614, 0.09026872418780651, 0.041385266741023496, 0.8707670112493031, 0.2203238085369933, 0.9532610615285676, 0.8952545216622078, 0.9967169120764059, 0.2777972635628436, 0.4827659091141693, 0.23079207559658965, 0.3158216784700333, 0.9587555246509798, 0.8569314373848461, 0.5856030988772146, 0.8079382491034034, 0.03711060720656012, 0.5072650203072291, 0.5848690143180288, 0.2499150454315966], [0.4339808455941968, 0.350089642699117, 0.342799335713287, 0.655859242843662, 0.8710916758254631, 0.07407077863375877, 0.3523053724555736, 0.5105076226868375, 0.13619635640011163, 0.20629578532140502, 0.37114563290690505, 0.7323689560176843, 0.4841956549428511, 0.8616314606300992, 0.028984524766886177, 0.9984476508573245, 0.011753260879154404, 0.35774307236255376, 0.8093106714148124, 0.8539298271819595, 0.950718721885755, 0.005090945113746859, 0.35284499882357845, 0.48243333937680843, 0.5092304583063791, 0.2683430281975513, 0.7800588125270387, 0.7021390479938092, 0.8202790221492176, 0.7508111033968533, 0.6099097588195139, 0.6668718527037458, 0.36484286078530337, 0.1659237261156412, 0.3906089567372817, 0.3348425227232461, 0.8366565307514481, 0.02724295736859228, 0.9118425974423203, 0.023904939631345434, 0.8013366596788586, 0.668580231179745, 0.26845443528194546, 0.6016964874996759, 0.009092046711597357, 0.13872660889965083, 0.40421733412479766, 0.5822236917768133, 0.3481119991202013, 0.47976779916925605, 0.45605932510137015, 0.8195207079905796, 0.9070856756475777, 0.13506136842324978, 0.6244158927675381, 0.5974917545491538, 0.5650872455145792, 0.9477470964393672, 0.5124609996870103, 0.200914907858194, 0.7805965310892062, 0.7409284249660274, 0.3411516750172705, 0.8741558955960527, 0.36251060776843314, 0.8468571766138953, 0.38370845355492167, 0.19015016310395483, 0.35226235031244413, 0.39458781825001366, 0.11583413308338808, 0.047022600368743395, 0.9724865275903337, 0.4777173379643618, 0.41371535970921247, 0.4182004592221371, 0.7118780706482365, 0.3273556477462152, 0.4371514015442238, 0.7677019709419538, 0.9034686610898418, 0.9742005631079736, 0.4635296039542729, 0.7592758884373619, 0.0664095302519756, 0.07943643730982175, 0.3046229674643155, 0.5782451039415206, 0.48872146916453874], [0.5731277681743266, 0.9799944144909762, 0.748873969586653, 0.058841158244454905, 0.6015598371806125, 0.0512796530879851, 0.07256971229742049, 0.33905660861976405, 0.5830566221218539, 0.04588029001319538, 0.9328409004204281, 0.23173452772491465, 0.5699668009947322, 0.2807684352222337, 0.5059049964439954, 0.35733469255126293, 0.47701319456558056, 0.8726215538229094, 0.9819460973587776, 0.6587196029899671, 0.027712100784727967, 0.434346102480061, 0.9079742340303463, 0.9615672023026689, 0.43351588273817443, 0.7555766307486304, 0.6365388961328707, 0.05967293973591792, 0.8542446078647888, 0.7155663138785128, 0.4222379954619181, 0.009415610382688122, 0.5513385078214544, 0.20233166399823022, 0.4794855363374153, 0.9640752645468916, 0.6764578771275013, 0.9664800320491893, 0.014592370150111611, 0.9479162667109047, 0.4509543119875138, 0.5491135801901043, 0.04737011706069616, 0.7130429300193906, 0.3506200040424361, 0.4686625386536115, 0.548001298402958, 0.9455588031915649, 0.26294508255537064, 0.6576703620272911, 0.9834287218013543, 0.42629725619210823, 0.8499283691724154, 0.08695690043738935, 0.7069034203818694, 0.6577486482116758, 0.9583550318000763, 0.1060335795872076, 0.2682898160549685, 0.5823577688373937, 0.357150183943173, 0.012479613476363505, 0.7245810288632574, 0.6627951004702015, 0.000778608505367484, 0.3986804366043045, 0.8492326534831751, 0.0674089409648908, 0.397876209050143, 0.9228610512854366, 0.4204814460712032, 0.007051435849977694, 0.6848576022758677, 0.263065673022412, 0.6152952264017657, 0.7744020796574602, 0.7886148048733611, 0.9813751069059203, 0.2644883199699424, 0.7645109099338296, 0.7932997399842986, 0.12010107429161487, 0.24226199019569827, 0.5023309931031, 0.027839122786633808, 0.2365143324703345, 0.1399435145675323, 0.45673511520636556, 0.11526658284787927], [0.024782007687611185, 0.5949395280089175, 0.0818697461825394, 0.26029461628156747, 0.1630758446228543, 0.017048169321333573, 0.8132674895603739, 0.6078368426242051, 0.6390644970000111, 0.577961085945345, 0.9680179760837857, 0.1694074944516315, 0.9593132243477316, 0.44725855925103364, 0.6462659089621571, 0.9899763775930824, 0.9052905840592265, 0.7986329342946072, 0.7359399387665242, 0.19470501347904434, 0.8135617711303548, 0.2744665219488065, 0.38627136610966817, 0.19712845371078103, 0.9970295536868102, 0.590402807132197, 0.17224073400406803, 0.6380728375254797, 0.28459915983496065, 0.6310252669089027, 0.8437600665381695, 0.004814081883608989, 0.4616274090251813, 0.24914854090743666, 0.10109050348291848, 0.7194238710654072, 0.3515917256159976, 0.9231167649216641, 0.9187596617879966, 0.8429956023859805, 0.1961422591428068, 0.12557003468933536, 0.5426202586927066, 0.22385945628140358, 0.5164952231690545, 0.5658554269055253, 0.7059381229760436, 0.713058608897446, 0.41804030931662917, 0.9790418145254527, 0.283408876237095, 0.35296025297504496, 0.4730000558252785, 0.5402880656232539, 0.6557231737146768, 0.14261627815054256, 0.9050567578288762, 0.15719409174053633, 0.09642534538180925, 0.4328883897402568, 0.4421051949050583, 0.03025910208721394, 0.14064200393139736, 0.36925998651826275, 0.0036815961072517167, 0.7372277979844685, 0.6847014075276082, 0.532302131709902, 0.425970632508215, 0.07519870045988186, 0.9604442393233819, 0.4328543192029455, 0.372409674062099, 0.9098335878017744, 0.6843792157200405, 0.4678150813940455, 0.6775729744306439, 0.2465710104060438, 0.12800709217931594, 0.09821685287165716, 0.9904613204720981, 0.9250952410652252, 0.8142895002420386, 0.059705828754975876, 0.0686543864531255, 0.25326579113361136, 0.22143000345416664, 0.027244568753273746, 0.4437288709165945], [0.9910444876140012, 0.13593179668730737, 0.7697952839832312, 0.8163855225553633, 0.7955281081814463, 0.9304636231971082, 0.7309945875491135, 0.5372521864476734, 0.7042188318548507, 0.9978434051612891, 0.8807804598788855, 0.7845050507620499, 0.7769829772913288, 0.20283506700065146, 0.32466340420171313, 0.2701183037061674, 0.7134203091673187, 0.6835226695619995, 0.4532133934712418, 0.8908989582115157, 0.0276176546895176, 0.6911339034532809, 0.3303772050756265, 0.5007622018730625, 0.9244235593852732, 0.45311153829774264, 0.21569143803188828, 0.8740766973065061, 0.6547323018070471, 0.9440903398389767, 0.3444751685247329, 0.4139836466751501, 0.4054536300286231, 0.825291183080295, 0.32515629288028713, 0.10515331231685088, 0.3070561389704871, 0.274370734265432, 0.014721968909487404, 0.565290425837733, 0.04991492145138676, 0.5630188912790951, 0.2596956620683212, 0.12064350259528689, 0.9854733434343769, 0.6966427298259159, 0.19793473381269167, 0.8394334344265384, 0.8436385641135575, 0.8994651130207748, 0.9713213591372538, 0.6298121472100827, 0.656644064915045, 0.8817439227429119, 0.029810242479515248, 0.29006221581699065, 0.7199632795167191, 0.6871453118420856, 0.2230831974947486, 0.7807872252374943, 0.015495117338736764, 0.10637825983364335, 0.6570512764372828, 0.706648882473201, 0.48589541681995574, 0.9758648278751433, 0.3370423757587161, 0.05856262454959549, 0.3069536391092561, 0.9117527499170854, 0.5298452632351212, 0.38469592138890873, 0.49531149425069865, 0.314120442664649, 0.8720918507369113, 0.17772630584114957, 0.7217356220825568, 0.6636944702393319, 0.14877940881577945, 0.9226744304585768, 0.32294793352742723, 0.7993344272813354, 0.24149438710762905, 0.7005346766526559, 0.22178606508554144, 0.5872236459899303, 0.7429354164950133, 0.876653509029902, 0.4396629426746498], [0.7977610458325066, 0.47475304498270576, 0.680447210885485, 0.8347886246750696, 0.5412116986482808, 0.7339284080358889, 0.7168697103658885, 0.009126683957614845, 0.6522489102475107, 0.8163950784450958, 0.6509981619380985, 0.06901144772210754, 0.26638839415417126, 0.33475225889512783, 0.042317564815807285, 0.07243963168521728, 0.11317231658809668, 0.7309484113499586, 0.03503981140728307, 0.17346910461092813, 0.6851061747222975, 0.14582922464729886, 0.591489968772159, 0.7663305910483013, 0.3344230003155617, 0.9186605187517585, 0.7004517793925138, 0.7311394129479714, 0.29644529498998373, 0.5504535587599276, 0.400508657220784, 0.4068464398175049, 0.6438751428805257, 0.7068022935750758, 0.6637134641887413, 0.24755422335661437, 0.6320880048275163, 0.26053526785220515, 0.553218503149715, 0.819285392920947, 0.8074908333488258, 0.24287251322910297, 0.6900971219228119, 0.8536475976869048, 0.9949584781977272, 0.12740923049659902, 0.48886593317633686, 0.05865779411494643, 0.6059995451522792, 0.25052098858960603, 0.14027406540807263, 0.2885239041326142, 0.41539101861673033, 0.5980730722158051, 0.7160130222561625, 0.5740809453179908, 0.20542535226662295, 0.7312877694990018, 0.01954044709234648, 0.10901041610122197, 0.05898419837097746, 0.7360737729035404, 0.45400133337738524, 0.24582177759120494, 0.32329043994069373, 0.4617174137806509, 0.7499069442797278, 0.9465863295755628, 0.8397552624905145, 0.46897383146674454, 0.06536223552938158, 0.5294882343157632, 0.9994073125560144, 0.9018497710017166, 0.5245845024019926, 0.5204141844400172, 0.7313434193484138, 0.9034736258063991, 0.34934193688246307, 0.28066362353661367, 0.18773564862247794, 0.4032660033660175, 0.6863725649458481, 0.7910161292768558, 0.25197546036114815, 0.8833805036109578, 0.699131141549144, 0.36749815693212406, 0.3106705146246437], [0.7555276209019475, 0.5533269935759182, 0.10869197755793336, 0.8195546590278455, 0.7629636895766898, 0.6975034546421137, 0.6657915205525372, 0.3432403958249569, 0.682773184439969, 0.3095731440984545, 0.7873836430944589, 0.5864329994364916, 0.7893866653662471, 0.4317935861928004, 0.3965118298874031, 0.7010427797916987, 0.037226313030488956, 0.7642101262551741, 0.3384904209018982, 0.2703962259497106, 0.9128561985839772, 0.8748066568396454, 0.22143905167093503, 0.09774359454998738, 0.041735479926022, 0.9509843493499023, 0.5078612890837672, 0.15543630775860906, 0.9980207547886256, 0.6176485960018642, 0.5295240636741426, 0.6540229951851204, 0.3448779955529131, 0.3659978870506819, 0.3614810481736257, 0.6145075986782208, 0.9878837626795582, 0.5212454968977848, 0.6869709461021724, 0.5111080598259617, 0.13042618326689304, 0.4708432688479882, 0.7617905753734999, 0.8337193503916859, 0.06572483315106958, 0.23238254191101437, 0.21337041625938258, 0.09127856537856327, 0.761151321036068, 0.7454935414307755, 0.8598316992378116, 0.2332711236897994, 0.7521432137474063, 0.11873029444194505, 0.4403983784439425, 0.1935548212852044, 0.6358250581882386, 0.8693274207576848, 0.5951071479273656, 0.5285747186821996, 0.24124524583343487, 0.04642334617212451, 0.9844625949983071, 0.6839073743130715, 0.7024298659986564, 0.13085382870087914, 0.4580130522772162, 0.10858824613936913, 0.3637484052461447, 0.09743332375220937, 0.5434007843560033, 0.8483616628279441, 0.3154936398819359, 0.2448692990185285, 0.2742100884484058, 0.8763280112608726, 0.2108909473730567, 0.06044523115342493, 0.2274932700100456, 0.7437304376803173, 0.1145190604531553, 0.9022365066691949, 0.05286797824417211, 0.41289008502670554, 0.8280298664518734, 0.6294411858554857, 0.41714844771966597, 0.8780000749838247, 0.6782351259037342], [0.7986718122079719, 0.6700682534682193, 0.26401522461370475, 0.8504863000014167, 0.8532284653967979, 0.9465742706996321, 0.5374357240268072, 0.17467573103653888, 0.03285860731881851, 0.9743980617527356, 0.013247742163721266, 0.595400851665467, 0.8737040491023218, 0.5684350958254173, 0.4475984088729619, 0.5529560890253833, 0.4754664422649635, 0.4353469396198515, 0.3792046188465239, 0.9119829620958267, 0.8839842176810467, 0.07100054977676018, 0.3319286334309399, 0.14002215286774022, 0.6904803544188934, 0.8479205731600423, 0.8067022236025868, 0.6986556593662497, 0.7787549429756222, 0.4160408805835073, 0.8571319341419279, 0.5085108423771417, 0.7845983044705868, 0.5870480169251879, 0.49486963147196805, 0.7573856912287966, 0.424147248264367, 0.28499097620884195, 0.41118148477344385, 0.5974072026032421, 0.0028679773460196234, 0.8045735646346852, 0.9254609017790706, 0.3321269880054323, 0.5316160961515112, 0.8475412492003771, 0.29855342105361315, 0.9346509920388903, 0.787896296849044, 0.12287935406029538, 0.7111035974997437, 0.4741475864563143, 0.4818352341337243, 0.41885781088897645, 0.5175255472771408, 0.5258498627919934, 0.9386030533388483, 0.42509726717630136, 0.37042795941895656, 0.20783631622037346, 0.013813081680840278, 0.724776319433286, 0.1713552673610491, 0.9552921104550114, 0.8519169603110456, 0.4381445911835631, 0.5617843783230814, 0.7470085840958922, 0.9066079173735384, 0.30371356792861537, 0.21586917145137696, 0.13341580796701813, 0.7253572578941556, 0.49568331651878783, 0.31233733675256703, 0.17583428692630032, 0.72386205378527, 0.27102558104587704, 0.7000120899735304, 0.4504528627160662, 0.10224349428822166, 0.05463518546454238, 0.5087088219054562, 0.12232853679751976, 0.6242083831566766, 0.09142132659423785, 0.6112203692585263, 0.7531213597829778, 0.8471727009785444], [0.9732444743207518, 0.9224237738009133, 0.261920937670558, 0.7832058607159472, 0.6973833257811934, 0.34400555300699065, 0.5619992179656218, 0.7516339155771612, 0.7320216900984313, 0.1800546823834661, 0.7778938245152588, 0.5422787800075112, 0.206501012942649, 0.614668625529387, 0.9799164886889162, 0.02695582249206918, 0.07585354864663851, 0.07148624641009149, 0.5282873015601135, 0.2099055048714339, 0.5506832127266764, 0.32238407771123356, 0.11875995711622578, 0.06238260779169591, 0.7115592544072796, 0.2876780332161172, 0.8700892087191799, 0.23816164489799874, 0.2681494077864066, 0.15243238588038355, 0.5911164873659775, 0.2537334851496905, 0.33493508610240863, 0.5133174827828298, 0.4082510451875432, 0.8115577928621721, 0.3721791366755276, 0.03745838680659508, 0.6136229924808483, 0.16065283611784842, 0.014447471390863553, 0.13003958567427143, 0.5712032893030634, 0.35867955051605327, 0.9373382650989762, 0.22214021583416954, 0.8713758017966349, 0.8108167736917421, 0.9170002743782854, 0.15995152281783886, 0.9777703808009217, 0.5788722384220256, 0.343744599131073, 0.31358211798497393, 0.471006187094823, 0.6967674046025036, 0.21709833853626714, 0.37958326113245844, 0.2047527860942322, 0.5632783726023051, 0.6519091774139574, 0.2988240463904457, 0.49344362863659874, 0.05579964499846368, 0.8587057716310517, 0.4584678876628936, 0.11071031087526473, 0.2839183315251592, 0.5986452740398926, 0.3683296899318067, 0.9263837644113403, 0.8681374344805772, 0.7340997531384368, 0.08883548087464099, 0.9985364594784177, 0.9951967488783371, 0.23042528318775013, 0.07284975530150561, 0.5889081965863264, 0.37926621986773223, 0.7140251233478645, 0.4760054036188244, 0.4802380936249522, 0.8245098435587257, 0.6339339429918819, 0.7087571731033078, 0.9269963185560959, 0.526575081480813, 0.5967509612468758], [0.7259011083750604, 0.14142260880200896, 0.9212295187955757, 0.927138927490917, 0.5679986319143668, 0.14529755035966085, 0.8862800364966736, 0.1767005205823461, 0.26960302848528495, 0.08589169121794904, 0.596376672917052, 0.5310048117340398, 0.8167614576913077, 0.49803711420549146, 0.6199323207395718, 0.24813313349518795, 0.5811330652880882, 0.8429672784481768, 0.5356994089928074, 0.8320998402049422, 0.4368022244503078, 0.8211227888056873, 0.8641626355830726, 0.2024329481498286, 0.13802323262671878, 0.08551649142193374, 0.9977620850763886, 0.60517384833988, 0.7648018547125578, 0.5893075670602161, 0.17263529228742824, 0.32274994838508064, 0.4494493129755489, 0.2599161601819382, 0.5816169550055462, 0.7278569739333888, 0.11805347511914843, 0.3183833451508673, 0.7918769608988162, 0.8885706046734833, 0.7512861481849321, 0.4804720796243783, 0.8835720982117782, 0.4358803770188515, 0.43121808174412335, 0.3816083899724969, 0.822125666197932, 0.1862385793700827, 0.1539291721278946, 0.2554267101706855, 0.46243339241689563, 0.0032650907833018383, 0.5048201805756077, 0.9690891004793267, 0.2588916679019506, 0.08860370557976238, 0.879743336650591, 0.8242238754778852, 0.18534740528945415, 0.9728182968346787, 0.5473217644412818, 0.6905931381641687, 0.41990744347910003, 0.08093377733167051, 0.11327992400037923, 0.9565820346498779, 0.14912100265235084, 0.7774233850125017, 0.7047689472032331, 0.8511664966617567, 0.41242920264888816, 0.07246816388853128, 0.3113062455078681, 0.8430507719747429, 0.7118667520658277, 0.8999255070046422, 0.93033521566686, 0.5795233756611039, 0.6980334305831162, 0.7422812630001493, 0.7949701770508627, 0.09395236897040771, 0.4854087645430645, 0.5793117621109821, 0.505004563008032, 0.514107415222552, 0.21029584832520876, 0.05943245887063464, 0.13249518225694124], [0.592813956008291, 0.10900856349765908, 0.8005737339444575, 0.5205964574265699, 0.6330419756636962, 0.32792442071454686, 0.25232959759173335, 0.7590947165703863, 0.5279208561513478, 0.3564805654369887, 0.1963017025777306, 0.17523583173502866, 0.6814389720862352, 0.9945404950133735, 0.8360450348622938, 0.5252422321285094, 0.9114019296665568, 0.7368502992201783, 0.6313221650415253, 0.6059894738535816, 0.323117010473601, 0.18291883971672918, 0.8396911181004679, 0.6428026339211409, 0.06739046598256082, 0.37737072096717605, 0.06885879814007057, 0.009776457723259302, 0.8338688663222052, 0.9670323635299283, 0.8336436104582186, 0.22776291648696778, 0.5272775846878, 0.042315143643868125, 0.7955596785597624, 0.5578445189468235, 0.10185776832199311, 0.29109834199502216, 0.7958080410676549, 0.16292634355949798, 0.6311917016884748, 0.4425134580630309, 0.9063810775909102, 0.8607853661837835, 0.8795074678247751, 0.3095488755401077, 0.9202861587797205, 0.7197092706421101, 0.17070675767535626, 0.5760325289568969, 0.39219541929895085, 0.6989545652694198, 0.1797539675708475, 0.38605846852174885, 0.855774475528614, 0.1785721922166853, 0.9674341225260454, 0.06230512226460383, 0.17733926361320562, 0.19196914979553525, 0.500207000204239, 0.6245846033436976, 0.7900037538757256, 0.9441741313183324, 0.9859457483080861, 0.7457553666175105, 0.2943112477769777, 0.6193249516544136, 0.7862715764070405, 0.6800906213548182, 0.43605223517363667, 0.06124238398205839, 0.45598475233141844, 0.03665540399640976, 0.8516700129319256, 0.21458300549484732, 0.47105982075269115, 0.6666357886372191, 0.47624451440262106, 0.825406794070691, 0.7077513600009059, 0.05061325729809818, 0.6195822273242008, 0.2870961378321283, 0.5019149565799935, 0.7346725203989362, 0.5494122845743514, 0.06637488087190213, 0.10403804685531459], [0.3306457981169134, 0.7558519253439727, 0.9830273707308532, 0.09399347469372776, 0.6886272834195672, 0.6842506102044058, 0.3614299297483491, 0.6447931510144744, 0.1303533407609947, 0.6667708025439109, 0.44572319036600694, 0.9219636555508793, 0.19687686959653694, 0.7836916391447601, 0.5125566576267843, 0.04243254199013746, 0.6464107749083321, 0.851571743584667, 0.6345978788015394, 0.6409319692752078, 0.6054725751563781, 0.7412194838765694, 0.06739526317777234, 0.37042133251922693, 0.4528076892576135, 0.6063410419744251, 0.5621973509249397, 0.9747684845024488, 0.9414575659120928, 0.9504502913139968, 0.5500225856968127, 0.34622378063737536, 0.007681620737153616, 0.6039285446572789, 0.6880744372006857, 0.2506272297640214, 0.611513271448149, 0.5784146132449681, 0.43282293490048096, 0.8604151317254067, 0.8649338009108107, 0.8776447849087533, 0.027441404621110665, 0.038835745378461684, 0.821725599174164, 0.03935076521215797, 0.6681288300094825, 0.337446294260354, 0.26461995927333626, 0.925969689379439, 0.3850399659408871, 0.35651018777569143, 0.24138278259397694, 0.3509304890567718, 0.6264988122455284, 0.32114111028105685, 0.08996236398005097, 0.332590858020798, 0.07603955374955584, 0.736942490682193, 0.42216740802260233, 0.20967675496558835, 0.2106415596978084, 0.714928853253648, 0.3731007056707015, 0.3735126392738486, 0.1254893487926021, 0.9709501161539615, 0.04234567099258191, 0.37451193588550125, 0.02104349327860011, 0.9570852852202157, 0.34668231570410313, 0.46217765450223847, 0.46462057216149355, 0.6561843150624905, 0.9822323976357247, 0.7602513165374623, 0.22232286742986163, 0.26883074514592986, 0.7592084461728145, 0.6572566988145008, 0.565491485819599, 0.9386098521797211, 0.8678354093776668, 0.7020423908865847, 0.8309198525532474, 0.7876354978882807, 0.3957417149188891], [0.9459264204448119, 0.8616156720595031, 0.6386716365681767, 0.9201986748667063, 0.20203758630159574, 0.2420791868914266, 0.731224556821161, 0.060849754966268765, 0.0509526307921353, 0.8624131891320718, 0.821112600717831, 0.7333423542473579, 0.6730200538067841, 0.3757307233821179, 0.977703907605466, 0.9719374736604255, 0.5032502999295444, 0.39864856639225865, 0.6197508878291993, 0.02969192986080449, 0.6319661033966084, 0.9753755890575261, 0.8179508548861547, 0.0286585850337997, 0.32902705020832623, 0.28182256449210197, 0.7637771097113524, 0.10611648274031438, 0.9666600796589382, 0.8716358968303786, 0.027337550772313368, 0.8614472004551547, 0.05902538069001351, 0.3987608640371113, 0.6190013670000991, 0.3066206230521502, 0.021452714596081224, 0.11792656695458958, 0.8429685171307635, 0.7604499721526559, 0.4425010107657058, 0.9552357034650683, 0.6282477772809734, 0.7873772900067624, 0.41626530605690126, 0.2954731465878987, 0.31571007418101893, 0.08187726838548282, 0.1395383864441292, 0.6883738596662757, 0.9033071081582882, 0.27647477348560345, 0.04507869853748103, 0.7329365696386304, 0.7419902022296786, 0.6612147529649649, 0.4802491651879548, 0.7032274225767543, 0.015397204307988632, 0.7471084505817588, 0.1710095022779865, 0.8119396236600525, 0.3495678445361313, 0.7952012262473598, 0.24274281835850087, 0.01381252563935731, 0.29442056122928784, 0.874713122069753, 0.9025729425739412, 0.006061728669588318, 0.5329429445950915, 0.022641306077631707, 0.9903882269493299, 0.1425692961122983, 0.45302432003257775, 0.7224994099898124, 0.9750592228970606, 0.7780706687706046, 0.30258898088054165, 0.9006309000632154, 0.0025399620605089934, 0.31779024361888475, 0.5224062452890609, 0.6164963121376917, 0.5112144273868257, 0.07246311999371546, 0.9877126552603654, 0.21042297544298272, 0.6679956130917062], [0.22796197474444502, 0.9938810751612469, 0.2065664309618993, 0.3180708066648015, 0.8355265638464344, 0.023017168901470764, 0.1299275790721809, 0.8564551833029246, 0.9651642569277536, 0.08446728967963524, 0.043075542427086, 0.4325935089651376, 0.22252407702311516, 0.30389516233007197, 0.23414548431366755, 0.24014734696184292, 0.7821791200052538, 0.5463448895440027, 0.6731483754849713, 0.29537638541117506, 0.25063897819419345, 0.4503251443319968, 0.37964948919901953, 0.7070843519361155, 0.7130215335117043, 0.32852639313611687, 0.6357453528983406, 0.23162987286571102, 0.7717389006585811, 0.15295483451142444, 0.698559647576509, 0.45814009391316246, 0.5564025350935493, 0.4485136559752184, 0.19164735969673852, 0.357994810116924, 0.5487501280217874, 0.576785379306412, 0.4772561193196091, 0.5180346038230909, 0.7307184417302317, 0.5542227851692234, 0.8736540982857796, 0.13913873649267117, 0.1849189010369099, 0.06225459384356846, 0.12846111743677147, 0.026848144779398897, 0.8657176615351285, 0.5131893761802674, 0.39192055914430535, 0.8474511151293586, 0.5377005003787905, 0.52545627536694, 0.6211990418111789, 0.7608427174312107, 0.05189038136625235, 0.0423807569375958, 0.33650657443045395, 0.43125929151539455, 0.97955821472083, 0.16867276633178652, 0.4560861923296853, 0.7974458299985934, 0.27291850999953726, 0.9056870322171681, 0.3637012659390576, 0.6342653744378496, 0.41430928636723985, 0.58541258288383, 0.8901374499874871, 0.9987442443818566, 0.7537336474167129, 0.5962813010171235, 0.4979996366750632, 0.6567301544560625, 0.8700852622255534, 0.34579108685930915, 0.8888005150018261, 0.035910829138393385, 0.09680626453295971, 0.35900461639376147, 0.43759352977094956, 0.5942399926117719, 0.9546866902350349, 0.41516610729899606, 0.11188231881141131, 0.43235374053255116, 0.8657826911369555], [0.2910503726971375, 0.6408860752521527, 0.42442270860366293, 0.20702892468025558, 0.7922677587325105, 0.10808437578744667, 0.07690471770452789, 0.4931047617904494, 0.6879164216859053, 0.8690524217524459, 0.2611194007316321, 0.7843519477958426, 0.36414307532270385, 0.9924242442592466, 0.22779829330175283, 0.21860929393293205, 0.007349380091883462, 0.11045326944115041, 0.07240525701278089, 0.8922794838287037, 0.7693344273177735, 0.0018861055168551966, 0.4399218776040732, 0.24939193154413763, 0.6270155917143814, 0.7111746558801708, 0.2093686510075502, 0.9549654441768411, 0.340041859701521, 0.9478671712971668, 0.45744749043566213, 0.21687050111638984, 0.06431031565264744, 0.08463017445204646, 0.6656796122461592, 0.26965687757096046, 0.3741040764928518, 0.676908458867534, 0.302891376997106, 0.1421135458063022, 0.984961793254127, 0.19183601870247258, 0.19578433150599506, 0.9916964411711611, 0.3113542830354191, 0.7039202643141599, 0.48945248047644974, 0.2575376688899149, 0.35821434047796974, 0.9089453166546443, 0.07118710434702313, 0.2468065243821036, 0.6223067345081164, 0.8006178389492656, 0.2985227787273802, 0.12815932367906258, 0.003160932161117347, 0.6337457073440476, 0.5998362615788793, 0.9433524470448524, 0.005791436404514738, 0.31741686697482785, 0.5308712272544037, 0.49638360834026574, 0.9445919372079514, 0.799144101051607, 0.723397203759775, 0.974411160148471, 0.8541409615936101, 0.4686661580082798, 0.6563403032506117, 0.8514674677738044, 0.06199569839896779, 0.7026446491132965, 0.47134941641429007, 0.43508559819875003, 0.4956443774360062, 0.41260549092923293, 0.36294123238023857, 0.7760476527229221, 0.7204459290755828, 0.9983000215737238, 0.3406407832500521, 0.09556301626398989, 0.8430806935175711, 0.8282329762301891, 0.34661436478803676, 0.7787190364049786, 0.3694438255012802], [0.6368418806173609, 0.8177845401421623, 0.00696396398037058, 0.4387967955430777, 0.4181039174099809, 0.006932288182362023, 0.2617151770013456, 0.8405162870664785, 0.8131120053466552, 0.9809672257669408, 0.4298696225913381, 0.5928304454986566, 0.021998814290265734, 0.42316418606568407, 0.11272337802262611, 0.6425648088261647, 0.14478476677058938, 0.9930963171365207, 0.6062284900012627, 0.4659808456966913, 0.742723190386684, 0.6497474312513434, 0.07172176837921307, 0.9344111455913541, 0.06724447663906896, 0.18759000610924947, 0.7908252605376686, 0.7326995985766116, 0.4228416133588264, 0.4694736994899924, 0.5422131846211089, 0.8027776682587393, 0.4111440105806121, 0.15863733775229916, 0.47142842510471583, 0.20670899809431786, 0.8486132626810363, 0.1893380771198735, 0.3568032191631285, 0.6637292663316005, 0.9561015086148933, 0.7682545704622837, 0.27439280371020436, 0.32006866825050695, 0.25236702276403256, 0.238820180406617, 0.37812888509405795, 0.32019541701015386, 0.3794253359240811, 0.13182702669444513, 0.5741482103580362, 0.2832302481905721, 0.16439756032401476, 0.8009984531907556, 0.6084865001575482, 0.49949524382720045, 0.517542697841107, 0.21092801793481442, 0.7461756025079589, 0.9025428641818922, 0.1716023681138087, 0.3054673296329041, 0.3889148847021442, 0.9394138794996211, 0.28368343401416896, 0.15021895814382846, 0.059348369793633005, 0.3197094673458729, 0.8777182466540803, 0.2095171436202551, 0.2977002033391146, 0.9759516493132913, 0.9376230779380027, 0.33731167344952406, 0.8178776663428357, 0.21908506828949414, 0.6078514591302322, 0.9684721209795791, 0.7232110346359623, 0.17587541046931554, 0.13066843437685483, 0.9876219250834961, 0.1625088320974295, 0.8073275576781461, 0.4555401684658321, 0.064958212364566, 0.3134874093749165, 0.7958812633800265, 0.6737444271628701], [0.4527819111541086, 0.8715757623955432, 0.5159106037413833, 0.8272350823750324, 0.30387357080764477, 0.25653996430078096, 0.960287319043134, 0.09398385311021518, 0.12890321485863832, 0.07597093054596649, 0.2804010105117274, 0.12885503475260185, 0.4537848598680708, 0.999840572653075, 0.9606361671415681, 0.4454039015518392, 0.3181098010381007, 0.5915428556554538, 0.5459181520460291, 0.3550393302577878, 0.8172075597229305, 0.48926530399142687, 0.560610408572006, 0.2863530099159497, 0.25286710210709107, 0.6474157437742017, 0.6917187435459505, 0.06303805991310862, 0.004569949049430533, 0.6236511892489472, 0.9524736977662994, 0.353976966104972, 0.10615165684029404, 0.758399818837753, 0.7846585038696656, 0.13944895713622174, 0.48749203036431776, 0.4935777486866021, 0.829671545795688, 0.17131935892958639, 0.2839727971988285, 0.5444818500642041, 0.9225589049232495, 0.26081969864176346, 0.0611584819003651, 0.35162957555654006, 0.436724479776446, 0.24760364465314033, 0.8560939513288465, 0.37383035649746477, 0.17109395320868392, 0.9652133911401589, 0.6141187160535398, 0.2132162656275951, 0.3556395046859532, 0.4380135111763962, 0.6584722443966091, 0.3507395725334682, 0.48866004027326426, 0.9490540111052245, 0.09073466210906966, 0.20192360569448642, 0.7786236245083727, 0.022275735207445413, 0.4971688595937013, 0.520128417095031, 0.7520092335325312, 0.6553413231037476, 0.3194690599045086, 0.39168742353568375, 0.3499887992297879, 0.9446757091077005, 0.06681255443641376, 0.6443102290957397, 0.5266194766341105, 0.9909359306891188, 0.7002847254990655, 0.25620485792381464, 0.4070466704876141, 0.30561587275739677, 0.32051776569641466, 0.999773251065679, 0.294439597181409, 0.32115811989388876, 0.8120594391534289, 0.45975176414208474, 0.2614575095851869, 0.11989691589229434, 0.7104142596155735], [0.21060764110186547, 0.7415831608602376, 0.2853450778780684, 0.6210213030446752, 0.18478986444700485, 0.3783691022527913, 0.6646637867459618, 0.8672212819794209, 0.29706874096516034, 0.18451577785544415, 0.4392504592901799, 0.8040860379802636, 0.916416093500695, 0.09410261725681102, 0.07678502283485622, 0.43783582036637847, 0.6190397570924363, 0.01554446944239296, 0.39526619648428285, 0.793778027994534, 0.43819231427812977, 0.5212494351863272, 0.5451162295258376, 0.8011654764232152, 0.8569829314068946, 0.44019990863866876, 0.3847472806713307, 0.6419221688663757, 0.9634918645892001, 0.4827952847898147, 0.8969930520379044, 0.23010012024050586, 0.5122774858721572, 0.3224244410688405, 0.6845642722428802, 0.7377386298013913, 0.6819611344668856, 0.29926010932961855, 0.34412869975812554, 0.8965946594202727, 0.2619922815242489, 0.7263209443296339, 0.6524802904944095, 0.398880334207773, 0.17317081159810555, 0.851310001979001, 0.5034783342076603, 0.42036377309085526, 0.83657689738968, 0.5834920069552141, 0.5666896281460503, 0.4080471136239736, 0.6187912947881546, 0.8688025439931042, 0.07726416255629476, 0.12378844446471671, 0.6279893235410852, 0.6909204116341784, 0.6017845783634144, 0.2037546019060852, 0.1509967660681245, 0.8863604940692985, 0.3574005405867172, 0.14749643983166927, 0.28163553423320464, 0.28636747825352205, 0.6466468835037997, 0.5149129027831048, 0.8050709398353444, 0.22987455554952574, 0.5228295676364006, 0.3460335642922151, 0.41640896938703653, 0.5306446181066766, 0.13011388791284906, 0.7770395412639131, 0.6365319881494483, 0.23507458221864075, 0.44936200547504646, 0.724275270742083, 0.9837593159722923, 0.5573713456303401, 0.057628582223284375, 0.6699177789891936, 0.20554474377213405, 0.37624534941279575, 0.79807447827325, 0.21218673646863384, 0.21819263716038861], [0.03897265403220185, 0.21837339331630878, 0.05743071063016192, 0.8486905283031274, 0.7540911291500133, 0.6312002353257942, 0.877286497071858, 0.45360060543446934, 0.8300371007699713, 0.8378465772187004, 0.5373160696173089, 0.7825561665571132, 0.14234457427295633, 0.9351834049982952, 0.17261899447197793, 0.43283647918926915, 0.08311848929224575, 0.5246522031774474, 0.06177199219873841, 0.27163921490738996, 0.4594812031286738, 0.2738369112101098, 0.44438613953567707, 0.3863751094326945, 0.9854853486663929, 0.252868881541247, 0.6930137130714704, 0.9996536592023392, 0.7215651772334943, 0.08755039557267141, 0.8989159251411527, 0.3018894149898663, 0.02167422499427829, 0.24487480023373176, 0.020754038029450195, 0.37683373167687206, 0.5736047501334764, 0.39830851209990326, 0.01876525645812388, 0.4082245122366406, 0.6642033521495321, 0.12414618095219165, 0.5632547207340673, 0.8338796332805194, 0.7411245677234046, 0.9801677744757704, 0.5063729308456013, 0.06167367540400892, 0.14844419810276555, 0.5925530228807603, 0.8149923858953618, 0.4184830796325928, 0.6322888800709894, 0.9944057508979397, 0.8059951104932292, 0.15442113154909043, 0.4197311279090594, 0.1530599538620121, 0.17205193026920762, 0.02076570194186733, 0.0668791677369609, 0.7287764052430625, 0.5950408013103938, 0.1509620645269304, 0.653247449898774, 0.25466870801019437, 0.20752088266429147, 0.32324470226571844, 0.3906636613340726, 0.8218240487077931, 0.8813081474566011, 0.14652066893442728, 0.061210224052202444, 0.7189162414259302, 0.7703488392683, 0.19155079277561116, 0.8824721137727224, 0.6100442021098781, 0.12260311253191747, 0.20386968031168318, 0.44880002788766127, 0.4667368563755401, 0.0336662943825522, 0.43390355522238067, 0.9768183458235397, 0.42638917478245697, 0.911662019832323, 0.19216997042663164, 0.173769849413564], [0.9335605563242012, 0.6598116868014728, 0.8721353566036596, 0.6253024485732454, 0.5055517186930002, 0.1442117474942175, 0.430735642303923, 0.4020867805655749, 0.7914444628006547, 0.18504903809768014, 0.32239387497736793, 0.8013324856361865, 0.17479888518602116, 0.5853084096312409, 0.2794471757642931, 0.004425974898687013, 0.5634024212624583, 0.4670819218793518, 0.19375839210263957, 0.1391399403998601, 0.8808472851079598, 0.02638924416989763, 0.38585228732683274, 0.5782782800238279, 0.012228722589827767, 0.04668735420525838, 0.07062423102770865, 0.3789472315955198, 0.7507877894765567, 0.2141391643730799, 0.44921082837287296, 0.43971807748742975, 0.6802827701751664, 0.22329878505503764, 0.6174624520500084, 0.7612134483894734, 0.7997215566005024, 0.25662141951145767, 0.8887899521856379, 0.5066158698970209, 0.7468208449841978, 0.706768812429827, 0.5910478329139676, 0.5056204247927089, 0.471466078717234, 0.6026486025258868, 0.6746795327641194, 0.7978597177677198, 0.46366936756852184, 0.5708294473362321, 0.1745150981282787, 0.9747973934980959, 0.8621707911546693, 0.6093439657383446, 0.42093462479241195, 0.8696373789475678, 0.8118749923563103, 0.815491874555964, 0.7986199022400321, 0.18398286112329598, 0.48512773645676466, 0.11681632768509032, 0.4471988473684836, 0.587106232097867, 0.8949148055021465, 0.5846911867331699, 0.2685114734064511, 0.6981001580073379, 0.5866039620137343, 0.07473819557986872, 0.586567475508251, 0.6443244287060016, 0.7505759790808784, 0.13472756206995484, 0.5886558668629618, 0.18238959203783744, 0.476890884139228, 0.5604077554650705, 0.3498494911389153, 0.20788986781414043, 0.8431218991153971, 0.08472203612897089, 0.22490007627286968, 0.5097159118786063, 0.9878557535934923, 0.5395514798847911, 0.4321036127760305, 0.47364026251464253, 0.20331273101267833], [0.008059794056416214, 0.2689966293614756, 0.21756567723594655, 0.6121826313093088, 0.16264639197969954, 0.07848049939378055, 0.36239028819243435, 0.5530268926746639, 0.2679866724532659, 0.6484026370820766, 0.040208942299870376, 0.7447877409222344, 0.07244013343472477, 0.3947181198142342, 0.23879134723160222, 0.5060764880840276, 0.7423321093556767, 0.15772263930337738, 0.25594302192182816, 0.17546599729810342, 0.06689163422908839, 0.1649265637969527, 0.15099620751948417, 0.17090449335209967, 0.3470933345180659, 0.9700380832889224, 0.9962023209938331, 0.9226432072979627, 0.5280636157553512, 0.9478117742811465, 0.2843195286495388, 0.011096290074303794, 0.3312380535974284, 0.4669900086657094, 0.4681697632220263, 0.24984365186770985, 0.570925632352598, 0.7999240897394274, 0.3191903944458844, 0.5762546461399842, 0.5491644348961474, 0.6842919443174558, 0.045987634338641836, 0.7739332460737307, 0.5602510524330804, 0.9938374807128662, 0.7383663270961339, 0.705578755004088, 0.16586521972035084, 0.8519979701444903, 0.7748430033280501, 0.7651384239008664, 0.43851380058967315, 0.15955955343005457, 0.3838842138767081, 0.0767388506111607, 0.3889528530187114, 0.4298144387613865, 0.11817159778736308, 0.35957051490945147, 0.055040179769533126, 0.40121896869828777, 0.24318238709141582, 0.27975206219332405, 0.7192791179025902, 0.043367836805397464, 0.3833049761275067, 0.6134653417915039, 0.17368205753277677, 0.22051142779700483, 0.9124593256381482, 0.6552853867436924, 0.9858618773300353, 0.6997763531227771, 0.9357752712501595, 0.6646686526880289, 0.8896683889113776, 0.93435678011018, 0.362625495694906, 0.8805548419917437, 0.3637874296332464, 0.3406579212236359, 0.9641970133072908, 0.6715745192301191, 0.268186253756331, 0.10897351573604475, 0.6605825011452706, 0.8938972799784266, 0.5469545451432484], [0.24931091306606656, 0.08632126885037916, 0.63217963235398, 0.8794264593228627, 0.6084017656518549, 0.29717108937610826, 0.5260034781367878, 0.8876290812366867, 0.2283954173966395, 0.5779385367319128, 0.45364635824123567, 0.606821821015322, 0.9830530461186576, 0.5777833893121679, 0.23226323626742684, 0.16350928662830166, 0.5776600131669574, 0.16342763642228764, 0.7848384959370958, 0.11485268809917126, 0.586771033801774, 0.7801756869886156, 0.1289312338537496, 0.9352901733176092, 0.41359365618209254, 0.10816417329444461, 0.8926788220985895, 0.3025075424209511, 0.09937284258039103, 0.5440307598158252, 0.5437672710783027, 0.44774577687556205, 0.9491613835702378, 0.34772650909570557, 0.21795480930597833, 0.9610732922481453, 0.6229291385421578, 0.14561325584614315, 0.03851708579983404, 0.5311941648917505, 0.15190360063855135, 0.7844769493052893, 0.28835110928095964, 0.7819502920572318, 0.7115456149374937, 0.05465913947012002, 0.7551263756956227, 0.10788736251997988, 0.044732429162066656, 0.7664657964782744, 0.2042844106013154, 0.7086778135631298, 0.0017317630709575704, 0.8071660132692985, 0.2060568229267996, 0.10818035297393935, 0.0828041856454298, 0.46137026361555145, 0.5086650810071789, 0.757317525646086, 0.4678916636740953, 0.54731524866817, 0.24925834815013448, 0.2439384351452497, 0.1719633793142613, 0.9355794971112409, 0.1052676484426055, 0.2244243451132193, 0.20056184480773187, 0.23359399234842615, 0.8968528998706028, 0.23952624852041515, 0.27405066031494574, 0.8479351078573081, 0.06864943335312912, 0.28862174879952707, 0.38114527727420966, 0.8217216306950439, 0.33911625393509226, 0.9805321593130507, 0.44415829977185484, 0.3572506196557792, 0.36416860792180605, 0.5391468318446765, 0.35996442763945924, 0.8830284194247717, 0.4595681796738317, 0.49690117902396314, 0.6634423984371042], [0.5944534418532013, 0.1906677349973649, 0.19841666312833128, 0.7614812908592914, 0.25827047608401543, 0.03919940071003036, 0.5224180462970743, 0.2503395524311317, 0.735134947318893, 0.5967637308977931, 0.5018510901388931, 0.19668063902468647, 0.04859988753925626, 0.34167429087078627, 0.6616819354240795, 0.05454556215512785, 0.8483352876626105, 0.2489454813490426, 0.6475787440120399, 0.28716529783753275, 0.054438952077878744, 0.012307986568561136, 0.05143725614836914, 0.06492454735841324, 0.6827431302429035, 0.801781762363605, 0.6134130194181976, 0.7703892245141851, 0.40999423202182095, 0.6029820413797186, 0.7259480282432128, 0.9191190851799816, 0.7975605011277966, 0.44956279031712987, 0.8369707581082857, 0.6574053151023319, 0.679824607034044, 0.7946673350190977, 0.21349438190465797, 0.1257522848544551, 0.6670176194230084, 0.5354021687388455, 0.028894790858679298, 0.28943800636560546, 0.8731952218840087, 0.8068633438924437, 0.11836164050779219, 0.20792787392287737, 0.7943404790743571, 0.7316773649544869, 0.20164398342827738, 0.331114241581869, 0.9897343069777569, 0.517707213291915, 0.43759627014346425, 0.14611634023778763, 0.4440728565722064, 0.06029335960445803, 0.4247466905729915, 0.9385927260415945, 0.5255550498301961, 0.3955409228272335, 0.6115229148336624, 0.5367185173425656, 0.8557792910834777, 0.9417322478556718, 0.11592202980335664, 0.03392060689322407, 0.30866795256443214, 0.671685211574287, 0.7493743090356727, 0.584760876064559, 0.982082093429524, 0.08351482082926309, 0.449010251856486, 0.8872015638840163, 0.12284385455211144, 0.6864589066297511, 0.2048899732599727, 0.5182929124556228, 0.4488454326722291, 0.94255673102708, 0.9954277674552197, 0.7886591005288821, 0.34875667217064965, 0.0828794131240761, 0.1437173879411887, 0.667284909210653, 0.25714573586822764], [0.0423598172586922, 0.11114231185120327, 0.6326677677941293, 0.5706118690931616, 0.006596026967960578, 0.04456162594335644, 0.8861032365997162, 0.786900370654286, 0.28870505412743785, 0.46003384898564614, 0.6127827670435486, 0.14963353811295932, 0.49212028374215855, 0.7801701148199575, 0.9329833033076246, 0.46823758709079366, 0.26113185452503096, 0.4818031429827708, 0.7942604233396481, 0.9009683292362827, 0.7172198951585735, 0.8401435954773689, 0.7642848824180932, 0.6272079994306909, 0.9583983958065073, 0.38637678770681083, 0.4861215030678335, 0.9379996454594821, 0.16851994984091334, 0.14171647955048017, 0.5881745385425683, 0.1661508892971285, 0.3562846699100264, 0.6673450280341893, 0.5569317729040572, 0.5962998561478923, 0.9822783561017524, 0.5090693889915073, 0.8841436723741447, 0.3814347201281083, 0.47245431318049536, 0.39081890419840215, 0.08473865990916885, 0.34624790766496905, 0.25609675881392313, 0.546979670792693, 0.7169249683022555, 0.9453755862495012, 0.1943830747902423, 0.9729067532529695, 0.7815296355075649, 0.20039259183622837, 0.21979032465863835, 0.08904427285853822, 0.3026089899227974, 0.24803538333468667, 0.09318206149799135, 0.31521886905676333, 0.6372638806484195, 0.11772308163959344, 0.9671102568001427, 0.20177757897294302, 0.7104486151387214, 0.6265859360632278, 0.5396586191023491, 0.8431068605180381, 0.6575540322368831, 0.053881948043698835, 0.7864061523668802, 0.7751952182347419, 0.6533031321762528, 0.30018655804332595, 0.271698812524204, 0.2715861750587486, 0.03631488319046883, 0.7790196301348221, 0.5058076476783613, 0.5786981040228415, 0.6266181613431104, 0.07370192769086825, 0.4836268507250392, 0.7900494787732302, 0.6030899453543832, 0.9899180338817218, 0.782276188809181, 0.748922928449791, 0.3142503884939696, 0.42644402226524647, 0.6293198406119814], [0.04549870455572136, 0.38194315850743144, 0.16269634025983648, 0.8807983888261588, 0.4871047553650868, 0.8503368854785109, 0.48608322635227164, 0.2506969628887358, 0.43785963208501555, 0.5338072116544336, 0.6419540752483325, 0.7311905594666033, 0.4521632810299433, 0.11501249058768503, 0.09820422832728115, 0.021932346874150577, 0.24285100167273743, 0.6486262631861986, 0.8791726740636366, 0.07968528413748854, 0.11971536102054814, 0.4076584841793949, 0.9033528079418093, 0.11383465406408655, 0.6147811676908085, 0.2911447716358929, 0.3377012359828908, 0.5541393517513642, 0.3501016926866827, 0.30238641582824355, 0.758491739877139, 0.6782434287136418, 0.6944371239028787, 0.48309884018188143, 0.3220044320690434, 0.9818968120142737, 0.49782316159249096, 0.04180437467239273, 0.9614479218586822, 0.886278805955894, 0.5979756493884999, 0.7954137377638766, 0.6358928494642062, 0.26241514867674, 0.07456245888861301, 0.9188653102567758, 0.9364391008977029, 0.6420624052577114, 0.36063376118002843, 0.8979146830880372, 0.7526586197409194, 0.8963587105998275, 0.8961733264239976, 0.3785078639120233, 0.8404353059834183, 0.36451413480566064, 0.24395241764930786, 0.5701920434984148, 0.7582109689244765, 0.20779654246655765, 0.3251723076861739, 0.33153958122512184, 0.5180217925191019, 0.6439524873063933, 0.7130990072113416, 0.8531192974352391, 0.99764783093527, 0.37001265805693495, 0.4458089197268127, 0.9153464085833602, 0.19436010342934318, 0.18868141756105938, 0.5309804976012027, 0.07724686333573327, 0.8052068729772963, 0.1654107817183228, 0.4238707121484523, 0.562847350611082, 0.8510141173523572, 0.5552761738500299, 0.7061505914357654, 0.6975310729789946, 0.5920434121028548, 0.2456797953881179, 0.48188688511953526, 0.7710195124344102, 0.9582949703556664, 0.8891282291931689, 0.8677495546857988], [0.9442287403741365, 0.424431475190559, 0.09778968754183803, 0.8565200796172927, 0.38231503477518913, 0.4313115506747617, 0.9138793928015005, 0.3931734127651625, 0.2422518380394182, 0.6722144712116231, 0.18742588954877726, 0.3341915660638598, 0.33647520535235964, 0.8373924509964246, 0.0789171663284115, 0.03340003547040238, 0.06969822832802608, 0.11147719933670341, 0.5031205126366368, 0.4571414955704345, 0.5099509919665213, 0.830865540626445, 0.2153139093971127, 0.8031303065437225, 0.682141173138206, 0.02083384331138194, 0.006724324391275349, 0.29726901371582004, 0.8175002987697042, 0.5577745571140922, 0.7078037773824121, 0.7595415329045907, 0.39672635940157597, 0.9657265485949282, 0.5976497718888204, 0.4082449481679744, 0.01327497816751888, 0.17204758852543756, 0.7477174599726728, 0.48027803484749, 0.5363560169576529, 0.9252541540263103, 0.7088180603919747, 0.5624397958062738, 0.27669016728765394, 0.5738465033588692, 0.5833801306290324, 0.37556663880066, 0.057625941240925904, 0.4794842709654358, 0.9551797462562338, 0.062391497859238365, 0.4496892517628045, 0.6906931022879625, 0.05052814908773784, 0.4558135174651663, 0.2324808322821823, 0.2857314333121409, 0.34694703286473827, 0.07174397189102788, 0.4737595908955422, 0.49914405685239827, 0.9970860347976724, 0.7405201072768433, 0.856640048094733, 0.2924163440474702, 0.9661863813185472, 0.032348551980201146, 0.4164442799077962, 0.48880278555558054, 0.2846932066364478, 0.10179905419235336, 0.810247001378036, 0.5648758097585349, 0.9185101036038891, 0.42440550250095765, 0.6493451819561473, 0.07727096471321271, 0.27314696555935136, 0.9317702113026586, 0.3295741431063546, 0.8807232023841852, 0.4413066018327889, 0.6513398498681242, 0.7691211577304075, 0.29169499085188966, 0.49418352602207716, 0.7682008380079949, 0.008151727641101725]]
bestbot_bias_layer_one = [[0.5869843034155573, 0.01726293549357827, 0.32380919370482575, 0.40209337128900813, 0.45948066522322073, 0.4829439721932879, 0.7498779412575997, 0.02497271688713465, 0.5690014229514194, 0.9928415031515031, 0.04658496066654971, 0.5524711228900091, 0.4388660741853295, 0.8151349330576652, 0.45540200943386244, 0.2296308502845923, 0.7136723473512485, 0.6125239583178802, 0.9405895428130282, 0.4012770939207424, 0.04403679777529812, 0.8570470164313635, 0.5308449794457709, 0.3038421285197491, 0.5478259579857355, 0.5323509316557327, 0.3061410541508941, 0.9287235677642257, 0.49550475770904867, 0.2919305294198272, 0.7696823206009715, 0.656734312783879, 0.6122544061735317, 0.6717905362776706, 0.833437410272183, 0.06404973304007389, 0.5927207372591844, 0.19700520826216372, 0.8168207311629369, 0.5142057646812788], [0.7051590064353349, 0.6934937521213669, 0.3154485022882898, 0.38293013023364064, 0.6637383497201229, 0.13952811525972464, 0.1713271385770827, 0.7067805226167707, 0.7654389134462866, 0.2758511525899614, 0.7410253515702949, 0.8616194100925286, 0.10045205599351836, 0.6997586996288497, 0.9745272111651245, 0.4239580452690247, 0.11172328846339163, 0.5077749348439146, 0.16337172320940785, 0.9377808439396493, 0.3920148610903501, 0.8777463155809128, 0.28179476322162966, 0.8812919165841336, 0.0405447119055099, 0.7285547918484994, 0.5982901621163246, 0.5620726178740193, 0.29689373580984146, 0.6445213724875892, 0.3192100958353604, 0.1304954719651492, 0.9150972312594478, 0.9280214670727516, 0.9182621546449449, 0.513648875845493, 0.8939820449964189, 0.020880256238280603, 0.22028833518776358, 0.7331562905218973], [0.3393691299324336, 0.014332818739899666, 0.464028862489536, 0.8358516990149437, 0.3985419794254623, 0.7290713579391268, 0.6002536383507754, 0.4609455359636261, 0.8798832053143857, 0.3181491465624823, 0.32611263214266784, 0.9289808687231027, 0.5556289057149086, 0.11556529209770061, 0.4691440708367196, 0.516967526910564, 0.5292291673590227, 0.4264067071423141, 0.8716303620321492, 0.11699488564221405, 0.034883215070566465, 0.5080181390118121, 0.2831004745679889, 0.4572227091853506, 0.9640974720368808, 0.348776550472335, 0.7288359281916602, 0.606271564479506, 0.09038069869059884, 0.3714452102425114, 0.526953459838478, 0.7083871656356846, 0.3975791615581482, 0.19342139560043936, 0.2890950524811138, 0.43380701439151803, 0.7315398100039177, 0.513291662838563, 0.07670622431656826, 0.032274287252976985], [0.32463614250333694, 0.4411024637566179, 0.6452128604323639, 0.839340841875141, 0.49301281131871466, 0.1008424838510864, 0.5748186968373075, 0.5723008753475625, 0.730141667954161, 0.791320007984113, 0.5726067292340237, 0.05862818562872152, 0.9705135519965542, 0.11062058713422984, 0.8016929399081717, 0.33004472014526165, 0.38248302431200853, 0.5167332960226184, 0.4284582131331556, 0.26296626162275816, 0.5979194636801236, 0.4032296235281183, 0.6865163020094032, 0.5458912727723548, 0.6321587499718764, 0.9821950602990837, 0.6331033297573513, 0.46325215509895934, 0.3070285232626587, 0.16647548954801328, 0.8637386145660525, 0.2565376111417671, 0.5233959625225358, 0.9397112659380477, 0.8609354123769875, 0.25747373397395046, 0.5884762994933592, 0.9392496773564102, 0.42581820825190286, 0.47652570859942667], [0.12490589524504891, 0.4046967358011444, 0.509899534263223, 0.613416322304062, 0.744337998284888, 0.4274397129835258, 0.4724800199609962, 0.5954743268005194, 0.9467516014114231, 0.5701427475970856, 0.6263496344148853, 0.21966891003734101, 0.6477762609605933, 0.2388461389328277, 0.6940268605289682, 0.8786978242517444, 0.8683497773110876, 0.7493635615145222, 0.9120697645678426, 0.07916368028913978, 0.7805007988062088, 0.863182038230432, 0.30112214860331943, 0.7989251079987345, 0.3639688181179338, 0.7678341055597983, 0.29862445247509173, 0.5672472739442507, 0.47713603947715044, 0.5446246928070916, 0.024312055777480746, 0.8197679517587939, 0.28882237120120346, 0.37957110552072637, 0.792059016910262, 0.4721643168663515, 0.7031740435023112, 0.9587976098317011, 0.37190866825563407, 0.8207651582618248], [0.9848849587136944, 0.428300836198624, 0.970977051134408, 0.06098431153892625, 0.21862261138693972, 0.5192349883960562, 0.8454122594069349, 0.7571328568749341, 0.3399860511220323, 0.7071905633098727, 0.6445547280925873, 0.39527001744739554, 0.7075523052055807, 0.2822366413550136, 0.7792269530886707, 0.3376946879421936, 0.4634172847320447, 0.1956691474008313, 0.09644303983788483, 0.16069057476756832, 0.32070525403009686, 0.4364128384629794, 0.6916745743000224, 0.5299961749044829, 0.7816236114075538, 0.4132312457240688, 0.9232874092474268, 0.012963529720940503, 0.19279508001038925, 0.1160569609668256, 0.43826898293609917, 0.3179253863280015, 0.6580908508443628, 0.1905785948583365, 0.941868381753341, 0.615818732019937, 0.4157750629552086, 0.6009037440719381, 0.75363752149783, 0.48220946860123237], [0.8412658477838035, 0.5096408456417326, 0.0038681652077868778, 0.9360891863547243, 0.5659062587498304, 0.0928152000629, 0.2583477156946534, 0.9731505664769442, 0.0038494045076241656, 0.08559400050769317, 0.3661157792618094, 0.24586800922038143, 0.3303760234996247, 0.5489843098238874, 0.6462864603202875, 0.754081717104515, 0.911400116377411, 0.7158050867465208, 0.059750006910185616, 0.8441492149130284, 0.39066832655259, 0.44903332250519323, 0.27608239958053316, 0.8434382475608068, 0.04333080864471095, 0.4121095834090096, 0.7261882287776862, 0.7171735853874578, 0.586338528838428, 0.8533801946817883, 0.6467847736893537, 0.23912847654442715, 0.5757660250312258, 0.77111741958121, 0.19857057360579633, 0.14936794272330656, 0.44310795941241854, 0.5898066973855092, 0.2756171724753069, 0.2547503144302793], [0.5374750638681309, 0.5991376854232124, 0.7891857285223945, 0.16670912607877264, 0.7356536210332838, 0.5387056848225406, 0.17525136407944963, 0.28397745905237015, 0.0667180374620232, 0.6849578372664762, 0.8683768550364402, 0.671695768163775, 0.38769299711260063, 0.12264852691284267, 0.9667166829050429, 0.06395858926817388, 0.10283987408265183, 0.899841434391164, 0.24365253646024088, 0.0489692482398465, 0.9765363196643393, 0.7921057127578887, 0.26232246668236403, 0.25778439429787037, 0.5685312178802286, 0.812510029449445, 0.08681766343167352, 0.4704466392229436, 0.7594448474806748, 0.5438335309354643, 0.6632132961469417, 0.7549269779471378, 0.3113626416775641, 0.9663423124107762, 0.4814928089280477, 0.7891729221847982, 0.9281282280064231, 0.917886872510553, 0.29219574614373667, 0.8496826237249925], [0.4274473944056766, 0.8997329631674615, 0.7333051506314315, 0.246924590343653, 0.7552156796772141, 0.737030027821469, 0.44671303063396073, 0.12721986879693337, 0.7598894602386473, 0.6021055442621218, 0.40031377419350334, 0.7526173285634752, 0.8179647954234609, 0.4666872885200545, 0.9769826721882346, 0.6076842245670706, 0.008521031609271756, 0.30612303490940307, 0.5133997133764433, 0.46550050468358595, 0.9063827493573432, 0.5931215755431828, 0.8942470810413261, 0.1339347627591133, 0.7495786228067004, 0.13027788800103401, 0.619920264238309, 0.9859550633455454, 0.6020190018685244, 0.5919542397033075, 0.02438656520720328, 0.25228384623347677, 0.7533853088378498, 0.7292329178761787, 0.17874249976225798, 0.9024743328395708, 0.45874128192060815, 0.5444267916161052, 0.20215971319764636, 0.9491172142489701], [0.4613020571859725, 0.9370377411692619, 0.5607839057045216, 0.5649287472772042, 0.2846767329456714, 0.2025854986748986, 0.11938661219434321, 0.09330858796558028, 0.573843870955233, 0.8692234327088826, 0.13134665670167367, 0.2621675800369411, 0.8783956005809461, 0.7779308981453649, 0.9996952779192133, 0.5593853836115266, 0.43287344900859426, 0.712798919953591, 0.43473946459808455, 0.19236184035186732, 0.31006854086500657, 0.6680375710948333, 0.9574045687785544, 0.9139548363306833, 0.3251766802902898, 0.9345151189986184, 0.0837839998518285, 0.3644143036515509, 0.49739620485943925, 0.3951614057286681, 0.27559213504357993, 0.39065558163256453, 0.8484411300852319, 0.40777932241669446, 0.21126699489791645, 0.6145489300534415, 0.9393258466947169, 0.13463686603192138, 0.7781373563585937, 0.7877891439685033], [0.7414685453521099, 0.5416800817687003, 0.8676296827997173, 0.588707727776239, 0.8007724530358384, 0.4523377458112253, 0.20185882010984713, 0.4262493233681528, 0.9403291463804849, 0.6431347331366793, 0.8101623596483081, 0.07105465905166142, 0.7102942689289995, 0.9238716983218968, 0.046669197109809435, 0.36091738378517924, 0.11848039236890529, 0.6490903684697422, 0.21334878218840025, 0.7455893714925231, 0.5282834579122047, 0.8427291230423946, 0.6080356352364318, 0.8046495086954177, 0.9290737345368922, 0.8267382648249895, 0.237197567863353, 0.038854949201064914, 0.8739044743161059, 0.4722592877382664, 0.20018393922444977, 0.7025359405528611, 0.7290149460503391, 0.841300253261586, 0.8512492429136496, 0.2041166528514614, 0.3869285821405517, 0.9015384421598049, 0.9029779388320561, 0.8141421118673502], [0.020202180869545838, 0.38797821461924664, 0.3623214731466442, 0.5782749332140563, 0.9408949876357316, 0.2553750738897531, 0.9694417032259485, 0.32765494835836295, 0.9066494099561891, 0.9139164252343521, 0.4986021089534436, 0.8639697443236954, 0.20668705955450384, 0.23685200999711953, 0.4524460942487034, 0.29560781547894566, 0.11476132768103031, 0.2986366910153374, 0.5103328863070767, 0.9304949306315848, 0.992995629083381, 0.13639559787461375, 0.7596335581591659, 0.004992460913428309, 0.7769131363299036, 0.44303876754749094, 0.05291721090267121, 0.7818331182700626, 0.22181416220916605, 0.2518270628393636, 0.5816065193771636, 0.7900925785205721, 0.3695639926216171, 0.06597735212175004, 0.631898853102541, 0.9899191370370066, 0.892833288016897, 0.39983978132167064, 0.5473716432083893, 0.6156362590194197], [0.08911333772521057, 0.35349357566857875, 0.24211392098757678, 0.23936012439813248, 0.26350084131779905, 0.14670575974402322, 0.6893655541300804, 0.4374496612349118, 0.5119766957467426, 0.11433001448498159, 0.44380803977778227, 0.23291076001673205, 0.13291434603854435, 0.5545262555313976, 0.7491703162488016, 0.27783545039075674, 0.404246392786738, 0.3798403010532527, 0.19416399432320008, 0.8333253561304906, 0.25846487613766644, 0.9161500731770728, 0.4985393782962515, 0.6841402889019856, 0.43615318621549815, 0.5953761994363032, 0.929849610277857, 0.39946811603357235, 0.6130755217354221, 0.7382591013682536, 0.8707838556533436, 0.7285710016503628, 0.8862683185603776, 0.49357959328259915, 0.3094664224245718, 0.7820204421802692, 0.14886076931388192, 0.5064585737247733, 0.19772510101740604, 0.3943024810012682], [0.45665916345570234, 0.1298534997704135, 0.042635149150170304, 0.9994510501742617, 0.8780828221332965, 0.07900541119947513, 0.23787898040801836, 0.7444854316679634, 0.602428755735753, 0.6851752063625743, 0.3085950236382101, 0.5887434165185164, 0.5266029056423681, 0.4139542058084372, 0.20724327106017448, 0.3817708484258113, 0.8954430887145242, 0.06984804909460962, 0.35380935023009763, 0.2691695688233855, 0.7625927049396838, 0.7136849129944668, 0.4683650399010443, 0.31967112400070086, 0.43330208593596775, 0.3640846871804764, 0.9525064737843258, 0.5322585324136816, 0.9534357318010117, 0.6531543699359696, 0.9805638849415415, 0.6635948285460564, 0.0870515039900368, 0.48150310411852404, 0.5321581938406069, 0.43913241596401287, 0.9808991741278246, 0.3986904391336823, 0.9079479591592143, 0.07644121110820135], [0.4428567027828717, 0.7740969394845598, 0.04319618406852832, 0.8819081008821954, 0.42073692956555964, 0.5007537440050366, 0.328631739223059, 0.2546241111014359, 0.16192601858329603, 0.25482492429481574, 0.3936133582069675, 0.36458331550336, 0.9053958251836952, 0.9501048771650369, 0.7214709720732838, 0.8906379137515107, 0.6369268451658008, 0.7246365156540054, 0.22494970064919806, 0.717651699438425, 0.3756904730256009, 0.828587113441086, 0.4279868417029875, 0.11038917734974996, 0.9972249891346358, 0.03368301446789679, 0.3682504088133972, 0.31647749153920435, 0.718608242984337, 0.024112090582382284, 0.27009017472454677, 0.43176776256576277, 0.09276625047216247, 0.05988917034910102, 0.15540431554611656, 0.5647604362403398, 0.19715440645937699, 0.3789819213100236, 0.4056862064386054, 0.24715329519020213], [0.4527154403367496, 0.3651389804209568, 0.5607530493793982, 0.554340443258823, 0.7172137005003486, 0.9850024296060819, 0.33312245759615955, 0.27821728471212137, 0.11155170812014292, 0.7451018910059583, 0.6629820132862455, 0.1459252806936625, 0.8407749362603466, 0.45551100876444506, 0.38109074460284964, 0.5164225404670663, 0.5424201100892742, 0.1368468760759931, 0.09863877857160008, 0.22175613956377294, 0.9745012886725058, 0.8916701482890335, 0.8821016362323871, 0.3083788151416924, 0.8024465448701531, 0.07030029057288978, 0.3068742783704477, 0.24717600565983044, 0.33599025939454175, 0.9246604930154034, 0.9011759381978862, 0.2529597049707154, 0.8696296247404111, 0.455503642772774, 0.5080998848519652, 0.44832785536694886, 0.16127035496386422, 0.6330914473665068, 0.778388537753675, 0.06589970808498402], [0.812762306918621, 0.7223491658228666, 0.5682850230979652, 0.7747584413091316, 0.47284023514066387, 0.3645320366948047, 0.3282780347884945, 0.1829743125906842, 0.8415911553322436, 0.09275671681114128, 0.6602020643536536, 0.05554807848566179, 0.21305328327066142, 0.1377881539533008, 0.805621501696826, 0.5139016140001019, 0.14179295255459634, 0.9048977630459515, 0.14598817995905944, 0.10583083082485656, 0.6161589807822411, 0.7714108121904788, 0.7778313412342784, 0.057925915083303914, 0.3077995677432387, 0.36070291124593135, 0.9744846308865732, 0.5242613674381889, 0.9876900725909675, 0.9362356412051699, 0.28844044213790254, 0.6641906900149369, 0.8017977640053372, 0.08311929608697777, 0.4455463571283733, 0.9238944255006494, 0.082291669991153, 0.1736780345307264, 0.15409875533280826, 0.2543396570321348], [0.704456900223904, 0.8851957990331072, 0.518698968202288, 0.051111554136491155, 0.46247721142637566, 0.09980941182687819, 0.1943310971083011, 0.5212278201665913, 0.2792265648430513, 0.5876561525275132, 0.5326340586337494, 0.18290388852472605, 0.17750722230579663, 0.5552381324090908, 0.9376381973511447, 0.5085662472941733, 0.7724846772912071, 0.03825562839595953, 0.0461069218230743, 0.49651372787226966, 0.8350660303955126, 0.7606167116630606, 0.44356329826270247, 0.5481385653167135, 0.5006405586533574, 0.3278396411243928, 0.4986431902682743, 0.6756435389873457, 0.522264399841206, 0.7245196035877904, 0.3654642452965594, 0.22888341356645425, 0.4586138235157109, 0.276699406118493, 0.35178800866291016, 0.38745019373182377, 0.05667878537934967, 0.8655714765185204, 0.4894319935438127, 0.15382772401170353], [0.898086871754162, 0.362282433758625, 0.12332957980555914, 0.6289171368228548, 0.6231123196707952, 0.017016010660653502, 0.6273766045339223, 0.9846845502458803, 0.6659240213827896, 0.034895166618286066, 0.09269824416462003, 0.016591215810755955, 0.1266758186552206, 0.2968558801529636, 0.8656440147313851, 0.010348947621789395, 0.8890587473295494, 0.6966310323309339, 0.6978157347923427, 0.04453371933023864, 0.4354247519118124, 0.38283233346735024, 0.34744540163864646, 0.8895459644228261, 0.9329303596650262, 0.44973033099791915, 0.27762203272145736, 0.5648447349430736, 0.3546553519086677, 0.1556277248314385, 0.2940764939877004, 0.3551051392991206, 0.5016808132209193, 0.36668789365768784, 0.0464872547866686, 0.6075960646122247, 0.9570546262975064, 0.24792399572730917, 0.9800793386624602, 0.8869208474492485], [0.07073848191624277, 0.15075196675304425, 0.8068540810870977, 0.9719907603602065, 0.2560998501680254, 0.7706158474911176, 0.6036335229961499, 0.31667982201820966, 0.8024238048249457, 0.5566149989458918, 0.8904103383588189, 0.27567104159001166, 0.2101074187973756, 0.12267286924710974, 0.8069188996338025, 0.5419059370814713, 0.6642006782329984, 0.6697657215604117, 0.3181006070004798, 0.8418471805026915, 0.4997607937886659, 0.2556717932425927, 0.6643911952882033, 0.33535113422356044, 0.20555015019493106, 0.9255137629732839, 0.20703104356990487, 0.7349007433324666, 0.5787345967612136, 0.5205223223065745, 0.34500404261810436, 0.6335763927251006, 0.9474468354572864, 0.7179575853964196, 0.2885253575899184, 0.9336900279036989, 0.24434000235129805, 0.9099959861179732, 0.5630590359805082, 0.5592659060005903], [0.3799824591388602, 0.4291129197203155, 0.6639706059776933, 0.13662070256851344, 0.902018349564977, 0.9226029351314309, 0.7584136846731687, 0.6477977090214923, 0.7227828296968941, 0.9562300272004937, 0.6001729881924865, 0.44247225667503765, 0.7617240685506587, 0.425863488703795, 0.3752030120365024, 0.010937002951755925, 0.8028219807598993, 0.513203916061168, 0.6862750888553341, 0.44544745444694567, 0.9963684094007372, 0.2014082734127507, 0.9749912120311305, 0.5535976121925623, 0.08952736649519688, 0.1600329614123972, 0.2689841586774082, 0.04773215928772212, 0.5694282319305862, 0.8459799223697663, 0.498982096015296, 0.4901008300819264, 0.40258580050290516, 0.1864242267599825, 0.5969301970231615, 0.6232836029966629, 0.5638976887056755, 0.3658724932704486, 0.6321261017858146, 0.655341801238754], [0.7627845125404704, 0.16174019918624827, 0.2676012020510773, 0.5279457681956321, 0.7549396715191978, 0.06781537411180849, 0.5718388025958564, 0.14960397917075885, 0.9594095046505506, 0.04907649729581143, 0.8251972382965918, 0.6251759918402042, 0.24072078594774404, 0.6134833805433879, 0.8633963858680415, 0.8233964359492462, 0.4650499247967036, 0.5581241249399843, 0.3928997572541675, 0.4853642085182337, 0.17041771111676418, 0.7700096572377916, 0.14456245454632966, 0.058268896071947296, 0.008914804246149655, 0.9892242436793406, 0.5312666074444914, 0.8179147410350498, 0.0002972092772499657, 0.640898555637924, 0.943779629382228, 0.20886330093171157, 0.7960164383309857, 0.4321354073094925, 0.843125538095342, 0.6862124382788999, 0.664514592122937, 0.07921168836849579, 0.23877529146727583, 0.6831560763517076], [0.10294458663241068, 0.34915963722960985, 0.6500406922575035, 0.9926623331249472, 0.7401615715276249, 0.5607061935733381, 0.9817655807966149, 0.48109778691983074, 0.4131340899240127, 0.5748303829751821, 0.021790520820264114, 0.6947455069716936, 0.21395697690699134, 0.7427019232176143, 0.0372711310257956, 0.5541849561761505, 0.013080239761535939, 0.8141967507002528, 0.0016558643991879674, 0.19543986522163703, 0.287091824847474, 0.5193633630736615, 0.6354893919808746, 0.9220633077555119, 0.23576637454089788, 0.5977821799089824, 0.8488554996948792, 0.2752969331347549, 0.4715306128494109, 0.5835827809230765, 0.8487466994216012, 0.2743276162117124, 0.29968054916980735, 0.6945360099477116, 0.16882261230639228, 0.4380528807427069, 0.3103235578960779, 0.04950246682300352, 0.2428426174649213, 0.07693295609842554], [0.8323665710533417, 0.030267119528524233, 0.20403868427902105, 0.3706916630031948, 0.9341529973111321, 0.08696455662071467, 0.5330905294265774, 0.11071303651428532, 0.5007547580765618, 0.6319040771701337, 0.08473622194156838, 0.09950288139828745, 0.7376877069625386, 0.2970657941271011, 0.4852509326384511, 0.6848245487588422, 0.33857605334183116, 0.14052868778573047, 0.5427089052744156, 0.8511075779117464, 0.523089953653095, 0.42110345551244366, 0.3148021204024134, 0.5631125939272442, 0.27596332570090654, 0.7697289302725636, 0.5959055976011175, 0.537888898396601, 0.4784405842063788, 0.5109125209261537, 0.9805525069013622, 0.5694832681400323, 0.027393968431952076, 0.07731911712472772, 0.0536202696491479, 0.8033968085924381, 0.6727098101763138, 0.5787098501404687, 0.6903574296335616, 0.788285947060284], [0.7789823202543318, 0.9337472837397733, 0.39203918199677135, 0.38410531747375143, 0.7911178769959133, 0.17697983856722788, 0.3193030028459558, 0.6438870965332472, 0.7653517958833503, 0.11034399935355732, 0.6681815215332754, 0.12878053175629667, 0.5576889189037992, 0.9909151610899432, 0.8902267571481761, 0.9379307004627212, 0.6100725298455365, 0.49795763738813137, 0.7532267162755735, 0.6040945640584581, 0.7213024766491897, 0.37399117622146905, 0.9368795243098074, 0.35702143360245053, 0.4260776298360005, 0.01106945368825396, 0.961767968557568, 0.12984914886410248, 0.35320192759155533, 0.08074337482550664, 0.5772930817551868, 0.8624644863100733, 0.24187404283255487, 0.3447021876280565, 0.7656421475736108, 0.24327357761901336, 0.7659168651707687, 0.02582868540519556, 0.6045961742725618, 0.3043125221961249], [0.471316028579023, 0.9884880162314554, 0.9041714590238618, 0.7675545335849712, 0.4296789782866268, 0.3436390365103541, 0.03879363230324662, 0.9438092716296573, 0.07876151042501878, 0.38642104253241427, 0.6694224498574612, 0.18286152885037277, 0.9816674222431858, 0.743727577985447, 0.21287068143183252, 0.008669272439345121, 0.6653788553668887, 0.09180155232522635, 0.9502185639966334, 0.26634903362463824, 0.5118620890477107, 0.002902732488722859, 0.43690397384728463, 0.8340053903550922, 0.3887429984611569, 0.7183656315219423, 0.20150515709550076, 0.909085862308593, 0.5443694690584463, 0.8412607926240531, 0.33677180766798787, 0.9543387426470175, 0.9340797912743674, 0.5108335367488216, 0.7155782382501017, 0.8426833387972662, 0.3631187550096251, 0.33154161670252214, 0.8738433676078716, 0.5716413069016604], [0.07880085853584051, 0.811433024988757, 0.5962203390809151, 0.2758494231090458, 0.22970508343668983, 0.10597543750207894, 0.4768601001752877, 0.5688123034509933, 0.5899578106487994, 0.14633610521426643, 0.2554670886403364, 0.7903840251369308, 0.14234483887405414, 0.7109907913153878, 0.8998146082703748, 0.5021894814461506, 0.5447404263704758, 0.7535248014229952, 0.4973719283900113, 0.19820278050249962, 0.4093591208777565, 0.5770559675142553, 0.12542139345189207, 0.15986586771398437, 0.33949103513738765, 0.9319829612194332, 0.41206083237062796, 0.9973883867917578, 0.9883611173915734, 0.790718010120937, 0.2625720411703888, 0.02354590950359836, 0.559506430364891, 0.8151882878519414, 0.24635488059043276, 0.8944315523876605, 0.6047891993495771, 0.6581339207110963, 0.25072101398168967, 0.943615975512352], [0.16719322894310062, 0.847501385844308, 0.157546430827322, 0.6525884428930617, 0.06802069997503124, 0.8528127656896984, 0.2788911052916879, 0.20746857628699034, 0.6850248529202584, 0.14545153442558822, 0.8898678776273622, 0.9824012439891887, 0.6449250404283502, 0.9066508373654687, 0.2274278968909702, 0.30986813814020464, 0.5915744390730722, 0.5614134180762353, 0.0638335916760796, 0.6924986793891867, 0.09197310158018157, 0.5883178987052563, 0.6171893949325614, 0.11817656649430863, 0.03370778017085552, 0.5911483830184704, 0.9055763029988504, 0.6246112525081156, 0.11522517824141909, 0.8140705752929128, 0.05012879539561266, 0.27233539067749646, 0.6544005722018764, 0.9790713057801116, 0.15310302992072056, 0.45820118276087485, 0.8343584616982185, 0.7739143351290958, 0.3255120155417599, 0.6385359295382186], [0.56477301308494, 0.31555315792536387, 0.5504412334066751, 0.06823676426935221, 0.932220604962686, 0.6361401730941487, 0.4240865047992889, 0.9456767042196388, 0.1997090233845472, 0.03372892955197293, 0.2987064867381857, 0.3961303953581089, 0.5345062559926338, 0.24000511667467506, 0.4288267437192379, 0.1995775982889586, 0.9875888931662052, 0.4966872800265748, 0.08977446506377751, 0.8181517286173426, 0.6040314844503067, 0.036457119201727006, 0.7135094601679203, 0.5069255398243558, 0.04668527967192726, 0.9200541710999917, 0.753260689005333, 0.4101534674190217, 0.2672727636990614, 0.4718960619186017, 0.49072264874503413, 0.6876338250940602, 0.6628496593552341, 0.011850377867909545, 0.3730537450902438, 0.968833394750598, 0.010089567678673639, 0.6241745537489809, 0.2722499886226999, 0.8410418445907003], [0.309333797322051, 0.15286568084574292, 0.751658199519775, 0.20318777453967374, 0.7665484807325488, 0.5178526842334534, 0.905953253588598, 0.21722785756762109, 0.33869925758593245, 0.16631333287226158, 0.8748064596806273, 0.7376329263771274, 0.30579915502331745, 0.47485384160700406, 0.20955611846117517, 0.890684640270709, 0.6294641266457797, 0.2874266589289648, 0.9582631611647808, 0.7842454375087925, 0.005943076848931916, 0.6589115990345344, 0.4786654655173769, 0.6299502602155869, 0.8718746099347955, 0.6529410200913339, 0.1674744637714165, 0.17224181171658703, 0.45185877605903235, 0.29614195778542274, 0.8431241186227195, 0.4497341489905967, 0.9429318254900839, 0.36739852558568253, 0.9432503303273098, 0.45158037618114266, 0.38069509875327423, 0.4432456751822892, 0.6531753541292484, 0.25818535523412944], [0.11638093181056575, 0.8999744556528811, 0.4202291957119406, 0.5552129301856581, 0.9198197737420941, 0.2806302253981402, 0.38793000350328855, 0.8290349206594864, 0.2691744225486129, 0.106518463893849, 0.89766322805086, 0.412588035859913, 0.8340559516244067, 0.12438095302826002, 0.9169674291674732, 0.7510010960512259, 0.15418382377579476, 0.7465786328099228, 0.6456954714529791, 0.558419671954236, 0.21077594103927533, 0.7029062329738186, 0.21103098587389013, 0.011557298175641884, 0.26494964544677857, 0.720594916189021, 0.13878464453338502, 0.5336049384190266, 0.2525675516948397, 0.6530751602451345, 0.7048534826144928, 0.6471619219202784, 0.5797547636147298, 0.8704719091862013, 0.24335309598524846, 0.2451038912551211, 0.2964620514363787, 0.8849244960392766, 0.3017606511826272, 0.8029907113191791], [0.9947987376446243, 0.37751980944941166, 0.7839384957786899, 0.6827328268634208, 0.3134544102043185, 0.06466551621982186, 0.7304139211019084, 0.7113177228650772, 0.09152591112449926, 0.6841114193602037, 0.07856298533392192, 0.760153756143896, 0.27524151658899243, 0.37767879790021475, 0.8419063901470719, 0.11261551325314179, 0.2133079173060789, 0.587597378619917, 0.9479452662153942, 0.40191061634010883, 0.18909996718347777, 0.906739286997658, 0.49604985915261335, 0.6732912050417671, 0.5579313256451405, 0.010911315492148188, 0.8465055211494473, 0.542593260392574, 0.556450476683373, 0.9854010391347514, 0.5889986102472585, 0.09726052123265716, 0.2711737719139431, 0.9582102575547544, 0.08271044576821718, 0.48628054031239076, 0.6945285297669778, 0.5463925213037752, 0.3703904099053078, 0.664101603051181], [0.29010754751686385, 0.8027021367960877, 0.038883972146420254, 0.8618917861682355, 0.48175674186509576, 0.9112753337196801, 0.41334967238777287, 0.5599863920078669, 0.8293696793176534, 0.18291947025884703, 0.8304631306346058, 0.5036848878582375, 0.6197817030966754, 0.263712479782358, 0.15898794821027684, 0.37664205004701323, 0.2403078618624348, 0.773518462262316, 0.027545394948941482, 0.22241096458119358, 0.05611275708551022, 0.10273632431625324, 0.9774907443176027, 0.20670168701962133, 0.12814722697740244, 0.18275424623759517, 0.8124585944381127, 0.8048066809292118, 0.007009212511789653, 0.40272147000152325, 0.19578392668077638, 0.759082831306003, 0.6276141192929524, 0.1044431713169719, 0.7545548745318413, 0.8796912434260803, 0.6935746015419721, 0.2887361426092485, 0.09358616890052696, 0.10763425443571517], [0.6840080223824859, 0.9246791017865741, 0.41882092418451267, 0.24427422478142358, 0.590633130430664, 0.4182214722676054, 0.8461316777622254, 0.3073913246801041, 0.023131975161298723, 0.6909509140423208, 0.7475258641124181, 0.11575350467483658, 0.3377038941470222, 0.5374690016895896, 0.741996954261171, 0.2279053636785362, 0.8628640722110315, 0.4859404990888986, 0.0538797980559762, 0.27221744067010045, 0.6713635354075653, 0.648778645837501, 0.8443339925675096, 0.12807256179883642, 0.2362913834604412, 0.41549267576259585, 0.7080280350869839, 0.7847851376771691, 0.6312329952812126, 0.1860337197002332, 0.593336022475037, 0.27609223211721345, 0.7572986376219942, 0.7006041629581932, 0.43800007984914946, 0.36858517450950046, 0.8100861572694547, 0.22691136400038026, 0.7139292491776245, 0.12583913408557246], [0.5435782160705133, 0.6651070084452423, 0.674296195050896, 0.1699274491902074, 0.09363621864483873, 0.9525630136010766, 0.7144583682397998, 0.7119419465408064, 0.8803715125424625, 0.94920178060598, 0.027211716690207943, 0.9384580050690037, 0.1596464222417594, 0.6590773366157616, 0.032581730834572054, 0.3758635565538273, 0.4279248401456821, 0.7873511895680749, 0.41255083634634493, 0.923405565461025, 0.6267501013505629, 0.2693188564888137, 0.9944006022348744, 0.3031905175467965, 0.9878902591037929, 0.9495140286545042, 0.43021619137960343, 0.86784319939201, 0.4681416144217797, 0.5572232945596475, 0.6658506624656504, 0.12761520474056154, 0.28908302511970596, 0.9558229158157677, 0.7898531724514024, 0.9538711119691223, 0.10231844988743954, 0.012717344993310897, 0.03206922800686696, 0.1792878306660013], [0.16792963961212937, 0.7639078350903677, 0.8700397989092892, 0.8113735959471841, 0.9200194391769506, 0.7338193270479004, 0.4580741470279459, 0.8226535121281003, 0.8067222764504312, 0.6375868031756078, 0.7957453978340264, 0.553650511526864, 0.6739975181801647, 0.8639452623810935, 0.986543945684671, 0.20122898822505353, 0.7556143688913779, 0.2816729760293486, 0.8343674971361319, 0.1805616436607813, 0.43842201199166453, 0.7612855575634678, 0.26093583316712454, 0.4734936746166627, 0.5453823823838573, 0.7766437712787306, 0.28569030994687783, 0.8902302525625133, 0.6346683384570895, 0.23189212288030725, 0.677462232147979, 0.5993123122691657, 0.13931938666401433, 0.21027995278150047, 0.23372064375654045, 0.14904657257706733, 0.29968730145198663, 0.38726387051853295, 0.5875925172321653, 0.5815320402749569], [0.29954801032519573, 0.36877334414265117, 0.830562692020493, 0.529464007505296, 0.9021218759298741, 0.4444958537060476, 0.3508165965531568, 0.8445962624616489, 0.745386976069418, 0.7147990006978449, 0.4086678584385415, 0.20061106835772835, 0.5669332239664587, 0.1668957950343226, 0.9163190191857554, 0.2808248882676585, 0.6877894408034828, 0.5100148351369542, 0.3415238229229428, 0.4700670980541267, 0.7768282998816709, 0.08309911288283622, 0.41815556699461265, 0.9754494393889072, 0.8018202590819976, 0.3973599145630099, 0.2953763509462073, 0.903796953108554, 0.8939153900561937, 0.916133019254577, 0.586399372033927, 0.8784038587948075, 0.07255883529372698, 0.0747375281971937, 0.2861398898741916, 0.21393470708698148, 0.9349242071584837, 0.9210250259632038, 0.018725873291935535, 0.9511353804989896], [0.8953166911912535, 0.9483828653151093, 0.24657876872210083, 0.8458253049599157, 0.3219515453769952, 0.6154108447905102, 0.5286978967495845, 0.945840241810976, 0.3472400406276498, 0.17508492481556004, 0.44104487886886223, 0.1622723476275928, 0.995397787666822, 0.7647253446388574, 0.2818770887845923, 0.5750948369656338, 0.529584110481206, 0.59328554234041, 0.9491490737995181, 0.2993853383793801, 0.8237376140892244, 0.6666258628371888, 0.5824193839991827, 0.6721911206371148, 0.310330047739537, 0.44556140414337375, 0.56448962555816, 0.26682152565543493, 0.49157564299488377, 0.9969974439019924, 0.1983975253123974, 0.5805545344607684, 0.05788102001223394, 0.680827428486303, 0.4152771055783526, 0.6677654231169946, 0.052272175433518364, 0.658582164210725, 0.7934911477368203, 0.2963128386305919], [0.2307614446647871, 0.16461622006551324, 0.875241716018483, 0.9192621480354913, 0.44205425377169383, 0.19662851193392383, 0.07750859334575977, 0.8628593513552557, 0.2287415927397234, 0.6252228730724826, 0.6554949620226828, 0.8047214003574278, 0.2765050742763584, 0.3770017730731028, 0.8123332259644706, 0.27061969804342434, 0.45700147091342636, 0.5803607976693109, 0.21614514772813298, 0.05967505435154308, 0.12047188128263486, 0.5617913827281413, 0.771369256949991, 0.954950428652477, 0.6194093107180039, 0.5846271202213753, 0.13465778890928148, 0.2802748576448355, 0.5044687553833174, 0.2761708094972388, 0.6161190627869806, 0.1796620165465025, 0.1776170304618725, 0.38034301399113457, 0.9476279027698198, 0.8883978519939408, 0.5809178758676368, 0.42765434226257804, 0.017578285966486806, 0.19715728283493061], [0.07204976196888724, 0.5250651754548347, 0.0332473170717178, 0.7874945898299603, 0.5550139234030446, 0.49861564367987987, 0.3469298131806767, 0.3214794780332515, 0.7423312105598974, 0.8592446512495201, 0.5085671088252588, 0.8522287679986624, 0.2309272092668534, 0.18903124727331966, 0.812984019940139, 0.1878278167313353, 0.7470536447561795, 0.8735533386258447, 0.7074438835689082, 0.13319896182845614, 0.27390676651738, 0.11029227407892239, 0.8961797012173804, 0.5341297994324944, 0.007886891637712612, 0.582236527359727, 0.7886155079065753, 0.4372514179416863, 0.6144665333244853, 0.678072332325488, 0.9013452672067328, 0.8387457672102363, 0.05997655845859973, 0.6679778133979024, 0.21886500163468647, 0.6488934413585218, 0.5574593031943001, 0.247221316494727, 0.20833556643273077, 0.23101314047019395]]
bestbot_wieght_layer_two = [[0.30199007532965794, 0.649863105352778, 0.07878158775346522, 0.06856096919859667, 0.76046627826131, 0.07606874616309922, 0.48067353545347624, 0.906419553291269, 0.6130598594271559, 0.7530499643730484, 0.9478302902575031, 0.742621561376834, 0.12466256748538873, 0.16085360090320344, 0.7723968892846171, 0.481059750830778, 0.14972987640754976, 0.8502267272553916, 0.5199717706135193, 0.5397813469926318, 0.7224665033348465, 0.6861790993283774, 0.8294890346688684, 0.03172395424362573, 0.6474494743442335, 0.5960715786575665, 0.7794929513154084, 0.42179845814354344, 0.8340220511600775, 0.635096375778871, 0.011792203019839631, 0.000404970996905174, 0.45501980906341877, 0.4815650824463289, 0.40657542009530434, 0.7353209880998934, 0.07300481533185332, 0.7468558263386845, 0.16633966137854672, 0.9273107454758274], [0.2618178857268575, 0.8059084234258315, 0.3892084515954918, 0.511425530101818, 0.6135316018336275, 0.24982217100203064, 0.2788063288494209, 0.43000546627953307, 0.011234929906502766, 0.5809835186151234, 0.32580129362398236, 0.8865222933902184, 0.3099329326384538, 0.12846719943449825, 0.1524013705430074, 0.833596970322699, 0.02414604468786785, 0.5032346068132045, 0.7889147356767268, 0.6928956277427352, 0.4620860245781534, 0.5521223508460003, 0.09752133174572442, 0.0032384154012790045, 0.05049091296997188, 0.6643820021817466, 0.26909235842231305, 0.4408982078145355, 0.7909139358729895, 0.5055657611496549, 0.8653460603889427, 0.6799849834394638, 0.28746034379881025, 0.8263364896388539, 0.6613305761772941, 0.08864229732273066, 0.7752914086740953, 0.7769131553279733, 0.008139334692245481, 0.6787269967816101], [0.40549204636687985, 0.09749009484529148, 0.796917574080154, 0.0692577868925911, 0.4607639455089301, 0.8076256422519743, 0.30653879202651424, 0.2913278269126577, 0.8195224252203727, 0.13071693362849757, 0.450900211323079, 0.456545806339301, 0.5193310874942899, 0.16956834058997683, 0.2825963343701784, 0.6721450498857677, 0.3845750877926719, 0.17353498070381113, 0.6446663409766525, 0.2965408777370334, 0.7963391990149843, 0.16315473676558534, 0.2608672296463287, 0.45818188190224063, 0.42917714684840813, 0.021771310429737345, 0.9946149155530009, 0.30748779963032236, 0.5746881614128814, 0.011378595329325503, 0.37639180886785717, 0.20069063013978106, 0.45362862143770666, 0.5701661014929003, 0.39253085338283056, 0.9625584977440659, 0.96315720738013, 0.9711995383324793, 0.8254858670754297, 0.05317353524078405], [0.758513153926303, 0.13854105206337652, 0.754148353980734, 0.8426939218196244, 0.11797879318419091, 0.14894744905122792, 0.3413929920066687, 0.3833902085419426, 0.3074167647363677, 0.12897398981153885, 0.06654716200533295, 0.2434709793937161, 0.6169772433522663, 0.6216801878676474, 0.04635059657909579, 0.9241691426785392, 0.3911018499647718, 0.5972343977635788, 0.5684640592190692, 0.6809736370532699, 0.7493632013926423, 0.7107635245899753, 0.19264725243338976, 0.7235997787825806, 0.9926829661049967, 0.24426437050200056, 0.04231147066952712, 0.5470011668632949, 0.16943954754147172, 0.48883412065698517, 0.45512980911402445, 0.39851146770179613, 0.8408568853667081, 0.2489080109515388, 0.6766596308600638, 0.6289016578609256, 0.23288801076985866, 0.11204672737653643, 0.6020279738825397, 0.13380224979508393], [0.6627551001388462, 0.4547118785711002, 0.2321241269566422, 0.3241938323082708, 0.8245621170775675, 0.1240039691337309, 0.45083267257231396, 0.5525099736268062, 0.8229132542591093, 0.8615000993242417, 0.9263441508796036, 0.29402957472463054, 0.9435578570136944, 0.6257185003209204, 0.8602015732404901, 0.8489832996771431, 0.9818416090522923, 0.2409822864456611, 0.2903063412396688, 0.8604701195768565, 0.5178716013807514, 0.11760078250400852, 0.39123661619969485, 0.04982302342347622, 0.6584967064677989, 0.21650287574210325, 0.2351023303537475, 0.0052012439993269766, 0.5929583784960885, 0.9486169225935627, 0.9300804405465859, 0.864337032596597, 0.4762397096102663, 0.6559404194863174, 0.6110239777937657, 0.8392289065326435, 0.1696824372979353, 0.12212104814386848, 0.3414830737010782, 0.4489663924315944], [0.3629593520656984, 0.17457933702016637, 0.05149031836549356, 0.18576687075613285, 0.6686604536472496, 0.8526794247296627, 0.7270124564932968, 0.17456129523764452, 0.6273163733006182, 0.34905624279725256, 0.5824721842854241, 0.7182099695918125, 0.36953623835078053, 0.37194973679533805, 0.8661626866865706, 0.08684765547602669, 0.6410873824747795, 0.42773385507948203, 0.07685724399429672, 0.04274241088572861, 0.15832164476101385, 0.007791874857678072, 0.37450642615765006, 0.15978862657695425, 0.6706323510290298, 0.14934231259209074, 0.6597962011204804, 0.828071299458373, 0.19595988795978525, 0.8942515069066316, 0.5898243676223468, 0.40549518028025944, 0.6806402456027594, 0.15424719059011505, 0.33799227540260557, 0.44815730424060396, 0.8678636572775412, 0.9591369119574622, 0.24401049029339916, 0.8738465819727226], [0.1690472868848456, 0.15982775656362325, 0.889349749676769, 0.1193452637747332, 0.010094463839263268, 0.7117303185165009, 0.6688553177203382, 0.9495513899038759, 0.6985782771165809, 0.341294936748468, 0.07117612450072275, 0.5993553414826165, 0.7237370311103261, 0.64548837853116, 0.7770484483999378, 0.14452353236823912, 0.6881781255295636, 0.64509511826331, 0.9059985517976321, 0.02644992029072124, 0.6878235580597813, 0.8051918199616186, 0.1824185654598801, 0.29228543268980534, 0.9598098860972485, 0.2804224247848738, 0.42891885556852016, 0.9882816442142877, 0.022497795243496044, 0.84583571568372, 0.2649880893907317, 0.07036995549724268, 0.6528533580457601, 0.7782244601533626, 0.7578169324352917, 0.4619772576802913, 0.6039864146789575, 0.5498813980980128, 0.8749956641813113, 0.5522943842175541], [0.3177093275545816, 0.9691897196803771, 0.8696711091197302, 0.08766665694143672, 0.8486678217730139, 0.81970091482655, 0.7203714054613719, 0.03472934257779081, 0.5607158617256353, 0.7765179838652718, 0.21019735186973387, 0.3372156595933161, 0.37867149635258956, 0.6861111728145721, 0.8915652103857217, 0.04264506577341598, 0.09080113452771876, 0.1911262054406635, 0.38187720772999956, 0.3474113095879102, 0.7324654566658749, 0.42966948430863383, 0.7082816839535698, 0.659897870254417, 0.4783141545537971, 0.8644156379291156, 0.5116403695294546, 0.6029999864785116, 0.6553678973496069, 0.39182456217094885, 0.48409638222416485, 0.9659888096081811, 0.7680208091475625, 0.2572600687057246, 0.7572855222841322, 0.19625289842302496, 0.9807709530608029, 0.8091585978943232, 0.26971744998534153, 0.8004207787455574]]
bestbot_bias_layer_two = [0.7236707838124047, 0.5469334677476838, 0.11561437612681269, 0.5821607110044735, 0.45871832125546574, 0.8552296092962862, 0.007646318172703559, 0.2720926735806478, 0.05806296272320988, 0.6629829785768987, 0.8143311942135837, 0.5648823713708742, 0.3992116579674766, 0.8515349919465708, 0.9016721554683195, 0.11641065253486149, 0.45501842872990517, 0.881829583883305, 0.08493463605949203, 0.5790171406725497, 0.10712502740359742, 0.9241950512926693, 0.9334346247203467, 0.38159813438654233, 0.9430263691706117, 0.18113409534523284, 0.021094432956666465, 0.026373663005672454, 0.4801327108765785, 0.5849999008307452, 0.8816674242640268, 0.10171777930599624, 0.850009256861808, 0.366869022748592, 0.35460458589602895, 0.2516281059216402, 0.1320042290107568, 0.40728268154862224, 0.21170983886597594, 0.3660064095362576]
bestbot_wieght_layer_three = [0.06480433624230608, 0.9667029783113225, 0.3916478474327115, 0.27727796299577, 0.5346227874678943, 0.7027078882811499, 0.6300996254734779, 0.8832495456573777, 0.514668152396727, 0.7587983629552989, 0.08605372440328218, 0.579410066184372, 0.0016391077459979586, 0.33214408605564716, 0.7835458423749675, 0.11671668680627967, 0.060741289244867214, 0.9783051760770657, 0.38138874019505964, 0.8916233584096597, 0.2880026943412871, 0.08917480201264472, 0.46464817342507114, 0.34289554474290385, 0.11864272278461341, 0.6353764944671949, 0.10166444017817244, 0.27861090986625714, 0.4028054942221707, 0.20828621916567047, 0.42462866175880887, 0.9939057256125428, 0.29623919762354056, 0.08533685705533767, 0.14564121957995468, 0.7607408335869575, 0.4890451481022672, 0.8374620187614255, 0.3891534352530499, 0.10356785122945955]
bestbot_bias_layer_three = [0.1480601550921955, 0.6215676624975024, 0.23126579264775105, 0.8622107364366359, 0.7764421152072524, 0.2275928381685819, 0.4847569567867478, 0.35511664364325524]
bestbot_fitness = 78.68742684241911 |
def mergeSort(arr):
# allow condition, if size of array is 1 (as one element in array is already sorted)
if len(arr)>1:
mid = len(arr)//2
#initializing the left and right array
left = arr[:mid]
right = arr[mid:]
mergeSort(left) #sorting the left array (recursively)
mergeSort(right) #sorting the right array (recursively)
merge(left, right, arr) #invoking merge method
#merge() method
def merge(left, right, arr):
i = j = k = 0
#Merging the temp arrays to final array
while i < len(left) and j < len(right):
if left[i] <= right[j]:
arr[k]=left[i]
i+=1
else:
arr[k]=right[j]
j+=1
k+=1
while i < len(left):
arr[k] = left[i]
i+=1
k+=1
while j < len(right):
arr[k] = right[j]
j+=1
k+=1
# method to print an array
def printList(arr):
for i in range(len(arr)):
print(arr[i],end=" ")
print("\n")
# driver method
if __name__ == '__main__':
arr = [3,4,1,7,6,2,8]
print ("Given array: ", end="\n")
printList(arr)
mergeSort(arr)
print("Sorted array: ", end="\n")
printList(arr) | def merge_sort(arr):
if len(arr) > 1:
mid = len(arr) // 2
left = arr[:mid]
right = arr[mid:]
merge_sort(left)
merge_sort(right)
merge(left, right, arr)
def merge(left, right, arr):
i = j = k = 0
while i < len(left) and j < len(right):
if left[i] <= right[j]:
arr[k] = left[i]
i += 1
else:
arr[k] = right[j]
j += 1
k += 1
while i < len(left):
arr[k] = left[i]
i += 1
k += 1
while j < len(right):
arr[k] = right[j]
j += 1
k += 1
def print_list(arr):
for i in range(len(arr)):
print(arr[i], end=' ')
print('\n')
if __name__ == '__main__':
arr = [3, 4, 1, 7, 6, 2, 8]
print('Given array: ', end='\n')
print_list(arr)
merge_sort(arr)
print('Sorted array: ', end='\n')
print_list(arr) |
S = input()
T = input()
cnt = 0
if S[0] == T[0]:
cnt += 1
if S[1] == T[1]:
cnt += 1
if S[2] == T[2]:
cnt += 1
print(cnt)
| s = input()
t = input()
cnt = 0
if S[0] == T[0]:
cnt += 1
if S[1] == T[1]:
cnt += 1
if S[2] == T[2]:
cnt += 1
print(cnt) |
# config.py
DEBUG = False
TESTING = False
SQLALCHEMY_ECHO = False
SQLALCHEMY_TRACK_MODIFICATIONS = False | debug = False
testing = False
sqlalchemy_echo = False
sqlalchemy_track_modifications = False |
#
# PySNMP MIB module NETASQ-ALARM-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NETASQ-ALARM-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:08:27 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)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection")
ntqNotifications, ntqAlarm = mibBuilder.importSymbols("NETASQ-SMI-MIB", "ntqNotifications", "ntqAlarm")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Bits, Unsigned32, MibIdentifier, iso, ObjectIdentity, ModuleIdentity, IpAddress, Counter64, Gauge32, Counter32, Integer32, NotificationType, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Unsigned32", "MibIdentifier", "iso", "ObjectIdentity", "ModuleIdentity", "IpAddress", "Counter64", "Gauge32", "Counter32", "Integer32", "NotificationType", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
ntqATable = MibTable((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0), )
if mibBuilder.loadTexts: ntqATable.setStatus('current')
ntqAEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1), ).setIndexNames((0, "NETASQ-ALARM-MIB", "ntqAIndex"))
if mibBuilder.loadTexts: ntqAEntry.setStatus('current')
ntqAIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 0), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ntqAIndex.setStatus('current')
ntqATime = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqATime.setStatus('current')
ntqASif = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqASif.setStatus('current')
ntqADif = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqADif.setStatus('current')
ntqAProto = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 4), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAProto.setStatus('current')
ntqASaddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 5), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqASaddr.setStatus('current')
ntqADaddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 6), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqADaddr.setStatus('current')
ntqASport = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqASport.setStatus('current')
ntqADport = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqADport.setStatus('current')
ntqASname = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 9), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqASname.setStatus('current')
ntqADname = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 10), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqADname.setStatus('current')
ntqAMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 11), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAMessage.setStatus('current')
ntqAicmpTable = MibTable((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1), )
if mibBuilder.loadTexts: ntqAicmpTable.setStatus('current')
ntqAicmpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1), ).setIndexNames((0, "NETASQ-ALARM-MIB", "ntqAicmpIndex"))
if mibBuilder.loadTexts: ntqAicmpEntry.setStatus('current')
ntqAicmpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 0), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ntqAicmpIndex.setStatus('current')
ntqAicmpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpTime.setStatus('current')
ntqAicmpSif = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 2), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpSif.setStatus('current')
ntqAicmpDif = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpDif.setStatus('current')
ntqAicmpSaddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 4), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpSaddr.setStatus('current')
ntqAicmpDaddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 5), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpDaddr.setStatus('current')
ntqAicmpType = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpType.setStatus('current')
ntqAicmpCode = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpCode.setStatus('current')
ntqAicmpSname = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 8), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpSname.setStatus('current')
ntqAicmpDname = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 9), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpDname.setStatus('current')
ntqAicmpMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 10), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ntqAicmpMessage.setStatus('current')
ntqNotification = NotificationType((1, 3, 6, 1, 4, 1, 11256, 1, 6, 1)).setObjects(("NETASQ-ALARM-MIB", "ntqATime"), ("NETASQ-ALARM-MIB", "ntqASif"), ("NETASQ-ALARM-MIB", "ntqASaddr"), ("NETASQ-ALARM-MIB", "ntqADaddr"), ("NETASQ-ALARM-MIB", "ntqAMessage"))
if mibBuilder.loadTexts: ntqNotification.setStatus('current')
mibBuilder.exportSymbols("NETASQ-ALARM-MIB", ntqAicmpEntry=ntqAicmpEntry, ntqASaddr=ntqASaddr, ntqAicmpTime=ntqAicmpTime, ntqAicmpTable=ntqAicmpTable, ntqAEntry=ntqAEntry, ntqASif=ntqASif, ntqADport=ntqADport, ntqASname=ntqASname, ntqAicmpIndex=ntqAicmpIndex, ntqAicmpCode=ntqAicmpCode, ntqAicmpSif=ntqAicmpSif, ntqAicmpDaddr=ntqAicmpDaddr, ntqATable=ntqATable, ntqAicmpMessage=ntqAicmpMessage, ntqAicmpDif=ntqAicmpDif, ntqASport=ntqASport, ntqATime=ntqATime, ntqAicmpSname=ntqAicmpSname, ntqADaddr=ntqADaddr, ntqAProto=ntqAProto, ntqAIndex=ntqAIndex, ntqAicmpSaddr=ntqAicmpSaddr, ntqAMessage=ntqAMessage, ntqNotification=ntqNotification, ntqADif=ntqADif, ntqAicmpDname=ntqAicmpDname, ntqADname=ntqADname, ntqAicmpType=ntqAicmpType)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_range_constraint, value_size_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection')
(ntq_notifications, ntq_alarm) = mibBuilder.importSymbols('NETASQ-SMI-MIB', 'ntqNotifications', 'ntqAlarm')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(bits, unsigned32, mib_identifier, iso, object_identity, module_identity, ip_address, counter64, gauge32, counter32, integer32, notification_type, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'Unsigned32', 'MibIdentifier', 'iso', 'ObjectIdentity', 'ModuleIdentity', 'IpAddress', 'Counter64', 'Gauge32', 'Counter32', 'Integer32', 'NotificationType', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
ntq_a_table = mib_table((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0))
if mibBuilder.loadTexts:
ntqATable.setStatus('current')
ntq_a_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1)).setIndexNames((0, 'NETASQ-ALARM-MIB', 'ntqAIndex'))
if mibBuilder.loadTexts:
ntqAEntry.setStatus('current')
ntq_a_index = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 0), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ntqAIndex.setStatus('current')
ntq_a_time = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 1), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqATime.setStatus('current')
ntq_a_sif = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqASif.setStatus('current')
ntq_a_dif = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqADif.setStatus('current')
ntq_a_proto = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 4), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAProto.setStatus('current')
ntq_a_saddr = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 5), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqASaddr.setStatus('current')
ntq_a_daddr = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 6), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqADaddr.setStatus('current')
ntq_a_sport = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqASport.setStatus('current')
ntq_a_dport = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqADport.setStatus('current')
ntq_a_sname = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 9), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqASname.setStatus('current')
ntq_a_dname = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 10), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqADname.setStatus('current')
ntq_a_message = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 0, 1, 11), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAMessage.setStatus('current')
ntq_aicmp_table = mib_table((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1))
if mibBuilder.loadTexts:
ntqAicmpTable.setStatus('current')
ntq_aicmp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1)).setIndexNames((0, 'NETASQ-ALARM-MIB', 'ntqAicmpIndex'))
if mibBuilder.loadTexts:
ntqAicmpEntry.setStatus('current')
ntq_aicmp_index = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 0), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ntqAicmpIndex.setStatus('current')
ntq_aicmp_time = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 1), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpTime.setStatus('current')
ntq_aicmp_sif = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 2), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpSif.setStatus('current')
ntq_aicmp_dif = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpDif.setStatus('current')
ntq_aicmp_saddr = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 4), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpSaddr.setStatus('current')
ntq_aicmp_daddr = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 5), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpDaddr.setStatus('current')
ntq_aicmp_type = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpType.setStatus('current')
ntq_aicmp_code = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpCode.setStatus('current')
ntq_aicmp_sname = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 8), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpSname.setStatus('current')
ntq_aicmp_dname = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 9), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpDname.setStatus('current')
ntq_aicmp_message = mib_table_column((1, 3, 6, 1, 4, 1, 11256, 1, 5, 1, 1, 10), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ntqAicmpMessage.setStatus('current')
ntq_notification = notification_type((1, 3, 6, 1, 4, 1, 11256, 1, 6, 1)).setObjects(('NETASQ-ALARM-MIB', 'ntqATime'), ('NETASQ-ALARM-MIB', 'ntqASif'), ('NETASQ-ALARM-MIB', 'ntqASaddr'), ('NETASQ-ALARM-MIB', 'ntqADaddr'), ('NETASQ-ALARM-MIB', 'ntqAMessage'))
if mibBuilder.loadTexts:
ntqNotification.setStatus('current')
mibBuilder.exportSymbols('NETASQ-ALARM-MIB', ntqAicmpEntry=ntqAicmpEntry, ntqASaddr=ntqASaddr, ntqAicmpTime=ntqAicmpTime, ntqAicmpTable=ntqAicmpTable, ntqAEntry=ntqAEntry, ntqASif=ntqASif, ntqADport=ntqADport, ntqASname=ntqASname, ntqAicmpIndex=ntqAicmpIndex, ntqAicmpCode=ntqAicmpCode, ntqAicmpSif=ntqAicmpSif, ntqAicmpDaddr=ntqAicmpDaddr, ntqATable=ntqATable, ntqAicmpMessage=ntqAicmpMessage, ntqAicmpDif=ntqAicmpDif, ntqASport=ntqASport, ntqATime=ntqATime, ntqAicmpSname=ntqAicmpSname, ntqADaddr=ntqADaddr, ntqAProto=ntqAProto, ntqAIndex=ntqAIndex, ntqAicmpSaddr=ntqAicmpSaddr, ntqAMessage=ntqAMessage, ntqNotification=ntqNotification, ntqADif=ntqADif, ntqAicmpDname=ntqAicmpDname, ntqADname=ntqADname, ntqAicmpType=ntqAicmpType) |
# This Algorithm prints all prime numbers based on user input.
# Requesting user input for starting Number and ending Number
start = int(input("Enter starting number: "))
end = int(input("Enter end number: "))
# For loop to loop through numbers from the inputted start and end numbers
for i in range(start, end + 1):
if i > 1:
for j in range(2, i):
if i % j == 0:
break
else:
print(i)
| start = int(input('Enter starting number: '))
end = int(input('Enter end number: '))
for i in range(start, end + 1):
if i > 1:
for j in range(2, i):
if i % j == 0:
break
else:
print(i) |
class Solution:
def climbStairs(self, n: int) -> int:
if n == 1:
return 1
first = 1
second = 1
for i in range(1, n):
first, second = second, first + second
return second | class Solution:
def climb_stairs(self, n: int) -> int:
if n == 1:
return 1
first = 1
second = 1
for i in range(1, n):
(first, second) = (second, first + second)
return second |
class Carro:
def __init__(self, motor, direcao):
self.motor = motor
self.direcao = direcao
def calcular_velocidade(self):
return self.motor.velocidade
def acelerar(self):
self.motor.acelerar()
def frear(self):
self.motor.frear()
def calcular_direcao(self):
return self.direcao.valor
def girar_a_direita(self):
self.direcao.girar_a_direita()
def girar_a_esquerda(self):
self.direcao.girar_a_esquerda()
class Motor:
def __init__(self):
self.velocidade = 0
def acelerar(self):
self.velocidade += 1
def frear(self):
self.velocidade -= 2
if self.velocidade < 0:
self.velocidade = 0
CIMA = 'CIMA'
DIREITA = 'DIREITA'
BAIXO = 'BAIXO'
ESQUERDA = 'ESQUERDA'
class Direcao:
rotacao_direita_dicionario = {CIMA: DIREITA, DIREITA: BAIXO, BAIXO: ESQUERDA, ESQUERDA: CIMA}
rotacao_esquerda_dicionario = {CIMA: ESQUERDA, DIREITA: CIMA, BAIXO: DIREITA, ESQUERDA: BAIXO}
def __init__(self):
self.valor = CIMA
def girar_a_direita(self):
self.valor = self.rotacao_direita_dicionario[self.valor]
def girar_a_esquerda(self):
self.valor = self.rotacao_esquerda_dicionario[self.valor]
if __name__ == '__main__':
motor = Motor()
motor.acelerar()
motor.acelerar()
motor.acelerar()
print(motor.velocidade)
motor.frear()
motor.frear()
motor.frear()
print(motor.velocidade)
print('')
direcao = Direcao()
print(direcao.valor)
direcao.girar_a_direita()
print(direcao.valor)
direcao.girar_a_esquerda()
print(direcao.valor)
print('')
carro = Carro(motor, direcao)
carro.acelerar()
print(carro.calcular_velocidade())
print(carro.calcular_direcao())
carro.girar_a_esquerda()
print(carro.calcular_direcao()) | class Carro:
def __init__(self, motor, direcao):
self.motor = motor
self.direcao = direcao
def calcular_velocidade(self):
return self.motor.velocidade
def acelerar(self):
self.motor.acelerar()
def frear(self):
self.motor.frear()
def calcular_direcao(self):
return self.direcao.valor
def girar_a_direita(self):
self.direcao.girar_a_direita()
def girar_a_esquerda(self):
self.direcao.girar_a_esquerda()
class Motor:
def __init__(self):
self.velocidade = 0
def acelerar(self):
self.velocidade += 1
def frear(self):
self.velocidade -= 2
if self.velocidade < 0:
self.velocidade = 0
cima = 'CIMA'
direita = 'DIREITA'
baixo = 'BAIXO'
esquerda = 'ESQUERDA'
class Direcao:
rotacao_direita_dicionario = {CIMA: DIREITA, DIREITA: BAIXO, BAIXO: ESQUERDA, ESQUERDA: CIMA}
rotacao_esquerda_dicionario = {CIMA: ESQUERDA, DIREITA: CIMA, BAIXO: DIREITA, ESQUERDA: BAIXO}
def __init__(self):
self.valor = CIMA
def girar_a_direita(self):
self.valor = self.rotacao_direita_dicionario[self.valor]
def girar_a_esquerda(self):
self.valor = self.rotacao_esquerda_dicionario[self.valor]
if __name__ == '__main__':
motor = motor()
motor.acelerar()
motor.acelerar()
motor.acelerar()
print(motor.velocidade)
motor.frear()
motor.frear()
motor.frear()
print(motor.velocidade)
print('')
direcao = direcao()
print(direcao.valor)
direcao.girar_a_direita()
print(direcao.valor)
direcao.girar_a_esquerda()
print(direcao.valor)
print('')
carro = carro(motor, direcao)
carro.acelerar()
print(carro.calcular_velocidade())
print(carro.calcular_direcao())
carro.girar_a_esquerda()
print(carro.calcular_direcao()) |
class TableNotFoundError(Exception):
def __init__(self, msg, table_name=None):
self.msg = msg
self.table_name = table_name
def __str__(self):
msg = self.msg
if self.table_name:
msg += ' Table path: ' + self.table_name
return msg
| class Tablenotfounderror(Exception):
def __init__(self, msg, table_name=None):
self.msg = msg
self.table_name = table_name
def __str__(self):
msg = self.msg
if self.table_name:
msg += ' Table path: ' + self.table_name
return msg |
# -*- coding: utf-8 -*-
SHAPE_SPHERE = 0
SHAPE_BOX = 1
SHAPE_CAPSULE = 2
MODE_STATIC = 0
MODE_DYNAMIC = 1
MODE_DYNAMIC_BONE = 2
| shape_sphere = 0
shape_box = 1
shape_capsule = 2
mode_static = 0
mode_dynamic = 1
mode_dynamic_bone = 2 |
#
# Copyright (c) 2017, Massachusetts Institute of Technology All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# Redistributions in binary form must reproduce the above copyright notice, this
# list of conditions and the following disclaimer in the documentation and/or
# other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
MC = __import__('MARTE2_COMPONENT', globals())
@MC.BUILDER('EquinoxGAM', MC.MARTE2_COMPONENT.MODE_GAM)
class EQUINOX_GAM(MC.MARTE2_COMPONENT):
inputs = [
{'name': 'ip', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'btvac0', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'psi', 'type': 'float64',
'dimensions': [216], 'parameters':[]},
{'name': 'br', 'type': 'float64',
'dimensions': [216], 'parameters':[]},
{'name': 'bz', 'type': 'float64',
'dimensions': [216], 'parameters':[]},
{'name': 'neint_fir', 'type': 'float64',
'dimensions': [8], 'parameters':[]},
{'name': 'far_fir', 'type': 'float64',
'dimensions': [8], 'parameters':[]},
]
outputs = [
{'name': 'necalc', 'type': 'float64',
'dimensions': [8], 'parameters':[]},
{'name': 'necalc_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'neerr', 'type': 'float64',
'dimensions': [8], 'parameters':[]},
{'name': 'neerr_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'ne_dofs', 'type': 'float64',
'dimensions': [21], 'parameters':[]},
{'name': 'ne_dofs_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'anenow', 'type': 'float64',
'dimensions': [168], 'parameters':[]},
{'name': 'anenow_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_config', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_config_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_quality', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_quality_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_quality2', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_quality2_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_valid', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'flag_valid_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_valid_axis', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'flag_valid_axis_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'psin', 'type': 'float64',
'dimensions': [2263], 'parameters':[]},
{'name': 'psin_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'b0', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'b0_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'ip', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'ip_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'li', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'li_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'phip', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'phip_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'rax', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'rax_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'tot_volume', 'type': 'float64',
'dimensions': 0, 'parameters': []},
{'name': 'tot_volume_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'wp', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'wp_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'wpol', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'wpol_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'wtor', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'wtor_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'zax', 'type': 'float64', 'dimensions': 0, 'parameters': []},
{'name': 'zax_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'area', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'area_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'bp2', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'bp2_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'delta', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'delta_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'epsilon', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'epsilon_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'f', 'type': 'float64', 'dimensions': [17], 'parameters':[]},
{'name': 'f_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'ffprime', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'ffprime_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'h', 'type': 'float64', 'dimensions': [17], 'parameters':[]},
{'name': 'h_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'iota', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'iota_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'ir', 'type': 'float64', 'dimensions': [17], 'parameters':[]},
{'name': 'ir_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'ir2', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'ir2_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'jphior', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'jphior_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'kappa', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'kappa_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'minrad', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'minrad_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'muoip', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'muoip_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'ne', 'type': 'float64', 'dimensions': [17], 'parameters':[]},
{'name': 'ne_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'phi', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'phi_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'psin1d', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'psin1d_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'psi1d', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'psi1d_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'pprime', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'pprime_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'pressure', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'pressure_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'q', 'type': 'float64', 'dimensions': [17], 'parameters':[]},
{'name': 'q_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'r2bp2', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'r2bp2_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'rbp', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'rbp_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'rgeom', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'rgeom_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
{'name': 'rhotorn', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'rhotorn_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'volume', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'volume_flag', 'type': 'int32',
'dimensions': 0, 'parameters': []},
{'name': 'zgeom', 'type': 'float64',
'dimensions': [17], 'parameters':[]},
{'name': 'zgeom_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []},
]
parameters = [
{'name': 'Parameter1', 'type': 'float32'},
{'name': 'Parameter2', 'type': 'string'},
]
parts = []
| mc = __import__('MARTE2_COMPONENT', globals())
@MC.BUILDER('EquinoxGAM', MC.MARTE2_COMPONENT.MODE_GAM)
class Equinox_Gam(MC.MARTE2_COMPONENT):
inputs = [{'name': 'ip', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'btvac0', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'psi', 'type': 'float64', 'dimensions': [216], 'parameters': []}, {'name': 'br', 'type': 'float64', 'dimensions': [216], 'parameters': []}, {'name': 'bz', 'type': 'float64', 'dimensions': [216], 'parameters': []}, {'name': 'neint_fir', 'type': 'float64', 'dimensions': [8], 'parameters': []}, {'name': 'far_fir', 'type': 'float64', 'dimensions': [8], 'parameters': []}]
outputs = [{'name': 'necalc', 'type': 'float64', 'dimensions': [8], 'parameters': []}, {'name': 'necalc_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'neerr', 'type': 'float64', 'dimensions': [8], 'parameters': []}, {'name': 'neerr_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'ne_dofs', 'type': 'float64', 'dimensions': [21], 'parameters': []}, {'name': 'ne_dofs_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'anenow', 'type': 'float64', 'dimensions': [168], 'parameters': []}, {'name': 'anenow_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_config', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_config_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_quality', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_quality_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_quality2', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_quality2_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_valid', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_valid_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_valid_axis', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'flag_valid_axis_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'psin', 'type': 'float64', 'dimensions': [2263], 'parameters': []}, {'name': 'psin_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'b0', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'b0_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'ip', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'ip_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'li', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'li_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'phip', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'phip_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'rax', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'rax_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'tot_volume', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'tot_volume_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'wp', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'wp_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'wpol', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'wpol_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'wtor', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'wtor_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'zax', 'type': 'float64', 'dimensions': 0, 'parameters': []}, {'name': 'zax_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'area', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'area_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'bp2', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'bp2_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'delta', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'delta_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'epsilon', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'epsilon_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'f', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'f_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'ffprime', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'ffprime_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'h', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'h_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'iota', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'iota_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'ir', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'ir_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'ir2', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'ir2_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'jphior', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'jphior_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'kappa', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'kappa_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'minrad', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'minrad_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'muoip', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'muoip_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'ne', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'ne_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'phi', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'phi_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'psin1d', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'psin1d_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'psi1d', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'psi1d_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'pprime', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'pprime_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'pressure', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'pressure_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'q', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'q_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'r2bp2', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'r2bp2_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'rbp', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'rbp_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'rgeom', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'rgeom_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'rhotorn', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'rhotorn_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'volume', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'volume_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}, {'name': 'zgeom', 'type': 'float64', 'dimensions': [17], 'parameters': []}, {'name': 'zgeom_flag', 'type': 'int32', 'dimensions': 0, 'parameters': []}]
parameters = [{'name': 'Parameter1', 'type': 'float32'}, {'name': 'Parameter2', 'type': 'string'}]
parts = [] |
def normalize_scheme(scheme=None, default='//'):
if scheme is None:
scheme = default
elif scheme.endswith(':'):
scheme = '%s//' % scheme
elif '//' not in scheme:
scheme = '%s://' % scheme
return scheme
def normalize_port(port=None):
if port is None:
port = ''
elif ':' in port:
port = ':%s' % port.strip(':')
elif port:
port = ':%s' % port
return port
| def normalize_scheme(scheme=None, default='//'):
if scheme is None:
scheme = default
elif scheme.endswith(':'):
scheme = '%s//' % scheme
elif '//' not in scheme:
scheme = '%s://' % scheme
return scheme
def normalize_port(port=None):
if port is None:
port = ''
elif ':' in port:
port = ':%s' % port.strip(':')
elif port:
port = ':%s' % port
return port |
load("@bazel_gazelle//:deps.bzl", "go_repository")
def go_repositories():
go_repository(
name = "com_github_google_uuid",
importpath = "github.com/google/uuid",
sum = "h1:kxhtnfFVi+rYdOALN0B3k9UT86zVJKfBimRaciULW4I=",
version = "v1.1.5",
)
| load('@bazel_gazelle//:deps.bzl', 'go_repository')
def go_repositories():
go_repository(name='com_github_google_uuid', importpath='github.com/google/uuid', sum='h1:kxhtnfFVi+rYdOALN0B3k9UT86zVJKfBimRaciULW4I=', version='v1.1.5') |
class NoneChecker:
def __init__(self, function):
self.function = function
self.obj = None
def __call__(self, *args, **kwargs):
try:
self.obj = self.function(*args, **kwargs)
func_dict = self.obj.__dict__
[self.obj.__setattr__(_var, None) for _var in func_dict
if func_dict[_var] == "None"]
return self.obj
except Exception as e:
print(e)
raise e
def __instancecheck__(self, dec_class):
return self.obj
| class Nonechecker:
def __init__(self, function):
self.function = function
self.obj = None
def __call__(self, *args, **kwargs):
try:
self.obj = self.function(*args, **kwargs)
func_dict = self.obj.__dict__
[self.obj.__setattr__(_var, None) for _var in func_dict if func_dict[_var] == 'None']
return self.obj
except Exception as e:
print(e)
raise e
def __instancecheck__(self, dec_class):
return self.obj |
class Person:
def __init__(self, firstName, lastName, idNumber):
self.firstName = firstName
self.lastName = lastName
self.idNumber = idNumber
def printPerson(self):
print("Name:", self.lastName + ",", self.firstName)
print("ID:", self.idNumber)
class Student(Person):
# Class Constructor
#
# Parameters:
# firstName - A string denoting the Person's first name.
# lastName - A string denoting the Person's last name.
# id - An integer denoting the Person's ID number.
# scores - An array of integers denoting the Person's test scores.
#
def __init__(self, fn, ln, i, ls):
self.firstName = fn
self.lastName = ln
self.idNumber = i
self.testScores = ls
# Function Name: calculate
# Return: A character denoting the grade.
#
# Write your function here
def calculate(self):
av = sum(self.testScores) / len(self.testScores)
if av > 89:
return 'O'
elif av > 79:
return 'E'
elif av > 69:
return 'A'
elif av > 54:
return 'P'
elif av > 39:
return 'D'
else:
return 'T'
line = input().split()
firstName = line[0]
lastName = line[1]
idNum = line[2]
numScores = int(input()) # not needed for Python
scores = list( map(int, input().split()) )
s = Student(firstName, lastName, idNum, scores)
s.printPerson()
print("Grade:", s.calculate())
| class Person:
def __init__(self, firstName, lastName, idNumber):
self.firstName = firstName
self.lastName = lastName
self.idNumber = idNumber
def print_person(self):
print('Name:', self.lastName + ',', self.firstName)
print('ID:', self.idNumber)
class Student(Person):
def __init__(self, fn, ln, i, ls):
self.firstName = fn
self.lastName = ln
self.idNumber = i
self.testScores = ls
def calculate(self):
av = sum(self.testScores) / len(self.testScores)
if av > 89:
return 'O'
elif av > 79:
return 'E'
elif av > 69:
return 'A'
elif av > 54:
return 'P'
elif av > 39:
return 'D'
else:
return 'T'
line = input().split()
first_name = line[0]
last_name = line[1]
id_num = line[2]
num_scores = int(input())
scores = list(map(int, input().split()))
s = student(firstName, lastName, idNum, scores)
s.printPerson()
print('Grade:', s.calculate()) |
__author__ = 'Owen'
infnames = {0: 'Rifle Infantry', 1: 'Trencher Infantry', 2: 'Assault Infantry'}
armnames = {0: 'Autocar Divisions', 1: 'Lt-Armor Divisions', 2: 'Md-Armor Divisions'}
desnames = {0: 'Gunboats', 1: 'Destroyers', 2: 'Submarines'}
crunames = {0: 'Lt-Cruisers', 1: 'Hv-Cruisers', 2: 'Battlecruisers'}
batnames = {0: 'Dreadnoughts', 1: 'Battleships', 2: 'Great Battleships'}
fitnames = {0: 'Biplane Squadrons', 1: 'Monoplane Squadrons'}
bomnames = {0: 'Triplane Bomber Squadrons', 1: 'Lt-Bomber Squadrons'}
allnames = [infnames, armnames, desnames, crunames, batnames, fitnames, bomnames]
kind_dic = {0: 'Infantry', 1: 'Armor', 2: 'Destroyers', 3: 'Cruisers', 4: 'Battleships', 5: 'Fighters', 6: 'Bombers'}
weapon_numbers = {0: 1000,
1: 100,
2: 1,
3: 1,
4: 1,
5: 15,
6: 15}
TLI_dic = {'Infantry': [1.0, 1.2, 1.4],
'Armor': [10, 30, 75],
'Destroyers': [450, 550, 400],
'Cruisers': [475, 625, 700],
'Battleships': [700, 950, 1200],
'Fighters': [15, 25],
'Bombers': [25, 35]}
leadership_tm = {'Terrible': 0.5,
'Poor': 0.8,
'Average': 1.0,
'Good': 1.2,
'Excellent': 1.5}
training_tm = {'Terrible': 0.70,
'Poor': 0.85,
'Average': 1.0,
'Good': 1.15,
'Excellent': 1.30}
kind_num = int(7)
grade_num = int(6)
def get_morale_factors(country):
morale_factors = [leadership_tm[country.Leadership], training_tm[country.Training], tactics_tm] | __author__ = 'Owen'
infnames = {0: 'Rifle Infantry', 1: 'Trencher Infantry', 2: 'Assault Infantry'}
armnames = {0: 'Autocar Divisions', 1: 'Lt-Armor Divisions', 2: 'Md-Armor Divisions'}
desnames = {0: 'Gunboats', 1: 'Destroyers', 2: 'Submarines'}
crunames = {0: 'Lt-Cruisers', 1: 'Hv-Cruisers', 2: 'Battlecruisers'}
batnames = {0: 'Dreadnoughts', 1: 'Battleships', 2: 'Great Battleships'}
fitnames = {0: 'Biplane Squadrons', 1: 'Monoplane Squadrons'}
bomnames = {0: 'Triplane Bomber Squadrons', 1: 'Lt-Bomber Squadrons'}
allnames = [infnames, armnames, desnames, crunames, batnames, fitnames, bomnames]
kind_dic = {0: 'Infantry', 1: 'Armor', 2: 'Destroyers', 3: 'Cruisers', 4: 'Battleships', 5: 'Fighters', 6: 'Bombers'}
weapon_numbers = {0: 1000, 1: 100, 2: 1, 3: 1, 4: 1, 5: 15, 6: 15}
tli_dic = {'Infantry': [1.0, 1.2, 1.4], 'Armor': [10, 30, 75], 'Destroyers': [450, 550, 400], 'Cruisers': [475, 625, 700], 'Battleships': [700, 950, 1200], 'Fighters': [15, 25], 'Bombers': [25, 35]}
leadership_tm = {'Terrible': 0.5, 'Poor': 0.8, 'Average': 1.0, 'Good': 1.2, 'Excellent': 1.5}
training_tm = {'Terrible': 0.7, 'Poor': 0.85, 'Average': 1.0, 'Good': 1.15, 'Excellent': 1.3}
kind_num = int(7)
grade_num = int(6)
def get_morale_factors(country):
morale_factors = [leadership_tm[country.Leadership], training_tm[country.Training], tactics_tm] |
class baz:
A = 8
class bar(baz):
x = 0
def test(self):
return 'test in bar'
def test1(self, x):
return x * 'test1'
class truc:
machin = 99
class foo(bar,truc):
def test(self):
return 'test in foo'
def test2(self):
return 'test2'
obj = foo()
#assert str(bar.test)=="<function bar.test>"
assert obj.A == 8
assert obj.x == 0
assert obj.test() == 'test in foo'
assert obj.test1(2) == 'test1test1'
assert obj.test2() == 'test2'
assert obj.machin == 99
class stack(list):
def dup(self):
if len(self):
self.append(self[-1])
x = stack([1, 7])
assert str(x) == '[1, 7]'
x.dup()
assert str(x) == '[1, 7, 7]'
class foo(list):
pass
class bar(foo):
pass
assert str(bar()) == '[]'
# subclass method of native JS object (issue #75)
class myint(int):
def __add__(self, x):
raise NotImplementedError
x = myint(42)
assert x == 42
assert x - 8 == 34 # instance supports method __sub__
try:
print(x + 10)
raise ValueError('__add__ should raise NotImplementedError')
except NotImplementedError:
pass
# __call__
class StaticCall():
def __init__(self):
self.from_init = 88
def __call__(self, *args, **kwargs):
return 99
assert StaticCall().from_init == 88
assert StaticCall()() == 99
# property and object descriptors
class myclass:
def __init__(self):
self.a = 2
@property
def getx(self):
return self.a + 5
assert myclass().getx == 7
@property
def gety(self):
print(self.a)
return self.a + 9
x.gety = gety
assert x.gety is gety
# bug 61
class A:
def __getattr__(self, x):
return 2
assert A().y == 2
# Setting and deleting attributes in a class are reflected
# in the classes instances
class foo():pass
a = foo()
foo.x = 9
assert 'x' in dir(foo)
assert a.x == 9
del foo.x
try:
a.x
raise Exception("should have raised AttributeError")
except AttributeError:
pass
class myclass:
pass
class myclass1(myclass):
pass
a = myclass()
assert a.__doc__ == None
b = myclass1()
assert b.__doc__ == None
# classmethod
class A:
def __init__(self, arg):
self.arg = arg
@classmethod
def foo(cls, x):
return cls(x)
assert A(5).foo(88).arg == 88
# If a rich-comparison method returns NotImplemented
# we should retry with the reflected operator of the other object.
# If that returns NotImplemented too, we should return False.
class EqualityTester:
count = 0
def __eq__(self, other):
EqualityTester.count += 1
return NotImplemented
class ReflectedSuccess:
count = 0
def __eq__(self, other):
if isinstance(other, EqualityTester):
return True
elif isinstance(other, ReflectedSuccess):
ReflectedSuccess.count += 1
if self.count > 1:
return True
else:
return NotImplemented
a, b = EqualityTester(), EqualityTester()
c = ReflectedSuccess()
assert not (a == b) # Both objects return Notimplemented => result should be False
assert EqualityTester.count == 2 # The previous line should call the __eq__ method on both objects
assert (c == c) # The second call to __eq__ should succeed
assert ReflectedSuccess.count == 2
assert (a == c)
assert (c == a)
class Tester:
def __init__(self, name):
self.name = name
def __eq__(self, other):
return NotImplemented
def __ne__(self, other):
return NotImplemented
def __le__(self, other):
return NotImplemented
def __ge__(self, other):
return NotImplemented
assert not (Tester('a') == Tester('b'))
assert Tester('a') != Tester('b')
try:
Tester('x') >= Tester('y')
raise Exception("should have raised TypeError")
except TypeError:
pass
# singleton
class Singleton(type):
_instances = {}
def __call__(cls, *args, **kwargs):
if cls not in cls._instances:
cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
return cls._instances[cls]
class A(metaclass=Singleton):
def __init__(self):
self.t = []
A().t.append(1)
assert A().t == [1]
# reset __init__
class A:
pass
def init(self, x):
self.x = x
A.__init__ = init
a = A(5)
assert a.x == 5
# string representation
class A:
def f(self, y):
return y
@classmethod
def f_cl(cls, x):
return x
a = A()
assert str(A.f).startswith("<function A.f")
assert str(type(A.f)) == "<class 'function'>", str(type(A.f))
assert str(a.f).startswith("<bound method A.f of"), str(a.f)
assert str(type(a.f)) == "<class 'method'>"
assert str(a.f.__func__).startswith("<function A.f")
assert a.f.__func__ == A.f
assert A.f_cl == a.f_cl
assert A.f_cl(3) == 3
assert a.f_cl(8) == 8
# A subclass inherits its parent metaclass
class Meta(type):
pass
class A(metaclass=Meta):
pass
class B(A):
pass
assert type(B) == Meta
# name mangling
class TestMangling:
def test(self):
try:
raise Exception(10)
except Exception as __e:
assert __e == __e
t = TestMangling()
t.test()
# call __instancecheck__ for isinstance()
class Enumeration(type):
def __instancecheck__(self, other):
return True
class EnumInt(int, metaclass=Enumeration):
pass
assert isinstance('foo', EnumInt)
# metaclass with multiple inheritance
class Meta(type):
pass
class A(metaclass=Meta):
pass
class B(str, A):
pass
assert B.__class__ == Meta
class C:
pass
class D(A, C):
pass
assert D.__class__ == Meta
class Meta1(type):
pass
class Meta2(type):
pass
class A1(metaclass=Meta1):
pass
class A2(metaclass=Meta2):
pass
try:
class B(A1, A2):
pass
raise Exception("should have raised TypeError")
except TypeError:
pass
class Meta3(Meta1):
pass
class A3(metaclass=Meta3):
pass
class C(A3, A1):
pass
assert C.__class__ == Meta3
# setting __class__
class A:pass
class B:
x = 1
a = A()
assert not hasattr(a, 'x')
a.__class__ = B
assert a.x == 1
# issue 118
class A:
def toString(self):
return "whatever"
assert A().toString() == "whatever"
# issue 126
class MyType(type):
def __getattr__(cls, attr):
return "whatever"
class MyParent(metaclass=MyType):
pass
class MyClass(MyParent):
pass
assert MyClass.spam == "whatever"
assert MyParent.spam == "whatever"
# issue 154
class MyMetaClass(type):
def __str__(cls):
return "Hello"
class MyClass(metaclass=MyMetaClass):
pass
assert str(MyClass) == "Hello"
# issue 155
class MyMetaClass(type):
pass
class MyClass(metaclass=MyMetaClass):
pass
MyOtherClass = MyMetaClass("DirectlyCreatedClass", (), {})
assert isinstance(MyClass, MyMetaClass), type(MyClass)
assert isinstance(MyOtherClass, MyMetaClass), type(MyOtherClass)
# issue 905
class A:
prop: str
class B(A):
pass
assert B.__annotations__ == {}
# issue 922
class A:
__slots__ = ['_r']
x = 0
def __getattr__(self, name):
A.x = "getattr"
def __setattr__(self, name, value):
A.x = "setattr"
a = A()
a.b
assert A.x == "getattr"
a.b = 9
assert A.x == "setattr"
# issue 1012
class test:
nb_set = 0
def __init__(self):
self.x = 1
@property
def x(self):
return 'a'
@x.setter
def x(self, val):
test.nb_set += 1
t = test()
assert t.x == "a"
assert test.nb_set == 1, test.nb_set
# issue 1083
class Gentleman(object):
def introduce_self(self):
return "Hello, my name is %s" % self.name
class Base(object):pass
class Person(Base):
def __init__(self, name):
self.name = name
p = Person("John")
Person.__bases__=(Gentleman,object,)
assert p.introduce_self() == "Hello, my name is John"
q = Person("Pete")
assert q.introduce_self() == "Hello, my name is Pete"
# a class inherits 2 classes with different metaclasses
class BasicMeta(type):
pass
class ManagedProperties(BasicMeta):
pass
def with_metaclass(meta, *bases):
class metaclass(meta):
def __new__(cls, name, this_bases, d):
return meta(name, bases, d)
return type.__new__(metaclass, "NewBase", (), {})
class EvalfMixin(object):
pass
class Basic(with_metaclass(ManagedProperties)):
pass
class Expr1(Basic, EvalfMixin):
pass
class Expr2(EvalfMixin, Basic):
pass
assert Expr1.__class__ is ManagedProperties
assert Expr2.__class__ is ManagedProperties
# issue 1390
class desc(object):
def __get__(self, instance, owner):
return 5
class A:
x = desc()
assert A.x == 5
# issue 1392
class A():
b = "This is b"
message = "This is a"
def __init__(self):
self.x = 5
assert "b" in A.__dict__
assert "message" in A.__dict__
assert "__init__" in A.__dict__
d = A.__dict__["__dict__"]
try:
d.b
raise Exception("should have raised AttributeError")
except AttributeError:
pass
# super() with multiple inheritance
trace = []
class A:
pass
class B:
def __init__(self):
trace.append("init B")
class C(A, B):
def __init__(self):
superinit = super(C, self).__init__
superinit()
C()
assert trace == ['init B']
# issue 1457
class CNS:
def __init__(self):
self._dct = {}
def __setitem__(self, item, value):
self._dct[item.lower()] = value
def __getitem__(self, item):
return self._dct[item]
class CMeta(type):
@classmethod
def __prepare__(metacls, name, bases, **kwds):
return {'__annotations__': CNS()}
class CC(metaclass=CMeta):
XX: 'ANNOT'
assert CC.__annotations__['xx'] == 'ANNOT'
# similar to issue 600: == with subclassing
class A_eqWithoutOverride:
pass
class B_eqWithoutOverride(A_eqWithoutOverride):
pass
a_eqWithoutOverride = A_eqWithoutOverride()
b_eqWithoutOverride = B_eqWithoutOverride()
assert (a_eqWithoutOverride == a_eqWithoutOverride)
assert (b_eqWithoutOverride == b_eqWithoutOverride)
assert (a_eqWithoutOverride != b_eqWithoutOverride)
assert not (a_eqWithoutOverride == b_eqWithoutOverride)
assert (b_eqWithoutOverride != a_eqWithoutOverride)
assert not (b_eqWithoutOverride == a_eqWithoutOverride)
# issue 1488
class Foobar:
class Foo:
def __str__(self):
return "foo"
class Bar(Foo):
def __init__(self):
super().__init__()
def __str__(self):
return "bar"
assert str(Foobar.Bar()) == "bar"
# super() in a function outside of a class
def f():
super()
try:
f()
raise Exception("should have raised RuntimeError")
except RuntimeError as exc:
assert exc.args[0] == "super(): no arguments"
# super() with a single argument
# found in https://www.artima.com/weblogs/viewpost.jsp?thread=236278
class B:
a = 1
class C(B):
pass
class D(C):
sup = super(C)
d = D()
assert d.sup.a == 1
# class attributes set to builtin functions became *static* methods for
# instances (is this documented ?)
def not_builtin(instance, x):
return x
class WithBuiltinFuncs:
builtin_func = abs
not_builtin_func = not_builtin
def test(self):
# self.not_builtin_func(x) is self.__class__.not_builtin_func(self, x)
assert self.not_builtin_func(3) == 3
# self.builtin_func(x) is self.__class__.builtin_func(x)
assert self.builtin_func(-2) == 2
WithBuiltinFuncs().test()
# Set attributes with aliased names
class A:
def __init__(self):
self.length = 0
a = A()
a.message = "test"
assert a.__dict__["message"] == "test"
assert a.length == 0
# issue 1551
class MyClass:
def __init__(self):
self.x = 1
def __getattribute__(self, name):
raise Exception("This will never happen")
m = MyClass()
try:
m.x
except Exception as exc:
assert exc.args[0] == "This will never happen"
# issue 1737
class A: pass
class B(A): pass
assert A.__bases__ == (object,)
assert B.__bases__ == (A,)
assert object.__bases__ == ()
assert type.__bases__ == (object,)
assert type.__mro__ == (type, object)
assert object.mro() == [object]
assert list.__bases__ == (object,)
try:
type.mro()
raise AssertionError('should have raised TypeError')
except TypeError:
pass
# issue 1740
class A:
class B:
def __init__(self):
pass
B()
# issue 1779
class A:
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
t.append('I am A')
t = []
class MetaB(type):
def __call__(cls, *args, **kwargs):
t.append('MetaB Call')
self = super().__call__(*args, **kwargs) # create
return self
class B(metaclass=MetaB):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
t.append('I am B')
class C(B, A):
pass
c = C()
assert t == ['MetaB Call', 'I am A', 'I am B']
del t[:]
D = type('C', (B, A,), {})
d = D()
assert t == ['MetaB Call', 'I am A', 'I am B']
print('passed all tests..')
| class Baz:
a = 8
class Bar(baz):
x = 0
def test(self):
return 'test in bar'
def test1(self, x):
return x * 'test1'
class Truc:
machin = 99
class Foo(bar, truc):
def test(self):
return 'test in foo'
def test2(self):
return 'test2'
obj = foo()
assert obj.A == 8
assert obj.x == 0
assert obj.test() == 'test in foo'
assert obj.test1(2) == 'test1test1'
assert obj.test2() == 'test2'
assert obj.machin == 99
class Stack(list):
def dup(self):
if len(self):
self.append(self[-1])
x = stack([1, 7])
assert str(x) == '[1, 7]'
x.dup()
assert str(x) == '[1, 7, 7]'
class Foo(list):
pass
class Bar(foo):
pass
assert str(bar()) == '[]'
class Myint(int):
def __add__(self, x):
raise NotImplementedError
x = myint(42)
assert x == 42
assert x - 8 == 34
try:
print(x + 10)
raise value_error('__add__ should raise NotImplementedError')
except NotImplementedError:
pass
class Staticcall:
def __init__(self):
self.from_init = 88
def __call__(self, *args, **kwargs):
return 99
assert static_call().from_init == 88
assert static_call()() == 99
class Myclass:
def __init__(self):
self.a = 2
@property
def getx(self):
return self.a + 5
assert myclass().getx == 7
@property
def gety(self):
print(self.a)
return self.a + 9
x.gety = gety
assert x.gety is gety
class A:
def __getattr__(self, x):
return 2
assert a().y == 2
class Foo:
pass
a = foo()
foo.x = 9
assert 'x' in dir(foo)
assert a.x == 9
del foo.x
try:
a.x
raise exception('should have raised AttributeError')
except AttributeError:
pass
class Myclass:
pass
class Myclass1(myclass):
pass
a = myclass()
assert a.__doc__ == None
b = myclass1()
assert b.__doc__ == None
class A:
def __init__(self, arg):
self.arg = arg
@classmethod
def foo(cls, x):
return cls(x)
assert a(5).foo(88).arg == 88
class Equalitytester:
count = 0
def __eq__(self, other):
EqualityTester.count += 1
return NotImplemented
class Reflectedsuccess:
count = 0
def __eq__(self, other):
if isinstance(other, EqualityTester):
return True
elif isinstance(other, ReflectedSuccess):
ReflectedSuccess.count += 1
if self.count > 1:
return True
else:
return NotImplemented
(a, b) = (equality_tester(), equality_tester())
c = reflected_success()
assert not a == b
assert EqualityTester.count == 2
assert c == c
assert ReflectedSuccess.count == 2
assert a == c
assert c == a
class Tester:
def __init__(self, name):
self.name = name
def __eq__(self, other):
return NotImplemented
def __ne__(self, other):
return NotImplemented
def __le__(self, other):
return NotImplemented
def __ge__(self, other):
return NotImplemented
assert not tester('a') == tester('b')
assert tester('a') != tester('b')
try:
tester('x') >= tester('y')
raise exception('should have raised TypeError')
except TypeError:
pass
class Singleton(type):
_instances = {}
def __call__(cls, *args, **kwargs):
if cls not in cls._instances:
cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
return cls._instances[cls]
class A(metaclass=Singleton):
def __init__(self):
self.t = []
a().t.append(1)
assert a().t == [1]
class A:
pass
def init(self, x):
self.x = x
A.__init__ = init
a = a(5)
assert a.x == 5
class A:
def f(self, y):
return y
@classmethod
def f_cl(cls, x):
return x
a = a()
assert str(A.f).startswith('<function A.f')
assert str(type(A.f)) == "<class 'function'>", str(type(A.f))
assert str(a.f).startswith('<bound method A.f of'), str(a.f)
assert str(type(a.f)) == "<class 'method'>"
assert str(a.f.__func__).startswith('<function A.f')
assert a.f.__func__ == A.f
assert A.f_cl == a.f_cl
assert A.f_cl(3) == 3
assert a.f_cl(8) == 8
class Meta(type):
pass
class A(metaclass=Meta):
pass
class B(A):
pass
assert type(B) == Meta
class Testmangling:
def test(self):
try:
raise exception(10)
except Exception as __e:
assert __e == __e
t = test_mangling()
t.test()
class Enumeration(type):
def __instancecheck__(self, other):
return True
class Enumint(int, metaclass=Enumeration):
pass
assert isinstance('foo', EnumInt)
class Meta(type):
pass
class A(metaclass=Meta):
pass
class B(str, A):
pass
assert B.__class__ == Meta
class C:
pass
class D(A, C):
pass
assert D.__class__ == Meta
class Meta1(type):
pass
class Meta2(type):
pass
class A1(metaclass=Meta1):
pass
class A2(metaclass=Meta2):
pass
try:
class B(A1, A2):
pass
raise exception('should have raised TypeError')
except TypeError:
pass
class Meta3(Meta1):
pass
class A3(metaclass=Meta3):
pass
class C(A3, A1):
pass
assert C.__class__ == Meta3
class A:
pass
class B:
x = 1
a = a()
assert not hasattr(a, 'x')
a.__class__ = B
assert a.x == 1
class A:
def to_string(self):
return 'whatever'
assert a().toString() == 'whatever'
class Mytype(type):
def __getattr__(cls, attr):
return 'whatever'
class Myparent(metaclass=MyType):
pass
class Myclass(MyParent):
pass
assert MyClass.spam == 'whatever'
assert MyParent.spam == 'whatever'
class Mymetaclass(type):
def __str__(cls):
return 'Hello'
class Myclass(metaclass=MyMetaClass):
pass
assert str(MyClass) == 'Hello'
class Mymetaclass(type):
pass
class Myclass(metaclass=MyMetaClass):
pass
my_other_class = my_meta_class('DirectlyCreatedClass', (), {})
assert isinstance(MyClass, MyMetaClass), type(MyClass)
assert isinstance(MyOtherClass, MyMetaClass), type(MyOtherClass)
class A:
prop: str
class B(A):
pass
assert B.__annotations__ == {}
class A:
__slots__ = ['_r']
x = 0
def __getattr__(self, name):
A.x = 'getattr'
def __setattr__(self, name, value):
A.x = 'setattr'
a = a()
a.b
assert A.x == 'getattr'
a.b = 9
assert A.x == 'setattr'
class Test:
nb_set = 0
def __init__(self):
self.x = 1
@property
def x(self):
return 'a'
@x.setter
def x(self, val):
test.nb_set += 1
t = test()
assert t.x == 'a'
assert test.nb_set == 1, test.nb_set
class Gentleman(object):
def introduce_self(self):
return 'Hello, my name is %s' % self.name
class Base(object):
pass
class Person(Base):
def __init__(self, name):
self.name = name
p = person('John')
Person.__bases__ = (Gentleman, object)
assert p.introduce_self() == 'Hello, my name is John'
q = person('Pete')
assert q.introduce_self() == 'Hello, my name is Pete'
class Basicmeta(type):
pass
class Managedproperties(BasicMeta):
pass
def with_metaclass(meta, *bases):
class Metaclass(meta):
def __new__(cls, name, this_bases, d):
return meta(name, bases, d)
return type.__new__(metaclass, 'NewBase', (), {})
class Evalfmixin(object):
pass
class Basic(with_metaclass(ManagedProperties)):
pass
class Expr1(Basic, EvalfMixin):
pass
class Expr2(EvalfMixin, Basic):
pass
assert Expr1.__class__ is ManagedProperties
assert Expr2.__class__ is ManagedProperties
class Desc(object):
def __get__(self, instance, owner):
return 5
class A:
x = desc()
assert A.x == 5
class A:
b = 'This is b'
message = 'This is a'
def __init__(self):
self.x = 5
assert 'b' in A.__dict__
assert 'message' in A.__dict__
assert '__init__' in A.__dict__
d = A.__dict__['__dict__']
try:
d.b
raise exception('should have raised AttributeError')
except AttributeError:
pass
trace = []
class A:
pass
class B:
def __init__(self):
trace.append('init B')
class C(A, B):
def __init__(self):
superinit = super(C, self).__init__
superinit()
c()
assert trace == ['init B']
class Cns:
def __init__(self):
self._dct = {}
def __setitem__(self, item, value):
self._dct[item.lower()] = value
def __getitem__(self, item):
return self._dct[item]
class Cmeta(type):
@classmethod
def __prepare__(metacls, name, bases, **kwds):
return {'__annotations__': cns()}
class Cc(metaclass=CMeta):
xx: 'ANNOT'
assert CC.__annotations__['xx'] == 'ANNOT'
class A_Eqwithoutoverride:
pass
class B_Eqwithoutoverride(A_eqWithoutOverride):
pass
a_eq_without_override = a_eq_without_override()
b_eq_without_override = b_eq_without_override()
assert a_eqWithoutOverride == a_eqWithoutOverride
assert b_eqWithoutOverride == b_eqWithoutOverride
assert a_eqWithoutOverride != b_eqWithoutOverride
assert not a_eqWithoutOverride == b_eqWithoutOverride
assert b_eqWithoutOverride != a_eqWithoutOverride
assert not b_eqWithoutOverride == a_eqWithoutOverride
class Foobar:
class Foo:
def __str__(self):
return 'foo'
class Bar(Foo):
def __init__(self):
super().__init__()
def __str__(self):
return 'bar'
assert str(Foobar.Bar()) == 'bar'
def f():
super()
try:
f()
raise exception('should have raised RuntimeError')
except RuntimeError as exc:
assert exc.args[0] == 'super(): no arguments'
class B:
a = 1
class C(B):
pass
class D(C):
sup = super(C)
d = d()
assert d.sup.a == 1
def not_builtin(instance, x):
return x
class Withbuiltinfuncs:
builtin_func = abs
not_builtin_func = not_builtin
def test(self):
assert self.not_builtin_func(3) == 3
assert self.builtin_func(-2) == 2
with_builtin_funcs().test()
class A:
def __init__(self):
self.length = 0
a = a()
a.message = 'test'
assert a.__dict__['message'] == 'test'
assert a.length == 0
class Myclass:
def __init__(self):
self.x = 1
def __getattribute__(self, name):
raise exception('This will never happen')
m = my_class()
try:
m.x
except Exception as exc:
assert exc.args[0] == 'This will never happen'
class A:
pass
class B(A):
pass
assert A.__bases__ == (object,)
assert B.__bases__ == (A,)
assert object.__bases__ == ()
assert type.__bases__ == (object,)
assert type.__mro__ == (type, object)
assert object.mro() == [object]
assert list.__bases__ == (object,)
try:
type.mro()
raise assertion_error('should have raised TypeError')
except TypeError:
pass
class A:
class B:
def __init__(self):
pass
b()
class A:
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
t.append('I am A')
t = []
class Metab(type):
def __call__(cls, *args, **kwargs):
t.append('MetaB Call')
self = super().__call__(*args, **kwargs)
return self
class B(metaclass=MetaB):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
t.append('I am B')
class C(B, A):
pass
c = c()
assert t == ['MetaB Call', 'I am A', 'I am B']
del t[:]
d = type('C', (B, A), {})
d = d()
assert t == ['MetaB Call', 'I am A', 'I am B']
print('passed all tests..') |
'''
Created on Jun 3, 2017
@author: Jose
'''
class Issue:
'''
classdocs
'''
def __init__(self, id, rawData):
'''
Constructor
'''
self.ID = id
self.__rawData = rawData | """
Created on Jun 3, 2017
@author: Jose
"""
class Issue:
"""
classdocs
"""
def __init__(self, id, rawData):
"""
Constructor
"""
self.ID = id
self.__rawData = rawData |
def funcao(n,m):
c = []
i = 0
cont=m
while(len(c)<n):
i=i%n
try:
c.index(i)
except:
if(cont==m):
c.append(i)
cont=1
else:
cont=cont+1
i=i+1
return i;
while(1):
inp=input()
if(int(inp)==0):
break;
n=int(inp)
t=1
while(funcao(n,t)!=13):
t=t+1
print(t) | def funcao(n, m):
c = []
i = 0
cont = m
while len(c) < n:
i = i % n
try:
c.index(i)
except:
if cont == m:
c.append(i)
cont = 1
else:
cont = cont + 1
i = i + 1
return i
while 1:
inp = input()
if int(inp) == 0:
break
n = int(inp)
t = 1
while funcao(n, t) != 13:
t = t + 1
print(t) |
# Copyright (c) 2009 Upi Tamminen <desaster@gmail.com>
# See the COPYRIGHT file for more information
__all__ = [
'adduser',
'apt',
'base',
'base64',
'busybox',
'cat',
'curl',
'dd',
'env',
'ethtool',
'free',
'fs',
'ftpget',
'gcc',
'ifconfig',
'iptables',
'last',
'ls',
'nc',
'netstat',
'nohup',
'ping',
'scp',
'service',
'sleep',
'ssh',
'sudo',
'tar',
'uname',
'ulimit',
'wget',
'which',
'perl',
'uptime',
'python',
'tftp',
'du',
'yum'
]
| __all__ = ['adduser', 'apt', 'base', 'base64', 'busybox', 'cat', 'curl', 'dd', 'env', 'ethtool', 'free', 'fs', 'ftpget', 'gcc', 'ifconfig', 'iptables', 'last', 'ls', 'nc', 'netstat', 'nohup', 'ping', 'scp', 'service', 'sleep', 'ssh', 'sudo', 'tar', 'uname', 'ulimit', 'wget', 'which', 'perl', 'uptime', 'python', 'tftp', 'du', 'yum'] |
def func(x):
return x+1
def test_func():
assert func(3) == 4 | def func(x):
return x + 1
def test_func():
assert func(3) == 4 |
class Error(Exception):
pass
class ArgumentError(Error):
def __init__(self, message):
self.message = message
| class Error(Exception):
pass
class Argumenterror(Error):
def __init__(self, message):
self.message = message |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.