content
stringlengths 7
1.05M
|
|---|
freeze_as_mpy('$(MPY_DIR)/tools', 'upip.py')
freeze_as_mpy('$(MPY_DIR)/tools', 'upip_utarfile.py', opt=3)
freeze('$(MPY_DIR)/lib/lv_bindings/driver/linux', 'evdev.py')
freeze('$(MPY_DIR)/lib/lv_bindings/lib', 'lv_colors.py')
freeze('$(MPY_DIR)/lib/lv_bindings/lib', 'async_utils.py')
freeze('$(MPY_DIR)/lib/lv_bindings/lib', 'display_driver_utils.py')
freeze('$(MPY_DIR)/lib/lv_bindings/lib', 'imagetools.py')
freeze('$(MPY_DIR)/lib/lv_bindings/lib', 'fs_driver.py')
|
"""Top-level package for Structured and Interactive Summarization."""
__author__ = """Mélanie Cambus, Marc-Olivier Buob, Fabien Mathieu"""
__email__ = 'fabien.mathieu@normalesup.org'
__version__ = '0.2.0'
|
NAME='fastrouter'
CFLAGS = []
LDFLAGS = []
LIBS = []
REQUIRES = ['corerouter']
GCC_LIST = ['fastrouter']
|
# implicit conversion
num_int=123
num_float=1.23
result=num_int+num_float
print('datatype of num_int is',type(num_int))
print('datatype of num_float is',type(num_float))
print('datatype of result is',type(result))
# it automatically converts int to float to avoid data loss
|
def solution(n, votes):
vote_counter = [0 for i in range(n+1)]
# 각 후보가 몇 표를 받았는지 개수를 세는 것
for i in votes:
vote_counter[i] += 1
# 표의 수 중에서 최대
max_val = max(vote_counter)
print(f'vote_counter={vote_counter}, max_val={max_val}')
answer = []
for idx in range(1, n + 1):
if vote_counter[idx] == max_val:
answer.append(vote_counter[idx])
return answer
if __name__ == "__main__":
votes = [1,5,4,3,2,5,2,5,5,4]
print(f'votes={votes}, answer={solution(5, votes)}')
votes = [1,3,2,3,2]
print(f'votes={votes}, answer={solution(3, votes)}')
|
class Body(object):
def __init__(self, mass, position, velocity, name = None):
if (name != None):
self.name = name
self.mass = mass
self.position = position
self.velocity = velocity
|
# -- coding: utf-8 --
"""Collection of defaults assumed by the download script.
The defaults are all the allowed values for each of the variables.
More details are available are Copernicus Climate Data Store [0].
[0] https://cds.climate.copernicus.eu/cdsapp
"""
def time():
return [
"00:00",
"01:00",
"02:00",
"03:00",
"04:00",
"05:00",
"06:00",
"07:00",
"08:00",
"09:00",
"10:00",
"11:00",
"12:00",
"13:00",
"14:00",
"15:00",
"16:00",
"17:00",
"18:00",
"19:00",
"20:00",
"21:00",
"22:00",
"23:00",
]
def pl():
return [
"1",
"2",
"3",
"5",
"7",
"10",
"20",
"30",
"50",
"70",
"100",
"125",
"150",
"175",
"200",
"225",
"250",
"300",
"350",
"400",
"450",
"500",
"550",
"600",
"650",
"700",
"750",
"775",
"800",
"825",
"850",
"875",
"900",
"925",
"950",
"975",
"1000",
]
def year():
return [
"1979",
"1980",
"1981",
"1982",
"1983",
"1984",
"1985",
"1986",
"1987",
"1988",
"1989",
"1990",
"1991",
"1992",
"1993",
"1994",
"1995",
"1996",
"1997",
"1998",
"1999",
"2000",
"2001",
"2002",
"2003",
"2004",
"2005",
"2006",
"2007",
"2008",
"2009",
"2010",
"2011",
"2012",
"2013",
"2014",
"2015",
"2016",
"2017",
"2018",
"2019",
"2020",
]
def month():
return [
"01",
"02",
"03",
"04",
"05",
"06",
"07",
"08",
"09",
"10",
"11",
"12",
]
def day():
return [
"01",
"02",
"03",
"04",
"05",
"06",
"07",
"08",
"09",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"27",
"28",
"29",
"30",
"31",
]
|
def _wrapper(page):
"""
Wraps some text in common HTML.
"""
return ("""
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
max-width: 24em;
margin: auto;
color: #333;
background-color: #fdfdfd
}
.spoilers {
color: rgba(0,0,0,0); border-bottom: 1px dashed #ccc
}
.spoilers:hover {
transition: color 250ms;
color: rgba(36, 36, 36, 1)
}
label {
display: flex;
flex-direction: row;
}
label > span {
flex: 0;
}
label> input {
flex: 1;
}
button {
font-size: larger;
float: right;
margin-top: 6px;
}
</style>
</head>
<body>
""" + page + """
</body>
</html>
""")
def login_page():
"""
Returns the HTML for the login page.
"""
return _wrapper(r"""
<h1> Welcome! </h1>
<form method="POST" action="login.py">
<label> <span>Username:</span> <input autofocus type="text" name="username"></label> <br>
<label> <span>Password:</span> <input type="password" name="password"></label>
<button type="submit"> Login! </button>
</form>
""")
|
"""Kata: Sum of odd numbers
Given the triangle of consecutive odd numbers \
calculate the row sums of this triangle from the row index.
#1 Best Practices Solution by kevinplybon (plus 546 more warriors):
def row_sum_odd_numbers(n):
return n ** 3
"""
def row_sum_odd_numbers(n):
"""function takes in number and returns sum of numbers in that row."""
calculate_index = sum([num for num in range(1, n)])
odd_numbers = []
m = 1
while len(odd_numbers) != calculate_index + n:
odd_numbers.append(m)
m += 2
numbers = []
for i in range(calculate_index, calculate_index + n):
numbers.append(odd_numbers[i])
return sum(numbers)
|
"""Metadata for readcomp"""
__title__ = "readcomp"
__description__ = "Reading comprehension passage generator"
__url__ = "https://github.com/acciochris/readcomp"
__version__ = "0.1.0"
__author__ = "Chang Liu"
__license__ = "MIT"
__copyright__ = "Copyright 2020 Chang Liu"
|
def config(args):
"""
This command configure eggs
"""
print("configure eggs")
|
"""lds-bde-loader exception classes."""
class Error(Exception):
"""Generic errors."""
def __init__(self, msg):
super(Error, self).__init__()
self.msg = msg
def __str__(self):
return "%s: %s" % (self.__class__.__name__, self.msg)
class ConfigError(Error):
"""Config related errors."""
pass
class RuntimeError(Error):
"""Generic runtime errors."""
pass
class ArgumentError(Error):
"""Argument related errors."""
pass
|
"""
Project Euler Problem 3: Largest Prime Factor
"""
# What is the largest prime factor of the number 600851475143?
number = 600851475143
prime_list = [2] # Declare the list of prime numbers
i = 3 # First prime number
j = 0 # Initialize index counter
while i**2 <= number: # The largest possible prime factor is <= sqrt(number)
isPrime = True
while prime_list[j]**2 <= i: # We check that i is divisible by lower prime numbers
if i % prime_list[j] == 0:
isPrime = False # If i is divisible by something, it is not prime
j += 1
if isPrime:
prime_list.append(i) # If i is prime, add it to the list
if isPrime and number % i == 0:
number = number // i # If i is prime, and divides 'number', then divide the two and make that 'number'
i += 2
print(number)
|
"""Class represents response format.
{
status, successful/fail
data, response
msg, error messages
}
"""
def ok(data):
return {
"data": data,
"msg": None,
"status": "successful"
}
def err(msg):
return {
"data": None,
"msg": msg,
"status": "fail"
}
|
#!/usr/bin/env python3
# https://www.codechef.com/JULY18A/problems/JERRYTOM
def max_clique(g):
n = 0
for x in g: n = max(n, len(x))
l = [set() for _ in range(n + 1)]
s = [0] * len(g)
for i, x in enumerate(g):
ll = len(x)
l[ll].add(i)
s[i] = ll
m = 0
for _ in range(len(g)):
for i in range(n + 1):
if len(l[i]) > 0:
x = l[i].pop()
m = max(m, i)
s[x] = 0
for k in g[x]:
if s[k] > 0:
l[s[k]].remove(k)
s[k] -= 1
l[s[k]].add(k)
break
return m + 1
def dfs(s, b, u):
s.add(u)
b[u] = True
for v in g[u]:
if b[v]: continue
dfs(s, b, v)
for _ in range(int(input())):
n, m = map(int, input().split())
g = [list() for _ in range(n)]
for _ in range(m):
u, v = map(int, input().split())
g[u-1].append(v-1)
g[v-1].append(u-1)
print(max_clique(g))
|
# follow pytorch GAN-Studio, random flip is used in the dataset
_base_ = [
'../_base_/models/sngan_proj_32x32.py',
'../_base_/datasets/cifar10_nopad.py', '../_base_/default_runtime.py'
]
num_classes = 10
model = dict(
num_classes=num_classes,
generator=dict(
act_cfg=dict(type='ReLU', inplace=True), num_classes=num_classes),
discriminator=dict(
act_cfg=dict(type='ReLU', inplace=True), num_classes=num_classes))
n_disc = 5
lr_config = None
checkpoint_config = dict(interval=10000, by_epoch=False, max_keep_ckpts=20)
custom_hooks = [
dict(
type='VisualizeUnconditionalSamples',
output_dir='training_samples',
interval=5000)
]
inception_pkl = './work_dirs/inception_pkl/cifar10.pkl'
evaluation = dict(
type='GenerativeEvalHook',
interval=10000,
metrics=[
dict(
type='FID',
num_images=50000,
inception_pkl=inception_pkl,
bgr2rgb=True,
inception_args=dict(type='StyleGAN')),
dict(type='IS', num_images=50000)
],
best_metric=['fid', 'is'],
sample_kwargs=dict(sample_model='orig'))
total_iters = 100000 * n_disc
# use ddp wrapper for faster training
use_ddp_wrapper = True
find_unused_parameters = False
runner = dict(
type='DynamicIterBasedRunner',
is_dynamic_ddp=False, # Note that this flag should be False.
pass_training_status=True)
metrics = dict(
fid50k=dict(
type='FID',
num_images=50000,
inception_pkl=inception_pkl,
inception_args=dict(type='StyleGAN')),
IS50k=dict(type='IS', num_images=50000))
optimizer = dict(
generator=dict(type='Adam', lr=0.0002, betas=(0.5, 0.999)),
discriminator=dict(type='Adam', lr=0.0002, betas=(0.5, 0.999)))
data = dict(samples_per_gpu=64)
|
# generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/lty/catkin_ws/src/driver/joystick/joystick_drivers/wiimote/msg/IrSourceInfo.msg;/home/lty/catkin_ws/src/driver/joystick/joystick_drivers/wiimote/msg/State.msg;/home/lty/catkin_ws/src/driver/joystick/joystick_drivers/wiimote/msg/TimedSwitch.msg"
services_str = ""
pkg_name = "wiimote"
dependencies_str = "geometry_msgs;std_msgs;sensor_msgs"
langs = "gencpp;geneus;genlisp;gennodejs;genpy"
dep_include_paths_str = "wiimote;/home/lty/catkin_ws/src/driver/joystick/joystick_drivers/wiimote/msg;geometry_msgs;/opt/ros/kinetic/share/geometry_msgs/cmake/../msg;std_msgs;/opt/ros/kinetic/share/std_msgs/cmake/../msg;sensor_msgs;/opt/ros/kinetic/share/sensor_msgs/cmake/../msg"
PYTHON_EXECUTABLE = "/usr/bin/python"
package_has_static_sources = 'TRUE' == 'TRUE'
genmsg_check_deps_script = "/opt/ros/kinetic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py"
|
num1=10
num2=20
num3=300
num3=30
num4=40
|
# -*- coding: utf-8 -*-
def bytes(num):
for x in ['bytes','KB','MB','GB']:
if num < 1024.0 and num > -1024.0:
return "{0:.1f} {1}".format(num, x)
num /= 1024.0
return "{0:.1f} {1}".format(num, 'TB')
|
#inputs_pdm.py
#
#Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
#The Universal Permissive License (UPL), Version 1.0
#
#by Joe Hahn, joe.hahn@oracle.come, 11 September 2018
#input parameters used to generate mock pdm data
#turn debugging output on?
debug = True
#number of devices
N_devices = 1000
#sensor standard deviation
sensor_sigma = 0.01
#number of timesteps
N_timesteps = 20000
#starting time
time_start = 0
#interval (in timesteps) between device outputs
output_interval = 10
#maintenance strategy = rtf or pdm
strategy = 'pdm'
#send devices to maintenance when predicted lifetime is less that this threshold
pdm_threshold_time = 400
#probability threshold for pdm classifier to send device to preventative maintenance
pdm_threshold_probability = 0.5
#execute pdm check after this many timesteps
pdm_skip_time = 5
#number of technicians
N_technicians = N_devices/10
#failed' device's repair time
repair_duration = 100
#maintenance duration
maintenance_duration = repair_duration/4
#random number seed
rn_seed = 17 + 1
#issue data
issues = {
'crud': {'ID':0, 'coefficient':0.100000, 'fatal':False},
'jammed_rotor': {'ID':1, 'coefficient':0.000080, 'fatal':True },
'cracked_valve':{'ID':2, 'coefficient':0.000010, 'fatal':True },
'broken_gear': {'ID':3, 'coefficient':0.000002, 'fatal':True },
}
|
soma=0
cont=0
for c in range(1,501,2):
if c%3==0:
cont=cont + 1
soma=soma + c
print('A soma de todos os {} valores solicitados é {}.'.format(cont,soma))
|
basepath = "<path to dataset>"
with open(basepath+"/**/train_bg/wav.scp") as f:
lines = f.read().strip().split('\n')
for line in tqdm.tqdm(lines):
# name, _ = line.strip().split('\t')
name = line.strip().split(' ')[0]
shutil.copy(basepath+"/audio/"+name+".flac", basepath+"/**/train_wav/"+name+".flac")
with open(basepath+"/**/dev_bg/wav.scp") as f:
lines = f.read().strip().split('\n')
for line in tqdm.tqdm(lines):
# name, _ = line.strip().split('\t')
name = line.strip().split(' ')[0]
shutil.copy(basepath+"/audio/"+name+".flac", basepath+"/**/valid_wav/"+name+".flac")
|
def merge_dicts(*dict_args):
"""
Given any number of dicts, shallow copy and merge into a new dict,
precedence goes to key value pairs in latter dicts.
"""
result = {}
for dictionary in dict_args:
result.update(dictionary)
return result
def move_to_end(d, k):
v = d.pop(k)
d[k] = v
|
#!/usr/bin/env python
code_file = 'node_modules/terser-webpack-plugin/dist/TaskRunner.js'
bad_code = 'const cpus = _os2.default.cpus() || { length: 1 };'
good_code = 'const cpus = { length: 1 };'
new_text = None
with open(code_file) as f:
print('Reading %s' % code_file)
file_content = f.read()
if bad_code in file_content:
print('Found code to patch')
new_text = file_content.replace(bad_code, good_code)
else:
print('Bad code not found')
new_text = None
if new_text:
print('Updating %s' % code_file)
with open(code_file, "w") as f:
f.write(new_text)
|
'''
Created on 2016年1月22日
@author: Darren
'''
'''
Given N integers, count the number of pairs of integers whose difference is K.
Input Format
The first line contains N and K.
The second line contains N numbers of the set. All the N numbers are unique.
Output Format
An integer that tells the number of pairs of integers whose difference is K.
Constraints:
N≤105
0<K<109
Each integer will be greater than 0 and at least K smaller than 2^31−1.
Sample Input
5 2
1 5 3 4 2
Sample Output
3
Explanation
There are 3 pairs of integers in the set with a difference of 2.
'''
#!/usr/bin/py
# Head ends here
def pairs(a,k):
# a is the list of numbers and k is the difference value
count=0
a=sorted(a)
index1,index2=0,0
while index2<len(a):
if a[index2]-a[index1]==k:
count+=1
index2+=1
elif a[index2]-a[index1]<k:
index2+=1
else:
index1+=1
return count
# Tail starts here
if __name__ == '__main__':
a = input().strip()
a = list(map(int, a.split(' ')))
_a_size=a[0]
_k=a[1]
b = input().strip()
b = list(map(int, b.split(' ')))
print(pairs(b,_k))
|
class ParsimoniousError(Exception):
def __init__(self, exception):
"""
A class for wrapping parsimonious errors to make them a bit more sensible to users of this library.
:param exception: The original parsimonious exception
:return: self
"""
self.exception = exception
def __unicode__(self):
return u'Encountered an error parsing your api specification. The error was: \n {}'.format(self.exception)
def __str__(self):
return str(unicode(self))
|
A, B = map(int,input().split())
a = str(A)
b = str(B)
new_a1 = int(a[0])
new_a2 = int(a[1])
new_a3 = int(a[2])
new_a = new_a3 * 100 + new_a2 * 10 + new_a1 * 1
new_b1 = int(b[0])
new_b2 = int(b[1])
new_b3 = int(b[2])
new_b = new_b3 * 100 + new_b2 * 10 + new_b1 * 1
if new_a > new_b:
print(new_a)
else:
print(new_b)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class ErrorObj:
def __init__(self, code, message):
self.code = code
self.message = message
EOBJ_PARSE_ERROR = ErrorObj(-32700, 'parse error.')
EOBJ_INVALID_REQUEST = ErrorObj(-32600, 'invalid request.')
EOBJ_METHOD_NOT_FOUND = ErrorObj(-32601, 'method not found.')
EOBJ_INVALID_PARAMS = ErrorObj(-32602, 'invalid params.')
EOBJ_INTERNAL_ERROR = ErrorObj(-32603, 'internal error.')
def create_res_obj(data, req_id, error_code=None, error_message=None):
res_obj = {}
res_obj['jsonrpc'] = '2.0'
res_obj['id'] = req_id
if error_code is None:
res_obj['result'] = data
else:
res_obj['error'] = {
'code': error_code,
'message': error_message,
'data': data,
}
return res_obj
def operate_none(topology, req_obj):
return create_res_obj(
None,
req_obj['id'],
EOBJ_INTERNAL_ERROR.code,
'not implemented yet.')
def get_operation_dict():
return {
'get-topology': get_topology,
'create-topology': create_topology,
'delete-topology': delete_topology,
}
def get_topology(topology, req_obj):
data = topology.to_obj()
res_obj = create_res_obj(data, req_obj['id'])
return res_obj
def create_topology(topology, req_obj):
if topology.is_created():
topology.delete()
res_obj = None
if 'params' in req_obj and 'topology' in req_obj['params']:
topology_obj = req_obj['params']['topology']
topology.setup_topology_obj(topology_obj)
topology.create()
data = topology.to_obj()
res_obj = create_res_obj(data, req_obj['id'])
else:
res_obj = create_res_obj(
None,
req_obj['id'],
EOBJ_INVALID_REQUEST.code,
EOBJ_INVALID_REQUEST.message)
return res_obj
def delete_topology(topology, req_obj):
if topology.is_created():
topology.delete()
topology.setup_topology_obj({})
data = topology.to_obj()
res_obj = create_res_obj(data, req_obj['id'])
return res_obj
# EOF
|
W = 25
H = 6
with open("input.txt") as fin:
file = fin.read().strip()
layers = []
for i in range(0, len(file), W * H):
layer = []
for j in range(i, i + W * H, W):
layer.append(file[j: j + W])
layers.append(layer)
def p1():
zeros = float("inf")
l = 0
for i, layer in enumerate(layers):
layers[i] = [item for sublist in layer for item in sublist]
if (z := layers[i].count("0")) < zeros:
l = i
zeros = z
print(l)
return layers[l].count("1") * layers[l].count("2")
def p2():
res = []
for r in zip(*layers):
layer = []
for p in zip(*r):
layer.append([x for x in p if x != "2"][0])
res.append(layer)
return res
for l in p2():
print("".join(l).replace("0", " ").replace("1", "█"))
|
# The interval between temperature readings in seconds
READINGS_INTERVAL = 600
DATA_PIN = 3
SCX_PIN = 2
REDIS_HOST = 'localhost'
REDIS_PORT = 6379
LAST_MEASUREMENT_KEY = 'last_measurement'
LAST_MEASUREMENT_KEY_TEMPLATE = 'measurement_{}'
TIME_KEY = 'time'
TEMPERATURE_KEY = 'temperature'
HUMIDITY_KEY = 'humidity'
PREV_KEY = 'prev'
MEASUREMENT_EXPIRE_HOURS = 48
NUM_OF_READINGS = 10
|
"""
__init__.py
~~~~~~~~
服务类
2020/9/2
"""
|
mistring = 'Curso de python3'
print(mistring [0:10])
palabra ="hola"
print (len(palabra))
|
def Insertion_Sort(alist):
'''
Sorting alist via Insertion Sort
'''
for index in range(1, len(alist)):
currentValue = alist[index]
position = index
while position > 0 and alist[position-1] > currentValue:
alist[position] = alist[position-1]
position = position - 1
alist[position] = currentValue
return alist
def main():
alist = [3, 45, 56, 1, 12, 67, 97, 22, 3]
print(Insertion_Sort(alist))
main()
|
"""
Module :module:`shelter.core.constants` contains useful constants used
in Shelter.
"""
__all__ = ['SERVICE_PROCESS', 'TORNADO_WORKER']
SERVICE_PROCESS = 'service_process'
"""
Indicates that type of the process is a service process. *kwargs* argument
in method :meth:`shelter.core.context.initialize_child` contains *process*,
which holds instance of the service process.
"""
TORNADO_WORKER = 'tornado_worker'
"""
Indicates that type of the process is a Tornado HTTP worker. *kwargs*
argument in method :meth:`shelter.core.context.initialize_child` contains
*app*, which holds Tornado's application associated with this worker and
*http_server*, which holds instance of the ``tornado.httpserver.HTTPServer``.
"""
|
class ConnectGame:
def __init__(self, board):
self.board = board.replace(' ', '').split('\n')
def get_winner(self):
print(self.board)
visited = set()
to_visit = []
directions = [(-1, 0), (0, -1), (1, -1),
(1, 0), (0, 1), (-1, 1)]
for y in range(len(self.board)):
to_visit.append((0, y, 'X'))
for x in range(len(self.board[0])):
to_visit.append((x, 0, 'O'))
while to_visit:
tup = to_visit.pop(0)
if tup in visited:
continue
visited.add(tup)
x, y, token = tup
if y < 0 or y >= len(self.board):
continue
if x < 0 or x >= len(self.board[y]):
continue
if self.board[y][x] != token:
continue
if token == 'X' and x == len(self.board[0]) - 1:
return token
elif token == 'O' and y == len(self.board) - 1:
return token
for dx, dy in directions:
to_visit.append((x + dx, y + dy, token))
return ''
|
def get_parameter_value(fhir_operation, parameter_name):
"""
Find the parameter value provided in the parameters
:param fhir_operation: the fhir operation definition
:param parameter_name: the name of the parameter to get the value of
:return: a string representation of th value
"""
parameter_value = ''
for param in fhir_operation.parameter:
if param.name == parameter_name:
parameter_value = param.binding.valueSetReference.identifier.value
return parameter_value
def find_resource(fhir_operation, resource_type):
"""
From the parameter get the resource in the contained list
:param fhir_operation:
:param resource_type: the resource type to find
:return: Practitioner
"""
resource_reference = ""
for param in fhir_operation.parameter:
if param.type == resource_type:
resource_reference = param.profile.reference
found_resource = None
for resource in fhir_operation.contained:
if f"#{resource.id}" == resource_reference:
found_resource = resource
return found_resource
|
# -*- coding: utf-8 -*-
loc_departments = [
"Ain","Aisne","Allier","Alpes de Hautes-Provence", "Hautes-Alpes",
"Alpes-Maritimes","Ardèche","Ardennes","Ariège", "Aube","Aude",
"Aveyron","Bouches-du-Rhône","Calvados","Cantal", "Charente",
"Charente-Maritime","Cher","Corrèze","Corse-du-Sud", "Haute-Corse",
"Côte-d'Or","Côtes d'Armor","Creuse","Dordogne", "Doubs","Drôme",
"Eure","Eure-et-Loir","Finistère","Gard", "Haute-Garonne","Gers",
"Gironde","Hérault","Ille-et-Vilaine", "Indre","Indre-et-Loire",
"Isère","Jura","Landes","Loir-et-Cher", "Loire","Haute-Loire",
"Loire-Atlantique","Loiret","Lot", "Lot-et-Garonne","Lozère",
"Maine-et-Loire","Manche","Marne", "Haute-Marne","Mayenne",
"Meurthe-et-Moselle","Meuse","Morbihan", "Moselle","Nièvre","Nord",
"Oise","Orne","Pas-de-Calais", "Puy-de-Dôme","Pyrénées-Atlantiques",
"Hautes-Pyrénées", "Pyrénées-Orientales","Bas-Rhin","Haut-Rhin",
"Rhône", "Haute-Saône","Saône-et-Loire","Sarthe","Savoie",
"Haute-Savoie", "Paris","Seine-Maritime","Seine-et-Marne","Yvelines",
"Deux-Sèvres","Somme","Tarn","Tarn-et-Garonne","Var","Vaucluse",
"Vendée","Vienne","Haute-Vienne","Vosges","Yonne",
"Territoire-de-Belfort","Essonne","Hauts-de-Seine",
"Seine-Saint-Denis","Val-de-Marne","Val-d'Oise",
"Guadeloupe", "Mayotte","Réunion", "Guyane", "Martinique"
]
loc_regions = [
"Rhône-Alpes","Picardie","Auvergne","Provence-Alpes-Côte d'Azur",
"Champagne-Ardenne","Midi-Pyrénées","Languedoc-Roussillon",
"Basse-Normandie","Poitou-Charentes", "Limousin",
# "Centre", # responsable de centre commercial
"Corse","Bourgogne","Bretagne","Aquitaine","Franche-Comté",
"Haute-Normandie","Pays de la Loire","Lorraine",
"Nord-Pas-de-Calais","Alsace","Ile-de-France",
"idf"
]
loc_countries = [
"Afghanistan","Algérie","Angola","Antilles Néerlandaises","Arménie",
"Autriche","Bahreïn","Belgique","Bermudes","Birmanie","Botswana",
"Bulgarie","Cambodge","Cap-vert","Chypre","Corée du Nord","Côte d'Ivoire",
"Danemark","Égypte","Érythrée","États Fédérés de Micronésie","Fidji",
"Gabon","Géorgie du Sud et les Îles Sandwich du Sud","Grèce","Guinée",
"Guyana","Honduras","Île Christmas","Îles Åland","Îles Cook",
"Îles Mariannes du Nord","Îles Salomon","Îles Vierges des États-Unis",
"Iran","Islande","Jamaïque","Kazakhstan","Kiribati","Le Vatican",
"Liban","Liechtenstein","Macao","Malawi","Malte","Maurice","Mexique",
"Mongolie","Mozambique","Népal","Nigéria","Nouvelle-Calédonie",
"Ouganda","Palaos","Paraguay","Philippines","Porto Rico",
"République Centrafricaine","République Dominicaine","Russie",
"Saint-Kitts-et-Nevis","Saint-Vincent-et-les Grenadines","Salvador",
"Sao Tomé-et-Principe","Seychelles","Slovaquie","Soudan","Suisse",
"Swaziland","Taïwan","Terres Australes Françaises","Togo","Tunisie",
"Tuvalu","Vanuatu","Wallis et Futuna","Zimbabwe","Afrique du Sud",
"Allemagne","Anguilla","Arabie Saoudite","Aruba","Azerbaïdjan",
"Bangladesh","Belize","Bhoutan","Bolivie","Brésil","Burkina Faso",
"Cameroun","Chili","Colombie","Corée du Sud","Croatie","Djibouti",
"Émirats Arabes Unis","Espagne","États-Unis","Finlande","Gambie",
"Ghana","Grenade","Guam","Guinée-Bissau","Hong-Kong","Île de Man",
"Îles Caïmanes","Îles Féroé","Îles Marshall","Îles Turks et Caïques",
"Inde","Iraq","Israël","Japon","Kenya","Koweït","Lesotho","Libéria",
"Lituanie","Madagascar","Maldives","Maroc","Mauritanie","Moldavie",
"Monténégro","Namibie","Nicaragua","Niué","Nouvelle-Zélande",
"Ouzbékistan","Panama","Pays-Bas","Pologne","Portugal",
"République de Macédoine","République du Congo","Roumanie","Rwanda",
"Saint-Marin","Sainte-Hélène","Samoa","Sénégal","Sierra Leone",
"Slovénie","Sri Lanka","Suriname","Syrie","Tanzanie","Thaïlande",
"Tonga","Turkménistan","Ukraine","Venezuela","Yémen","Albanie",
"Andorre","Antigua-et-Barbuda","Argentine","Australie","Bahamas",
"Barbade","Bénin","Biélorussie","Bosnie-Herzégovine","Brunei",
"Burundi","Canada","Chine","Comores","Costa Rica","Cuba","Dominique",
"Équateur","Estonie","Éthiopie","Géorgie","Gibraltar",
"Groenland","Guatemala","Guinée Équatoriale","Haïti","Hongrie",
"Île Norfolk","Îles Cocos","Îles Malouines","Îles Pitcairn",
"Îles Vierges Britanniques","Indonésie","Irlande","Italie","Jordanie",
"Kirghizistan","Laos","Lettonie","Libye","Luxembourg","Malaisie",
"Mali","Monaco","Montserrat","Nauru","Niger","Norvège","Oman",
"Pakistan","Papouasie-Nouvelle-Guinée","Pérou","Qatar",
"République Démocratique du Congo","République Tchèque",
"Royaume-Uni","Sahara Occidental","Sainte-Lucie",
"Samoa Américaines","Serbie","Singapour","Somalie","Suède",
"Svalbard et Jan Mayen","Tadjikistan","Tchad","Timor Oriental",
"Trinité-et-Tobago","Turquie","Uruguay","Viet Nam","Zambie",
"Congo", "Centrafrique", "Ile maurice", "Irak", "Iles du Cap-Vert",
"Iles Antigua et Barbuda", "El Salvador", "Iles Bahamas",
"Sultanat d'Oman", "France"
]
loc_others= [
'Afrique', 'Amérique', 'Europe', 'Occident', 'Océanie', 'Orient',
'nord', 'est', 'sud', 'ouest'
]
loc_replace_infirst = {
"st": "saint",
"ste": "sainte"
}
|
load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external")
def dependencies():
import_external(
name = "javax_servlet_javax_servlet_api",
artifact = "javax.servlet:javax.servlet-api:3.1.0",
jar_sha256 = "af456b2dd41c4e82cf54f3e743bc678973d9fe35bd4d3071fa05c7e5333b8482",
srcjar_sha256 = "5c6d640f01e8e7ffdba21b2b75c0f64f0c30fd1fc3372123750c034cb363012a",
neverlink = 1,
generated_linkable_rule_name = "linkable",
)
|
primes = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31}
def is_prime(n):
if n in primes:
return True
else:
if n == 1:
return False
i = 2
while i*i <= n:
if n % i == 0:
return False
i += 1
primes.add(n)
return True
for _ in range(int(input())):
N = int(input())
if is_prime(N):
print(N, N)
else:
N *= 2
for i in range(2, N):
a, b = i, N - i
if is_prime(a) and is_prime(b):
print(a, b)
break
|
class NaryConfig:
def __init__(
self,
embedding_size=300,
hidden_size=150,
vocab_size=10000,
hidden_dropout_prob=0.,
cell_type='lstm',
use_attention=False,
use_bert=False,
tune_bert=False,
normalize_bert_embeddings=False,
xavier_init=True,
N=2,
**kwargs
):
super().__init__(**kwargs)
self.vocab_size = vocab_size
self.hidden_size = hidden_size
self.embedding_size = embedding_size
self.hidden_dropout_prob = hidden_dropout_prob
self.cell_type = cell_type
self.use_attention = use_attention
self.use_bert = use_bert
self.tune_bert = tune_bert
self.normalize_bert_embeddings = normalize_bert_embeddings
self.xavier_init = xavier_init
self.N = N
|
class Foo:
num1 : int
num2 : int
foo1 = Foo()
id_foo1_before = id(foo1)
foo1.num1 = 1
id_foo1_after = id(foo1)
if id_foo1_before == id_foo1_after:
print('Foo is immutable')
else:
print('Foo is mutable')
|
# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0
# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0
#
"""The official list of format hints that text renderers and plugins can rely
upon existing within the framework.
These hints allow a plugin to indicate how they would like data from a particular column to be represented.
Text renderers should attempt to honour all hints provided in this module where possible
"""
class Bin(int):
"""A class to indicate that the integer value should be represented as a
binary value."""
class Hex(int):
"""A class to indicate that the integer value should be represented as a
hexidecimal value."""
class HexBytes(bytes):
"""A class to indicate that the bytes should be display in an extended
format showing hexadecimal and ascii printable display."""
class MultiTypeData(bytes):
"""The contents are supposed to be a string, but may contain binary data."""
def __new__(cls, original, encoding: str = 'utf-16-le', split_nulls: bool = False, show_hex: bool = False):
if isinstance(original, int):
original = str(original).encode(encoding)
return super().__new__(cls, original)
def __init__(self, original: bytes, encoding: str = 'utf-16-le', split_nulls: bool = False, show_hex: bool = False):
self.converted_int = False # type: bool
if isinstance(original, int):
self.converted_int = True
self.encoding = encoding
self.split_nulls = split_nulls
self.show_hex = show_hex
bytes.__init__(original)
|
def cadicao(n1,n2):
return n1 + n2
def csubtracao (n1,n2):
return n1 - n2
def cdivisao (n1,n2):
return n1 / n2
def cdivisaoint (n1,n2):
return n1 // n2
def cmultiplicacao (n1,n2):
return n1 * n2
def cpotenciacao(n1,n2):
return n1 ** n2
def craiz (n1,n2):
return n1 ** (1/n2)
def cresto (n1,n2):
return n1 % n2
|
def main():
print('Please enter x as base and exp as exponent.')
try:
while 1:
x = float(input('x = '))
exp = int(input('exp = '))
print("%.3f to the power %d is %.5f\n" % (x,exp,x ** exp))
print("Please enter next pair or q to quit.")
except:print('Hope you enjoyed the power trip...')
main()
|
# !/usr/bin/python
"""
Copyright ©️: 2020 Seniatical / _-*™#7519
License: Apache 2.0
A permissive license whose main conditions require preservation of copyright and license notices.
Contributors provide an express grant of patent rights.
Licensed works, modifications, and larger works may be distributed under different terms and without source code.
FULL LICENSE CAN BE FOUND AT:
https://www.apache.org/licenses/LICENSE-2.0.html
Any violation to the license, will result in moderate action
You are legally required to mention (original author, license, source and any changes made)
"""
roasts = ['You’re the reason God created the middle finger.',
'You’re a grey sprinkle on a rainbow cupcake.',
'If your brain was dynamite, there wouldn’t be enough to blow your hat off.',
'You are more disappointing than an unsalted pretzel.',
'Light travels faster than sound which is why you seemed bright until you spoke.',
'We were happily married for one month, but unfortunately we’ve been married for 10 years.',
'Your kid is so annoying, he makes his Happy Meal cry.',
'You have so many gaps in your teeth it looks like your tongue is in jail.',
'Your secrets are always safe with me. I never even listen when you tell me them.',
'I’ll never forget the first time we met. But I’ll keep trying.',
'I forgot the world revolves around you. My apologies, how silly of me.',
'I only take you everywhere I go just so I don’t have to kiss you goodbye.',
'Hold still. I’m trying to imagine you with personality.',
'Our kid must have gotten his brain from you! I still have mine.',
'Your face makes onions cry.',
'The only way my husband would ever get hurt during an activity is if the TV exploded.',
'You look so pretty. Not at all gross, today.',
'Her teeth were so bad she could eat an apple through a fence.',
'I’m not insulting you, I’m describing you.',
'I’m not a nerd, I’m just smarter than you.',
'Keep rolling your eyes, you might eventually find a brain.',
'Your face is just fine but we’ll have to put a bag over that personality.',
'You bring everyone so much joy, when you leave the room.',
'I thought of you today. It reminded me to take out the trash.',
'Don’t worry about me. Worry about your eyebrows.',
'there is approximately 1,010,030 words in the language english, but i cannot string enough words together to express how much i want to hit you with a chair']
deaths = ['rolling out of the bed and the demon under the bed ate them.',
'getting impaled on the bill of a swordfish.',
'falling off a ladder and landing head first in a water bucket.',
'his own explosive while trying to steal from a condom dispenser.',
'a coconut falling off a tree and smashing there skull in.',
'taking a selfie with a loaded handgun shot himself in the throat.',
'shooting himself to death with gun carried in his breast pocket.',
'getting crushed while moving a fridge freezer.',
'getting crushed by his own coffins.',
'getting crushed by your partner.',
'laughing so hard at The Goodies Ecky Thump episode that he died of heart failure.',
'getting run over by his own vehicle.',
'car engine bonnet shutting on there head.',
'tried to brake check a train.',
'dressing up as a cookie and cookie monster ate them.',
'trying to re-act Indiana Jones, died from a snake bite.',
'tried to short circuit me, not that easy retard',
'tried to fight a bear with there hands',
'getting Billy Heartied in the ball sacks'
]
|
def define_targets(rules):
rules.cc_library(
name = "TypeCast",
srcs = ["TypeCast.cpp"],
hdrs = ["TypeCast.h"],
linkstatic = True,
local_defines = ["C10_BUILD_MAIN_LIB"],
visibility = ["//visibility:public"],
deps = [
":base",
"//c10/core:ScalarType",
"//c10/macros",
],
)
rules.cc_library(
name = "base",
srcs = rules.glob(
["*.cpp"],
exclude = [
"TypeCast.cpp",
"typeid.cpp",
],
),
hdrs = rules.glob(
["*.h"],
exclude = [
"TypeCast.h",
"typeid.h",
],
),
# This library uses flags and registration. Do not let the
# linker remove them.
alwayslink = True,
linkstatic = True,
local_defines = ["C10_BUILD_MAIN_LIB"],
visibility = ["//visibility:public"],
deps = [
"@fmt",
"//c10/macros",
] + rules.select({
"//c10:using_gflags": ["@com_github_gflags_gflags//:gflags"],
"//conditions:default": [],
}) + rules.select({
"//c10:using_glog": ["@com_github_glog//:glog"],
"//conditions:default": [],
}),
)
rules.cc_library(
name = "typeid",
srcs = ["typeid.cpp"],
hdrs = ["typeid.h"],
linkstatic = True,
local_defines = ["C10_BUILD_MAIN_LIB"],
visibility = ["//visibility:public"],
deps = [
":base",
"//c10/core:ScalarType",
"//c10/macros",
],
)
rules.filegroup(
name = "headers",
srcs = rules.glob(
["*.h"],
exclude = [
],
),
visibility = ["//c10:__pkg__"],
)
|
v = input("digite um valor em dias: ")
a = int(int(v)/365)
m = int((int(v)%365)/30)
d = int((int(v)%365)%30)
print(str(a)+" ano(s)")
print(str(m)+" mes(es)")
print(str(d)+" dias(s)")
|
"""Re-export of some bazel rules with repository-wide defaults."""
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
load("@build_bazel_rules_nodejs//:index.bzl", _nodejs_binary = "nodejs_binary", _pkg_npm = "pkg_npm")
load("@npm_bazel_jasmine//:index.bzl", _jasmine_node_test = "jasmine_node_test")
load("@npm_bazel_karma//:index.bzl", _karma_web_test = "karma_web_test", _karma_web_test_suite = "karma_web_test_suite")
load("@npm_bazel_rollup//:index.bzl", _rollup_bundle = "rollup_bundle")
load("@npm_bazel_terser//:index.bzl", "terser_minified")
load("@npm_bazel_typescript//:index.bzl", _ts_devserver = "ts_devserver", _ts_library = "ts_library")
load("@npm_bazel_protractor//:index.bzl", _protractor_web_test_suite = "protractor_web_test_suite")
load("@npm//typescript:index.bzl", "tsc")
load("//packages/bazel:index.bzl", _ng_module = "ng_module", _ng_package = "ng_package")
load("//dev-infra/benchmark/ng_rollup_bundle:ng_rollup_bundle.bzl", _ng_rollup_bundle = "ng_rollup_bundle")
load("//tools:ng_benchmark.bzl", _ng_benchmark = "ng_benchmark")
load("//tools/ts-api-guardian:index.bzl", _ts_api_guardian_test = "ts_api_guardian_test", _ts_api_guardian_test_npm_package = "ts_api_guardian_test_npm_package")
_DEFAULT_TSCONFIG_TEST = "//packages:tsconfig-test"
_INTERNAL_NG_MODULE_API_EXTRACTOR = "//packages/bazel/src/api-extractor:api_extractor"
_INTERNAL_NG_MODULE_COMPILER = "//packages/bazel/src/ngc-wrapped"
_INTERNAL_NG_MODULE_XI18N = "//packages/bazel/src/ngc-wrapped:xi18n"
_INTERNAL_NG_PACKAGE_PACKAGER = "//packages/bazel/src/ng_package:packager"
_INTERNAL_NG_PACKAGE_DEFALUT_TERSER_CONFIG_FILE = "//packages/bazel/src/ng_package:terser_config.default.json"
_INTERNAL_NG_PACKAGE_DEFAULT_ROLLUP_CONFIG_TMPL = "//packages/bazel/src/ng_package:rollup.config.js"
_INTERNAL_NG_PACKAGE_DEFAULT_ROLLUP = "//packages/bazel/src/ng_package:rollup_for_ng_package"
# Packages which are versioned together on npm
ANGULAR_SCOPED_PACKAGES = ["@angular/%s" % p for p in [
# core should be the first package because it's the main package in the group
# this is significant for Angular CLI and "ng update" specifically, @angular/core
# is considered the identifier of the group by these tools.
"core",
"bazel",
"common",
"compiler",
"compiler-cli",
"animations",
"elements",
"platform-browser",
"platform-browser-dynamic",
"forms",
# Current plan for Angular v8 is to not include @angular/http in ng update
# "http",
"platform-server",
"platform-webworker",
"platform-webworker-dynamic",
"upgrade",
"router",
"language-service",
"localize",
"service-worker",
]]
PKG_GROUP_REPLACEMENTS = {
"\"NG_UPDATE_PACKAGE_GROUP\"": """[
%s
]""" % ",\n ".join(["\"%s\"" % s for s in ANGULAR_SCOPED_PACKAGES]),
}
def _default_module_name(testonly):
""" Provide better defaults for package names.
e.g. rather than angular/packages/core/testing we want @angular/core/testing
TODO(alexeagle): we ought to supply a default module name for every library in the repo.
But we short-circuit below in cases that are currently not working.
"""
pkg = native.package_name()
if testonly:
# Some tests currently rely on the long-form package names
return None
if pkg.startswith("packages/bazel"):
# Avoid infinite recursion in the ViewEngine compiler. Error looks like:
# Compiling Angular templates (ngc) //packages/bazel/test/ngc-wrapped/empty:empty failed (Exit 1)
# : RangeError: Maximum call stack size exceeded
# at normalizeString (path.js:57:25)
# at Object.normalize (path.js:1132:12)
# at Object.join (path.js:1167:18)
# at resolveModule (execroot/angular/bazel-out/host/bin/packages/bazel/src/ngc-wrapped/ngc-wrapped.runfiles/angular/packages/compiler-cli/src/metadata/bundler.js:582:50)
# at MetadataBundler.exportAll (execroot/angular/bazel-out/host/bin/packages/bazel/src/ngc-wrapped/ngc-wrapped.runfiles/angular/packages/compiler-cli/src/metadata/bundler.js:119:42)
# at MetadataBundler.exportAll (execroot/angular/bazel-out/host/bin/packages/bazel/src/ngc-wrapped/ngc-wrapped.runfiles/angular/packages/compiler-cli/src/metadata/bundler.js:121:52)
return None
if pkg.startswith("packages/"):
return "@angular/" + pkg[len("packages/"):]
return None
def ts_devserver(**kwargs):
"""Default values for ts_devserver"""
serving_path = kwargs.pop("serving_path", "/app_bundle.js")
_ts_devserver(
serving_path = serving_path,
**kwargs
)
def ts_library(name, tsconfig = None, testonly = False, deps = [], module_name = None, **kwargs):
"""Default values for ts_library"""
deps = deps + ["@npm//tslib"]
if testonly:
# Match the types[] in //packages:tsconfig-test.json
deps.append("@npm//@types/jasmine")
deps.append("@npm//@types/node")
deps.append("@npm//@types/events")
if not tsconfig and testonly:
tsconfig = _DEFAULT_TSCONFIG_TEST
if not module_name:
module_name = _default_module_name(testonly)
_ts_library(
name = name,
tsconfig = tsconfig,
testonly = testonly,
deps = deps,
module_name = module_name,
**kwargs
)
# Select the es5 .js output of the ts_library for use in downstream boostrap targets
# with `output_group = "es5_sources"`. This exposes an internal detail of ts_library
# that is not ideal.
# TODO(gregmagolan): clean this up by using tsc() in these cases rather than ts_library
native.filegroup(
name = "%s_es5" % name,
srcs = [":%s" % name],
testonly = testonly,
output_group = "es5_sources",
)
def ng_module(name, tsconfig = None, entry_point = None, testonly = False, deps = [], module_name = None, bundle_dts = True, **kwargs):
"""Default values for ng_module"""
deps = deps + ["@npm//tslib"]
if testonly:
# Match the types[] in //packages:tsconfig-test.json
deps.append("@npm//@types/jasmine")
deps.append("@npm//@types/node")
deps.append("@npm//@types/events")
if not tsconfig and testonly:
tsconfig = _DEFAULT_TSCONFIG_TEST
if not module_name:
module_name = _default_module_name(testonly)
if not entry_point:
entry_point = "public_api.ts"
_ng_module(
name = name,
flat_module_out_file = name,
tsconfig = tsconfig,
entry_point = entry_point,
testonly = testonly,
bundle_dts = bundle_dts,
deps = deps,
compiler = _INTERNAL_NG_MODULE_COMPILER,
api_extractor = _INTERNAL_NG_MODULE_API_EXTRACTOR,
ng_xi18n = _INTERNAL_NG_MODULE_XI18N,
module_name = module_name,
**kwargs
)
def ng_package(name, readme_md = None, license_banner = None, deps = [], **kwargs):
"""Default values for ng_package"""
if not readme_md:
readme_md = "//packages:README.md"
if not license_banner:
license_banner = "//packages:license-banner.txt"
deps = deps + [
"@npm//tslib",
]
visibility = kwargs.pop("visibility", None)
_ng_package(
name = name,
deps = deps,
readme_md = readme_md,
license_banner = license_banner,
substitutions = PKG_GROUP_REPLACEMENTS,
ng_packager = _INTERNAL_NG_PACKAGE_PACKAGER,
terser_config_file = _INTERNAL_NG_PACKAGE_DEFALUT_TERSER_CONFIG_FILE,
rollup_config_tmpl = _INTERNAL_NG_PACKAGE_DEFAULT_ROLLUP_CONFIG_TMPL,
rollup = _INTERNAL_NG_PACKAGE_DEFAULT_ROLLUP,
visibility = visibility,
**kwargs
)
pkg_tar(
name = name + "_archive",
srcs = [":%s" % name],
extension = "tar.gz",
strip_prefix = "./%s" % name,
# should not be built unless it is a dependency of another rule
tags = ["manual"],
visibility = visibility,
)
def pkg_npm(name, substitutions = {}, **kwargs):
"""Default values for pkg_npm"""
visibility = kwargs.pop("visibility", None)
_pkg_npm(
name = name,
substitutions = dict(substitutions, **PKG_GROUP_REPLACEMENTS),
visibility = visibility,
**kwargs
)
pkg_tar(
name = name + "_archive",
srcs = [":%s" % name],
extension = "tar.gz",
strip_prefix = "./%s" % name,
# should not be built unless it is a dependency of another rule
tags = ["manual"],
visibility = visibility,
)
def karma_web_test_suite(name, **kwargs):
"""Default values for karma_web_test_suite"""
# Default value for bootstrap
bootstrap = kwargs.pop("bootstrap", [
"//:web_test_bootstrap_scripts",
])
# Add common deps
deps = kwargs.pop("deps", []) + [
"@npm//karma-browserstack-launcher",
"@npm//karma-sauce-launcher",
"@npm//:node_modules/tslib/tslib.js",
"//tools/rxjs:rxjs_umd_modules",
"//packages/zone.js:npm_package",
]
# Add common runtime deps
runtime_deps = kwargs.pop("runtime_deps", []) + [
"//tools/testing:browser",
]
data = kwargs.pop("data", [])
tags = kwargs.pop("tags", [])
_karma_web_test_suite(
name = name,
runtime_deps = runtime_deps,
bootstrap = bootstrap,
deps = deps,
browsers = [
"//dev-infra/browsers/chromium:chromium",
"//dev-infra/browsers/firefox:firefox",
],
data = data,
tags = tags,
**kwargs
)
# Add a saucelabs target for these karma tests
_karma_web_test(
name = "saucelabs_%s" % name,
# Default timeout is moderate (5min). This causes the test to be terminated while
# Saucelabs browsers keep running. Ultimately resulting in failing tests and browsers
# unnecessarily being acquired. Our specified Saucelabs idle timeout is 10min, so we use
# Bazel's long timeout (15min). This ensures that Karma can shut down properly.
timeout = "long",
runtime_deps = runtime_deps,
bootstrap = bootstrap,
config_file = "//:karma-js.conf.js",
deps = deps,
data = data + [
"//:browser-providers.conf.js",
"//tools:jasmine-seed-generator.js",
],
karma = "//tools/saucelabs:karma-saucelabs",
tags = tags + [
"exclusive",
"manual",
"no-remote-exec",
"saucelabs",
],
configuration_env_vars = ["KARMA_WEB_TEST_MODE"],
**kwargs
)
def protractor_web_test_suite(**kwargs):
"""Default values for protractor_web_test_suite"""
_protractor_web_test_suite(
browsers = ["//dev-infra/browsers/chromium:chromium"],
**kwargs
)
def ng_benchmark(**kwargs):
"""Default values for ng_benchmark"""
_ng_benchmark(**kwargs)
def nodejs_binary(data = [], **kwargs):
"""Default values for nodejs_binary"""
_nodejs_binary(
configuration_env_vars = ["angular_ivy_enabled"],
data = data + ["@npm//source-map-support"],
**kwargs
)
def jasmine_node_test(bootstrap = [], **kwargs):
"""Default values for jasmine_node_test
Args:
bootstrap: A list of labels of scripts to run before the entry_point.
The labels can either be individual files or a filegroup that contain a single
file.
The label is automatically added to the deps of jasmine_node_test.
If the label ends in `_es5` which by convention selects the es5 outputs
of a ts_library rule, then corresponding ts_library target sans `_es5`
is also added to the deps of jasmine_node_test.
For example with,
jasmine_node_test(
name = "test",
bootstrap = ["//tools/testing:node_es5"],
deps = [":test_lib"],
)
the `//tools/testing:node` target will automatically get added to deps
by this macro. This removes the need for duplicate deps on the
target and makes the usage of this rule less verbose."""
# Very common dependencies for tests
deps = kwargs.pop("deps", []) + [
"@npm//chokidar",
"@npm//domino",
"@npm//jasmine-core",
"@npm//reflect-metadata",
"@npm//source-map-support",
"@npm//tslib",
"@npm//xhr2",
]
configuration_env_vars = kwargs.pop("configuration_env_vars", []) + [
"angular_ivy_enabled",
]
templated_args = kwargs.pop("templated_args", [])
for label in bootstrap:
deps += [label]
templated_args += ["--node_options=--require=$$(rlocation $(rootpath %s))" % label]
if label.endswith("_es5"):
# If this label is a filegroup derived from a ts_library then automatically
# add the ts_library target (which is the label sans `_es5`) to deps so we pull
# in all of its transitive deps. This removes the need for duplicate deps on the
# target and makes the usage of this rule less verbose.
deps += [label[:-4]]
_jasmine_node_test(
deps = deps,
configuration_env_vars = configuration_env_vars,
templated_args = templated_args,
**kwargs
)
def ng_rollup_bundle(deps = [], **kwargs):
"""Default values for ng_rollup_bundle"""
deps = deps + [
"@npm//tslib",
"@npm//reflect-metadata",
]
_ng_rollup_bundle(
deps = deps,
**kwargs
)
def rollup_bundle(name, testonly = False, sourcemap = "true", **kwargs):
"""A drop in replacement for the rules nodejs [legacy rollup_bundle].
Runs [rollup_bundle], [terser_minified] and [babel] for downleveling to es5
to produce a number of output bundles.
es2015 iife : "%{name}.es2015.js"
es2015 iife minified : "%{name}.min.es2015.js"
es2015 iife minified (debug) : "%{name}.min_debug.es2015.js"
es5 iife : "%{name}.js"
es5 iife minified : "%{name}.min.js"
es5 iife minified (debug) : "%{name}.min_debug.js"
es5 umd : "%{name}.es5umd.js"
es5 umd minified : "%{name}.min.es5umd.js"
es2015 umd : "%{name}.umd.js"
es2015 umd minified : "%{name}.min.umd.js"
".js.map" files are also produced for each bundle.
[legacy rollup_bundle]: https://github.com/bazelbuild/rules_nodejs/blob/0.38.3/internal/rollup/rollup_bundle.bzl
[rollup_bundle]: https://bazelbuild.github.io/rules_nodejs/Rollup.html
[terser_minified]: https://bazelbuild.github.io/rules_nodejs/Terser.html
[babel]: https://babeljs.io/
"""
# Common arguments for all terser_minified targets
common_terser_args = {
"args": ["--comments"],
"sourcemap": False,
}
# es2015
_rollup_bundle(name = name + ".es2015", testonly = testonly, format = "iife", sourcemap = sourcemap, **kwargs)
terser_minified(name = name + ".min.es2015", testonly = testonly, src = name + ".es2015", **common_terser_args)
native.filegroup(name = name + ".min.es2015.js", testonly = testonly, srcs = [name + ".min.es2015"])
terser_minified(name = name + ".min_debug.es2015", testonly = testonly, src = name + ".es2015", **common_terser_args)
native.filegroup(name = name + ".min_debug.es2015.js", testonly = testonly, srcs = [name + ".min_debug.es2015"])
# es5
tsc(
name = name,
testonly = testonly,
outs = [
name + ".js",
],
args = [
"$(execpath :%s.es2015.js)" % name,
"--types",
"--skipLibCheck",
"--target",
"es5",
"--lib",
"es2015,dom",
"--allowJS",
"--outFile",
"$(execpath :%s.js)" % name,
],
data = [
name + ".es2015.js",
],
)
terser_minified(name = name + ".min", testonly = testonly, src = name + "", **common_terser_args)
native.filegroup(name = name + ".min.js", testonly = testonly, srcs = [name + ".min"])
terser_minified(name = name + ".min_debug", testonly = testonly, src = name + "", debug = True, **common_terser_args)
native.filegroup(name = name + ".min_debug.js", testonly = testonly, srcs = [name + ".min_debug"])
# umd
_rollup_bundle(name = name + ".umd", testonly = testonly, format = "umd", sourcemap = sourcemap, **kwargs)
terser_minified(name = name + ".min.umd", testonly = testonly, src = name + ".umd", **common_terser_args)
native.filegroup(name = name + ".min.umd.js", testonly = testonly, srcs = [name + ".min.umd"])
tsc(
name = name + ".es5umd",
testonly = testonly,
outs = [
name + ".es5umd.js",
],
args = [
"$(execpath :%s.umd.js)" % name,
"--types",
"--skipLibCheck",
"--target",
"es5",
"--lib",
"es2015,dom",
"--allowJS",
"--outFile",
"$(execpath :%s.es5umd.js)" % name,
],
data = [
name + ".umd.js",
],
)
terser_minified(name = name + ".min.es5umd", testonly = testonly, src = name + ".es5umd", **common_terser_args)
native.filegroup(name = name + ".min.es5umd.js", testonly = testonly, srcs = [name + ".min.es5umd"])
def ts_api_guardian_test(**kwargs):
_ts_api_guardian_test(
tags = [
"fixme-ivy-aot",
],
**kwargs
)
def ts_api_guardian_test_npm_package(**kwargs):
_ts_api_guardian_test_npm_package(
tags = [
"fixme-ivy-aot",
],
**kwargs
)
|
class Solution:
def threeSumClosest(self, nums: List[int], target: int) -> int:
nums.sort()
opt = float("inf")
for i in range(len(nums)):
# Fix one integer
fixed = nums[i]
newTarget = target-fixed
l,r = i+1, len(nums)-1
while(l<r):
now = nums[l]+nums[r]
# If sum of other two integer<newTarget,
# meaning need to make left integer bigger.
if now<newTarget:
l = l+1
elif now==newTarget:
return target
else:
r = r-1
if(abs(opt-target)>abs(now+fixed-target)):
opt = now+fixed
return opt
|
class MetricUnitError(Exception):
pass
class SchemaValidationError(Exception):
pass
class MetricValueError(Exception):
pass
class UniqueNamespaceError(Exception):
pass
|
# is_lower_case
#
# Checks if a string is lower case.
#
# Convert the given string to lower case, using str.lower() method and compare it to the original.
def is_lower_case(string):
return string == string.lower()
is_lower_case('abc') # True
is_lower_case('a3@$') # True
is_lower_case('Ab4') # False
|
"""
https://leetcode.com/problems/invert-binary-tree/
Invert a binary tree.
Example:
Input:
4
/ \
2 7
/ \ / \
1 3 6 9
Output:
4
/ \
7 2
/ \ / \
9 6 3 1
Trivia:
This problem was inspired by this original tweet by Max Howell:
Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a whiteboard so f*** off.
"""
# Pretty easy.
# time complexity: O(n), space complexity: O(1)
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def invertTree(self, root: TreeNode) -> TreeNode:
if root is None:
return root
root.left, root.right = root.right, root.left
self.invertTree(root.left)
self.invertTree(root.right)
return root
|
# Faça um Programa que peça dois números e imprima a soma.
def somar(parametro, parametro_2):
return parametro + parametro_2
class Calcular:
def __init__(self, numero_1=0, numero_2=0):
self.numero_1 = numero_1
self.numero_2 = numero_2
def juntar(self):
numero_s = self.numero_1 + self.numero_2
return numero_s
if __name__ == '__main__':
print(somar(1, 3))
resultado = Calcular()
resultado.numero_1 = 5430
resultado.numero_2 = 300
print(resultado.numero_1)
print(resultado.numero_2)
print(resultado.juntar())
x = int(input('Insira um número: ')) # resposta certa, corrigido da internet
y = int(input('Insira outro número: '))
print('A soma desses números é:', x+y)
|
def swap(num1, num2):
num1 = int(num1)
num2 = int(num2)
numbers[num1], numbers[num2] = numbers[num2], numbers[num1]
#print(numbers)
return
def multiply(num1, num2):
num1 = int(num1)
num2 = int(num2)
mult = numbers[num1] * numbers[num2]
numbers.pop(num1)
numbers.insert(num1, mult)
#print(numbers)
return
def decrease(*num):
numbers_decre = []
for el in numbers:
el -= 1
numbers_decre.append(el)
#print(numbers_decre)
return numbers_decre
numbers = [int(el) for el in input().split()]
list_after_decrease = []
# receive the commands “swap”, “multiply” or “decrease”.
command = input().split()
while command[0] != "end":
if command[0] == "swap":
swap(command[1], command[2])
if command[0] == "multiply":
multiply(command[1], command[2])
if command[0] == "decrease":
list_after_decrease = decrease(command)
numbers = list_after_decrease
command = input().split()
print(", ".join(map(str, list_after_decrease))) # prints the integers into strings with ","
# 1 0 2 0 3 0 4 0 decrease swap 0 1
|
"""
18. How to convert the first character of each element in a series to uppercase?
"""
"""
Difficulty Level: L2
"""
"""
Change the first character of each word to upper case in each word of ser.
"""
"""
ser = pd.Series(['how', 'to', 'kick', 'ass?'])
"""
|
# Class Variable
class Employee:
no_of_emp = 0
raise_amount = 1.04
def __init__(self, first, last, pay):
self.first = first
self.last = last
self.pay = pay
self.email = first + "." + last + "@gmail.com"
Employee.no_of_emp += 1
def apply_raise(self):
self.pay = int(self.pay * self.raise_amount)
def fullname(self):
return '{} {}'.format(self.first, self.last)
emp_1 = Employee('Subhash','Y', 50000)
emp_2 = Employee('Princ','Kumar',60000)
print(Employee.no_of_emp)
print(Employee.__dict__)
|
#Written by: Karim shoair - D4Vinci ( Dr0p1t-Framework )
#In this script I store some SE tricks to use ;)
#Start
#Get the user password by fooling him and then uses it to run commands as the user by psexec to bypass UAC
def ask_pwd():
while True:
cmd = '''Powershell "$cred=$host.ui.promptforcredential('Windows firewall permission','',[Environment]::UserName,[Environment]::UserDomainName); echo $cred.getnetworkcredential().password;"'''
response = get_output(cmd)
if response.strip() != '' and not response.strip().startswith('[!]'): break
return response.strip()
|
main = {
'General': {
'Prop': {
'Labels': 'rw',
'AlarmStatus': 'r-'
}
}
}
cfgm = {
'Logicalport': {
'Cmd': (
'Create',
'Delete'
)
}
}
|
model = dict(
type='MonoRUnDetector',
pretrained='torchvision://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
norm_cfg=dict(type='BN', requires_grad=True),
norm_eval=True,
style='pytorch'),
neck=dict(
type='FPNplus',
in_channels=[256, 512, 1024, 2048],
out_channels=256,
num_outs=5,
num_lower_outs=1),
rpn_head=dict(
type='RPNHeadMod',
in_channels=256,
feat_channels=256,
starting_level=1,
anchor_generator=dict(
type='AnchorGenerator',
scales=[5],
ratios=[0.4, 0.7, 1.0],
strides=[4, 8, 16, 32, 64]),
bbox_coder=dict(
type='DeltaXYWHBBoxCoder',
target_means=[.0, .0, .0, .0],
target_stds=[1.0, 1.0, 1.0, 1.0]),
loss_cls=dict(
type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0),
loss_bbox=dict(type='SmoothL1Loss', beta=1.0 / 9.0, loss_weight=1.0)),
roi_head=dict(
type='MonoRUnRoIHead',
bbox_roi_extractor=dict(
type='SingleRoIExtractor',
roi_layer=dict(type='RoIAlign', output_size=7, sampling_ratio=0),
out_channels=256,
featmap_strides=[2, 4, 8, 16, 32],
finest_scale=20),
bbox_head=dict(
type='Shared2FCBBoxHead',
in_channels=256,
fc_out_channels=1024,
roi_feat_size=7,
num_classes=1,
bbox_coder=dict(
type='DeltaXYWHBBoxCoder',
target_means=[0., 0., 0., 0.],
target_stds=[0.1, 0.1, 0.2, 0.2]),
reg_class_agnostic=True,
loss_cls=dict(
type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0),
loss_bbox=dict(type='SmoothL1Loss', beta=1.0, loss_weight=1.0)),
global_head=dict(
type='FCExtractorMonteCarlo',
with_dim=True,
with_latent_vec=True,
latent_channels=16,
num_fcs=2,
in_channels=256,
fc_out_channels=1024,
num_classes=1,
roi_feat_size=7,
latent_class_agnostic=True,
loss_dim=dict(
type='SmoothL1LossMod', loss_weight=1.0, beta=1.0),
dim_coder=dict(
type='MultiClassNormDimCoder',
target_means=[(3.89, 1.53, 1.62)],
target_stds=[(0.44, 0.14, 0.11)]),
dropout_rate=0.5,
dropout2d_rate=0.2),
noc_roi_extractor=dict(
type='SingleRoIExtractor',
roi_layer=dict(type='RoIAlign', output_size=14, sampling_ratio=0),
out_channels=256,
featmap_strides=[2, 4, 8, 16, 32],
finest_scale=28),
noc_head=dict(
type='FCNNOCDecoder',
num_convs=3,
roi_feat_size=14,
in_channels=256,
conv_kernel_size=3,
conv_out_channels=256,
num_classes=1,
class_agnostic=True,
upsample_cfg=dict(type='carafe', scale_factor=2),
num_convs_upsampled=1,
loss_noc=None,
noc_channels=3,
uncert_channels=2,
dropout2d_rate=0.2,
flip_correction=True,
coord_coder=dict(
type='NOCCoder',
target_means=(-0.1, -0.5, 0.0),
target_stds=(0.35, 0.23, 0.34),
eps=1e-5),
latent_channels=16),
projection_head=dict(
type='UncertProjectionHead',
loss_proj=dict(
type='RobustKLLoss',
loss_weight=1.0,
momentum=0.1),
proj_error_coder=dict(
type='DistanceInvarProjErrorCoder',
ref_length=1.6,
ref_focal_y=722,
target_std=0.15)),
pose_head=dict(
type='UncertPropPnPOptimizer',
pnp=dict(
type='PnPUncert',
z_min=0.5,
epnp_istd_thres=0.6,
inlier_opt_only=True,
forward_exact_hessian=False),
rotation_coder=dict(type='Vec2DRotationCoder'),
allowed_border=200,
epnp_ransac_thres_ratio=0.2),
score_head=dict(
type='MLPScoreHead',
reg_fc_out_channels=1024,
num_pose_fcs=1,
pose_fc_out_channels=1024,
fusion_type='add',
num_fused_fcs=1,
fc_out_channels=256,
use_pose_norm=True,
loss_score=dict(
type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0),)
))
# model training and testing settings
train_cfg = dict(
rpn=dict(
assigner=dict(
type='MaxIoUAssigner',
pos_iou_thr=0.7,
neg_iou_thr=0.3,
min_pos_iou=0.3,
match_low_quality=True,
ignore_iof_thr=0.5),
sampler=dict(
type='RandomSampler',
num=256,
pos_fraction=0.5,
neg_pos_ub=-1,
add_gt_as_proposals=False),
allowed_border=-1,
pos_weight=-1,
debug=False),
rpn_proposal=dict(
nms_across_levels=False,
nms_pre=2000,
nms_post=1000,
max_num=1000,
nms_thr=0.75,
min_bbox_size=0),
rcnn=dict(
bbox_assigner=dict(
type='MaxIoUAssigner',
pos_iou_thr=0.6,
neg_iou_thr=0.6,
min_pos_iou=0.6,
match_low_quality=True,
ignore_iof_thr=0.6),
bbox_sampler=dict(
type='RandomSampler',
num=512,
pos_fraction=0.25,
neg_pos_ub=-1,
add_gt_as_proposals=True),
iou3d_sampler=dict(
type='IoU3DBalancedSampler',
pos_iou_thr=0.5,
pos_fraction_min=0.25,
pos_fraction_max=0.75,
smooth_keeprate=True),
dense_size=28,
pos_weight=-1,
calib_scoring=True,
debug=False))
test_cfg = dict(
rpn=dict(
nms_across_levels=False,
nms_pre=1000,
nms_post=1000,
max_num=1000,
nms_thr=0.75,
min_bbox_size=0),
rcnn=dict(
score_thr=0.05,
nms=dict(type='nms', iou_threshold=0.7),
max_per_img=100,
nms_3d_thr=0.01,
mult_2d_score=True,
calib_scoring=True,
cov_correction=True))
dataset_type = 'KITTI3DCarDataset'
train_data_root = 'data/kitti/training/'
test_data_root = 'data/kitti/testing/'
img_norm_cfg = dict(
mean=[95.80, 98.72, 93.82], std=[83.11, 81.65, 80.54], to_rgb=True)
train_pipeline = [
dict(type='LoadImageFromFile', to_float32=True),
dict(type='LoadAnnotations', with_bbox=True),
dict(type='LoadAnnotations3D',
with_bbox_3d=True,
with_coord_3d=False,
with_coord_2d=True),
dict(type='RandomFlip3D', flip_ratio=0.5),
dict(type='PhotoMetricDistortion'), # use default args
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad3D', size_divisor=32),
dict(type='DefaultFormatBundle3D'),
dict(type='Collect',
keys=['img', 'gt_bboxes', 'gt_bboxes_ignore', 'gt_labels', 'gt_bboxes_3d',
'gt_proj_r_mats', 'gt_proj_t_vecs', 'coord_2d', 'cam_intrinsic']),
]
test_pipeline = [
dict(type='LoadImageFromFile'),
dict(
type='MultiScaleFlipAug',
scale_factor=1.0,
flip=False,
transforms=[
dict(type='LoadAnnotations3D',
with_bbox_3d=False,
with_coord_3d=False,
with_coord_2d=True),
dict(type='Normalize', **img_norm_cfg),
dict(type='Pad3D', size_divisor=32),
dict(type='ImageToTensor', keys=['img', 'coord_2d']),
dict(type='ToTensor', keys=['cam_intrinsic']),
dict(type='ToDataContainer', fields=(
dict(key='cam_intrinsic'), )),
dict(type='Collect', keys=[
'img', 'coord_2d', 'cam_intrinsic']),
])
]
data = dict(
samples_per_gpu=3,
workers_per_gpu=3,
train=dict(
type=dataset_type,
ann_file=train_data_root + 'mono3dsplit_train_list.txt',
img_prefix=train_data_root + 'image_2/',
label_prefix=train_data_root + 'label_2/',
calib_prefix=train_data_root + 'calib/',
meta_prefix=train_data_root + 'img_metas/',
pipeline=train_pipeline,
filter_empty_gt=False),
val=dict(
type=dataset_type,
ann_file=train_data_root + 'mono3dsplit_val_list.txt',
img_prefix=train_data_root + 'image_2/',
label_prefix=train_data_root + 'label_2/',
calib_prefix=train_data_root + 'calib/',
meta_prefix=train_data_root + 'img_metas/',
pipeline=test_pipeline,
filter_empty_gt=False),
test=dict(
type=dataset_type,
ann_file=test_data_root + 'test_list.txt',
img_prefix=test_data_root + 'image_2/',
calib_prefix=test_data_root + 'calib/',
meta_prefix=test_data_root + 'img_metas/',
pipeline=test_pipeline,
filter_empty_gt=False))
evaluation = dict(
interval=2,
metric=['bbox', '3d'])
# optimizer
optimizer = dict(type='AdamW', lr=2.0e-4, weight_decay=0.01)
optimizer_config = dict(grad_clip=dict(max_norm=35, norm_type=2))
# learning policy
lr_config = dict(
policy='CosineAnnealing',
by_epoch=False,
warmup='linear',
warmup_iters=500,
warmup_ratio=0.001,
min_lr=0.0)
total_epochs = 50
checkpoint_config = dict(interval=2)
# yapf:disable
log_config = dict(
interval=10,
hooks=[
dict(type='TextLoggerHook'),
dict(type='TensorboardLoggerHook')
])
# yapf:enable
dist_params = dict(backend='nccl')
log_level = 'INFO'
load_from = 'http://download.openmmlab.com/mmdetection/v2.0/' \
'faster_rcnn/faster_rcnn_r101_fpn_2x_coco/' \
'faster_rcnn_r101_fpn_2x_coco_bbox_mAP-0.398_20200504_210455-1d2dac9c.pth'
resume_from = None
workflow = [('train', 1)]
find_unused_parameters = True # prevent distributed deadlock when there's no gt
custom_hooks = [
dict(
type='LossUpdaterHook',
step=[100],
loss_cfgs=[[
dict(attr='roi_head.pose_head.loss_calib',
type='KLLossMV',
loss_weight=0.01)
]],
by_epoch=False),
]
|
#!/usr/bin/env python3
class Test:
@classmethod
def assert_equals(cls, func_out, expected_out):
assert func_out == expected_out, f"The function out '{func_out}' != '{expected_out}'"
|
def max(a, b):
if a > b:
return a
elif b > a:
return b
else:
return 'a = b'
print(max(123,445))
|
kernel = [1,0,1] # averaging of neighbors #kernel = np.exp(-np.linspace(-2,2,5)**2) ## Gaussian
kernel /= np.sum(kernel) # normalize
smooth = np.convolve(y, kernel, mode='same') # find the average value of neighbors
rms_noise = np.average((y[1:]-y[:-1])**2)**.5 # estimate what the average noise is (rms of derivative)
where_not_excess = (np.abs(y-smooth) < rms_noise*3) # find all points with difference from average less than 3sigma
x,y = x[where_not_excess],y[where_not_excess] # filter the data
|
# 숫자의 표현
def solution(n):
answer = 0
numSum = 0
sNum = 1
for i in range(1, n+1):
numSum += i
while numSum > n:
numSum -= sNum
sNum += 1
if numSum == n:
answer += 1
return answer
'''
채점을 시작합니다.
정확성 테스트
테스트 1 〉 통과 (0.01ms, 10.1MB)
테스트 2 〉 통과 (0.13ms, 10.1MB)
테스트 3 〉 통과 (0.11ms, 10.1MB)
테스트 4 〉 통과 (0.11ms, 10.2MB)
테스트 5 〉 통과 (0.04ms, 10.1MB)
테스트 6 〉 통과 (0.01ms, 10.2MB)
테스트 7 〉 통과 (0.10ms, 10.2MB)
테스트 8 〉 통과 (0.05ms, 10.2MB)
테스트 9 〉 통과 (0.01ms, 10.2MB)
테스트 10 〉 통과 (0.20ms, 10.1MB)
테스트 11 〉 통과 (0.17ms, 10.1MB)
테스트 12 〉 통과 (0.11ms, 10.1MB)
테스트 13 〉 통과 (0.12ms, 10.1MB)
테스트 14 〉 통과 (0.09ms, 10.2MB)
효율성 테스트
테스트 1 〉 통과 (1.63ms, 10.1MB)
테스트 2 〉 통과 (1.33ms, 10.2MB)
테스트 3 〉 통과 (1.42ms, 10.1MB)
테스트 4 〉 통과 (1.33ms, 10.2MB)
테스트 5 〉 통과 (1.40ms, 10.2MB)
테스트 6 〉 통과 (1.40ms, 10.2MB)
채점 결과
정확성: 70.0
효율성: 30.0
합계: 100.0 / 100.0
'''
|
def boolean_true():
return value # Change the varable named value to the correct answer
print(boolean_true())
|
iot_devices = {
"cl01": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=cl01;SharedAccessKey=C3lI2jbo0DVgPtUqMjg7BYxXpBRvGsvXCCP/33zRK34=", # Cristian's Device
"js01": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=js01;SharedAccessKey=9g4Qmbfoi/WZPNTA3HqePqrCjYd1mtj15CKu8hMow9Y=", # John's Device
"rd01": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=rd01;SharedAccessKey=Qeqd/TDF2RflZlRpY2rWbElHKrC3OJ7nMVG3R0LOlF0=", # Roy's Device
"sd01": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=sd01;SharedAccessKey=LDpxKA7Tpnqba3Z3ckEITlRKmLVnNy7/hzB4sMmpR28=", # Steve's Device / Actual Smart Dispenser
"mm01": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=mm01;SharedAccessKey=f0X0nJcyx4ailP0Q8ZYfaHT2YFk2+BkVPkZdf7+l0Yo=", # Mohsen's Device
"device001": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=device_001;SharedAccessKey=s6qT9bdU7vIWdKu1GAaliN5QR4lljBQK4/yIg2cO8QQ=", # Spare #1
"device002": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=device_002;SharedAccessKey=Sn5XrNGsib+NZ9AIxNngQsUGX03rNP41wEKlqdOhcw0=", # Spare #2
"device003": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=device_003;SharedAccessKey=SeB4TvNDT6nVlDU25H5Nvv6/En1gZfQcmJJLsqsfp84=", # Spare #3
}
print(iot_devices["sd01"])
|
##
## Programación en Python
## ===========================================================================
##
## Para el archivo `data.csv, imprima una tabla en formato CSV que contenga
## la cantidad de registros en que aparece cada clave de la columna 5.
##
## Rta/
## aaa,13
## bbb,16
## ccc,23
## ddd,23
## eee,15
## fff,20
## ggg,13
## hhh,16
## iii,18
## jjj,18
##
## No puede usar pandas en este ejercicipo
##
## >>> Escriba su codigo a partir de este punto <<<
##
with open('data.csv', 'r') as f:
lineas = f.readlines()
filas = [line.split('\t') for line in lineas]
col5 = [c[4].split(',') for c in filas]
clave = []
for d in col5:
for uniqd in d:
clave.append(uniqd[:3])
ClaveUnica = set(clave)
for i in sorted(ClaveUnica):
print(i + ',' + str(clave.count(i)) )
|
"""
Red, green or blue tiles
"""
def f(m, n):
ways = [0] * (n + 1)
for i in range(m):
ways[i] = 1
for i in range(m, n + 1):
ways[i] += ways[i - 1] + ways[i - m]
return ways[n] - 1
if __name__ == '__main__':
print(f(2, 50) + f(3, 50) + f(4, 50))
|
"""Constants for HTTP"""
class HttpConstants:
HTTP_METHOD_GET = 'GET'
HTTP_METHOD_POST = 'POST'
HTTP_METHOD_PUT = 'PUT'
HTTP_METHOD_OPTIONS = 'OPTIONS'
HTTP_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN = 'Access-Control-Allow-Origin'
@staticmethod
def http_method_get():
"""Returns the HTTP method name GET"""
return 'GET'
@staticmethod
def http_method_post():
"""Returns the HTTP method name POST"""
return 'POST'
@staticmethod
def http_method_put():
"""Returns the HTTP method name PUT"""
return 'PUT'
@staticmethod
def http_method_options():
"""Returns the HTTP method name OPTIONS"""
return 'OPTIONS'
@staticmethod
def http_header_access_control_allow_origin():
"""Returns the string for CORS header Access-Control-Allow-Origin"""
return 'Access-Control-Allow-Origin'
|
__title__ = 'fobi.contrib.plugins.form_elements.fields.input.constants'
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2014-2017 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = (
'FORM_FIELD_TYPE_CHOICES', 'FIELD_TYPE_TO_DJANGO_FORM_FIELD_MAPPING',
'FIELD_TYPE_TO_DJANGO_FORM_WIDGET_MAPPING',
)
FORM_FIELD_TYPE_CHOICES = (
# ('button', 'button'),
('checkbox', 'checkbox'),
('color', 'color'),
('date', 'date'),
('datetime', 'datetime'),
('datetime-local', 'datetime-local'),
('email', 'email'),
('file', 'file'),
('hidden', 'hidden'),
('image', 'image'),
('month', 'month'),
('number', 'number'),
('password', 'password'),
('radio', 'radio'),
('range', 'range'),
('reset', 'reset'),
('search', 'search'),
# ('submit', 'submit'),
('tel', 'tel'),
('text', 'text'),
('time', 'time'),
('url', 'url'),
('week', 'week'),
)
FIELD_TYPE_TO_DJANGO_FORM_FIELD_MAPPING = {
'button': '',
'checkbox': '',
'color': '',
'date': '',
'datetime': '',
'datetime-local': '',
'email': '',
'file': '',
'hidden': '',
'image': '',
'month': '',
'number': '',
'password': '',
'radio': '',
'range': '',
'reset': '',
'search': '',
'submit': '',
'tel': '',
'text': '',
'time': '',
'url': '',
'week': '',
}
FIELD_TYPE_TO_DJANGO_FORM_WIDGET_MAPPING = {
'button': '',
'checkbox': '',
'color': '',
'date': '',
'datetime': '',
'datetime-local': '',
'email': '',
'file': '',
'hidden': '',
'image': '',
'month': '',
'number': '',
'password': '',
'radio': '',
'range': '',
'reset': '',
'search': '',
'submit': '',
'tel': '',
'text': '',
'time': '',
'url': '',
'week': '',
}
|
t = int(input())
ans = []
for testcase in range(t):
n, m = [int(i) for i in input().split()]
if (n == 2) and (m == 2):
folds = []
for i in range(n):
folds += [int(i) for i in input().split()]
for i in range(n - 1):
folds += [int(i) for i in input().split()]
if (folds.count(1) is 1) or (folds.count(0) is 1):
ans.append(1)
else: ans.append(0)
else:
ver_folds = [[int(i) for i in input().split()] for i in range(n)]
hor_folds = [[int(i) for i in input().split()] for i in range(n - 1)]
answer = 1
# print(ver_folds, hor_folds)
for i in range(n-1):
tmp = hor_folds[i]
# print('[*]', tmp)
order = None
for idx, j in enumerate(tmp):
# print((idx, j))
if idx == 0:
order = not j
if j == order:
answer = 0
break
# print(int(order), j)
order = j
else: continue
break
ans.append(answer)
print(*ans)
|
#This is ACSL 2018 ALl-Star Problem. This code is written by Robin Gan. And it is incompleted.
#more info check out acsl.org
#probelm name=Compressed_Tree
def main():
global orgSet
global editSet
global targetWord
global answerStr
answerStr=""
ipl=input()
useWord=ipl[0:len(ipl)-1]
targetWord=ipl[len(ipl)-1]
orgSet=[]
editSet=[]
for char in useWord:
orgSet.append(char)
editSet.append(char)
def same_letter():
global editSet
global orgSet
editSet=set(editSet)
editSet=list(editSet)
def check():
pass
def find_fre():
global orgSet
global editSet
global testSet
global numSet
testSet=[]
numSet=[]
strSet=""
for i4 in range(len(editSet)):
numSet.append(orgSet.count(editSet[i4]))
for i5 in range(len(editSet)):
strSet=str(numSet[i5])+editSet[i5]
testSet.append(strSet)
testSet=sorted(testSet)
return numSet
def list_edit(listtest):
listtest=list(listtest)
copy=listtest
new_element=join(copy[0],copy[1])
listtest.pop(0)
listtest.pop(0)
listtest.append(new_element)
listtest=sorted(listtest)
return listtest
def extract_number(str4):
str4=str(str4)
number=['1','2','3','4','5','6','7','8','9','0']
finalStr=""
for i10 in range(len(str4)):
for i11 in range(len(number)):
if str4[i10]==str(number[i11]):
finalStr=finalStr+str4[i10]
return finalStr
def extract_string(str4):
str4=str(str4)
if len(extract_number(str4))==1:
str7=str4.replace(str4[0],"")
return str7
if len(extract_number(str4))==2:
if extract_number(str4)[0]!=extract_number(str4)[1]:
str7=str4.replace(str4[0],"")
str8=str7.replace(str7[0],"")
return str8
if extract_number(str4)[0]==extract_number(str4)[1]:
str7=str4.replace(str4[0],"")
return str7
def join(element1,element2):
str1=str(extract_string(element1))+str(extract_string(element2))
str11=''
for iii in range(len(str1)):
str11=str11+str1[iii]
str1=sorted(str1)
str2=str(int(extract_number(element1))+int(extract_number(element2)))
#print(extract_number(element1),extract_number(element2))
return str2+str11
def sort_list():
global copy2
an=extract_string(copy2[0])
numlist=extract_number(copy2[0])
oo=[]
oo2=""
for ii1 in range(len(an)):
oo.append(an[ii1])
oo=sorted(oo)
for ii2 in range(len(oo)):
oo2=oo2+oo[ii2]
return numlist+oo2
def position():
global copy2
global targetWord
global answerStr
if len(copy2)>1:
for index in range(0,2):
for index2 in range(len(copy2[index])):
if copy2[index][index2]==targetWord:
if index==0:
answerStr=answerStr+'0'
if index==1:
answerStr=answerStr+'1'
else:
pass
def combine():
global testSet
global combined
global numSet
global copy2
copy2=testSet
while(len(copy2)>1):
position()
list_edit(copy2)
copy2=list_edit(copy2)
print(copy2)
return sort_list()
main()
same_letter()
find_fre()
combine()
print(answerStr)
|
class StartAppReportObject:
def __init__(self, result):
self.data = result["data"]
def __eq__(self, other):
if type(other) != type(self):
return False
if self.data == other.data:
return True
return False
|
string_to_revers = input()
for x in string_to_revers[::-1]:
print(x, end='')
|
frase = str(input('Digite uma frase: ')).strip().split()
junto = ''.join(frase).upper()
inverso = junto[::-1]
print(f'A frase {junto}')
print(f'Ivertida e {inverso}')
if inverso == junto:
print(f'A frase digitada é um palindromo')
else:
print('A frase não e um palindromo')
|
#!/usr/bin/python
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Subcommand codes that specify the crypto module."""
# Keep these codes in sync with include/extension.h.
AES = 0
HASH = 1
|
## Mel-filterbank
mel_window_length = 50 # In milliseconds 25
mel_window_step = 10 # In milliseconds 10
mel_n_channels = 40
## Audio
sampling_rate = 16000
# Number of spectrogram frames in a partial utterance
partials_n_frames = 160 # 1600 ms
# Number of spectrogram frames at inference
inference_n_frames = 80 # 800 ms
## Voice Activation Detection
# Window size of the VAD. Must be either 10, 20 or 30 milliseconds.
# This sets the granularity of the VAD. Should not need to be changed.
vad_window_length = 30 # In milliseconds
# Number of frames to average together when performing the moving average smoothing.
# The larger this value, the larger the VAD variations must be to not get smoothed out.
vad_moving_average_width = 8
# Maximum number of consecutive silent frames a segment can have.
vad_max_silence_length = 6
## Audio volume normalization
audio_norm_target_dBFS = -30
|
src = Split('''
base64.c
''')
component = aos_component('base64', src)
|
"""
Flux employs a basic data model built from basic data types.
The data model consists of tables, records, columns.
"""
class FluxStructure:
"""The data model consists of tables, records, columns."""
pass
class FluxTable(FluxStructure):
"""A table is set of records with a common set of columns and a group key."""
def __init__(self) -> None:
"""Initialize defaults."""
self.columns = []
self.records = []
def get_group_key(self):
"""
Group key is a list of columns.
A table’s group key denotes which subset of the entire dataset is assigned to the table.
"""
return list(filter(lambda column: (column.group is True), self.columns))
def __str__(self):
"""Return formatted output."""
cls_name = type(self).__name__
return cls_name + "() columns: " + str(len(self.columns)) + ", records: " + str(len(self.records))
def __iter__(self):
"""Iterate over records."""
return iter(self.records)
class FluxColumn(FluxStructure):
"""A column has a label and a data type."""
def __init__(self, index=None, label=None, data_type=None, group=None, default_value=None) -> None:
"""Initialize defaults."""
self.default_value = default_value
self.group = group
self.data_type = data_type
self.label = label
self.index = index
class FluxRecord(FluxStructure):
"""A record is a tuple of named values and is represented using an object type."""
def __init__(self, table, values=None) -> None:
"""Initialize defaults."""
if values is None:
values = {}
self.table = table
self.values = values
def get_start(self):
"""Get '_start' value."""
return self["_start"]
def get_stop(self):
"""Get '_stop' value."""
return self["_stop"]
def get_time(self):
"""Get timestamp."""
return self["_time"]
def get_value(self):
"""Get field value."""
return self["_value"]
def get_field(self):
"""Get field name."""
return self["_field"]
def get_measurement(self):
"""Get measurement name."""
return self["_measurement"]
def __getitem__(self, key):
"""Get value by key."""
return self.values.__getitem__(key)
def __setitem__(self, key, value):
"""Set value with key and value."""
return self.values.__setitem__(key, value)
def __str__(self):
"""Return formatted output."""
cls_name = type(self).__name__
return cls_name + "() table: " + str(self.table) + ", " + str(self.values)
|
jogador = {}
gols = []
soma = 0
nome = input('Digite o nome do jogador: ')
partidas = int(input(f'Quantas partidas o {nome} jogou: '))
for i in range(0, partidas):
gol = int(input(f'Digite quantos gols na {i}: '))
soma += gol
gols.append(gol)
jogador['Nome'] = nome
jogador['Partidas'] = partidas
jogador['Gols'] = gols[:]
jogador['Total de gols'] = soma
jogador['tt'] = sum(gols)
print(jogador)
print('=='*15)
for i, c in jogador.items():
print(f'O campo {i} tem o valor {c}')
print('=='*15)
print(f'O jogador {jogador["Nome"]} jogou {jogador["Partidas"]} partidas')
i = 0
for c in jogador['Gols']:
print(f'na partida {i}, foi {c} gols')
i += 1
|
# Copyright (c) 2018-2020 Simons Foundation
#
# 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.txt
#
# 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.
r"""
DOC
"""
class Cpp2pyInfo:
table_imports = {
}
table_converters = {
'nda::basic_array' : 'nda_py/cpp2py_converters.hpp',
'nda::basic_array_view' : 'nda_py/cpp2py_converters.hpp',
}
__all__ = ['Cpp2pyInfo']
|
def method1(n: int) -> int:
divisors = [d for d in range(2, n // 2 + 1) if n % d == 0]
return [d for d in divisors if all(d % od != 0 for od in divisors if od != d)]
if __name__ == "__main__":
"""
from timeit import timeit
print(timeit(lambda: method1(20), number=10000)) # 0.028740440000547096
"""
|
def _revisions(revs, is_dirty):
revisions = revs or []
if len(revisions) <= 1:
if len(revisions) == 0 and is_dirty:
revisions.append("HEAD")
revisions.append("working tree")
return revisions
def diff(repo, *args, revs=None, **kwargs):
return repo.plots.show(
*args, revs=_revisions(revs, repo.scm.is_dirty()), **kwargs
)
|
# -*- encoding: utf-8 -*-
"""
Created by Ênio Viana at 15/10/2021 at 22:19:09
Project: py-dss-vis [out, 2021]
"""
class Line:
def __init__(self):
self._name = "Line"
@property
def name(self):
return self._name
|
cities = [
'Santa Cruz de la Sierra',
'Cochabamba',
'La Paz',
'Sucre',
'Oruro',
'Tarija',
'Potosi',
'Sacaba',
'Montero',
'Quillacollo',
'Trinidad',
'Yacuiba',
'Riberalta',
'Tiquipaya',
'Guayaramerin',
'Bermejo',
'Mizque',
'Villazon',
'Llallagua',
'Camiri',
'Cobija',
'San Borja',
'San Ignacio de Velasco',
'Tupiza',
'Warnes',
'San Borja',
'Ascencion de Guarayos',
'Villamontes',
'Cotoca',
'Villa Yapacani',
'Santiago del Torno',
'Huanuni',
'Punata',
'Ascension',
'Mineros',
'Santa Ana de Yacuma',
'Patacamaya',
'Colchani',
'Rurrenabaque',
'Portachuelo',
'Puerto Quijarro',
'Uyuni',
'Robore',
'Pailon',
'Cliza',
'Achacachi',
'Vallegrande',
'Monteagudo',
'Aiquile',
'Tarata',
'Challapata',
'San Julian',
'Reyes',
'Concepcion',
'San Matias',
'La Belgica',
'Santa Rosa del Sara',
'Capinota',
'Chimore',
'San Pedro'
]
|
while(True):
try:
n = int(input())
if(n==2002):
print("Acesso Permitido")
break
else:
print("Senha Invalida")
except EOFError:
break
|
class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __repr__(self):
return f'Person(name={self.name}, age={self.age}'
def __eq__(self, other):
if isinstance(other, Person):
return self.name == other.name and self.age == other.age
def __hash__(self):
return hash((self.name, self.age))
# __hash__ = None
p1 = Person('John', 78)
p2 = Person('Eric', 75)
persons = {p1: 'John obj', p2: 'Eric obj'}
print(p1 is p2) # False
print(p1 == p2) # True
# print(hash(p1))
print(persons[Person('John', 78)])
class Number:
def __init__(self, x):
self.x = x
def __eq__(self, other):
if isinstance(other, Number):
return self.x == other.x
else:
return False
def __hash__(self):
return hash(self.x)
# Usage of Custom hashes
class Point:
def __init__(self, x, y):
self.x = x
self.y = y
def __repr__(self):
return f'{self.x}, {self.y}'
def __eq__(self, other):
if isinstance(other, Point):
return self.x == other.x and self.y == other.y
else:
return False
def __hash__(self):
return hash((self.x, self.y))
points = {
Point(0, 0): 'origin',
Point(1, 1): 'second pt'
}
print(points[Point(0, 0)])
|
# Author : Salim Suprayogi
# Ref : freeCodeCamp.org ( youtube )
def translate(phrase):
"mengganti huruf tertentu"
translation = ""
# loop
for letter in phrase:
# cek apakah ada huruf AEIOUaeiou
# jika ada ganti dengan huruf "g"
if letter.lower() in "aeiou":
# ubah phrase menjadi huruf kecil
if letter.isupper():
# cek, apakah phrase huruf kapital
# jika iya, ganti dengan "G" kapital
translation = translation + "G"
else:
# jika bukan huruf kapital
# ganti dengan "g" kecil
translation = translation + "g"
else:
# jika tidak ada huruf AEIOUaeiou, tampilkan phrase
translation = translation + letter
return translation
if __name__ == "__main__":
print(translate(input("Enter a phrase: ")))
|
# -*- coding: utf-8 -*-
'''
File name: code\prime_subset_sums\sol_249.py
Author: Vaidic Joshi
Date created: Oct 20, 2018
Python Version: 3.x
'''
# Solution to Project Euler Problem #249 :: Prime Subset Sums
#
# For more information see:
# https://projecteuler.net/problem=249
# Problem Statement
'''
Let S = {2, 3, 5, ..., 4999} be the set of prime numbers less than 5000.
Find the number of subsets of S, the sum of whose elements is a prime number.
Enter the rightmost 16 digits as your answer.
'''
# Solution
# Solution Approach
'''
'''
|
#!/bin/python3
DIRECTIONS = {
'n': (0, -1),
's': (0, 1),
'e': (1, 0),
'w': (-1, 0),
}
def get_route(preferred_direction):
x_pos, y_pos = preferred_direction
return [
preferred_direction,
(y_pos, x_pos),
(-y_pos, -x_pos),
(-x_pos, -y_pos)
]
class Board(object):
def __init__(self, size):
self._array = [
[0] * size
for _
in range(size)
]
self._size = size
def is_in_range(self, x_pos, y_pos):
return 0 <= x_pos < self._size and 0 <= y_pos < self._size
def is_visited(self, x_pos, y_pos):
return self.is_in_range(
x_pos,
y_pos
) and self._array[y_pos][x_pos]
def set_value(self, x_pos, y_pos, value):
self._array[y_pos][x_pos] = value
def __str__(self):
result = []
for board_rows in self._array:
result.append(' '.join(map(str, board_rows)))
return '\n'.join(result)
if __name__ == "__main__":
n = int(input().strip())
d = input().strip()
x, y = input().strip().split(' ')
x, y = [int(x), int(y)]
x, y = y, x
current_value = 1
board = Board(n)
board.set_value(x, y, current_value)
wind_direction = DIRECTIONS.get(d)
direction_route = get_route(wind_direction)
total_steps = n ** 2
while current_value < total_steps:
current_value += 1
for direction in direction_route:
new_x, new_y = x + direction[0], y + direction[1]
if board.is_in_range(new_x, new_y) and not board.is_visited(new_x, new_y):
board.set_value(new_x, new_y, current_value)
x, y = new_x, new_y
break
print(board)
|
class Solution(object):
def isUgly(self, num):
"""
:type num: int
:rtype: bool
"""
if num < 1:
return False
bad_factors = (2, 3, 5, )
stack = [num]
while len(stack) > 0:
x = stack.pop()
if x == 1:
return True
else:
for bad_factor in bad_factors:
if x % bad_factor == 0:
y = x // bad_factor
stack.append(y)
return False
|
"""
349. Intersection of Two Arrays
Example:
Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2].
"""
# binary search
class Solution(object):
def intersection(self, nums1, nums2):
"""
:type nums1: List[int]
:type nums2: List[int]
:rtype: List[int]
"""
nums1.sort()
nums2.sort()
res = []
left = 0
for i in nums1:
left = bisect.bisect_left(nums2,i,lo=left)
if left< len(nums2) and nums2[left] == i:
res.append(i)
left = bisect.bisect_right(nums2,i,lo=left)
return res
class Solution(object):
def intersection(self, nums1, nums2):
return list(set(nums1) & set(nums2))
# Two pointer
class Solution(object):
def intersection(self, nums1, nums2):
nums1.sort()
nums2.sort()
res = []
l, r = 0, 0
while l<len(nums1) and r < len(nums2):
if nums1[l] == nums2[r]:
if not res or res[-1]!=nums1[l]:
res+=[nums1[l]]
l+=1
r+=1
elif nums1[l] < nums2[r]:
l+=1
else:
r+=1
return res
|
class FriendshipsStorage(object):
def __init__(self):
self.friendships = []
def add(self, note):
pass
def clear(self):
pass
def get_friends_of(self, name):
pass
|
#Implemente um programa que faça a leitura de valores para uma lista com as
#classificações (inteiras) de uma turma de 20 alunos. Acrescente ao programa as
#seguintes funcionalidades (usando funções):
#a) Calcular a média das notas.
#b) Calcular o somatório de todos as notas positivas do vetor.
#c) Calcular a menor e a maior nota.
#d) Ordenar o vetor por ordem decrescente.
#e) Indicar quantas classificações iguais, a uma classificação recebida como
#argumento, existem na lista de notas
def notas():
lista=[None]*20
for i in range(0,20):
try:
num=int(input('Insira a %dº nota: ' %(i+1)))
while num>20 or num<0:
num=int(input('Nota Inválida!\nInsira a %dº' %(i+1)))
except ValueError:
print('Não foi inserido um número.')
lista[i]=num
return lista
def media(lista):
med=0
for i in range(0,20):
med+=lista[i]
med=med/20
print('A média da turma é %.2f.' %med)
def notasPOS(lista):
soma=0
for i in range(0,20):
if lista[i]>=10:
soma+=lista[i]
print('A soma de todas as notas positivas deu %d.' %soma)
def menMai(lista):
men=mai=lista[2]
for i in range(0,10):
if lista[i]<men:
men=lista[i]
elif lista[i]>mai:
mai=lista[i]
print('A menor nota é %d e a maior nota foi %d.' %(men, mai))
def ordenarDECRE(lista):
for i in range(0, 10):
for j in range(i + 1, 8):
if lista[j] > lista[i]:
aux = lista[i]
lista[i] = lista[j]
lista[j] = aux
print(lista)
def search(lista):
try:
num=int(input('Insira a nota pela qual quer procurar: '))
while num>20 or num<0:
num=int(input('Nota inválida!\nInsira a nota pela qual quer procurar: '))
except ValueError:
print('Não foi inserido um número.')
cont=0
for i in range(0,20):
if lista[i]==num:
cont+=1
print('Foram encontrados %d \'%d\'.' %(cont, num))
def menu(lista):
opc=str(input('Indique qual opção quer:\n'
'a) Calcular a média das notas.\n'
'b) Calcular o somatório de todos as notas positivas do vetor.\n'
'c) Calcular a menor e a maior nota.\n'
'd) Ordenar o vetor por ordem decrescente.\n'
'e) Indicar quantas classificações iguais, a uma classificação recebida como\n'
' argumento, existem na lista de notas\n'
'Opção: '))
while opc not in 'AaBbCcDdEe':
opc=str(input('Opção Inválida!\nOpção: '))
if opc in 'Aa':
media(lista)
print('-'*80)
menu(lista)
elif opc in 'Bb':
notasPOS(lista)
print('-'*80)
menu(lista)
elif opc in 'Cc':
menMai(lista)
print('-'*80)
menu(lista)
elif opc in 'Dd':
ordenarDECRE(lista)
print('-'*80)
menu(lista)
elif opc in 'Ee':
search(lista)
print('-'*80)
menu(lista)
lista=notas()
menu(lista)
|
class Solution:
def groupAnagrams(self, strs: List[str]) -> List[List[str]]:
anagrams = {}
for i in range(len(strs)):
x= ''.join(sorted(strs[i]))
if x not in anagrams:
anagrams[x]=[strs[i]]
else:
anagrams[x].append(strs[i])
return anagrams.values()
|
# 350111
# a3_p10.py
# Irakli Mtvarelishvili
# i.mtvarelisvhili@jacobs-university.de
n = int(input("Please enter the length of rectangle: "))
m = int(input("Please enter the width of rectangle: "))
c = chr(ord(input("Please enter a character: ")))
def print_rectangle(n, m, c):
for i in range(m) :
for j in range(n):
if i == 0 or i == m - 1 :
print(c, end='')
else :
if j == 0 or j == n - 1 :
print (c, end='')
else :
print (' ', end='')
print()
print(print_rectangle(n, m, c))
|
# yacctab.py
# This file is automatically generated. Do not edit.
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'translation_unit_or_emptyleftLORleftLANDleftORleftXORleftANDleftEQNEleftGTGELTLEleftRSHIFTLSHIFTleftPLUSMINUSleftTIMESDIVIDEMOD_BOOL _COMPLEX AUTO BREAK CASE CHAR CONST CONTINUE DEFAULT DO DOUBLE ELSE ENUM EXTERN FLOAT FOR GOTO IF INLINE INT LONG REGISTER OFFSETOF RESTRICT RETURN SHORT SIGNED SIZEOF STATIC STRUCT SWITCH TYPEDEF UNION UNSIGNED VOID VOLATILE WHILE __INT128 ID TYPEID INT_CONST_DEC INT_CONST_OCT INT_CONST_HEX INT_CONST_BIN INT_CONST_CHAR FLOAT_CONST HEX_FLOAT_CONST CHAR_CONST WCHAR_CONST STRING_LITERAL WSTRING_LITERAL PLUS MINUS TIMES DIVIDE MOD OR AND NOT XOR LSHIFT RSHIFT LOR LAND LNOT LT LE GT GE EQ NE EQUALS TIMESEQUAL DIVEQUAL MODEQUAL PLUSEQUAL MINUSEQUAL LSHIFTEQUAL RSHIFTEQUAL ANDEQUAL XOREQUAL OREQUAL PLUSPLUS MINUSMINUS ARROW CONDOP LPAREN RPAREN LBRACKET RBRACKET LBRACE RBRACE COMMA PERIOD SEMI COLON ELLIPSIS PPHASH PPPRAGMA PPPRAGMASTRabstract_declarator_opt : empty\n| abstract_declaratorassignment_expression_opt : empty\n| assignment_expressionblock_item_list_opt : empty\n| block_item_listdeclaration_list_opt : empty\n| declaration_listdeclaration_specifiers_no_type_opt : empty\n| declaration_specifiers_no_typedesignation_opt : empty\n| designationexpression_opt : empty\n| expressionid_init_declarator_list_opt : empty\n| id_init_declarator_listidentifier_list_opt : empty\n| identifier_listinit_declarator_list_opt : empty\n| init_declarator_listinitializer_list_opt : empty\n| initializer_listparameter_type_list_opt : empty\n| parameter_type_liststruct_declarator_list_opt : empty\n| struct_declarator_listtype_qualifier_list_opt : empty\n| type_qualifier_list direct_id_declarator : ID\n direct_id_declarator : LPAREN id_declarator RPAREN\n direct_id_declarator : direct_id_declarator LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET\n direct_id_declarator : direct_id_declarator LBRACKET STATIC type_qualifier_list_opt assignment_expression RBRACKET\n | direct_id_declarator LBRACKET type_qualifier_list STATIC assignment_expression RBRACKET\n direct_id_declarator : direct_id_declarator LBRACKET type_qualifier_list_opt TIMES RBRACKET\n direct_id_declarator : direct_id_declarator LPAREN parameter_type_list RPAREN\n | direct_id_declarator LPAREN identifier_list_opt RPAREN\n direct_typeid_declarator : TYPEID\n direct_typeid_declarator : LPAREN typeid_declarator RPAREN\n direct_typeid_declarator : direct_typeid_declarator LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET\n direct_typeid_declarator : direct_typeid_declarator LBRACKET STATIC type_qualifier_list_opt assignment_expression RBRACKET\n | direct_typeid_declarator LBRACKET type_qualifier_list STATIC assignment_expression RBRACKET\n direct_typeid_declarator : direct_typeid_declarator LBRACKET type_qualifier_list_opt TIMES RBRACKET\n direct_typeid_declarator : direct_typeid_declarator LPAREN parameter_type_list RPAREN\n | direct_typeid_declarator LPAREN identifier_list_opt RPAREN\n direct_typeid_noparen_declarator : TYPEID\n direct_typeid_noparen_declarator : direct_typeid_noparen_declarator LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET\n direct_typeid_noparen_declarator : direct_typeid_noparen_declarator LBRACKET STATIC type_qualifier_list_opt assignment_expression RBRACKET\n | direct_typeid_noparen_declarator LBRACKET type_qualifier_list STATIC assignment_expression RBRACKET\n direct_typeid_noparen_declarator : direct_typeid_noparen_declarator LBRACKET type_qualifier_list_opt TIMES RBRACKET\n direct_typeid_noparen_declarator : direct_typeid_noparen_declarator LPAREN parameter_type_list RPAREN\n | direct_typeid_noparen_declarator LPAREN identifier_list_opt RPAREN\n id_declarator : direct_id_declarator\n id_declarator : pointer direct_id_declarator\n typeid_declarator : direct_typeid_declarator\n typeid_declarator : pointer direct_typeid_declarator\n typeid_noparen_declarator : direct_typeid_noparen_declarator\n typeid_noparen_declarator : pointer direct_typeid_noparen_declarator\n translation_unit_or_empty : translation_unit\n | empty\n translation_unit : external_declaration\n translation_unit : translation_unit external_declaration\n external_declaration : function_definition\n external_declaration : declaration\n external_declaration : pp_directive\n | pppragma_directive\n external_declaration : SEMI\n pp_directive : PPHASH\n pppragma_directive : PPPRAGMA\n | PPPRAGMA PPPRAGMASTR\n function_definition : id_declarator declaration_list_opt compound_statement\n function_definition : declaration_specifiers id_declarator declaration_list_opt compound_statement\n statement : labeled_statement\n | expression_statement\n | compound_statement\n | selection_statement\n | iteration_statement\n | jump_statement\n | pppragma_directive\n pragmacomp_or_statement : pppragma_directive statement\n | statement\n decl_body : declaration_specifiers init_declarator_list_opt\n | declaration_specifiers_no_type id_init_declarator_list_opt\n declaration : decl_body SEMI\n declaration_list : declaration\n | declaration_list declaration\n declaration_specifiers_no_type : type_qualifier declaration_specifiers_no_type_opt\n declaration_specifiers_no_type : storage_class_specifier declaration_specifiers_no_type_opt\n declaration_specifiers_no_type : function_specifier declaration_specifiers_no_type_opt\n declaration_specifiers : declaration_specifiers type_qualifier\n declaration_specifiers : declaration_specifiers storage_class_specifier\n declaration_specifiers : declaration_specifiers function_specifier\n declaration_specifiers : declaration_specifiers type_specifier_no_typeid\n declaration_specifiers : type_specifier\n declaration_specifiers : declaration_specifiers_no_type type_specifier\n storage_class_specifier : AUTO\n | REGISTER\n | STATIC\n | EXTERN\n | TYPEDEF\n function_specifier : INLINE\n type_specifier_no_typeid : VOID\n | _BOOL\n | CHAR\n | SHORT\n | INT\n | LONG\n | FLOAT\n | DOUBLE\n | _COMPLEX\n | SIGNED\n | UNSIGNED\n | __INT128\n type_specifier : typedef_name\n | enum_specifier\n | struct_or_union_specifier\n | type_specifier_no_typeid\n type_qualifier : CONST\n | RESTRICT\n | VOLATILE\n init_declarator_list : init_declarator\n | init_declarator_list COMMA init_declarator\n init_declarator : declarator\n | declarator EQUALS initializer\n id_init_declarator_list : id_init_declarator\n | id_init_declarator_list COMMA init_declarator\n id_init_declarator : id_declarator\n | id_declarator EQUALS initializer\n specifier_qualifier_list : specifier_qualifier_list type_specifier_no_typeid\n specifier_qualifier_list : specifier_qualifier_list type_qualifier\n specifier_qualifier_list : type_specifier\n specifier_qualifier_list : type_qualifier_list type_specifier\n struct_or_union_specifier : struct_or_union ID\n | struct_or_union TYPEID\n struct_or_union_specifier : struct_or_union brace_open struct_declaration_list brace_close\n | struct_or_union brace_open brace_close\n struct_or_union_specifier : struct_or_union ID brace_open struct_declaration_list brace_close\n | struct_or_union ID brace_open brace_close\n | struct_or_union TYPEID brace_open struct_declaration_list brace_close\n | struct_or_union TYPEID brace_open brace_close\n struct_or_union : STRUCT\n | UNION\n struct_declaration_list : struct_declaration\n | struct_declaration_list struct_declaration\n struct_declaration : specifier_qualifier_list struct_declarator_list_opt SEMI\n struct_declaration : SEMI\n struct_declaration : pppragma_directive\n struct_declarator_list : struct_declarator\n | struct_declarator_list COMMA struct_declarator\n struct_declarator : declarator\n struct_declarator : declarator COLON constant_expression\n | COLON constant_expression\n enum_specifier : ENUM ID\n | ENUM TYPEID\n enum_specifier : ENUM brace_open enumerator_list brace_close\n enum_specifier : ENUM ID brace_open enumerator_list brace_close\n | ENUM TYPEID brace_open enumerator_list brace_close\n enumerator_list : enumerator\n | enumerator_list COMMA\n | enumerator_list COMMA enumerator\n enumerator : ID\n | ID EQUALS constant_expression\n declarator : id_declarator\n | typeid_declarator\n pointer : TIMES type_qualifier_list_opt\n | TIMES type_qualifier_list_opt pointer\n type_qualifier_list : type_qualifier\n | type_qualifier_list type_qualifier\n parameter_type_list : parameter_list\n | parameter_list COMMA ELLIPSIS\n parameter_list : parameter_declaration\n | parameter_list COMMA parameter_declaration\n parameter_declaration : declaration_specifiers id_declarator\n | declaration_specifiers typeid_noparen_declarator\n parameter_declaration : declaration_specifiers abstract_declarator_opt\n identifier_list : identifier\n | identifier_list COMMA identifier\n initializer : assignment_expression\n initializer : brace_open initializer_list_opt brace_close\n | brace_open initializer_list COMMA brace_close\n initializer_list : designation_opt initializer\n | initializer_list COMMA designation_opt initializer\n designation : designator_list EQUALS\n designator_list : designator\n | designator_list designator\n designator : LBRACKET constant_expression RBRACKET\n | PERIOD identifier\n type_name : specifier_qualifier_list abstract_declarator_opt\n abstract_declarator : pointer\n abstract_declarator : pointer direct_abstract_declarator\n abstract_declarator : direct_abstract_declarator\n direct_abstract_declarator : LPAREN abstract_declarator RPAREN direct_abstract_declarator : direct_abstract_declarator LBRACKET assignment_expression_opt RBRACKET\n direct_abstract_declarator : LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET\n direct_abstract_declarator : direct_abstract_declarator LBRACKET TIMES RBRACKET\n direct_abstract_declarator : LBRACKET TIMES RBRACKET\n direct_abstract_declarator : direct_abstract_declarator LPAREN parameter_type_list_opt RPAREN\n direct_abstract_declarator : LPAREN parameter_type_list_opt RPAREN\n block_item : declaration\n | statement\n block_item_list : block_item\n | block_item_list block_item\n compound_statement : brace_open block_item_list_opt brace_close labeled_statement : ID COLON pragmacomp_or_statement labeled_statement : CASE constant_expression COLON pragmacomp_or_statement labeled_statement : DEFAULT COLON pragmacomp_or_statement selection_statement : IF LPAREN expression RPAREN pragmacomp_or_statement selection_statement : IF LPAREN expression RPAREN statement ELSE pragmacomp_or_statement selection_statement : SWITCH LPAREN expression RPAREN pragmacomp_or_statement iteration_statement : WHILE LPAREN expression RPAREN pragmacomp_or_statement iteration_statement : DO pragmacomp_or_statement WHILE LPAREN expression RPAREN SEMI iteration_statement : FOR LPAREN expression_opt SEMI expression_opt SEMI expression_opt RPAREN pragmacomp_or_statement iteration_statement : FOR LPAREN declaration expression_opt SEMI expression_opt RPAREN pragmacomp_or_statement jump_statement : GOTO ID SEMI jump_statement : BREAK SEMI jump_statement : CONTINUE SEMI jump_statement : RETURN expression SEMI\n | RETURN SEMI\n expression_statement : expression_opt SEMI expression : assignment_expression\n | expression COMMA assignment_expression\n typedef_name : TYPEID assignment_expression : conditional_expression\n | unary_expression assignment_operator assignment_expression\n assignment_operator : EQUALS\n | XOREQUAL\n | TIMESEQUAL\n | DIVEQUAL\n | MODEQUAL\n | PLUSEQUAL\n | MINUSEQUAL\n | LSHIFTEQUAL\n | RSHIFTEQUAL\n | ANDEQUAL\n | OREQUAL\n constant_expression : conditional_expression conditional_expression : binary_expression\n | binary_expression CONDOP expression COLON conditional_expression\n binary_expression : cast_expression\n | binary_expression TIMES binary_expression\n | binary_expression DIVIDE binary_expression\n | binary_expression MOD binary_expression\n | binary_expression PLUS binary_expression\n | binary_expression MINUS binary_expression\n | binary_expression RSHIFT binary_expression\n | binary_expression LSHIFT binary_expression\n | binary_expression LT binary_expression\n | binary_expression LE binary_expression\n | binary_expression GE binary_expression\n | binary_expression GT binary_expression\n | binary_expression EQ binary_expression\n | binary_expression NE binary_expression\n | binary_expression AND binary_expression\n | binary_expression OR binary_expression\n | binary_expression XOR binary_expression\n | binary_expression LAND binary_expression\n | binary_expression LOR binary_expression\n cast_expression : unary_expression cast_expression : LPAREN type_name RPAREN cast_expression unary_expression : postfix_expression unary_expression : PLUSPLUS unary_expression\n | MINUSMINUS unary_expression\n | unary_operator cast_expression\n unary_expression : SIZEOF unary_expression\n | SIZEOF LPAREN type_name RPAREN\n unary_operator : AND\n | TIMES\n | PLUS\n | MINUS\n | NOT\n | LNOT\n postfix_expression : primary_expression postfix_expression : postfix_expression LBRACKET expression RBRACKET postfix_expression : postfix_expression LPAREN argument_expression_list RPAREN\n | postfix_expression LPAREN RPAREN\n postfix_expression : postfix_expression PERIOD ID\n | postfix_expression PERIOD TYPEID\n | postfix_expression ARROW ID\n | postfix_expression ARROW TYPEID\n postfix_expression : postfix_expression PLUSPLUS\n | postfix_expression MINUSMINUS\n postfix_expression : LPAREN type_name RPAREN brace_open initializer_list brace_close\n | LPAREN type_name RPAREN brace_open initializer_list COMMA brace_close\n primary_expression : identifier primary_expression : constant primary_expression : unified_string_literal\n | unified_wstring_literal\n primary_expression : LPAREN expression RPAREN primary_expression : OFFSETOF LPAREN type_name COMMA offsetof_member_designator RPAREN\n offsetof_member_designator : identifier\n | offsetof_member_designator PERIOD identifier\n | offsetof_member_designator LBRACKET expression RBRACKET\n argument_expression_list : assignment_expression\n | argument_expression_list COMMA assignment_expression\n identifier : ID constant : INT_CONST_DEC\n | INT_CONST_OCT\n | INT_CONST_HEX\n | INT_CONST_BIN\n | INT_CONST_CHAR\n constant : FLOAT_CONST\n | HEX_FLOAT_CONST\n constant : CHAR_CONST\n | WCHAR_CONST\n unified_string_literal : STRING_LITERAL\n | unified_string_literal STRING_LITERAL\n unified_wstring_literal : WSTRING_LITERAL\n | unified_wstring_literal WSTRING_LITERAL\n brace_open : LBRACE\n brace_close : RBRACE\n empty : '
_lr_action_items = {'$end':([0,1,2,3,4,5,6,7,8,9,13,14,55,77,78,105,144,211,265,],[-310,0,-58,-59,-60,-62,-63,-64,-65,-66,-67,-68,-61,-83,-69,-70,-309,-71,-202,]),'SEMI':([0,2,4,5,6,7,8,9,11,12,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,60,61,62,63,64,65,66,67,69,70,72,73,74,75,76,77,78,81,82,83,84,85,86,87,88,89,90,91,92,98,99,101,102,103,104,105,106,108,110,127,131,139,140,141,142,143,144,145,146,147,148,151,152,153,154,155,156,157,158,159,160,161,162,163,166,169,172,175,176,177,178,179,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,228,229,243,244,247,250,251,252,253,254,255,256,257,258,259,260,261,262,264,265,266,267,268,270,271,273,274,283,284,285,286,287,288,289,290,326,327,328,330,331,332,334,335,350,351,352,353,372,373,376,377,378,381,382,383,385,388,392,396,397,398,399,400,401,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,432,439,440,443,444,457,458,459,461,463,464,465,467,468,470,471,474,476,480,481,492,493,495,496,498,500,509,510,512,515,520,521,522,524,527,528,530,],[9,9,-60,-62,-63,-64,-65,-66,-310,77,-67,-68,-52,-310,-310,-310,-116,-93,-310,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,-310,-310,-162,-89,-90,-91,-92,-81,-19,-20,-120,-122,-163,-54,-37,-83,-69,-53,-86,-9,-10,-87,-88,-94,-82,-15,-16,-124,-126,-152,-153,-308,-132,-133,146,-70,-310,-162,-55,-294,-30,146,146,146,-135,-142,-309,-310,-145,-146,-130,-13,-310,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,274,-14,-310,287,288,290,-219,-222,-257,-236,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-71,-121,-38,-123,-177,-35,-36,-125,-127,-154,146,-137,146,-139,-134,-143,378,-128,-129,-25,-26,-147,-149,-131,-202,-201,-13,-310,-235,-257,-310,-218,-78,-80,-310,399,-214,-215,400,-217,-279,-280,-260,-261,-262,-263,-305,-307,-43,-44,-31,-34,-155,-156,-136,-138,-144,-151,-203,-310,-205,-287,-220,-79,467,-310,-213,-216,-223,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,-274,-275,-276,-277,-278,-178,-39,-42,-32,-33,-148,-150,-204,-310,-258,-310,-310,-310,499,-272,-273,-264,-179,-40,-41,-206,-80,-208,-209,513,-237,-310,-281,522,-288,-207,-282,-210,-310,-310,-212,-211,]),'PPHASH':([0,2,4,5,6,7,8,9,13,14,55,77,78,105,144,211,265,],[13,13,-60,-62,-63,-64,-65,-66,-67,-68,-61,-83,-69,-70,-309,-71,-202,]),'PPPRAGMA':([0,2,4,5,6,7,8,9,13,14,55,77,78,101,104,105,106,139,140,141,143,144,146,147,152,153,154,155,156,157,158,159,160,161,162,172,211,250,252,255,265,266,268,273,274,283,284,287,288,290,378,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[14,14,-60,-62,-63,-64,-65,-66,-67,-68,-61,-83,-69,-308,14,-70,14,14,14,14,-142,-309,-145,-146,14,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,14,-71,14,14,-143,-202,-201,14,14,-218,14,-80,-214,-215,-217,-144,-203,14,-205,-79,-213,-216,-204,14,14,14,-206,-80,-208,-209,14,-207,-210,14,14,-212,-211,]),'ID':([0,2,4,5,6,7,8,9,11,13,14,16,17,18,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,60,61,63,64,65,66,68,71,77,78,79,80,82,83,84,85,86,87,94,95,96,97,98,99,100,101,102,103,105,106,111,113,114,115,116,117,118,126,129,130,132,133,134,135,142,144,145,148,152,153,154,155,156,157,158,159,160,161,162,164,168,172,174,177,183,184,185,187,188,189,190,191,193,194,211,216,217,218,219,223,226,227,231,235,239,240,247,248,249,251,253,254,257,258,263,264,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,329,333,339,340,341,344,345,347,348,349,361,362,365,368,370,372,373,376,377,379,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,475,477,478,483,484,485,492,493,495,496,499,509,511,513,516,517,520,522,524,527,528,530,],[23,23,-60,-62,-63,-64,-65,-66,23,-67,-68,23,-310,-310,-310,-116,-93,23,23,-97,-310,-113,-114,-115,-221,98,102,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-140,-141,-61,23,23,-89,-90,-91,-92,23,23,-83,-69,-310,127,-86,-9,-10,-87,-88,-94,-164,-27,-28,-166,-152,-153,138,-308,-132,-133,-70,163,23,127,-310,127,127,-310,-28,23,23,127,-165,-167,138,138,-135,-309,23,-130,163,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,127,127,163,286,127,127,127,127,127,-266,-267,-268,-265,-269,-270,-71,-310,127,-310,-28,-266,127,127,127,23,23,-310,-154,138,127,-137,-139,-134,-128,-129,127,-131,-202,-201,163,127,163,-218,127,127,127,127,163,-80,127,-214,-215,-217,127,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,425,427,127,127,-11,127,-12,127,127,-266,127,127,-310,127,23,127,127,-155,-156,-136,-138,23,127,-203,163,-205,127,-79,127,-213,-216,-310,-182,127,-310,-28,-266,-204,127,163,-310,163,163,127,127,127,127,127,127,-11,-266,127,127,-206,-80,-208,-209,127,163,-310,127,127,127,-207,-210,163,163,-212,-211,]),'LPAREN':([0,2,4,5,6,7,8,9,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,60,61,63,64,65,66,68,71,75,76,77,78,79,81,82,83,84,85,86,87,94,95,96,97,98,99,101,102,103,105,106,110,111,113,114,116,117,118,126,127,129,130,131,132,133,142,144,145,148,152,153,154,155,156,157,158,159,160,161,162,163,164,167,168,170,171,172,173,177,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,213,216,217,218,219,223,226,227,228,229,235,236,239,240,241,242,247,249,251,253,254,257,258,263,264,265,266,268,272,273,274,275,278,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,326,327,329,333,334,335,339,340,341,344,347,348,349,350,351,352,353,359,360,361,365,368,370,372,373,376,377,379,380,382,383,385,387,388,390,391,395,396,398,399,400,423,425,426,427,428,433,435,439,440,443,444,445,446,447,450,451,453,455,459,460,461,462,464,465,466,467,469,470,471,472,477,478,480,481,483,484,485,486,487,488,489,490,491,492,493,495,496,499,505,506,509,510,511,513,515,517,518,519,520,521,522,524,527,528,530,],[24,24,-60,-62,-63,-64,-65,-66,71,-67,-68,80,24,-310,-310,-310,-116,-93,24,-29,24,-97,-310,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,71,24,-89,-90,-91,-92,71,71,115,-37,-83,-69,-310,80,-86,-9,-10,-87,-88,-94,-164,-27,-28,-166,-152,-153,-308,-132,-133,-70,168,115,71,168,-310,168,-310,-28,239,-294,71,168,-30,-165,-167,-135,-309,71,-130,168,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,272,275,168,280,281,168,285,168,323,329,329,272,333,-266,-267,-268,-265,-271,-269,-270,-283,-284,-285,-286,336,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-71,-38,-310,168,-310,-28,-266,168,168,-35,-36,239,362,239,-310,-45,371,-154,272,-137,-139,-134,-128,-129,272,-131,-202,-201,168,168,168,-218,168,391,168,168,168,168,-80,168,-214,-215,-217,168,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,168,272,272,272,272,272,272,272,272,272,272,272,272,272,272,272,272,272,272,168,168,-279,-280,168,168,-305,-307,-11,168,-12,272,-266,168,168,-43,-44,-31,-34,362,371,-310,239,168,168,-155,-156,-136,-138,71,272,-203,168,-205,272,-287,391,391,466,-79,168,-213,-216,-274,-275,-276,-277,-278,-310,-182,-39,-42,-32,-33,168,-310,-28,-191,-197,-195,-266,-204,272,168,-310,168,168,168,168,272,-272,-273,168,168,-11,-40,-41,-266,168,168,-50,-51,-193,-192,-194,-196,-206,-80,-208,-209,168,-46,-49,168,-281,-310,168,-288,168,-47,-48,-207,-282,-210,168,168,-212,-211,]),'TIMES':([0,2,4,5,6,7,8,9,11,13,14,17,18,19,20,21,22,24,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,60,61,63,64,65,66,71,77,78,79,82,83,84,85,86,87,94,95,96,97,98,99,101,102,103,105,106,111,113,114,116,117,118,126,127,129,130,133,142,144,145,148,152,153,154,155,156,157,158,159,160,161,162,163,164,168,172,177,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,211,216,217,218,219,223,226,227,239,240,247,249,251,253,254,257,258,263,264,265,266,268,271,272,273,274,275,278,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,326,327,328,329,330,331,332,333,334,335,339,340,341,344,347,348,349,361,368,370,372,373,376,377,379,380,382,383,385,387,388,391,396,398,399,400,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,433,435,445,446,447,455,459,460,461,462,463,464,465,466,467,469,470,471,472,474,477,478,483,484,485,492,493,495,496,499,509,510,511,513,515,517,520,521,522,524,527,528,530,],[26,26,-60,-62,-63,-64,-65,-66,26,-67,-68,-310,-310,-310,-116,-93,26,26,-97,-310,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,26,26,-89,-90,-91,-92,26,-83,-69,-310,-86,-9,-10,-87,-88,-94,26,-27,-28,-166,-152,-153,-308,-132,-133,-70,188,26,188,-310,223,-310,-28,26,-294,26,188,-167,-135,-309,26,-130,188,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,188,188,188,188,-257,304,-259,188,188,188,-238,188,-266,-267,-268,-265,-271,-269,-270,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-71,-310,347,-310,-28,-266,188,188,26,369,-154,188,-137,-139,-134,-128,-129,188,-131,-202,-201,188,-257,188,188,-218,188,26,188,188,188,188,-80,188,-214,-215,-217,188,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,188,-279,-280,-260,188,-261,-262,-263,188,-305,-307,-11,188,-12,188,-266,188,188,-310,188,455,-155,-156,-136,-138,26,188,-203,188,-205,188,-287,26,-79,188,-213,-216,-239,-240,-241,304,304,304,304,304,304,304,304,304,304,304,304,304,304,304,-274,-275,-276,-277,-278,-310,-182,483,-310,-28,-266,-204,188,188,-310,-258,188,188,188,188,188,-272,-273,188,-264,188,-11,-266,188,188,-206,-80,-208,-209,188,188,-281,-310,188,-288,188,-207,-282,-210,188,188,-212,-211,]),'TYPEID':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,58,59,60,61,62,63,64,65,66,68,71,77,78,80,81,82,83,84,85,86,87,94,95,96,97,98,99,101,102,103,104,105,106,107,111,115,126,128,129,131,132,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,235,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,283,284,285,287,288,290,324,325,329,333,336,352,353,362,371,372,373,376,377,378,379,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[30,30,-60,-62,-63,-64,-65,-66,30,76,-67,-68,-52,-310,-310,-310,-116,-93,30,-29,-97,-310,-113,-114,-115,-221,99,103,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-140,-141,-61,30,-84,76,30,30,-89,-90,-91,-92,76,76,-83,-69,30,-53,-86,-9,-10,-87,-88,-94,-164,-27,-28,-166,-152,-153,-308,-132,-133,30,-70,30,-85,76,30,241,30,76,-30,-165,-167,30,30,30,-135,-142,-309,76,-145,-146,-130,30,30,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,30,-71,-35,-36,30,241,30,-154,30,-137,30,-139,-134,-143,-128,-129,-131,-202,-201,30,-218,-78,-80,30,-214,-215,-217,426,428,30,30,30,-31,-34,30,30,-155,-156,-136,-138,-144,76,-203,-205,30,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'ENUM':([0,2,4,5,6,7,8,9,10,13,14,15,17,18,19,22,23,25,45,46,47,48,49,50,51,52,55,58,59,61,62,77,78,80,81,82,83,84,85,86,97,101,104,105,106,107,115,128,131,133,139,140,141,143,144,146,147,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,250,252,255,265,266,272,274,283,284,285,287,288,290,329,333,336,352,353,362,371,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[31,31,-60,-62,-63,-64,-65,-66,31,-67,-68,-52,-310,-310,-310,31,-29,-97,-117,-118,-119,-95,-96,-98,-99,-100,-61,31,-84,31,31,-83,-69,31,-53,-86,-9,-10,-87,-88,-166,-308,31,-70,31,-85,31,31,-30,-167,31,31,31,-142,-309,-145,-146,31,31,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,31,-71,-35,-36,31,31,31,31,-143,-202,-201,31,-218,-78,-80,31,-214,-215,-217,31,31,31,-31,-34,31,31,-144,-203,-205,31,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'VOID':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[33,33,-60,-62,-63,-64,-65,-66,33,33,-67,-68,-52,-310,-310,-310,-116,-93,33,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,33,-84,33,33,33,-89,-90,-91,-92,-83,-69,33,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,33,-70,33,-85,33,33,33,-30,-167,33,33,33,-135,-142,-309,33,-145,-146,-130,33,33,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,33,-71,-35,-36,33,33,-154,33,-137,33,-139,-134,-143,-128,-129,-131,-202,-201,33,-218,33,-78,-80,33,-214,-215,-217,33,33,33,-31,-34,33,33,-155,-156,-136,-138,-144,-203,-205,33,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'_BOOL':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[34,34,-60,-62,-63,-64,-65,-66,34,34,-67,-68,-52,-310,-310,-310,-116,-93,34,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,34,-84,34,34,34,-89,-90,-91,-92,-83,-69,34,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,34,-70,34,-85,34,34,34,-30,-167,34,34,34,-135,-142,-309,34,-145,-146,-130,34,34,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,34,-71,-35,-36,34,34,-154,34,-137,34,-139,-134,-143,-128,-129,-131,-202,-201,34,-218,34,-78,-80,34,-214,-215,-217,34,34,34,-31,-34,34,34,-155,-156,-136,-138,-144,-203,-205,34,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'CHAR':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[35,35,-60,-62,-63,-64,-65,-66,35,35,-67,-68,-52,-310,-310,-310,-116,-93,35,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,35,-84,35,35,35,-89,-90,-91,-92,-83,-69,35,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,35,-70,35,-85,35,35,35,-30,-167,35,35,35,-135,-142,-309,35,-145,-146,-130,35,35,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,35,-71,-35,-36,35,35,-154,35,-137,35,-139,-134,-143,-128,-129,-131,-202,-201,35,-218,35,-78,-80,35,-214,-215,-217,35,35,35,-31,-34,35,35,-155,-156,-136,-138,-144,-203,-205,35,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'SHORT':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[36,36,-60,-62,-63,-64,-65,-66,36,36,-67,-68,-52,-310,-310,-310,-116,-93,36,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,36,-84,36,36,36,-89,-90,-91,-92,-83,-69,36,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,36,-70,36,-85,36,36,36,-30,-167,36,36,36,-135,-142,-309,36,-145,-146,-130,36,36,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,36,-71,-35,-36,36,36,-154,36,-137,36,-139,-134,-143,-128,-129,-131,-202,-201,36,-218,36,-78,-80,36,-214,-215,-217,36,36,36,-31,-34,36,36,-155,-156,-136,-138,-144,-203,-205,36,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'INT':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[37,37,-60,-62,-63,-64,-65,-66,37,37,-67,-68,-52,-310,-310,-310,-116,-93,37,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,37,-84,37,37,37,-89,-90,-91,-92,-83,-69,37,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,37,-70,37,-85,37,37,37,-30,-167,37,37,37,-135,-142,-309,37,-145,-146,-130,37,37,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,37,-71,-35,-36,37,37,-154,37,-137,37,-139,-134,-143,-128,-129,-131,-202,-201,37,-218,37,-78,-80,37,-214,-215,-217,37,37,37,-31,-34,37,37,-155,-156,-136,-138,-144,-203,-205,37,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'LONG':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[38,38,-60,-62,-63,-64,-65,-66,38,38,-67,-68,-52,-310,-310,-310,-116,-93,38,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,38,-84,38,38,38,-89,-90,-91,-92,-83,-69,38,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,38,-70,38,-85,38,38,38,-30,-167,38,38,38,-135,-142,-309,38,-145,-146,-130,38,38,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,38,-71,-35,-36,38,38,-154,38,-137,38,-139,-134,-143,-128,-129,-131,-202,-201,38,-218,38,-78,-80,38,-214,-215,-217,38,38,38,-31,-34,38,38,-155,-156,-136,-138,-144,-203,-205,38,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'FLOAT':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[39,39,-60,-62,-63,-64,-65,-66,39,39,-67,-68,-52,-310,-310,-310,-116,-93,39,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,39,-84,39,39,39,-89,-90,-91,-92,-83,-69,39,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,39,-70,39,-85,39,39,39,-30,-167,39,39,39,-135,-142,-309,39,-145,-146,-130,39,39,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,39,-71,-35,-36,39,39,-154,39,-137,39,-139,-134,-143,-128,-129,-131,-202,-201,39,-218,39,-78,-80,39,-214,-215,-217,39,39,39,-31,-34,39,39,-155,-156,-136,-138,-144,-203,-205,39,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'DOUBLE':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[40,40,-60,-62,-63,-64,-65,-66,40,40,-67,-68,-52,-310,-310,-310,-116,-93,40,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,40,-84,40,40,40,-89,-90,-91,-92,-83,-69,40,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,40,-70,40,-85,40,40,40,-30,-167,40,40,40,-135,-142,-309,40,-145,-146,-130,40,40,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,40,-71,-35,-36,40,40,-154,40,-137,40,-139,-134,-143,-128,-129,-131,-202,-201,40,-218,40,-78,-80,40,-214,-215,-217,40,40,40,-31,-34,40,40,-155,-156,-136,-138,-144,-203,-205,40,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'_COMPLEX':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[41,41,-60,-62,-63,-64,-65,-66,41,41,-67,-68,-52,-310,-310,-310,-116,-93,41,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,41,-84,41,41,41,-89,-90,-91,-92,-83,-69,41,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,41,-70,41,-85,41,41,41,-30,-167,41,41,41,-135,-142,-309,41,-145,-146,-130,41,41,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,41,-71,-35,-36,41,41,-154,41,-137,41,-139,-134,-143,-128,-129,-131,-202,-201,41,-218,41,-78,-80,41,-214,-215,-217,41,41,41,-31,-34,41,41,-155,-156,-136,-138,-144,-203,-205,41,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'SIGNED':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[42,42,-60,-62,-63,-64,-65,-66,42,42,-67,-68,-52,-310,-310,-310,-116,-93,42,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,42,-84,42,42,42,-89,-90,-91,-92,-83,-69,42,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,42,-70,42,-85,42,42,42,-30,-167,42,42,42,-135,-142,-309,42,-145,-146,-130,42,42,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,42,-71,-35,-36,42,42,-154,42,-137,42,-139,-134,-143,-128,-129,-131,-202,-201,42,-218,42,-78,-80,42,-214,-215,-217,42,42,42,-31,-34,42,42,-155,-156,-136,-138,-144,-203,-205,42,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'UNSIGNED':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[43,43,-60,-62,-63,-64,-65,-66,43,43,-67,-68,-52,-310,-310,-310,-116,-93,43,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,43,-84,43,43,43,-89,-90,-91,-92,-83,-69,43,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,43,-70,43,-85,43,43,43,-30,-167,43,43,43,-135,-142,-309,43,-145,-146,-130,43,43,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,43,-71,-35,-36,43,43,-154,43,-137,43,-139,-134,-143,-128,-129,-131,-202,-201,43,-218,43,-78,-80,43,-214,-215,-217,43,43,43,-31,-34,43,43,-155,-156,-136,-138,-144,-203,-205,43,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'__INT128':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,22,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,61,62,63,64,65,66,77,78,80,81,82,83,84,85,86,87,97,98,99,101,102,103,104,105,106,107,115,126,128,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[44,44,-60,-62,-63,-64,-65,-66,44,44,-67,-68,-52,-310,-310,-310,-116,-93,44,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,44,-84,44,44,44,-89,-90,-91,-92,-83,-69,44,-53,-86,-9,-10,-87,-88,-94,-166,-152,-153,-308,-132,-133,44,-70,44,-85,44,44,44,-30,-167,44,44,44,-135,-142,-309,44,-145,-146,-130,44,44,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,44,-71,-35,-36,44,44,-154,44,-137,44,-139,-134,-143,-128,-129,-131,-202,-201,44,-218,44,-78,-80,44,-214,-215,-217,44,44,44,-31,-34,44,44,-155,-156,-136,-138,-144,-203,-205,44,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'CONST':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,79,80,81,87,96,97,98,99,101,102,103,104,105,106,107,114,115,117,118,126,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,218,219,228,229,230,239,240,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,361,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,446,447,459,492,493,495,496,520,522,528,530,],[45,45,-60,-62,-63,-64,-65,-66,45,45,-67,-68,-52,45,45,45,-116,-93,-29,-97,45,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,45,-84,45,45,-89,-90,-91,-92,-83,-69,45,45,-53,-94,45,-166,-152,-153,-308,-132,-133,45,-70,45,-85,45,45,45,45,45,-30,-167,45,45,45,-135,-142,-309,45,-145,-146,-130,45,45,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,45,-71,45,45,-35,-36,45,45,45,-154,45,-137,45,-139,-134,-143,-128,-129,-131,-202,-201,45,-218,45,-78,-80,45,-214,-215,-217,45,45,45,-31,-34,45,45,45,-155,-156,-136,-138,-144,-203,-205,45,-79,-213,-216,-32,-33,45,45,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'RESTRICT':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,79,80,81,87,96,97,98,99,101,102,103,104,105,106,107,114,115,117,118,126,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,218,219,228,229,230,239,240,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,361,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,446,447,459,492,493,495,496,520,522,528,530,],[46,46,-60,-62,-63,-64,-65,-66,46,46,-67,-68,-52,46,46,46,-116,-93,-29,-97,46,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,46,-84,46,46,-89,-90,-91,-92,-83,-69,46,46,-53,-94,46,-166,-152,-153,-308,-132,-133,46,-70,46,-85,46,46,46,46,46,-30,-167,46,46,46,-135,-142,-309,46,-145,-146,-130,46,46,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,46,-71,46,46,-35,-36,46,46,46,-154,46,-137,46,-139,-134,-143,-128,-129,-131,-202,-201,46,-218,46,-78,-80,46,-214,-215,-217,46,46,46,-31,-34,46,46,46,-155,-156,-136,-138,-144,-203,-205,46,-79,-213,-216,-32,-33,46,46,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'VOLATILE':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,79,80,81,87,96,97,98,99,101,102,103,104,105,106,107,114,115,117,118,126,131,133,139,140,141,142,143,144,145,146,147,148,149,152,153,154,155,156,157,158,159,160,161,162,168,211,218,219,228,229,230,239,240,247,250,251,252,253,254,255,257,258,264,265,266,272,274,278,283,284,285,287,288,290,329,333,336,352,353,361,362,371,372,373,376,377,378,382,385,391,396,399,400,443,444,446,447,459,492,493,495,496,520,522,528,530,],[47,47,-60,-62,-63,-64,-65,-66,47,47,-67,-68,-52,47,47,47,-116,-93,-29,-97,47,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,47,-84,47,47,-89,-90,-91,-92,-83,-69,47,47,-53,-94,47,-166,-152,-153,-308,-132,-133,47,-70,47,-85,47,47,47,47,47,-30,-167,47,47,47,-135,-142,-309,47,-145,-146,-130,47,47,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,47,-71,47,47,-35,-36,47,47,47,-154,47,-137,47,-139,-134,-143,-128,-129,-131,-202,-201,47,-218,47,-78,-80,47,-214,-215,-217,47,47,47,-31,-34,47,47,47,-155,-156,-136,-138,-144,-203,-205,47,-79,-213,-216,-32,-33,47,47,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'AUTO':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,80,81,87,98,99,101,102,103,105,106,107,115,126,131,142,144,152,153,154,155,156,157,158,159,160,161,162,211,228,229,230,239,247,251,253,254,265,266,274,283,284,285,287,288,290,352,353,362,371,372,373,376,377,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[48,48,-60,-62,-63,-64,-65,-66,48,48,-67,-68,-52,48,48,48,-116,-93,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,48,-84,48,48,-89,-90,-91,-92,-83,-69,48,-53,-94,-152,-153,-308,-132,-133,-70,48,-85,48,48,-30,-135,-309,48,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-71,-35,-36,48,48,-154,-137,-139,-134,-202,-201,-218,-78,-80,48,-214,-215,-217,-31,-34,48,48,-155,-156,-136,-138,-203,-205,48,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'REGISTER':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,80,81,87,98,99,101,102,103,105,106,107,115,126,131,142,144,152,153,154,155,156,157,158,159,160,161,162,211,228,229,230,239,247,251,253,254,265,266,274,283,284,285,287,288,290,352,353,362,371,372,373,376,377,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[49,49,-60,-62,-63,-64,-65,-66,49,49,-67,-68,-52,49,49,49,-116,-93,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,49,-84,49,49,-89,-90,-91,-92,-83,-69,49,-53,-94,-152,-153,-308,-132,-133,-70,49,-85,49,49,-30,-135,-309,49,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-71,-35,-36,49,49,-154,-137,-139,-134,-202,-201,-218,-78,-80,49,-214,-215,-217,-31,-34,49,49,-155,-156,-136,-138,-203,-205,49,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'STATIC':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,79,80,81,87,97,98,99,101,102,103,105,106,107,114,115,118,126,131,133,142,144,152,153,154,155,156,157,158,159,160,161,162,211,219,228,229,230,239,247,251,253,254,265,266,274,283,284,285,287,288,290,352,353,361,362,371,372,373,376,377,382,385,391,396,399,400,443,444,447,459,492,493,495,496,520,522,528,530,],[25,25,-60,-62,-63,-64,-65,-66,25,25,-67,-68,-52,25,25,25,-116,-93,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,25,-84,25,25,-89,-90,-91,-92,-83,-69,117,25,-53,-94,-166,-152,-153,-308,-132,-133,-70,25,-85,218,25,227,25,-30,-167,-135,-309,25,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-71,349,-35,-36,25,25,-154,-137,-139,-134,-202,-201,-218,-78,-80,25,-214,-215,-217,-31,-34,446,25,25,-155,-156,-136,-138,-203,-205,25,-79,-213,-216,-32,-33,485,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'EXTERN':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,80,81,87,98,99,101,102,103,105,106,107,115,126,131,142,144,152,153,154,155,156,157,158,159,160,161,162,211,228,229,230,239,247,251,253,254,265,266,274,283,284,285,287,288,290,352,353,362,371,372,373,376,377,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[50,50,-60,-62,-63,-64,-65,-66,50,50,-67,-68,-52,50,50,50,-116,-93,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,50,-84,50,50,-89,-90,-91,-92,-83,-69,50,-53,-94,-152,-153,-308,-132,-133,-70,50,-85,50,50,-30,-135,-309,50,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-71,-35,-36,50,50,-154,-137,-139,-134,-202,-201,-218,-78,-80,50,-214,-215,-217,-31,-34,50,50,-155,-156,-136,-138,-203,-205,50,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'TYPEDEF':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,80,81,87,98,99,101,102,103,105,106,107,115,126,131,142,144,152,153,154,155,156,157,158,159,160,161,162,211,228,229,230,239,247,251,253,254,265,266,274,283,284,285,287,288,290,352,353,362,371,372,373,376,377,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[51,51,-60,-62,-63,-64,-65,-66,51,51,-67,-68,-52,51,51,51,-116,-93,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,51,-84,51,51,-89,-90,-91,-92,-83,-69,51,-53,-94,-152,-153,-308,-132,-133,-70,51,-85,51,51,-30,-135,-309,51,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-71,-35,-36,51,51,-154,-137,-139,-134,-202,-201,-218,-78,-80,51,-214,-215,-217,-31,-34,51,51,-155,-156,-136,-138,-203,-205,51,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'INLINE':([0,2,4,5,6,7,8,9,10,11,13,14,15,17,18,19,20,21,23,25,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55,58,59,60,62,63,64,65,66,77,78,80,81,87,98,99,101,102,103,105,106,107,115,126,131,142,144,152,153,154,155,156,157,158,159,160,161,162,211,228,229,230,239,247,251,253,254,265,266,274,283,284,285,287,288,290,352,353,362,371,372,373,376,377,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[52,52,-60,-62,-63,-64,-65,-66,52,52,-67,-68,-52,52,52,52,-116,-93,-29,-97,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-61,52,-84,52,52,-89,-90,-91,-92,-83,-69,52,-53,-94,-152,-153,-308,-132,-133,-70,52,-85,52,52,-30,-135,-309,52,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-71,-35,-36,52,52,-154,-137,-139,-134,-202,-201,-218,-78,-80,52,-214,-215,-217,-31,-34,52,52,-155,-156,-136,-138,-203,-205,52,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'STRUCT':([0,2,4,5,6,7,8,9,10,13,14,15,17,18,19,22,23,25,45,46,47,48,49,50,51,52,55,58,59,61,62,77,78,80,81,82,83,84,85,86,97,101,104,105,106,107,115,128,131,133,139,140,141,143,144,146,147,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,250,252,255,265,266,272,274,283,284,285,287,288,290,329,333,336,352,353,362,371,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[53,53,-60,-62,-63,-64,-65,-66,53,-67,-68,-52,-310,-310,-310,53,-29,-97,-117,-118,-119,-95,-96,-98,-99,-100,-61,53,-84,53,53,-83,-69,53,-53,-86,-9,-10,-87,-88,-166,-308,53,-70,53,-85,53,53,-30,-167,53,53,53,-142,-309,-145,-146,53,53,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,53,-71,-35,-36,53,53,53,53,-143,-202,-201,53,-218,-78,-80,53,-214,-215,-217,53,53,53,-31,-34,53,53,-144,-203,-205,53,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'UNION':([0,2,4,5,6,7,8,9,10,13,14,15,17,18,19,22,23,25,45,46,47,48,49,50,51,52,55,58,59,61,62,77,78,80,81,82,83,84,85,86,97,101,104,105,106,107,115,128,131,133,139,140,141,143,144,146,147,149,152,153,154,155,156,157,158,159,160,161,162,168,211,228,229,230,239,250,252,255,265,266,272,274,283,284,285,287,288,290,329,333,336,352,353,362,371,378,382,385,391,396,399,400,443,444,459,492,493,495,496,520,522,528,530,],[54,54,-60,-62,-63,-64,-65,-66,54,-67,-68,-52,-310,-310,-310,54,-29,-97,-117,-118,-119,-95,-96,-98,-99,-100,-61,54,-84,54,54,-83,-69,54,-53,-86,-9,-10,-87,-88,-166,-308,54,-70,54,-85,54,54,-30,-167,54,54,54,-142,-309,-145,-146,54,54,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,54,-71,-35,-36,54,54,54,54,-143,-202,-201,54,-218,-78,-80,54,-214,-215,-217,54,54,54,-31,-34,54,54,-144,-203,-205,54,-79,-213,-216,-32,-33,-204,-206,-80,-208,-209,-207,-210,-212,-211,]),'LBRACE':([10,14,15,23,31,32,53,54,56,57,58,59,62,77,78,81,98,99,101,102,103,106,107,109,113,130,131,144,152,153,154,155,156,157,158,159,160,161,162,172,216,228,229,265,266,268,273,274,283,284,287,288,290,339,340,341,352,353,382,383,385,387,396,399,400,433,435,443,444,459,460,461,462,464,465,473,474,477,478,492,493,495,496,509,511,520,522,524,527,528,530,],[-310,-68,-52,-29,101,101,-140,-141,101,-7,-8,-84,-310,-83,-69,-53,101,101,-308,101,101,101,-85,101,101,101,-30,-309,101,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,101,-310,-35,-36,-202,-201,101,101,-218,101,-80,-214,-215,-217,-11,101,-12,-31,-34,-203,101,-205,101,-79,-213,-216,-310,-182,-32,-33,-204,101,101,-310,101,101,101,101,101,-11,-206,-80,-208,-209,101,-310,-207,-210,101,101,-212,-211,]),'RBRACE':([14,77,78,101,104,106,127,136,137,138,139,140,141,143,144,146,147,150,151,152,153,154,155,156,157,158,159,160,161,162,179,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,215,216,245,246,248,250,252,255,265,266,270,271,274,283,284,287,288,290,326,327,328,330,331,332,334,335,337,338,339,374,375,378,382,385,388,396,399,400,401,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,432,433,434,459,463,470,471,474,476,492,493,494,495,496,500,504,510,511,515,520,521,522,528,530,],[-68,-83,-69,-308,144,-310,-294,144,-157,-160,144,144,144,-142,-309,-145,-146,144,-5,-6,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-222,-257,-236,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-177,-310,144,144,-158,144,144,-143,-202,-201,-235,-257,-218,-78,-80,-214,-215,-217,-279,-280,-260,-261,-262,-263,-305,-307,144,-22,-21,-159,-161,-144,-203,-205,-287,-79,-213,-216,-223,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,-274,-275,-276,-277,-278,-178,144,-180,-204,-258,-272,-273,-264,-179,-206,-80,144,-208,-209,-237,-181,-281,144,-288,-207,-282,-210,-212,-211,]),'CASE':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,164,-309,164,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,164,-202,-201,164,164,-218,164,-80,-214,-215,-217,-203,164,-205,-79,-213,-216,-204,164,164,164,-206,-80,-208,-209,164,-207,-210,164,164,-212,-211,]),'DEFAULT':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,165,-309,165,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,165,-202,-201,165,165,-218,165,-80,-214,-215,-217,-203,165,-205,-79,-213,-216,-204,165,165,165,-206,-80,-208,-209,165,-207,-210,165,165,-212,-211,]),'IF':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,167,-309,167,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,167,-202,-201,167,167,-218,167,-80,-214,-215,-217,-203,167,-205,-79,-213,-216,-204,167,167,167,-206,-80,-208,-209,167,-207,-210,167,167,-212,-211,]),'SWITCH':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,170,-309,170,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,170,-202,-201,170,170,-218,170,-80,-214,-215,-217,-203,170,-205,-79,-213,-216,-204,170,170,170,-206,-80,-208,-209,170,-207,-210,170,170,-212,-211,]),'WHILE':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,282,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,171,-309,171,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,171,-202,-201,171,171,-218,395,171,-80,-214,-215,-217,-203,171,-205,-79,-213,-216,-204,171,171,171,-206,-80,-208,-209,171,-207,-210,171,171,-212,-211,]),'DO':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,172,-309,172,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,172,-202,-201,172,172,-218,172,-80,-214,-215,-217,-203,172,-205,-79,-213,-216,-204,172,172,172,-206,-80,-208,-209,172,-207,-210,172,172,-212,-211,]),'FOR':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,173,-309,173,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,173,-202,-201,173,173,-218,173,-80,-214,-215,-217,-203,173,-205,-79,-213,-216,-204,173,173,173,-206,-80,-208,-209,173,-207,-210,173,173,-212,-211,]),'GOTO':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,174,-309,174,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,174,-202,-201,174,174,-218,174,-80,-214,-215,-217,-203,174,-205,-79,-213,-216,-204,174,174,174,-206,-80,-208,-209,174,-207,-210,174,174,-212,-211,]),'BREAK':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,175,-309,175,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,175,-202,-201,175,175,-218,175,-80,-214,-215,-217,-203,175,-205,-79,-213,-216,-204,175,175,175,-206,-80,-208,-209,175,-207,-210,175,175,-212,-211,]),'CONTINUE':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,176,-309,176,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,176,-202,-201,176,176,-218,176,-80,-214,-215,-217,-203,176,-205,-79,-213,-216,-204,176,176,176,-206,-80,-208,-209,176,-207,-210,176,176,-212,-211,]),'RETURN':([14,77,78,101,106,144,152,153,154,155,156,157,158,159,160,161,162,172,265,266,268,273,274,283,284,287,288,290,382,383,385,396,399,400,459,461,464,465,492,493,495,496,509,520,522,524,527,528,530,],[-68,-83,-69,-308,177,-309,177,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,177,-202,-201,177,177,-218,177,-80,-214,-215,-217,-203,177,-205,-79,-213,-216,-204,177,177,177,-206,-80,-208,-209,177,-207,-210,177,177,-212,-211,]),'PLUSPLUS':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,127,130,133,144,152,153,154,155,156,157,158,159,160,161,162,163,164,168,172,177,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,326,327,329,333,334,335,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,388,396,398,399,400,423,425,426,427,428,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,470,471,472,477,478,483,484,485,492,493,495,496,499,509,510,511,513,515,517,520,521,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,183,183,-310,183,-310,-28,-294,183,-167,-309,183,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,183,183,183,183,326,183,183,183,183,-266,-267,-268,-265,-271,-269,-270,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-310,183,-310,-28,-266,183,183,-310,183,183,-202,-201,183,183,183,-218,183,183,183,183,183,-80,183,-214,-215,-217,183,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,-279,-280,183,183,-305,-307,-11,183,-12,183,-266,183,183,-310,183,183,183,-203,183,-205,183,-287,-79,183,-213,-216,-274,-275,-276,-277,-278,-310,-182,183,-310,-28,-266,-204,183,183,-310,183,183,183,183,183,-272,-273,183,183,-11,-266,183,183,-206,-80,-208,-209,183,183,-281,-310,183,-288,183,-207,-282,-210,183,183,-212,-211,]),'MINUSMINUS':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,127,130,133,144,152,153,154,155,156,157,158,159,160,161,162,163,164,168,172,177,182,183,184,185,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,326,327,329,333,334,335,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,388,396,398,399,400,423,425,426,427,428,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,470,471,472,477,478,483,484,485,492,493,495,496,499,509,510,511,513,515,517,520,521,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,184,184,-310,184,-310,-28,-294,184,-167,-309,184,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,184,184,184,184,327,184,184,184,184,-266,-267,-268,-265,-271,-269,-270,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-310,184,-310,-28,-266,184,184,-310,184,184,-202,-201,184,184,184,-218,184,184,184,184,184,-80,184,-214,-215,-217,184,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,-279,-280,184,184,-305,-307,-11,184,-12,184,-266,184,184,-310,184,184,184,-203,184,-205,184,-287,-79,184,-213,-216,-274,-275,-276,-277,-278,-310,-182,184,-310,-28,-266,-204,184,184,-310,184,184,184,184,184,-272,-273,184,184,-11,-266,184,184,-206,-80,-208,-209,184,184,-281,-310,184,-288,184,-207,-282,-210,184,184,-212,-211,]),'SIZEOF':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,187,187,-310,187,-310,-28,187,-167,-309,187,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,187,187,187,187,187,187,187,187,-266,-267,-268,-265,-269,-270,-310,187,-310,-28,-266,187,187,-310,187,187,-202,-201,187,187,187,-218,187,187,187,187,187,-80,187,-214,-215,-217,187,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,187,-11,187,-12,187,-266,187,187,-310,187,187,187,-203,187,-205,187,-79,187,-213,-216,-310,-182,187,-310,-28,-266,-204,187,187,-310,187,187,187,187,187,187,187,-11,-266,187,187,-206,-80,-208,-209,187,187,-310,187,187,-207,-210,187,187,-212,-211,]),'AND':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,127,130,133,144,152,153,154,155,156,157,158,159,160,161,162,163,164,168,172,177,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,216,217,218,219,223,226,227,240,249,263,265,266,268,271,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,326,327,328,329,330,331,332,333,334,335,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,388,396,398,399,400,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,433,435,445,446,447,455,459,460,461,462,463,464,465,466,467,469,470,471,472,474,477,478,483,484,485,492,493,495,496,499,509,510,511,513,515,517,520,521,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,191,191,-310,191,-310,-28,-294,191,-167,-309,191,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,191,191,191,191,-257,317,-259,191,191,191,-238,191,-266,-267,-268,-265,-271,-269,-270,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-310,191,-310,-28,-266,191,191,-310,191,191,-202,-201,191,-257,191,191,-218,191,191,191,191,191,-80,191,-214,-215,-217,191,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,-279,-280,-260,191,-261,-262,-263,191,-305,-307,-11,191,-12,191,-266,191,191,-310,191,191,191,-203,191,-205,191,-287,-79,191,-213,-216,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,317,317,317,317,-274,-275,-276,-277,-278,-310,-182,191,-310,-28,-266,-204,191,191,-310,-258,191,191,191,191,191,-272,-273,191,-264,191,-11,-266,191,191,-206,-80,-208,-209,191,191,-281,-310,191,-288,191,-207,-282,-210,191,191,-212,-211,]),'PLUS':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,127,130,133,144,152,153,154,155,156,157,158,159,160,161,162,163,164,168,172,177,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,216,217,218,219,223,226,227,240,249,263,265,266,268,271,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,326,327,328,329,330,331,332,333,334,335,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,388,396,398,399,400,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,433,435,445,446,447,455,459,460,461,462,463,464,465,466,467,469,470,471,472,474,477,478,483,484,485,492,493,495,496,499,509,510,511,513,515,517,520,521,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,189,189,-310,189,-310,-28,-294,189,-167,-309,189,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,189,189,189,189,-257,307,-259,189,189,189,-238,189,-266,-267,-268,-265,-271,-269,-270,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-310,189,-310,-28,-266,189,189,-310,189,189,-202,-201,189,-257,189,189,-218,189,189,189,189,189,-80,189,-214,-215,-217,189,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,189,-279,-280,-260,189,-261,-262,-263,189,-305,-307,-11,189,-12,189,-266,189,189,-310,189,189,189,-203,189,-205,189,-287,-79,189,-213,-216,-239,-240,-241,-242,-243,307,307,307,307,307,307,307,307,307,307,307,307,307,-274,-275,-276,-277,-278,-310,-182,189,-310,-28,-266,-204,189,189,-310,-258,189,189,189,189,189,-272,-273,189,-264,189,-11,-266,189,189,-206,-80,-208,-209,189,189,-281,-310,189,-288,189,-207,-282,-210,189,189,-212,-211,]),'MINUS':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,127,130,133,144,152,153,154,155,156,157,158,159,160,161,162,163,164,168,172,177,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,216,217,218,219,223,226,227,240,249,263,265,266,268,271,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,326,327,328,329,330,331,332,333,334,335,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,388,396,398,399,400,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,433,435,445,446,447,455,459,460,461,462,463,464,465,466,467,469,470,471,472,474,477,478,483,484,485,492,493,495,496,499,509,510,511,513,515,517,520,521,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,190,190,-310,190,-310,-28,-294,190,-167,-309,190,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,-294,190,190,190,190,-257,308,-259,190,190,190,-238,190,-266,-267,-268,-265,-271,-269,-270,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-310,190,-310,-28,-266,190,190,-310,190,190,-202,-201,190,-257,190,190,-218,190,190,190,190,190,-80,190,-214,-215,-217,190,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,190,-279,-280,-260,190,-261,-262,-263,190,-305,-307,-11,190,-12,190,-266,190,190,-310,190,190,190,-203,190,-205,190,-287,-79,190,-213,-216,-239,-240,-241,-242,-243,308,308,308,308,308,308,308,308,308,308,308,308,308,-274,-275,-276,-277,-278,-310,-182,190,-310,-28,-266,-204,190,190,-310,-258,190,190,190,190,190,-272,-273,190,-264,190,-11,-266,190,190,-206,-80,-208,-209,190,190,-281,-310,190,-288,190,-207,-282,-210,190,190,-212,-211,]),'NOT':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,193,193,-310,193,-310,-28,193,-167,-309,193,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,193,193,193,193,193,193,193,193,-266,-267,-268,-265,-269,-270,-310,193,-310,-28,-266,193,193,-310,193,193,-202,-201,193,193,193,-218,193,193,193,193,193,-80,193,-214,-215,-217,193,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,-11,193,-12,193,-266,193,193,-310,193,193,193,-203,193,-205,193,-79,193,-213,-216,-310,-182,193,-310,-28,-266,-204,193,193,-310,193,193,193,193,193,193,193,-11,-266,193,193,-206,-80,-208,-209,193,193,-310,193,193,-207,-210,193,193,-212,-211,]),'LNOT':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,194,194,-310,194,-310,-28,194,-167,-309,194,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,194,194,194,194,194,194,194,194,-266,-267,-268,-265,-269,-270,-310,194,-310,-28,-266,194,194,-310,194,194,-202,-201,194,194,194,-218,194,194,194,194,194,-80,194,-214,-215,-217,194,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,194,-11,194,-12,194,-266,194,194,-310,194,194,194,-203,194,-205,194,-79,194,-213,-216,-310,-182,194,-310,-28,-266,-204,194,194,-310,194,194,194,194,194,194,194,-11,-266,194,194,-206,-80,-208,-209,194,194,-310,194,194,-207,-210,194,194,-212,-211,]),'OFFSETOF':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,199,199,-310,199,-310,-28,199,-167,-309,199,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,199,199,199,199,199,199,199,199,-266,-267,-268,-265,-269,-270,-310,199,-310,-28,-266,199,199,-310,199,199,-202,-201,199,199,199,-218,199,199,199,199,199,-80,199,-214,-215,-217,199,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,-11,199,-12,199,-266,199,199,-310,199,199,199,-203,199,-205,199,-79,199,-213,-216,-310,-182,199,-310,-28,-266,-204,199,199,-310,199,199,199,199,199,199,199,-11,-266,199,199,-206,-80,-208,-209,199,199,-310,199,199,-207,-210,199,199,-212,-211,]),'INT_CONST_DEC':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,200,200,-310,200,-310,-28,200,-167,-309,200,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,200,200,200,200,200,200,200,200,-266,-267,-268,-265,-269,-270,-310,200,-310,-28,-266,200,200,-310,200,200,-202,-201,200,200,200,-218,200,200,200,200,200,-80,200,-214,-215,-217,200,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,-11,200,-12,200,-266,200,200,-310,200,200,200,-203,200,-205,200,-79,200,-213,-216,-310,-182,200,-310,-28,-266,-204,200,200,-310,200,200,200,200,200,200,200,-11,-266,200,200,-206,-80,-208,-209,200,200,-310,200,200,-207,-210,200,200,-212,-211,]),'INT_CONST_OCT':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,201,201,-310,201,-310,-28,201,-167,-309,201,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,201,201,201,201,201,201,201,201,-266,-267,-268,-265,-269,-270,-310,201,-310,-28,-266,201,201,-310,201,201,-202,-201,201,201,201,-218,201,201,201,201,201,-80,201,-214,-215,-217,201,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,201,-11,201,-12,201,-266,201,201,-310,201,201,201,-203,201,-205,201,-79,201,-213,-216,-310,-182,201,-310,-28,-266,-204,201,201,-310,201,201,201,201,201,201,201,-11,-266,201,201,-206,-80,-208,-209,201,201,-310,201,201,-207,-210,201,201,-212,-211,]),'INT_CONST_HEX':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,202,202,-310,202,-310,-28,202,-167,-309,202,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,202,202,202,202,202,202,202,202,-266,-267,-268,-265,-269,-270,-310,202,-310,-28,-266,202,202,-310,202,202,-202,-201,202,202,202,-218,202,202,202,202,202,-80,202,-214,-215,-217,202,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,-11,202,-12,202,-266,202,202,-310,202,202,202,-203,202,-205,202,-79,202,-213,-216,-310,-182,202,-310,-28,-266,-204,202,202,-310,202,202,202,202,202,202,202,-11,-266,202,202,-206,-80,-208,-209,202,202,-310,202,202,-207,-210,202,202,-212,-211,]),'INT_CONST_BIN':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,203,203,-310,203,-310,-28,203,-167,-309,203,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,203,203,203,203,203,203,203,203,-266,-267,-268,-265,-269,-270,-310,203,-310,-28,-266,203,203,-310,203,203,-202,-201,203,203,203,-218,203,203,203,203,203,-80,203,-214,-215,-217,203,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,-11,203,-12,203,-266,203,203,-310,203,203,203,-203,203,-205,203,-79,203,-213,-216,-310,-182,203,-310,-28,-266,-204,203,203,-310,203,203,203,203,203,203,203,-11,-266,203,203,-206,-80,-208,-209,203,203,-310,203,203,-207,-210,203,203,-212,-211,]),'INT_CONST_CHAR':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,204,204,-310,204,-310,-28,204,-167,-309,204,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,204,204,204,204,204,204,204,204,-266,-267,-268,-265,-269,-270,-310,204,-310,-28,-266,204,204,-310,204,204,-202,-201,204,204,204,-218,204,204,204,204,204,-80,204,-214,-215,-217,204,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,204,-11,204,-12,204,-266,204,204,-310,204,204,204,-203,204,-205,204,-79,204,-213,-216,-310,-182,204,-310,-28,-266,-204,204,204,-310,204,204,204,204,204,204,204,-11,-266,204,204,-206,-80,-208,-209,204,204,-310,204,204,-207,-210,204,204,-212,-211,]),'FLOAT_CONST':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,205,205,-310,205,-310,-28,205,-167,-309,205,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,205,205,205,205,205,205,205,205,-266,-267,-268,-265,-269,-270,-310,205,-310,-28,-266,205,205,-310,205,205,-202,-201,205,205,205,-218,205,205,205,205,205,-80,205,-214,-215,-217,205,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,205,-11,205,-12,205,-266,205,205,-310,205,205,205,-203,205,-205,205,-79,205,-213,-216,-310,-182,205,-310,-28,-266,-204,205,205,-310,205,205,205,205,205,205,205,-11,-266,205,205,-206,-80,-208,-209,205,205,-310,205,205,-207,-210,205,205,-212,-211,]),'HEX_FLOAT_CONST':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,206,206,-310,206,-310,-28,206,-167,-309,206,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,206,206,206,206,206,206,206,206,-266,-267,-268,-265,-269,-270,-310,206,-310,-28,-266,206,206,-310,206,206,-202,-201,206,206,206,-218,206,206,206,206,206,-80,206,-214,-215,-217,206,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,206,-11,206,-12,206,-266,206,206,-310,206,206,206,-203,206,-205,206,-79,206,-213,-216,-310,-182,206,-310,-28,-266,-204,206,206,-310,206,206,206,206,206,206,206,-11,-266,206,206,-206,-80,-208,-209,206,206,-310,206,206,-207,-210,206,206,-212,-211,]),'CHAR_CONST':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,207,207,-310,207,-310,-28,207,-167,-309,207,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,207,207,207,207,207,207,207,207,-266,-267,-268,-265,-269,-270,-310,207,-310,-28,-266,207,207,-310,207,207,-202,-201,207,207,207,-218,207,207,207,207,207,-80,207,-214,-215,-217,207,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,207,-11,207,-12,207,-266,207,207,-310,207,207,207,-203,207,-205,207,-79,207,-213,-216,-310,-182,207,-310,-28,-266,-204,207,207,-310,207,207,207,207,207,207,207,-11,-266,207,207,-206,-80,-208,-209,207,207,-310,207,207,-207,-210,207,207,-212,-211,]),'WCHAR_CONST':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,208,208,-310,208,-310,-28,208,-167,-309,208,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,208,208,208,208,208,208,208,208,-266,-267,-268,-265,-269,-270,-310,208,-310,-28,-266,208,208,-310,208,208,-202,-201,208,208,208,-218,208,208,208,208,208,-80,208,-214,-215,-217,208,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,-11,208,-12,208,-266,208,208,-310,208,208,208,-203,208,-205,208,-79,208,-213,-216,-310,-182,208,-310,-28,-266,-204,208,208,-310,208,208,208,208,208,208,208,-11,-266,208,208,-206,-80,-208,-209,208,208,-310,208,208,-207,-210,208,208,-212,-211,]),'STRING_LITERAL':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,197,209,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,334,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,209,209,-310,209,-310,-28,209,-167,-309,209,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,209,209,209,209,209,209,209,209,-266,-267,-268,-265,-269,-270,334,-304,-310,209,-310,-28,-266,209,209,-310,209,209,-202,-201,209,209,209,-218,209,209,209,209,209,-80,209,-214,-215,-217,209,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,209,-305,-11,209,-12,209,-266,209,209,-310,209,209,209,-203,209,-205,209,-79,209,-213,-216,-310,-182,209,-310,-28,-266,-204,209,209,-310,209,209,209,209,209,209,209,-11,-266,209,209,-206,-80,-208,-209,209,209,-310,209,209,-207,-210,209,209,-212,-211,]),'WSTRING_LITERAL':([14,45,46,47,77,78,79,95,96,97,101,106,113,114,116,117,118,130,133,144,152,153,154,155,156,157,158,159,160,161,162,164,168,172,177,183,184,185,187,188,189,190,191,193,194,198,210,216,217,218,219,223,226,227,240,249,263,265,266,268,272,273,274,275,279,280,281,283,284,285,287,288,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,335,339,340,341,344,347,348,349,361,368,370,380,382,383,385,387,396,398,399,400,433,435,445,446,447,455,459,460,461,462,464,465,466,467,469,472,477,478,483,484,485,492,493,495,496,499,509,511,513,517,520,522,524,527,528,530,],[-68,-117,-118,-119,-83,-69,-310,-27,-28,-166,-308,210,210,-310,210,-310,-28,210,-167,-309,210,-200,-198,-199,-72,-73,-74,-75,-76,-77,-78,210,210,210,210,210,210,210,210,-266,-267,-268,-265,-269,-270,335,-306,-310,210,-310,-28,-266,210,210,-310,210,210,-202,-201,210,210,210,-218,210,210,210,210,210,-80,210,-214,-215,-217,210,-224,-225,-226,-227,-228,-229,-230,-231,-232,-233,-234,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,-307,-11,210,-12,210,-266,210,210,-310,210,210,210,-203,210,-205,210,-79,210,-213,-216,-310,-182,210,-310,-28,-266,-204,210,210,-310,210,210,210,210,210,210,210,-11,-266,210,210,-206,-80,-208,-209,210,210,-310,210,210,-207,-210,210,210,-212,-211,]),'ELSE':([14,78,144,156,157,158,159,160,161,162,265,274,283,284,287,288,290,382,385,396,399,400,459,492,493,495,496,520,522,528,530,],[-68,-69,-309,-72,-73,-74,-75,-76,-77,-78,-202,-218,-78,-80,-214,-215,-217,-203,-205,-79,-213,-216,-204,-206,509,-208,-209,-207,-210,-212,-211,]),'PPPRAGMASTR':([14,],[78,]),'EQUALS':([15,23,62,73,74,75,76,81,92,108,110,127,131,138,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,213,228,229,271,326,327,328,330,331,332,334,335,342,343,350,351,352,353,388,423,425,426,427,428,436,438,439,440,443,444,463,470,471,474,479,480,481,510,515,521,],[-52,-29,-162,113,-163,-54,-37,-53,130,-162,-55,-294,-30,249,-309,-294,292,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-38,-35,-36,-257,-279,-280,-260,-261,-262,-263,-305,-307,435,-183,-43,-44,-31,-34,-287,-274,-275,-276,-277,-278,-184,-186,-39,-42,-32,-33,-258,-272,-273,-264,-185,-40,-41,-281,-288,-282,]),'COMMA':([15,20,21,23,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,62,63,64,65,66,70,72,73,74,75,76,81,87,90,91,92,94,95,96,97,98,99,102,103,108,110,121,123,124,125,126,127,131,132,133,136,137,138,142,144,148,163,169,178,179,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,212,213,214,215,228,229,232,233,234,235,236,237,238,241,242,243,244,245,246,247,248,251,253,254,257,258,260,261,262,264,270,271,277,278,289,326,327,328,330,331,332,334,335,338,350,351,352,353,357,358,359,360,372,373,374,375,376,377,381,386,388,389,390,392,393,394,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,431,432,434,439,440,443,444,450,451,453,457,458,463,470,471,474,476,480,481,486,487,488,489,490,491,494,497,500,501,504,505,506,510,515,518,519,521,526,],[-52,-116,-93,-29,-97,-310,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-162,-89,-90,-91,-92,111,-120,-122,-163,-54,-37,-53,-94,129,-124,-126,-164,-27,-28,-166,-152,-153,-132,-133,-162,-55,230,231,-170,-175,-310,-294,-30,-165,-167,248,-157,-160,-135,-309,-130,-294,279,-219,-222,-257,-236,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-121,-38,-123,-177,-35,-36,-172,-173,-174,-188,-56,-1,-2,-45,-190,-125,-127,248,248,-154,-158,-137,-139,-134,-128,-129,379,-147,-149,-131,-235,-257,279,-310,279,-279,-280,-260,-261,-262,-263,-305,-307,433,-43,-44,-31,-34,-171,-176,-57,-189,-155,-156,-159,-161,-136,-138,-151,279,-287,-187,-188,-220,279,279,-223,279,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,279,472,-274,-292,-275,-276,-277,-278,475,-178,-180,-39,-42,-32,-33,-191,-197,-195,-148,-150,-258,-272,-273,-264,-179,-40,-41,-50,-51,-193,-192,-194,-196,511,279,-237,-293,-181,-46,-49,-281,-288,-47,-48,-282,279,]),'RPAREN':([15,20,21,23,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,63,64,65,66,75,76,80,81,87,93,94,95,96,97,98,99,102,103,110,112,115,119,120,121,122,123,124,125,126,127,131,132,133,142,144,148,169,178,179,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,213,220,221,228,229,232,233,234,235,236,237,238,239,241,242,247,251,253,254,257,258,264,267,271,276,277,278,323,326,327,328,330,331,332,334,335,350,351,352,353,356,357,358,359,360,362,363,364,365,366,367,371,372,373,376,377,384,386,388,389,390,391,392,393,394,401,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,422,423,424,425,426,427,428,429,430,439,440,443,444,448,449,450,451,453,456,463,470,471,474,480,481,486,487,488,489,490,491,497,499,500,501,502,503,505,506,510,513,514,515,518,519,521,523,525,529,],[-52,-116,-93,-29,-97,-310,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-89,-90,-91,-92,-54,-37,-310,-53,-94,131,-164,-27,-28,-166,-152,-153,-132,-133,-55,213,-310,228,229,-168,-17,-18,-170,-175,-310,-294,-30,-165,-167,-135,-309,-130,-14,-219,-222,-257,-236,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-38,350,351,-35,-36,-172,-173,-174,-188,-56,-1,-2,-310,-45,-190,-154,-137,-139,-134,-128,-129,-131,-13,-257,387,388,-310,423,-279,-280,-260,-261,-262,-263,-305,-307,-43,-44,-31,-34,-169,-171,-176,-57,-189,-310,450,451,-188,-23,-24,-310,-155,-156,-136,-138,460,461,-287,-187,-188,-310,-220,464,465,-223,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,471,-274,-292,-275,-276,-277,-278,473,474,-39,-42,-32,-33,486,487,-191,-197,-195,491,-258,-272,-273,-264,-40,-41,-50,-51,-193,-192,-194,-196,512,-310,-237,-293,515,-289,-46,-49,-281,-310,524,-288,-47,-48,-282,527,-290,-291,]),'COLON':([15,20,23,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,74,75,76,81,98,99,102,103,108,110,127,131,142,144,145,148,163,165,178,179,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,213,228,229,247,251,253,254,257,258,262,264,269,270,271,326,327,328,330,331,332,334,335,350,351,352,353,372,373,376,377,379,388,392,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,439,440,443,444,463,470,471,474,480,481,500,510,515,521,],[-52,-116,-29,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-163,-54,-37,-53,-152,-153,-132,-133,-162,-55,-294,-30,-135,-309,263,-130,268,273,-219,-222,-257,-236,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-38,-35,-36,-154,-137,-139,-134,-128,-129,380,-131,383,-235,-257,-279,-280,-260,-261,-262,-263,-305,-307,-43,-44,-31,-34,-155,-156,-136,-138,263,-287,-220,-223,469,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,-274,-275,-276,-277,-278,-39,-42,-32,-33,-258,-272,-273,-264,-40,-41,-237,-281,-288,-282,]),'LBRACKET':([15,20,21,23,25,26,27,28,29,30,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,63,64,65,66,75,76,81,87,94,95,96,97,98,99,101,102,103,110,126,127,131,132,133,142,144,148,163,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,213,216,228,229,235,236,239,241,242,247,251,253,254,257,258,264,278,326,327,334,335,342,343,350,351,352,353,359,360,365,372,373,376,377,388,390,391,423,425,426,427,428,433,436,438,439,440,443,444,450,451,453,462,470,471,479,480,481,486,487,488,489,490,491,502,503,505,506,510,511,515,518,519,521,525,529,],[79,-116,-93,-29,-97,-310,-113,-114,-115,-221,-101,-102,-103,-104,-105,-106,-107,-108,-109,-110,-111,-112,-117,-118,-119,-95,-96,-98,-99,-100,-89,-90,-91,-92,114,-37,79,-94,-164,-27,-28,-166,-152,-153,-308,-132,-133,114,240,-294,-30,-165,-167,-135,-309,-130,-294,322,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-38,344,-35,-36,240,361,240,-45,370,-154,-137,-139,-134,-128,-129,-131,240,-279,-280,-305,-307,344,-183,-43,-44,-31,-34,361,370,240,-155,-156,-136,-138,-287,240,240,-274,-275,-276,-277,-278,344,-184,-186,-39,-42,-32,-33,-191,-197,-195,344,-272,-273,-185,-40,-41,-50,-51,-193,-192,-194,-196,517,-289,-46,-49,-281,344,-288,-47,-48,-282,-290,-291,]),'RBRACKET':([45,46,47,79,95,96,97,114,116,118,127,133,144,178,179,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,217,219,222,223,224,225,240,270,271,326,327,328,330,331,332,334,335,346,347,354,355,361,368,369,370,388,392,401,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,423,425,426,427,428,437,441,442,445,447,452,454,455,463,470,471,474,482,483,500,507,508,510,515,521,526,],[-117,-118,-119,-310,-27,-28,-166,-310,-310,-28,-294,-167,-309,-219,-222,-257,-236,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-310,-28,352,353,-3,-4,-310,-235,-257,-279,-280,-260,-261,-262,-263,-305,-307,439,440,443,444,-310,-310,453,-310,-287,-220,-223,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,470,-274,-275,-276,-277,-278,479,480,481,-310,-28,488,489,490,-258,-272,-273,-264,505,506,-237,518,519,-281,-288,-282,529,]),'PERIOD':([101,127,144,163,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,216,326,327,334,335,342,343,388,423,425,426,427,428,433,436,438,462,470,471,479,502,503,510,511,515,521,525,529,],[-308,-294,-309,-294,324,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,345,-279,-280,-305,-307,345,-183,-287,-274,-275,-276,-277,-278,345,-184,-186,345,-272,-273,-185,516,-289,-281,345,-288,-282,-290,-291,]),'ARROW':([127,144,163,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,326,327,334,335,388,423,425,426,427,428,470,471,510,515,521,],[-294,-309,-294,325,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-279,-280,-305,-307,-287,-274,-275,-276,-277,-278,-272,-273,-281,-288,-282,]),'XOREQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,293,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'TIMESEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,294,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'DIVEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,295,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'MODEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,296,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'PLUSEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,297,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'MINUSEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,298,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'LSHIFTEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,299,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'RSHIFTEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,300,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'ANDEQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,301,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'OREQUAL':([127,144,163,180,182,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,302,-259,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'CONDOP':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,303,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'DIVIDE':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,305,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,305,305,305,305,305,305,305,305,305,305,305,305,305,305,305,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'MOD':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,306,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,306,306,306,306,306,306,306,306,306,306,306,306,306,306,306,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'RSHIFT':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,309,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,309,309,309,309,309,309,309,309,309,309,309,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'LSHIFT':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,310,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,310,310,310,310,310,310,310,310,310,310,310,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'LT':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,311,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,311,311,311,311,311,311,311,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'LE':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,312,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,312,312,312,312,312,312,312,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'GE':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,313,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,313,313,313,313,313,313,313,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'GT':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,314,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,314,314,314,314,314,314,314,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'EQ':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,315,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,315,315,315,315,315,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'NE':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,316,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,316,316,316,316,316,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'OR':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,318,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,318,318,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'XOR':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,319,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,319,-254,319,319,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'LAND':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,320,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,320,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'LOR':([127,144,163,180,181,182,186,192,195,196,197,198,200,201,202,203,204,205,206,207,208,209,210,271,326,327,328,330,331,332,334,335,388,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,423,425,426,427,428,463,470,471,474,510,515,521,],[-294,-309,-294,-257,321,-259,-238,-271,-283,-284,-285,-286,-295,-296,-297,-298,-299,-300,-301,-302,-303,-304,-306,-257,-279,-280,-260,-261,-262,-263,-305,-307,-287,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,-253,-254,-255,-256,-274,-275,-276,-277,-278,-258,-272,-273,-264,-281,-288,-282,]),'ELLIPSIS':([230,],[356,]),}
_lr_action = {}
for _k, _v in _lr_action_items.items():
for _x,_y in zip(_v[0],_v[1]):
if not _x in _lr_action: _lr_action[_x] = {}
_lr_action[_x][_k] = _y
del _lr_action_items
_lr_goto_items = {'translation_unit_or_empty':([0,],[1,]),'translation_unit':([0,],[2,]),'empty':([0,10,11,17,18,19,22,26,60,61,62,79,80,106,114,115,116,117,126,145,152,172,216,217,218,239,240,268,273,278,283,285,361,362,368,370,371,383,391,398,433,445,446,461,462,464,465,467,499,509,511,513,524,527,],[3,57,69,83,83,83,89,95,69,89,57,95,122,151,95,122,224,95,237,259,267,267,339,224,95,366,95,267,267,237,267,267,95,122,224,224,366,267,366,267,478,224,95,267,478,267,267,267,267,267,478,267,267,267,]),'external_declaration':([0,2,],[4,55,]),'function_definition':([0,2,],[5,5,]),'declaration':([0,2,10,58,62,106,152,285,],[6,6,59,107,59,154,154,398,]),'pp_directive':([0,2,],[7,7,]),'pppragma_directive':([0,2,104,106,139,140,141,152,172,250,252,268,273,283,383,461,464,465,509,524,527,],[8,8,147,162,147,147,147,162,283,147,147,283,283,162,283,283,283,283,283,283,283,]),'id_declarator':([0,2,11,22,24,60,61,71,111,126,129,145,239,379,],[10,10,62,92,93,108,92,93,108,232,108,108,93,108,]),'declaration_specifiers':([0,2,10,58,62,80,106,115,152,230,239,285,362,371,391,],[11,11,60,60,60,126,60,126,60,126,126,60,126,126,126,]),'decl_body':([0,2,10,58,62,106,152,285,],[12,12,12,12,12,12,12,12,]),'direct_id_declarator':([0,2,11,16,22,24,60,61,68,71,111,126,129,145,235,239,365,379,],[15,15,15,81,15,15,15,15,81,15,15,15,15,15,81,15,81,15,]),'pointer':([0,2,11,22,24,60,61,71,94,111,126,129,145,239,278,379,391,],[16,16,68,16,16,68,16,68,132,68,235,68,68,365,390,68,390,]),'type_qualifier':([0,2,10,11,17,18,19,26,58,60,62,79,80,96,104,106,114,115,117,118,126,139,140,141,145,149,152,168,218,219,230,239,240,250,252,272,278,285,329,333,336,361,362,371,391,446,447,],[17,17,17,63,17,17,17,97,17,63,17,97,17,133,97,17,97,17,97,133,63,97,97,97,258,133,17,97,97,133,17,17,97,97,97,97,258,17,97,97,97,97,17,17,17,97,133,]),'storage_class_specifier':([0,2,10,11,17,18,19,58,60,62,80,106,115,126,152,230,239,285,362,371,391,],[18,18,18,64,18,18,18,18,64,18,18,18,18,64,18,18,18,18,18,18,18,]),'function_specifier':([0,2,10,11,17,18,19,58,60,62,80,106,115,126,152,230,239,285,362,371,391,],[19,19,19,65,19,19,19,19,65,19,19,19,19,65,19,19,19,19,19,19,19,]),'type_specifier_no_typeid':([0,2,10,11,22,58,60,61,62,80,104,106,115,126,128,139,140,141,145,149,152,168,230,239,250,252,272,278,285,329,333,336,362,371,391,],[20,20,20,66,20,20,66,20,20,20,20,20,20,66,20,20,20,20,257,20,20,20,20,20,20,20,20,257,20,20,20,20,20,20,20,]),'type_specifier':([0,2,10,22,58,61,62,80,104,106,115,128,139,140,141,149,152,168,230,239,250,252,272,285,329,333,336,362,371,391,],[21,21,21,87,21,87,21,21,148,21,21,87,148,148,148,264,21,148,21,21,148,148,148,21,148,148,148,21,21,21,]),'declaration_specifiers_no_type':([0,2,10,17,18,19,58,62,80,106,115,152,230,239,285,362,371,391,],[22,22,61,84,84,84,61,61,128,61,128,61,128,128,61,128,128,128,]),'typedef_name':([0,2,10,22,58,61,62,80,104,106,115,128,139,140,141,149,152,168,230,239,250,252,272,285,329,333,336,362,371,391,],[27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,]),'enum_specifier':([0,2,10,22,58,61,62,80,104,106,115,128,139,140,141,149,152,168,230,239,250,252,272,285,329,333,336,362,371,391,],[28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,]),'struct_or_union_specifier':([0,2,10,22,58,61,62,80,104,106,115,128,139,140,141,149,152,168,230,239,250,252,272,285,329,333,336,362,371,391,],[29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,]),'struct_or_union':([0,2,10,22,58,61,62,80,104,106,115,128,139,140,141,149,152,168,230,239,250,252,272,285,329,333,336,362,371,391,],[32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,]),'declaration_list_opt':([10,62,],[56,109,]),'declaration_list':([10,62,],[58,58,]),'init_declarator_list_opt':([11,60,],[67,67,]),'init_declarator_list':([11,60,],[70,70,]),'init_declarator':([11,60,111,129,],[72,72,212,243,]),'declarator':([11,60,111,129,145,379,],[73,73,73,73,262,262,]),'typeid_declarator':([11,60,71,111,129,145,379,],[74,74,112,74,74,74,74,]),'direct_typeid_declarator':([11,60,68,71,111,129,145,379,],[75,75,110,75,75,75,75,75,]),'declaration_specifiers_no_type_opt':([17,18,19,],[82,85,86,]),'id_init_declarator_list_opt':([22,61,],[88,88,]),'id_init_declarator_list':([22,61,],[90,90,]),'id_init_declarator':([22,61,],[91,91,]),'type_qualifier_list_opt':([26,79,114,117,218,240,361,446,],[94,116,217,226,348,368,445,484,]),'type_qualifier_list':([26,79,104,114,117,139,140,141,168,218,240,250,252,272,329,333,336,361,446,],[96,118,149,219,96,149,149,149,149,96,96,149,149,149,149,149,149,447,96,]),'brace_open':([31,32,56,98,99,102,103,106,109,113,130,152,172,268,273,283,340,383,387,460,461,464,465,473,474,477,509,524,527,],[100,104,106,134,135,139,140,106,106,216,216,106,106,106,106,106,216,106,462,462,106,106,106,462,462,216,106,106,106,]),'compound_statement':([56,106,109,152,172,268,273,283,383,461,464,465,509,524,527,],[105,158,211,158,158,158,158,158,158,158,158,158,158,158,158,]),'parameter_type_list':([80,115,239,362,371,391,],[119,220,367,448,367,367,]),'identifier_list_opt':([80,115,362,],[120,221,449,]),'parameter_list':([80,115,239,362,371,391,],[121,121,121,121,121,121,]),'identifier_list':([80,115,362,],[123,123,123,]),'parameter_declaration':([80,115,230,239,362,371,391,],[124,124,357,124,124,124,124,]),'identifier':([80,106,113,115,116,130,152,164,168,172,177,183,184,185,187,217,226,227,231,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,345,348,349,362,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,475,477,484,485,499,509,513,516,517,524,527,],[125,195,195,125,195,195,195,195,195,195,195,195,195,195,195,195,195,195,358,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,438,195,195,125,195,195,195,195,195,195,195,195,195,195,195,195,195,195,195,503,195,195,195,195,195,195,525,195,195,195,]),'enumerator_list':([100,134,135,],[136,245,246,]),'enumerator':([100,134,135,248,],[137,137,137,374,]),'struct_declaration_list':([104,139,140,],[141,250,252,]),'brace_close':([104,136,139,140,141,150,245,246,250,252,337,433,494,511,],[142,247,251,253,254,265,372,373,376,377,432,476,510,521,]),'struct_declaration':([104,139,140,141,250,252,],[143,143,143,255,255,255,]),'specifier_qualifier_list':([104,139,140,141,168,250,252,272,329,333,336,],[145,145,145,145,278,145,145,278,278,278,278,]),'block_item_list_opt':([106,],[150,]),'block_item_list':([106,],[152,]),'block_item':([106,152,],[153,266,]),'statement':([106,152,172,268,273,283,383,461,464,465,509,524,527,],[155,155,284,284,284,396,284,493,284,284,284,284,284,]),'labeled_statement':([106,152,172,268,273,283,383,461,464,465,509,524,527,],[156,156,156,156,156,156,156,156,156,156,156,156,156,]),'expression_statement':([106,152,172,268,273,283,383,461,464,465,509,524,527,],[157,157,157,157,157,157,157,157,157,157,157,157,157,]),'selection_statement':([106,152,172,268,273,283,383,461,464,465,509,524,527,],[159,159,159,159,159,159,159,159,159,159,159,159,159,]),'iteration_statement':([106,152,172,268,273,283,383,461,464,465,509,524,527,],[160,160,160,160,160,160,160,160,160,160,160,160,160,]),'jump_statement':([106,152,172,268,273,283,383,461,464,465,509,524,527,],[161,161,161,161,161,161,161,161,161,161,161,161,161,]),'expression_opt':([106,152,172,268,273,283,285,383,398,461,464,465,467,499,509,513,524,527,],[166,166,166,166,166,166,397,166,468,166,166,166,498,514,166,523,166,166,]),'expression':([106,152,168,172,177,268,272,273,275,280,281,283,285,303,322,329,333,383,398,461,464,465,466,467,499,509,513,517,524,527,],[169,169,277,169,289,169,277,169,386,393,394,169,169,402,421,277,277,169,169,169,169,169,497,169,169,169,169,526,169,169,]),'assignment_expression':([106,113,116,130,152,168,172,177,217,226,227,268,272,273,275,279,280,281,283,285,291,303,322,323,329,333,340,348,349,368,370,383,398,445,461,464,465,466,467,472,477,484,485,499,509,513,517,524,527,],[178,215,225,215,178,178,178,178,225,354,355,178,178,178,178,392,178,178,178,178,401,178,178,424,178,178,215,441,442,225,225,178,178,225,178,178,178,178,178,501,215,507,508,178,178,178,178,178,178,]),'conditional_expression':([106,113,116,130,152,164,168,172,177,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,322,323,329,333,340,344,348,349,368,370,380,383,398,445,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[179,179,179,179,179,270,179,179,179,179,179,179,270,270,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,270,179,179,179,179,270,179,179,179,179,179,179,179,179,500,179,179,179,179,179,179,179,179,179,179,]),'unary_expression':([106,113,116,130,152,164,168,172,177,183,184,185,187,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[180,180,180,180,180,271,180,180,180,328,330,271,332,180,180,180,271,271,180,180,180,180,180,180,180,180,180,180,180,271,271,271,271,271,271,271,271,271,271,271,271,271,271,271,271,271,271,180,180,180,180,180,271,180,180,180,180,271,180,271,180,180,271,180,180,180,180,180,271,180,180,180,180,180,180,180,180,180,180,]),'binary_expression':([106,113,116,130,152,164,168,172,177,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,398,445,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,181,]),'postfix_expression':([106,113,116,130,152,164,168,172,177,183,184,185,187,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,182,]),'unary_operator':([106,113,116,130,152,164,168,172,177,183,184,185,187,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,185,]),'cast_expression':([106,113,116,130,152,164,168,172,177,185,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[186,186,186,186,186,186,186,186,186,331,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,463,186,186,463,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,186,]),'primary_expression':([106,113,116,130,152,164,168,172,177,183,184,185,187,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,]),'constant':([106,113,116,130,152,164,168,172,177,183,184,185,187,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,196,]),'unified_string_literal':([106,113,116,130,152,164,168,172,177,183,184,185,187,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,197,]),'unified_wstring_literal':([106,113,116,130,152,164,168,172,177,183,184,185,187,217,226,227,249,263,268,272,273,275,279,280,281,283,285,291,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,329,333,340,344,348,349,368,370,380,383,387,398,445,460,461,464,465,466,467,469,472,477,484,485,499,509,513,517,524,527,],[198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,198,]),'initializer':([113,130,340,477,],[214,244,434,504,]),'assignment_expression_opt':([116,217,368,370,445,],[222,346,452,454,482,]),'typeid_noparen_declarator':([126,],[233,]),'abstract_declarator_opt':([126,278,],[234,389,]),'direct_typeid_noparen_declarator':([126,235,],[236,359,]),'abstract_declarator':([126,239,278,391,],[238,363,238,363,]),'direct_abstract_declarator':([126,235,239,278,365,390,391,],[242,360,242,242,360,360,242,]),'struct_declarator_list_opt':([145,],[256,]),'struct_declarator_list':([145,],[260,]),'struct_declarator':([145,379,],[261,457,]),'constant_expression':([164,249,263,344,380,],[269,375,381,437,458,]),'type_name':([168,272,329,333,336,],[276,384,429,430,431,]),'pragmacomp_or_statement':([172,268,273,383,461,464,465,509,524,527,],[282,382,385,459,492,495,496,520,528,530,]),'assignment_operator':([180,],[291,]),'initializer_list_opt':([216,],[337,]),'initializer_list':([216,462,],[338,494,]),'designation_opt':([216,433,462,511,],[340,477,340,477,]),'designation':([216,433,462,511,],[341,341,341,341,]),'designator_list':([216,433,462,511,],[342,342,342,342,]),'designator':([216,342,433,462,511,],[343,436,343,343,343,]),'parameter_type_list_opt':([239,371,391,],[364,456,364,]),'argument_expression_list':([323,],[422,]),'offsetof_member_designator':([475,],[502,]),}
_lr_goto = {}
for _k, _v in _lr_goto_items.items():
for _x, _y in zip(_v[0], _v[1]):
if not _x in _lr_goto: _lr_goto[_x] = {}
_lr_goto[_x][_k] = _y
del _lr_goto_items
_lr_productions = [
("S' -> translation_unit_or_empty","S'",1,None,None,None),
('abstract_declarator_opt -> empty','abstract_declarator_opt',1,'p_abstract_declarator_opt','plyparser.py',43),
('abstract_declarator_opt -> abstract_declarator','abstract_declarator_opt',1,'p_abstract_declarator_opt','plyparser.py',44),
('assignment_expression_opt -> empty','assignment_expression_opt',1,'p_assignment_expression_opt','plyparser.py',43),
('assignment_expression_opt -> assignment_expression','assignment_expression_opt',1,'p_assignment_expression_opt','plyparser.py',44),
('block_item_list_opt -> empty','block_item_list_opt',1,'p_block_item_list_opt','plyparser.py',43),
('block_item_list_opt -> block_item_list','block_item_list_opt',1,'p_block_item_list_opt','plyparser.py',44),
('declaration_list_opt -> empty','declaration_list_opt',1,'p_declaration_list_opt','plyparser.py',43),
('declaration_list_opt -> declaration_list','declaration_list_opt',1,'p_declaration_list_opt','plyparser.py',44),
('declaration_specifiers_no_type_opt -> empty','declaration_specifiers_no_type_opt',1,'p_declaration_specifiers_no_type_opt','plyparser.py',43),
('declaration_specifiers_no_type_opt -> declaration_specifiers_no_type','declaration_specifiers_no_type_opt',1,'p_declaration_specifiers_no_type_opt','plyparser.py',44),
('designation_opt -> empty','designation_opt',1,'p_designation_opt','plyparser.py',43),
('designation_opt -> designation','designation_opt',1,'p_designation_opt','plyparser.py',44),
('expression_opt -> empty','expression_opt',1,'p_expression_opt','plyparser.py',43),
('expression_opt -> expression','expression_opt',1,'p_expression_opt','plyparser.py',44),
('id_init_declarator_list_opt -> empty','id_init_declarator_list_opt',1,'p_id_init_declarator_list_opt','plyparser.py',43),
('id_init_declarator_list_opt -> id_init_declarator_list','id_init_declarator_list_opt',1,'p_id_init_declarator_list_opt','plyparser.py',44),
('identifier_list_opt -> empty','identifier_list_opt',1,'p_identifier_list_opt','plyparser.py',43),
('identifier_list_opt -> identifier_list','identifier_list_opt',1,'p_identifier_list_opt','plyparser.py',44),
('init_declarator_list_opt -> empty','init_declarator_list_opt',1,'p_init_declarator_list_opt','plyparser.py',43),
('init_declarator_list_opt -> init_declarator_list','init_declarator_list_opt',1,'p_init_declarator_list_opt','plyparser.py',44),
('initializer_list_opt -> empty','initializer_list_opt',1,'p_initializer_list_opt','plyparser.py',43),
('initializer_list_opt -> initializer_list','initializer_list_opt',1,'p_initializer_list_opt','plyparser.py',44),
('parameter_type_list_opt -> empty','parameter_type_list_opt',1,'p_parameter_type_list_opt','plyparser.py',43),
('parameter_type_list_opt -> parameter_type_list','parameter_type_list_opt',1,'p_parameter_type_list_opt','plyparser.py',44),
('struct_declarator_list_opt -> empty','struct_declarator_list_opt',1,'p_struct_declarator_list_opt','plyparser.py',43),
('struct_declarator_list_opt -> struct_declarator_list','struct_declarator_list_opt',1,'p_struct_declarator_list_opt','plyparser.py',44),
('type_qualifier_list_opt -> empty','type_qualifier_list_opt',1,'p_type_qualifier_list_opt','plyparser.py',43),
('type_qualifier_list_opt -> type_qualifier_list','type_qualifier_list_opt',1,'p_type_qualifier_list_opt','plyparser.py',44),
('direct_id_declarator -> ID','direct_id_declarator',1,'p_direct_id_declarator_1','plyparser.py',126),
('direct_id_declarator -> LPAREN id_declarator RPAREN','direct_id_declarator',3,'p_direct_id_declarator_2','plyparser.py',126),
('direct_id_declarator -> direct_id_declarator LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET','direct_id_declarator',5,'p_direct_id_declarator_3','plyparser.py',126),
('direct_id_declarator -> direct_id_declarator LBRACKET STATIC type_qualifier_list_opt assignment_expression RBRACKET','direct_id_declarator',6,'p_direct_id_declarator_4','plyparser.py',126),
('direct_id_declarator -> direct_id_declarator LBRACKET type_qualifier_list STATIC assignment_expression RBRACKET','direct_id_declarator',6,'p_direct_id_declarator_4','plyparser.py',127),
('direct_id_declarator -> direct_id_declarator LBRACKET type_qualifier_list_opt TIMES RBRACKET','direct_id_declarator',5,'p_direct_id_declarator_5','plyparser.py',126),
('direct_id_declarator -> direct_id_declarator LPAREN parameter_type_list RPAREN','direct_id_declarator',4,'p_direct_id_declarator_6','plyparser.py',126),
('direct_id_declarator -> direct_id_declarator LPAREN identifier_list_opt RPAREN','direct_id_declarator',4,'p_direct_id_declarator_6','plyparser.py',127),
('direct_typeid_declarator -> TYPEID','direct_typeid_declarator',1,'p_direct_typeid_declarator_1','plyparser.py',126),
('direct_typeid_declarator -> LPAREN typeid_declarator RPAREN','direct_typeid_declarator',3,'p_direct_typeid_declarator_2','plyparser.py',126),
('direct_typeid_declarator -> direct_typeid_declarator LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET','direct_typeid_declarator',5,'p_direct_typeid_declarator_3','plyparser.py',126),
('direct_typeid_declarator -> direct_typeid_declarator LBRACKET STATIC type_qualifier_list_opt assignment_expression RBRACKET','direct_typeid_declarator',6,'p_direct_typeid_declarator_4','plyparser.py',126),
('direct_typeid_declarator -> direct_typeid_declarator LBRACKET type_qualifier_list STATIC assignment_expression RBRACKET','direct_typeid_declarator',6,'p_direct_typeid_declarator_4','plyparser.py',127),
('direct_typeid_declarator -> direct_typeid_declarator LBRACKET type_qualifier_list_opt TIMES RBRACKET','direct_typeid_declarator',5,'p_direct_typeid_declarator_5','plyparser.py',126),
('direct_typeid_declarator -> direct_typeid_declarator LPAREN parameter_type_list RPAREN','direct_typeid_declarator',4,'p_direct_typeid_declarator_6','plyparser.py',126),
('direct_typeid_declarator -> direct_typeid_declarator LPAREN identifier_list_opt RPAREN','direct_typeid_declarator',4,'p_direct_typeid_declarator_6','plyparser.py',127),
('direct_typeid_noparen_declarator -> TYPEID','direct_typeid_noparen_declarator',1,'p_direct_typeid_noparen_declarator_1','plyparser.py',126),
('direct_typeid_noparen_declarator -> direct_typeid_noparen_declarator LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET','direct_typeid_noparen_declarator',5,'p_direct_typeid_noparen_declarator_3','plyparser.py',126),
('direct_typeid_noparen_declarator -> direct_typeid_noparen_declarator LBRACKET STATIC type_qualifier_list_opt assignment_expression RBRACKET','direct_typeid_noparen_declarator',6,'p_direct_typeid_noparen_declarator_4','plyparser.py',126),
('direct_typeid_noparen_declarator -> direct_typeid_noparen_declarator LBRACKET type_qualifier_list STATIC assignment_expression RBRACKET','direct_typeid_noparen_declarator',6,'p_direct_typeid_noparen_declarator_4','plyparser.py',127),
('direct_typeid_noparen_declarator -> direct_typeid_noparen_declarator LBRACKET type_qualifier_list_opt TIMES RBRACKET','direct_typeid_noparen_declarator',5,'p_direct_typeid_noparen_declarator_5','plyparser.py',126),
('direct_typeid_noparen_declarator -> direct_typeid_noparen_declarator LPAREN parameter_type_list RPAREN','direct_typeid_noparen_declarator',4,'p_direct_typeid_noparen_declarator_6','plyparser.py',126),
('direct_typeid_noparen_declarator -> direct_typeid_noparen_declarator LPAREN identifier_list_opt RPAREN','direct_typeid_noparen_declarator',4,'p_direct_typeid_noparen_declarator_6','plyparser.py',127),
('id_declarator -> direct_id_declarator','id_declarator',1,'p_id_declarator_1','plyparser.py',126),
('id_declarator -> pointer direct_id_declarator','id_declarator',2,'p_id_declarator_2','plyparser.py',126),
('typeid_declarator -> direct_typeid_declarator','typeid_declarator',1,'p_typeid_declarator_1','plyparser.py',126),
('typeid_declarator -> pointer direct_typeid_declarator','typeid_declarator',2,'p_typeid_declarator_2','plyparser.py',126),
('typeid_noparen_declarator -> direct_typeid_noparen_declarator','typeid_noparen_declarator',1,'p_typeid_noparen_declarator_1','plyparser.py',126),
('typeid_noparen_declarator -> pointer direct_typeid_noparen_declarator','typeid_noparen_declarator',2,'p_typeid_noparen_declarator_2','plyparser.py',126),
('translation_unit_or_empty -> translation_unit','translation_unit_or_empty',1,'p_translation_unit_or_empty','c_parser.py',517),
('translation_unit_or_empty -> empty','translation_unit_or_empty',1,'p_translation_unit_or_empty','c_parser.py',518),
('translation_unit -> external_declaration','translation_unit',1,'p_translation_unit_1','c_parser.py',526),
('translation_unit -> translation_unit external_declaration','translation_unit',2,'p_translation_unit_2','c_parser.py',533),
('external_declaration -> function_definition','external_declaration',1,'p_external_declaration_1','c_parser.py',544),
('external_declaration -> declaration','external_declaration',1,'p_external_declaration_2','c_parser.py',549),
('external_declaration -> pp_directive','external_declaration',1,'p_external_declaration_3','c_parser.py',554),
('external_declaration -> pppragma_directive','external_declaration',1,'p_external_declaration_3','c_parser.py',555),
('external_declaration -> SEMI','external_declaration',1,'p_external_declaration_4','c_parser.py',560),
('pp_directive -> PPHASH','pp_directive',1,'p_pp_directive','c_parser.py',565),
('pppragma_directive -> PPPRAGMA','pppragma_directive',1,'p_pppragma_directive','c_parser.py',571),
('pppragma_directive -> PPPRAGMA PPPRAGMASTR','pppragma_directive',2,'p_pppragma_directive','c_parser.py',572),
('function_definition -> id_declarator declaration_list_opt compound_statement','function_definition',3,'p_function_definition_1','c_parser.py',583),
('function_definition -> declaration_specifiers id_declarator declaration_list_opt compound_statement','function_definition',4,'p_function_definition_2','c_parser.py',600),
('statement -> labeled_statement','statement',1,'p_statement','c_parser.py',611),
('statement -> expression_statement','statement',1,'p_statement','c_parser.py',612),
('statement -> compound_statement','statement',1,'p_statement','c_parser.py',613),
('statement -> selection_statement','statement',1,'p_statement','c_parser.py',614),
('statement -> iteration_statement','statement',1,'p_statement','c_parser.py',615),
('statement -> jump_statement','statement',1,'p_statement','c_parser.py',616),
('statement -> pppragma_directive','statement',1,'p_statement','c_parser.py',617),
('pragmacomp_or_statement -> pppragma_directive statement','pragmacomp_or_statement',2,'p_pragmacomp_or_statement','c_parser.py',664),
('pragmacomp_or_statement -> statement','pragmacomp_or_statement',1,'p_pragmacomp_or_statement','c_parser.py',665),
('decl_body -> declaration_specifiers init_declarator_list_opt','decl_body',2,'p_decl_body','c_parser.py',684),
('decl_body -> declaration_specifiers_no_type id_init_declarator_list_opt','decl_body',2,'p_decl_body','c_parser.py',685),
('declaration -> decl_body SEMI','declaration',2,'p_declaration','c_parser.py',744),
('declaration_list -> declaration','declaration_list',1,'p_declaration_list','c_parser.py',753),
('declaration_list -> declaration_list declaration','declaration_list',2,'p_declaration_list','c_parser.py',754),
('declaration_specifiers_no_type -> type_qualifier declaration_specifiers_no_type_opt','declaration_specifiers_no_type',2,'p_declaration_specifiers_no_type_1','c_parser.py',764),
('declaration_specifiers_no_type -> storage_class_specifier declaration_specifiers_no_type_opt','declaration_specifiers_no_type',2,'p_declaration_specifiers_no_type_2','c_parser.py',769),
('declaration_specifiers_no_type -> function_specifier declaration_specifiers_no_type_opt','declaration_specifiers_no_type',2,'p_declaration_specifiers_no_type_3','c_parser.py',774),
('declaration_specifiers -> declaration_specifiers type_qualifier','declaration_specifiers',2,'p_declaration_specifiers_1','c_parser.py',780),
('declaration_specifiers -> declaration_specifiers storage_class_specifier','declaration_specifiers',2,'p_declaration_specifiers_2','c_parser.py',785),
('declaration_specifiers -> declaration_specifiers function_specifier','declaration_specifiers',2,'p_declaration_specifiers_3','c_parser.py',790),
('declaration_specifiers -> declaration_specifiers type_specifier_no_typeid','declaration_specifiers',2,'p_declaration_specifiers_4','c_parser.py',795),
('declaration_specifiers -> type_specifier','declaration_specifiers',1,'p_declaration_specifiers_5','c_parser.py',800),
('declaration_specifiers -> declaration_specifiers_no_type type_specifier','declaration_specifiers',2,'p_declaration_specifiers_6','c_parser.py',805),
('storage_class_specifier -> AUTO','storage_class_specifier',1,'p_storage_class_specifier','c_parser.py',811),
('storage_class_specifier -> REGISTER','storage_class_specifier',1,'p_storage_class_specifier','c_parser.py',812),
('storage_class_specifier -> STATIC','storage_class_specifier',1,'p_storage_class_specifier','c_parser.py',813),
('storage_class_specifier -> EXTERN','storage_class_specifier',1,'p_storage_class_specifier','c_parser.py',814),
('storage_class_specifier -> TYPEDEF','storage_class_specifier',1,'p_storage_class_specifier','c_parser.py',815),
('function_specifier -> INLINE','function_specifier',1,'p_function_specifier','c_parser.py',820),
('type_specifier_no_typeid -> VOID','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',825),
('type_specifier_no_typeid -> _BOOL','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',826),
('type_specifier_no_typeid -> CHAR','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',827),
('type_specifier_no_typeid -> SHORT','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',828),
('type_specifier_no_typeid -> INT','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',829),
('type_specifier_no_typeid -> LONG','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',830),
('type_specifier_no_typeid -> FLOAT','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',831),
('type_specifier_no_typeid -> DOUBLE','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',832),
('type_specifier_no_typeid -> _COMPLEX','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',833),
('type_specifier_no_typeid -> SIGNED','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',834),
('type_specifier_no_typeid -> UNSIGNED','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',835),
('type_specifier_no_typeid -> __INT128','type_specifier_no_typeid',1,'p_type_specifier_no_typeid','c_parser.py',836),
('type_specifier -> typedef_name','type_specifier',1,'p_type_specifier','c_parser.py',841),
('type_specifier -> enum_specifier','type_specifier',1,'p_type_specifier','c_parser.py',842),
('type_specifier -> struct_or_union_specifier','type_specifier',1,'p_type_specifier','c_parser.py',843),
('type_specifier -> type_specifier_no_typeid','type_specifier',1,'p_type_specifier','c_parser.py',844),
('type_qualifier -> CONST','type_qualifier',1,'p_type_qualifier','c_parser.py',849),
('type_qualifier -> RESTRICT','type_qualifier',1,'p_type_qualifier','c_parser.py',850),
('type_qualifier -> VOLATILE','type_qualifier',1,'p_type_qualifier','c_parser.py',851),
('init_declarator_list -> init_declarator','init_declarator_list',1,'p_init_declarator_list','c_parser.py',856),
('init_declarator_list -> init_declarator_list COMMA init_declarator','init_declarator_list',3,'p_init_declarator_list','c_parser.py',857),
('init_declarator -> declarator','init_declarator',1,'p_init_declarator','c_parser.py',865),
('init_declarator -> declarator EQUALS initializer','init_declarator',3,'p_init_declarator','c_parser.py',866),
('id_init_declarator_list -> id_init_declarator','id_init_declarator_list',1,'p_id_init_declarator_list','c_parser.py',871),
('id_init_declarator_list -> id_init_declarator_list COMMA init_declarator','id_init_declarator_list',3,'p_id_init_declarator_list','c_parser.py',872),
('id_init_declarator -> id_declarator','id_init_declarator',1,'p_id_init_declarator','c_parser.py',877),
('id_init_declarator -> id_declarator EQUALS initializer','id_init_declarator',3,'p_id_init_declarator','c_parser.py',878),
('specifier_qualifier_list -> specifier_qualifier_list type_specifier_no_typeid','specifier_qualifier_list',2,'p_specifier_qualifier_list_1','c_parser.py',885),
('specifier_qualifier_list -> specifier_qualifier_list type_qualifier','specifier_qualifier_list',2,'p_specifier_qualifier_list_2','c_parser.py',890),
('specifier_qualifier_list -> type_specifier','specifier_qualifier_list',1,'p_specifier_qualifier_list_3','c_parser.py',895),
('specifier_qualifier_list -> type_qualifier_list type_specifier','specifier_qualifier_list',2,'p_specifier_qualifier_list_4','c_parser.py',900),
('struct_or_union_specifier -> struct_or_union ID','struct_or_union_specifier',2,'p_struct_or_union_specifier_1','c_parser.py',909),
('struct_or_union_specifier -> struct_or_union TYPEID','struct_or_union_specifier',2,'p_struct_or_union_specifier_1','c_parser.py',910),
('struct_or_union_specifier -> struct_or_union brace_open struct_declaration_list brace_close','struct_or_union_specifier',4,'p_struct_or_union_specifier_2','c_parser.py',920),
('struct_or_union_specifier -> struct_or_union brace_open brace_close','struct_or_union_specifier',3,'p_struct_or_union_specifier_2','c_parser.py',921),
('struct_or_union_specifier -> struct_or_union ID brace_open struct_declaration_list brace_close','struct_or_union_specifier',5,'p_struct_or_union_specifier_3','c_parser.py',938),
('struct_or_union_specifier -> struct_or_union ID brace_open brace_close','struct_or_union_specifier',4,'p_struct_or_union_specifier_3','c_parser.py',939),
('struct_or_union_specifier -> struct_or_union TYPEID brace_open struct_declaration_list brace_close','struct_or_union_specifier',5,'p_struct_or_union_specifier_3','c_parser.py',940),
('struct_or_union_specifier -> struct_or_union TYPEID brace_open brace_close','struct_or_union_specifier',4,'p_struct_or_union_specifier_3','c_parser.py',941),
('struct_or_union -> STRUCT','struct_or_union',1,'p_struct_or_union','c_parser.py',957),
('struct_or_union -> UNION','struct_or_union',1,'p_struct_or_union','c_parser.py',958),
('struct_declaration_list -> struct_declaration','struct_declaration_list',1,'p_struct_declaration_list','c_parser.py',965),
('struct_declaration_list -> struct_declaration_list struct_declaration','struct_declaration_list',2,'p_struct_declaration_list','c_parser.py',966),
('struct_declaration -> specifier_qualifier_list struct_declarator_list_opt SEMI','struct_declaration',3,'p_struct_declaration_1','c_parser.py',974),
('struct_declaration -> SEMI','struct_declaration',1,'p_struct_declaration_2','c_parser.py',1012),
('struct_declaration -> pppragma_directive','struct_declaration',1,'p_struct_declaration_3','c_parser.py',1017),
('struct_declarator_list -> struct_declarator','struct_declarator_list',1,'p_struct_declarator_list','c_parser.py',1022),
('struct_declarator_list -> struct_declarator_list COMMA struct_declarator','struct_declarator_list',3,'p_struct_declarator_list','c_parser.py',1023),
('struct_declarator -> declarator','struct_declarator',1,'p_struct_declarator_1','c_parser.py',1031),
('struct_declarator -> declarator COLON constant_expression','struct_declarator',3,'p_struct_declarator_2','c_parser.py',1036),
('struct_declarator -> COLON constant_expression','struct_declarator',2,'p_struct_declarator_2','c_parser.py',1037),
('enum_specifier -> ENUM ID','enum_specifier',2,'p_enum_specifier_1','c_parser.py',1045),
('enum_specifier -> ENUM TYPEID','enum_specifier',2,'p_enum_specifier_1','c_parser.py',1046),
('enum_specifier -> ENUM brace_open enumerator_list brace_close','enum_specifier',4,'p_enum_specifier_2','c_parser.py',1051),
('enum_specifier -> ENUM ID brace_open enumerator_list brace_close','enum_specifier',5,'p_enum_specifier_3','c_parser.py',1056),
('enum_specifier -> ENUM TYPEID brace_open enumerator_list brace_close','enum_specifier',5,'p_enum_specifier_3','c_parser.py',1057),
('enumerator_list -> enumerator','enumerator_list',1,'p_enumerator_list','c_parser.py',1062),
('enumerator_list -> enumerator_list COMMA','enumerator_list',2,'p_enumerator_list','c_parser.py',1063),
('enumerator_list -> enumerator_list COMMA enumerator','enumerator_list',3,'p_enumerator_list','c_parser.py',1064),
('enumerator -> ID','enumerator',1,'p_enumerator','c_parser.py',1075),
('enumerator -> ID EQUALS constant_expression','enumerator',3,'p_enumerator','c_parser.py',1076),
('declarator -> id_declarator','declarator',1,'p_declarator','c_parser.py',1091),
('declarator -> typeid_declarator','declarator',1,'p_declarator','c_parser.py',1092),
('pointer -> TIMES type_qualifier_list_opt','pointer',2,'p_pointer','c_parser.py',1203),
('pointer -> TIMES type_qualifier_list_opt pointer','pointer',3,'p_pointer','c_parser.py',1204),
('type_qualifier_list -> type_qualifier','type_qualifier_list',1,'p_type_qualifier_list','c_parser.py',1233),
('type_qualifier_list -> type_qualifier_list type_qualifier','type_qualifier_list',2,'p_type_qualifier_list','c_parser.py',1234),
('parameter_type_list -> parameter_list','parameter_type_list',1,'p_parameter_type_list','c_parser.py',1239),
('parameter_type_list -> parameter_list COMMA ELLIPSIS','parameter_type_list',3,'p_parameter_type_list','c_parser.py',1240),
('parameter_list -> parameter_declaration','parameter_list',1,'p_parameter_list','c_parser.py',1248),
('parameter_list -> parameter_list COMMA parameter_declaration','parameter_list',3,'p_parameter_list','c_parser.py',1249),
('parameter_declaration -> declaration_specifiers id_declarator','parameter_declaration',2,'p_parameter_declaration_1','c_parser.py',1268),
('parameter_declaration -> declaration_specifiers typeid_noparen_declarator','parameter_declaration',2,'p_parameter_declaration_1','c_parser.py',1269),
('parameter_declaration -> declaration_specifiers abstract_declarator_opt','parameter_declaration',2,'p_parameter_declaration_2','c_parser.py',1280),
('identifier_list -> identifier','identifier_list',1,'p_identifier_list','c_parser.py',1311),
('identifier_list -> identifier_list COMMA identifier','identifier_list',3,'p_identifier_list','c_parser.py',1312),
('initializer -> assignment_expression','initializer',1,'p_initializer_1','c_parser.py',1321),
('initializer -> brace_open initializer_list_opt brace_close','initializer',3,'p_initializer_2','c_parser.py',1326),
('initializer -> brace_open initializer_list COMMA brace_close','initializer',4,'p_initializer_2','c_parser.py',1327),
('initializer_list -> designation_opt initializer','initializer_list',2,'p_initializer_list','c_parser.py',1335),
('initializer_list -> initializer_list COMMA designation_opt initializer','initializer_list',4,'p_initializer_list','c_parser.py',1336),
('designation -> designator_list EQUALS','designation',2,'p_designation','c_parser.py',1347),
('designator_list -> designator','designator_list',1,'p_designator_list','c_parser.py',1355),
('designator_list -> designator_list designator','designator_list',2,'p_designator_list','c_parser.py',1356),
('designator -> LBRACKET constant_expression RBRACKET','designator',3,'p_designator','c_parser.py',1361),
('designator -> PERIOD identifier','designator',2,'p_designator','c_parser.py',1362),
('type_name -> specifier_qualifier_list abstract_declarator_opt','type_name',2,'p_type_name','c_parser.py',1367),
('abstract_declarator -> pointer','abstract_declarator',1,'p_abstract_declarator_1','c_parser.py',1378),
('abstract_declarator -> pointer direct_abstract_declarator','abstract_declarator',2,'p_abstract_declarator_2','c_parser.py',1386),
('abstract_declarator -> direct_abstract_declarator','abstract_declarator',1,'p_abstract_declarator_3','c_parser.py',1391),
('direct_abstract_declarator -> LPAREN abstract_declarator RPAREN','direct_abstract_declarator',3,'p_direct_abstract_declarator_1','c_parser.py',1401),
('direct_abstract_declarator -> direct_abstract_declarator LBRACKET assignment_expression_opt RBRACKET','direct_abstract_declarator',4,'p_direct_abstract_declarator_2','c_parser.py',1405),
('direct_abstract_declarator -> LBRACKET type_qualifier_list_opt assignment_expression_opt RBRACKET','direct_abstract_declarator',4,'p_direct_abstract_declarator_3','c_parser.py',1416),
('direct_abstract_declarator -> direct_abstract_declarator LBRACKET TIMES RBRACKET','direct_abstract_declarator',4,'p_direct_abstract_declarator_4','c_parser.py',1426),
('direct_abstract_declarator -> LBRACKET TIMES RBRACKET','direct_abstract_declarator',3,'p_direct_abstract_declarator_5','c_parser.py',1437),
('direct_abstract_declarator -> direct_abstract_declarator LPAREN parameter_type_list_opt RPAREN','direct_abstract_declarator',4,'p_direct_abstract_declarator_6','c_parser.py',1446),
('direct_abstract_declarator -> LPAREN parameter_type_list_opt RPAREN','direct_abstract_declarator',3,'p_direct_abstract_declarator_7','c_parser.py',1456),
('block_item -> declaration','block_item',1,'p_block_item','c_parser.py',1467),
('block_item -> statement','block_item',1,'p_block_item','c_parser.py',1468),
('block_item_list -> block_item','block_item_list',1,'p_block_item_list','c_parser.py',1475),
('block_item_list -> block_item_list block_item','block_item_list',2,'p_block_item_list','c_parser.py',1476),
('compound_statement -> brace_open block_item_list_opt brace_close','compound_statement',3,'p_compound_statement_1','c_parser.py',1482),
('labeled_statement -> ID COLON pragmacomp_or_statement','labeled_statement',3,'p_labeled_statement_1','c_parser.py',1488),
('labeled_statement -> CASE constant_expression COLON pragmacomp_or_statement','labeled_statement',4,'p_labeled_statement_2','c_parser.py',1492),
('labeled_statement -> DEFAULT COLON pragmacomp_or_statement','labeled_statement',3,'p_labeled_statement_3','c_parser.py',1496),
('selection_statement -> IF LPAREN expression RPAREN pragmacomp_or_statement','selection_statement',5,'p_selection_statement_1','c_parser.py',1500),
('selection_statement -> IF LPAREN expression RPAREN statement ELSE pragmacomp_or_statement','selection_statement',7,'p_selection_statement_2','c_parser.py',1504),
('selection_statement -> SWITCH LPAREN expression RPAREN pragmacomp_or_statement','selection_statement',5,'p_selection_statement_3','c_parser.py',1508),
('iteration_statement -> WHILE LPAREN expression RPAREN pragmacomp_or_statement','iteration_statement',5,'p_iteration_statement_1','c_parser.py',1513),
('iteration_statement -> DO pragmacomp_or_statement WHILE LPAREN expression RPAREN SEMI','iteration_statement',7,'p_iteration_statement_2','c_parser.py',1517),
('iteration_statement -> FOR LPAREN expression_opt SEMI expression_opt SEMI expression_opt RPAREN pragmacomp_or_statement','iteration_statement',9,'p_iteration_statement_3','c_parser.py',1521),
('iteration_statement -> FOR LPAREN declaration expression_opt SEMI expression_opt RPAREN pragmacomp_or_statement','iteration_statement',8,'p_iteration_statement_4','c_parser.py',1525),
('jump_statement -> GOTO ID SEMI','jump_statement',3,'p_jump_statement_1','c_parser.py',1530),
('jump_statement -> BREAK SEMI','jump_statement',2,'p_jump_statement_2','c_parser.py',1534),
('jump_statement -> CONTINUE SEMI','jump_statement',2,'p_jump_statement_3','c_parser.py',1538),
('jump_statement -> RETURN expression SEMI','jump_statement',3,'p_jump_statement_4','c_parser.py',1542),
('jump_statement -> RETURN SEMI','jump_statement',2,'p_jump_statement_4','c_parser.py',1543),
('expression_statement -> expression_opt SEMI','expression_statement',2,'p_expression_statement','c_parser.py',1548),
('expression -> assignment_expression','expression',1,'p_expression','c_parser.py',1555),
('expression -> expression COMMA assignment_expression','expression',3,'p_expression','c_parser.py',1556),
('typedef_name -> TYPEID','typedef_name',1,'p_typedef_name','c_parser.py',1568),
('assignment_expression -> conditional_expression','assignment_expression',1,'p_assignment_expression','c_parser.py',1572),
('assignment_expression -> unary_expression assignment_operator assignment_expression','assignment_expression',3,'p_assignment_expression','c_parser.py',1573),
('assignment_operator -> EQUALS','assignment_operator',1,'p_assignment_operator','c_parser.py',1586),
('assignment_operator -> XOREQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1587),
('assignment_operator -> TIMESEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1588),
('assignment_operator -> DIVEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1589),
('assignment_operator -> MODEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1590),
('assignment_operator -> PLUSEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1591),
('assignment_operator -> MINUSEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1592),
('assignment_operator -> LSHIFTEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1593),
('assignment_operator -> RSHIFTEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1594),
('assignment_operator -> ANDEQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1595),
('assignment_operator -> OREQUAL','assignment_operator',1,'p_assignment_operator','c_parser.py',1596),
('constant_expression -> conditional_expression','constant_expression',1,'p_constant_expression','c_parser.py',1601),
('conditional_expression -> binary_expression','conditional_expression',1,'p_conditional_expression','c_parser.py',1605),
('conditional_expression -> binary_expression CONDOP expression COLON conditional_expression','conditional_expression',5,'p_conditional_expression','c_parser.py',1606),
('binary_expression -> cast_expression','binary_expression',1,'p_binary_expression','c_parser.py',1614),
('binary_expression -> binary_expression TIMES binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1615),
('binary_expression -> binary_expression DIVIDE binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1616),
('binary_expression -> binary_expression MOD binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1617),
('binary_expression -> binary_expression PLUS binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1618),
('binary_expression -> binary_expression MINUS binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1619),
('binary_expression -> binary_expression RSHIFT binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1620),
('binary_expression -> binary_expression LSHIFT binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1621),
('binary_expression -> binary_expression LT binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1622),
('binary_expression -> binary_expression LE binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1623),
('binary_expression -> binary_expression GE binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1624),
('binary_expression -> binary_expression GT binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1625),
('binary_expression -> binary_expression EQ binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1626),
('binary_expression -> binary_expression NE binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1627),
('binary_expression -> binary_expression AND binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1628),
('binary_expression -> binary_expression OR binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1629),
('binary_expression -> binary_expression XOR binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1630),
('binary_expression -> binary_expression LAND binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1631),
('binary_expression -> binary_expression LOR binary_expression','binary_expression',3,'p_binary_expression','c_parser.py',1632),
('cast_expression -> unary_expression','cast_expression',1,'p_cast_expression_1','c_parser.py',1640),
('cast_expression -> LPAREN type_name RPAREN cast_expression','cast_expression',4,'p_cast_expression_2','c_parser.py',1644),
('unary_expression -> postfix_expression','unary_expression',1,'p_unary_expression_1','c_parser.py',1648),
('unary_expression -> PLUSPLUS unary_expression','unary_expression',2,'p_unary_expression_2','c_parser.py',1652),
('unary_expression -> MINUSMINUS unary_expression','unary_expression',2,'p_unary_expression_2','c_parser.py',1653),
('unary_expression -> unary_operator cast_expression','unary_expression',2,'p_unary_expression_2','c_parser.py',1654),
('unary_expression -> SIZEOF unary_expression','unary_expression',2,'p_unary_expression_3','c_parser.py',1659),
('unary_expression -> SIZEOF LPAREN type_name RPAREN','unary_expression',4,'p_unary_expression_3','c_parser.py',1660),
('unary_operator -> AND','unary_operator',1,'p_unary_operator','c_parser.py',1668),
('unary_operator -> TIMES','unary_operator',1,'p_unary_operator','c_parser.py',1669),
('unary_operator -> PLUS','unary_operator',1,'p_unary_operator','c_parser.py',1670),
('unary_operator -> MINUS','unary_operator',1,'p_unary_operator','c_parser.py',1671),
('unary_operator -> NOT','unary_operator',1,'p_unary_operator','c_parser.py',1672),
('unary_operator -> LNOT','unary_operator',1,'p_unary_operator','c_parser.py',1673),
('postfix_expression -> primary_expression','postfix_expression',1,'p_postfix_expression_1','c_parser.py',1678),
('postfix_expression -> postfix_expression LBRACKET expression RBRACKET','postfix_expression',4,'p_postfix_expression_2','c_parser.py',1682),
('postfix_expression -> postfix_expression LPAREN argument_expression_list RPAREN','postfix_expression',4,'p_postfix_expression_3','c_parser.py',1686),
('postfix_expression -> postfix_expression LPAREN RPAREN','postfix_expression',3,'p_postfix_expression_3','c_parser.py',1687),
('postfix_expression -> postfix_expression PERIOD ID','postfix_expression',3,'p_postfix_expression_4','c_parser.py',1692),
('postfix_expression -> postfix_expression PERIOD TYPEID','postfix_expression',3,'p_postfix_expression_4','c_parser.py',1693),
('postfix_expression -> postfix_expression ARROW ID','postfix_expression',3,'p_postfix_expression_4','c_parser.py',1694),
('postfix_expression -> postfix_expression ARROW TYPEID','postfix_expression',3,'p_postfix_expression_4','c_parser.py',1695),
('postfix_expression -> postfix_expression PLUSPLUS','postfix_expression',2,'p_postfix_expression_5','c_parser.py',1701),
('postfix_expression -> postfix_expression MINUSMINUS','postfix_expression',2,'p_postfix_expression_5','c_parser.py',1702),
('postfix_expression -> LPAREN type_name RPAREN brace_open initializer_list brace_close','postfix_expression',6,'p_postfix_expression_6','c_parser.py',1707),
('postfix_expression -> LPAREN type_name RPAREN brace_open initializer_list COMMA brace_close','postfix_expression',7,'p_postfix_expression_6','c_parser.py',1708),
('primary_expression -> identifier','primary_expression',1,'p_primary_expression_1','c_parser.py',1713),
('primary_expression -> constant','primary_expression',1,'p_primary_expression_2','c_parser.py',1717),
('primary_expression -> unified_string_literal','primary_expression',1,'p_primary_expression_3','c_parser.py',1721),
('primary_expression -> unified_wstring_literal','primary_expression',1,'p_primary_expression_3','c_parser.py',1722),
('primary_expression -> LPAREN expression RPAREN','primary_expression',3,'p_primary_expression_4','c_parser.py',1727),
('primary_expression -> OFFSETOF LPAREN type_name COMMA offsetof_member_designator RPAREN','primary_expression',6,'p_primary_expression_5','c_parser.py',1731),
('offsetof_member_designator -> identifier','offsetof_member_designator',1,'p_offsetof_member_designator','c_parser.py',1739),
('offsetof_member_designator -> offsetof_member_designator PERIOD identifier','offsetof_member_designator',3,'p_offsetof_member_designator','c_parser.py',1740),
('offsetof_member_designator -> offsetof_member_designator LBRACKET expression RBRACKET','offsetof_member_designator',4,'p_offsetof_member_designator','c_parser.py',1741),
('argument_expression_list -> assignment_expression','argument_expression_list',1,'p_argument_expression_list','c_parser.py',1753),
('argument_expression_list -> argument_expression_list COMMA assignment_expression','argument_expression_list',3,'p_argument_expression_list','c_parser.py',1754),
('identifier -> ID','identifier',1,'p_identifier','c_parser.py',1763),
('constant -> INT_CONST_DEC','constant',1,'p_constant_1','c_parser.py',1767),
('constant -> INT_CONST_OCT','constant',1,'p_constant_1','c_parser.py',1768),
('constant -> INT_CONST_HEX','constant',1,'p_constant_1','c_parser.py',1769),
('constant -> INT_CONST_BIN','constant',1,'p_constant_1','c_parser.py',1770),
('constant -> INT_CONST_CHAR','constant',1,'p_constant_1','c_parser.py',1771),
('constant -> FLOAT_CONST','constant',1,'p_constant_2','c_parser.py',1790),
('constant -> HEX_FLOAT_CONST','constant',1,'p_constant_2','c_parser.py',1791),
('constant -> CHAR_CONST','constant',1,'p_constant_3','c_parser.py',1807),
('constant -> WCHAR_CONST','constant',1,'p_constant_3','c_parser.py',1808),
('unified_string_literal -> STRING_LITERAL','unified_string_literal',1,'p_unified_string_literal','c_parser.py',1819),
('unified_string_literal -> unified_string_literal STRING_LITERAL','unified_string_literal',2,'p_unified_string_literal','c_parser.py',1820),
('unified_wstring_literal -> WSTRING_LITERAL','unified_wstring_literal',1,'p_unified_wstring_literal','c_parser.py',1830),
('unified_wstring_literal -> unified_wstring_literal WSTRING_LITERAL','unified_wstring_literal',2,'p_unified_wstring_literal','c_parser.py',1831),
('brace_open -> LBRACE','brace_open',1,'p_brace_open','c_parser.py',1841),
('brace_close -> RBRACE','brace_close',1,'p_brace_close','c_parser.py',1847),
('empty -> <empty>','empty',0,'p_empty','c_parser.py',1853),
]
|
"""
A Trie/Prefix Tree is a kind of search tree used to provide quick lookup
of words/patterns in a set of words. A basic Trie however has O(n^2) space complexity
making it impractical in practice. It however provides O(max(search_string, length of
longest word)) lookup time making it an optimal approach when space is not an issue.
"""
class TrieNode:
def __init__(self) -> None:
self.nodes: dict[str, TrieNode] = dict() # Mapping from char to TrieNode
self.is_leaf = False
def insert_many(self, words: list[str]) -> None:
"""
Inserts a list of words into the Trie
:param words: list of string words
:return: None
"""
for word in words:
self.insert(word)
def insert(self, word: str) -> None:
"""
Inserts a word into the Trie
:param word: word to be inserted
:return: None
"""
curr = self
for char in word:
if char not in curr.nodes:
curr.nodes[char] = TrieNode()
curr = curr.nodes[char]
curr.is_leaf = True
def find(self, word: str) -> bool:
"""
Tries to find word in a Trie
:param word: word to look for
:return: Returns True if word is found, False otherwise
"""
curr = self
for char in word:
if char not in curr.nodes:
return False
curr = curr.nodes[char]
return curr.is_leaf
def delete(self, word: str) -> None:
"""
Deletes a word in a Trie
:param word: word to delete
:return: None
"""
def _delete(curr: TrieNode, word: str, index: int) -> bool:
if index == len(word):
# If word does not exist
if not curr.is_leaf:
return False
curr.is_leaf = False
return len(curr.nodes) == 0
char = word[index]
char_node = curr.nodes.get(char)
# If char not in current trie node
if not char_node:
return False
# Flag to check if node can be deleted
delete_curr = _delete(char_node, word, index + 1)
if delete_curr:
del curr.nodes[char]
return len(curr.nodes) == 0
return delete_curr
_delete(self, word, 0)
def print_words(node: TrieNode, word: str) -> None:
"""
Prints all the words in a Trie
:param node: root node of Trie
:param word: Word variable should be empty at start
:return: None
"""
if node.is_leaf:
print(word, end=" ")
for key, value in node.nodes.items():
print_words(value, word + key)
def test_trie() -> bool:
words = "banana bananas bandana band apple all beast".split()
root = TrieNode()
root.insert_many(words)
# print_words(root, "")
assert all(root.find(word) for word in words)
assert root.find("banana")
assert not root.find("bandanas")
assert not root.find("apps")
assert root.find("apple")
assert root.find("all")
root.delete("all")
assert not root.find("all")
root.delete("banana")
assert not root.find("banana")
assert root.find("bananas")
return True
def print_results(msg: str, passes: bool) -> None:
print(str(msg), "works!" if passes else "doesn't work :(")
def pytests() -> None:
assert test_trie()
def main() -> None:
"""
>>> pytests()
"""
print_results("Testing trie functionality", test_trie())
if __name__ == "__main__":
main()
|
# 环境 : dev 开发环境
TCLOUD_ENV = 'dev'
# 服务 : dev 开发环境
SERVER_ENV = 'dev'
# SQL 连接字符串
SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@127.0.0.1:3306/demo?charset=utf8'
# 密钥相关
SECRET = '####'
ALGORITHM = 'HS256'
TSECRET = '####'
SALT = 'asjdia8938jf9wf8923'
# 任务设置
JOBS = [
{ # 任务 例子:资产配置检查
'id': 'credit-check-daily', # 任务 id, 唯一
'func': 'apps.jobs.business.jobs:JobsBusiness.credit_check_daily', # 路径
'args': None, # 参数
'trigger': 'interval', # 启动方式, 时间间隔
'seconds': 1000 # 秒数
}]
# redis 配置
REDIS_HOST = 'localhost'
REDIS_PORT = 32768
REDIS_PASSWORD = ''
REDIS_DB = 0
# OSS 配置
# OSSAccessKeyId = 'LTAI4FncsuXKC7Y63nGpBPk2'
# OSSAccessKeySecret = 'JGuLllkRfdKdpA1GMc4sFop5XPw5Rl2'
# OSS_ENDPOINT = 'http://oss-cn-shenzhen.aliyuncs.com'
# OSS_BUCTET_NAME = 'nqp-tcloud'
# OSSHost = 'http://nqp-tcloud.oss-cn-shenzhen.aliyuncs.com'
# CMSHost = 'http://nqp-tcloud.oss-cn-shenzhen.aliyuncs.com'
OSSAccessKeyId = 'LTAI4FncsuXKC7Y63nGpBPk2'
OSSAccessKeySecret = 'JGuLllkRfdKdpA1GMc4sFop5XPw5Rl2'
OSS_ENDPOINT = 'http://10.128.208.58:8085'
OSS_BUCTET_NAME = 'nqp-tcloud'
OSSHost = 'http://10.128.208.58:8085/v1/monkey/upload'
CMSHost = 'http://10.128.208.58:8085'
NGINX_HOST = 'http://10.128.208.58:8085'
# 测试环境数据上报
CID = ""
SIGN_KEY = ""
RAND = ""
LOG_REPORT_URL = ""
# jenkins 配置
CI_AUTO_MAN_JENKINS_URL = 'http://10.128.208.58:8080'
CI_AUTO_MAN_JENKINS_AUTH = {
"username": "qingping.niu",
"password": "123456"
}
CI_AUTO_MAN_JENKINS_MONKEY_JOB = 'monkey_autotest'
CI_REPORT_FILE_ADRESS = "http://10.128.208.58:8085/static/report"
CI_JOB_ADDRESS = f"{CI_AUTO_MAN_JENKINS_URL}/job"
# jira 配置
JIRA_URL = 'http://jira_url'
JIRA_AUTH = ('tcloud', 'tcloud')
# 企业微信应用配置凭证
CORP_ID = 'secret'
# 企业微信发送url,需要企业进行配置
QYWXHost = 'https://qywxurl/'
WX_MESSAGE_URL = ''
|
'''
write a procedure, called how_many, which returns the sum of the number of values associated with a dictionary
'''
def how_many(aDict):
'''
aDict: A dictionary, where all the values are lists.
returns: int, how many values are in the dictionary.
'''
values = 0
for i in aDict:
values += len(aDict[i])
return values
|
# Solution to [Check Subset](https://www.hackerrank.com/challenges/py-check-subset)
def get_set() -> set:
"""returns set"""
_ = input()
return set(map(int, input().split()))
def main():
for _ in range(int(input())):
set_a = get_set()
set_b = get_set()
a_not_b = set_a.difference(set_b)
print(False if a_not_b else True)
if __name__ == "__main__":
main()
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.