content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
class Node:
def __init__(self ,data):
self.left = None
self.right = None
self.data = data
def breadthfirst(root):
if root is None:
return
my_list = []
result=[]
result.append(root.data)
my_list.append(root)
while(len(my_list) > 0):
node = my_list.pop(0)
if node.left:
my_list.append(node.left)
result.append(node.left.data)
if node.right:
my_list.append(node.right)
result.append(node.right.data)
return result
def count_file(root , root1):
result = breadthfirst(root)
final_result = result.count("file")
result1 = breadthfirst(root1)
final_result1 = result1.count("file")
if final_result == final_result1:
return True
else:
return False
if __name__=="__main__":
root = Node(2)
root.left = Node(7)
root.right = Node(5)
root.left.left = Node(2)
root.left.right = Node(6)
root.right.right = Node("file")
root.left.right.left = Node("file")
root.left.right.right = Node("file")
root.right.right.left = Node(4)
root1 = Node(2)
root1.left = Node(7)
root1.right = Node(5)
root1.left.left = Node(2)
root1.left.right = Node(6)
root1.right.right = Node("file")
root1.left.right.left = Node("file")
root1.left.right.right = Node("file")
root1.right.right.left = Node(4)
# print(breadthfirst(root))
print(count_file(root , root1))
| class Node:
def __init__(self, data):
self.left = None
self.right = None
self.data = data
def breadthfirst(root):
if root is None:
return
my_list = []
result = []
result.append(root.data)
my_list.append(root)
while len(my_list) > 0:
node = my_list.pop(0)
if node.left:
my_list.append(node.left)
result.append(node.left.data)
if node.right:
my_list.append(node.right)
result.append(node.right.data)
return result
def count_file(root, root1):
result = breadthfirst(root)
final_result = result.count('file')
result1 = breadthfirst(root1)
final_result1 = result1.count('file')
if final_result == final_result1:
return True
else:
return False
if __name__ == '__main__':
root = node(2)
root.left = node(7)
root.right = node(5)
root.left.left = node(2)
root.left.right = node(6)
root.right.right = node('file')
root.left.right.left = node('file')
root.left.right.right = node('file')
root.right.right.left = node(4)
root1 = node(2)
root1.left = node(7)
root1.right = node(5)
root1.left.left = node(2)
root1.left.right = node(6)
root1.right.right = node('file')
root1.left.right.left = node('file')
root1.left.right.right = node('file')
root1.right.right.left = node(4)
print(count_file(root, root1)) |
size(256, 256)
scale(0.5, 0.5)
p = '../images/drawbot.png'
blendMode("multiply")
image(p, (0, 0))
image(p, (100, 100))
| size(256, 256)
scale(0.5, 0.5)
p = '../images/drawbot.png'
blend_mode('multiply')
image(p, (0, 0))
image(p, (100, 100)) |
# DB connection
PORT = 8000
db_name="routing"
db_user="routing"
db_pass="KadufZyn8Dr"
# E-mail
email_login="login"
email_password="password"
email_adress="login@email.com"
| port = 8000
db_name = 'routing'
db_user = 'routing'
db_pass = 'KadufZyn8Dr'
email_login = 'login'
email_password = 'password'
email_adress = 'login@email.com' |
class TestDataError(Exception): pass
class MissingElementAmountValue(TestDataError): pass
class FactoryStartedAlready(TestDataError): pass
class NoSuchDatatype(TestDataError): pass
class InvalidFieldType(TestDataError): pass
class MissingRequiredFields(TestDataError): pass
class UnmetDependentFields(TestDataError): pass
class NoFactoriesProvided(TestDataError): pass
class InvalidTotalPrecentage(TestDataError): pass
| class Testdataerror(Exception):
pass
class Missingelementamountvalue(TestDataError):
pass
class Factorystartedalready(TestDataError):
pass
class Nosuchdatatype(TestDataError):
pass
class Invalidfieldtype(TestDataError):
pass
class Missingrequiredfields(TestDataError):
pass
class Unmetdependentfields(TestDataError):
pass
class Nofactoriesprovided(TestDataError):
pass
class Invalidtotalprecentage(TestDataError):
pass |
class NotFoundError(Exception):
'''raise this when requested repository is not found'''
pass
class ApiRateLimitError(Exception):
'''raise this when API rate limit exceeded'''
pass
class BadCredentialsError(Exception):
'''raise this when bad credentials were provided for the API'''
pass | class Notfounderror(Exception):
"""raise this when requested repository is not found"""
pass
class Apiratelimiterror(Exception):
"""raise this when API rate limit exceeded"""
pass
class Badcredentialserror(Exception):
"""raise this when bad credentials were provided for the API"""
pass |
class MigrationScope:
_engine = None
@classmethod
def engine(cls):
assert cls._engine is not None
return cls._engine
def __init__(self, engine):
self.old = None
self.engine = engine
def __enter__(self):
self.old = MigrationScope._engine
MigrationScope._engine = self.engine
def __exit__(self, exc_type, exc_val, exc_tb):
MigrationScope._engine = self.old
| class Migrationscope:
_engine = None
@classmethod
def engine(cls):
assert cls._engine is not None
return cls._engine
def __init__(self, engine):
self.old = None
self.engine = engine
def __enter__(self):
self.old = MigrationScope._engine
MigrationScope._engine = self.engine
def __exit__(self, exc_type, exc_val, exc_tb):
MigrationScope._engine = self.old |
n=int(input())
s=input().lower()
if len(set(s))==26:
print("YES")
else:
print("NO") | n = int(input())
s = input().lower()
if len(set(s)) == 26:
print('YES')
else:
print('NO') |
# username ,password => database
# 'Bla Bla' , '123456'
a, b, c, d = 5, 5, 10, 4
password = '1234'
username = 'Bla Bla'
result = (a == b) # true
result = (a == c) # false
result = ('blbl'== username)
result = ('Bla Bla'== username)
result = (a != b)
result = (a != c)
result = (a > c)
result = (a < c)
result = (a >= b)
result = (c <= b)
result = (True == 1)
result = (False == 0)
result = False+ True+40
print(result)
| (a, b, c, d) = (5, 5, 10, 4)
password = '1234'
username = 'Bla Bla'
result = a == b
result = a == c
result = 'blbl' == username
result = 'Bla Bla' == username
result = a != b
result = a != c
result = a > c
result = a < c
result = a >= b
result = c <= b
result = True == 1
result = False == 0
result = False + True + 40
print(result) |
#Given an integer, write a function that reverses the bits (in binary) and returns the integer result.
#Examples:
#csReverseIntegerBits(417) -> 267
#417 in binary is 110100001. Reversing the binary is 100001011, which is 267 in decimal.
#csReverseIntegerBits(267) -> 417
#csReverseIntegerBits(0) -> 0
def csReverseIntegerBits(n):
return int(''.join(reversed(bin(n)[2:])), 2)
#Given a binary string (ASCII encoded), write a function that returns the equivalent decoded text.
#Every eight bits in the binary string represents one character on the ASCII table.
def csBinaryToASCII(binary):
if binary == "":
return ""
number = int(binary, 2)
return number.to_bytes((number.bit_length() + 7) // 8, 'big').decode()
#Given a number, write a function that converts that number into a string that contains "raindrop sounds" corresponding to certain
#potential factors. A factor is a number that evenly divides into another number, leaving no remainder.
# The simplest way to test if one number is a factor of another is to use the modulo operator.
#Here are the rules for csRaindrop. If the input number:
#has 3 as a factor, add "Pling" to the result.
#has 5 as a factor, add "Plang" to the result.
#has 7 as a factor, add "Plong" to the result.
#does not have any of 3, 5, or 7 as a factor, the result should be the digits of the input number.
def csRaindrops(number):
if number % 3 == 0:
return "Pling"
elif number % 5 == 0:
return "Plang"
elif number % 7 == 0:
return "Plong"
elif number % 3 == 0 and number % 5 == 0 and number % 7 == 0:
return "PlingPlangPlong"
elif number % 3 == 0 and number % 7 == 0 and number % 5 != 0:
return "PlingPlong"
elif number % 3 == 0 and number % 5 == 0 and number % 7 != 0:
return "PlingPlang"
elif number % 3 != 0 and number % 5 == 0 and number % 7 == 0:
return "PlangPlong"
elif number % 3 != 0 and number % 5 != 0 and number % 7 != 0:
return str(number) | def cs_reverse_integer_bits(n):
return int(''.join(reversed(bin(n)[2:])), 2)
def cs_binary_to_ascii(binary):
if binary == '':
return ''
number = int(binary, 2)
return number.to_bytes((number.bit_length() + 7) // 8, 'big').decode()
def cs_raindrops(number):
if number % 3 == 0:
return 'Pling'
elif number % 5 == 0:
return 'Plang'
elif number % 7 == 0:
return 'Plong'
elif number % 3 == 0 and number % 5 == 0 and (number % 7 == 0):
return 'PlingPlangPlong'
elif number % 3 == 0 and number % 7 == 0 and (number % 5 != 0):
return 'PlingPlong'
elif number % 3 == 0 and number % 5 == 0 and (number % 7 != 0):
return 'PlingPlang'
elif number % 3 != 0 and number % 5 == 0 and (number % 7 == 0):
return 'PlangPlong'
elif number % 3 != 0 and number % 5 != 0 and (number % 7 != 0):
return str(number) |
# %% [1290. Convert Binary Number in a Linked List to Integer](https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/)
class Solution:
def getDecimalValue(self, head: ListNode) -> int:
return int("".join(str(i) for i in to_iter(head)), 2)
def to_iter(ln, isval=True):
while ln:
yield ln.val if isval else ln
ln = ln.next
| class Solution:
def get_decimal_value(self, head: ListNode) -> int:
return int(''.join((str(i) for i in to_iter(head))), 2)
def to_iter(ln, isval=True):
while ln:
yield (ln.val if isval else ln)
ln = ln.next |
#!/usr/bin/env python3
# https://cses.fi/problemset/task/1083
n = int(input())
print(n * (n + 1) // 2 - sum(map(int, input().split())))
| n = int(input())
print(n * (n + 1) // 2 - sum(map(int, input().split()))) |
ix.enable_command_history()
ix.application.get_selection().deselect_all()
ix.disable_command_history() | ix.enable_command_history()
ix.application.get_selection().deselect_all()
ix.disable_command_history() |
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, val=0, next=None):
# self.val = val
# self.next = next
class Solution:
def reverseKGroup(self, head: ListNode, k: int) -> ListNode:
dummy = ListNode(-1)
dummy.next = head
pre = dummy
while head:
tail = pre
for i in range(k):
tail = tail.next
if not tail:
return dummy.next
# tail_nx = tail.next
newhead, newtail = self.reverse(head, tail)
# pre.next, newtail.next = newhead, tail_nx
pre.next = newhead
pre = newtail
head = newtail.next
return dummy.next
def reverse(self, head, tail):
prev = tail.next
curr = head
while prev != tail:
tmp = curr.next
curr.next = prev
prev = curr
curr = tmp
return prev, head
| class Solution:
def reverse_k_group(self, head: ListNode, k: int) -> ListNode:
dummy = list_node(-1)
dummy.next = head
pre = dummy
while head:
tail = pre
for i in range(k):
tail = tail.next
if not tail:
return dummy.next
(newhead, newtail) = self.reverse(head, tail)
pre.next = newhead
pre = newtail
head = newtail.next
return dummy.next
def reverse(self, head, tail):
prev = tail.next
curr = head
while prev != tail:
tmp = curr.next
curr.next = prev
prev = curr
curr = tmp
return (prev, head) |
# File: Grid.py
# Description: Assignment 11 | Greatest Path Sum in a Grid
# Student Name: Matthew Maxwell
# Student UT EID: mrm5632
# Course Name: CS 313E
# Unique Number: 50205
# Date Created: 10-07-2019
# Date Last Modified: 10-13-2019
# counts all the possible paths in a grid recursively
def count_paths (n, row, col):
if(row == n - 1 or col == n - 1):
return(1)
else:
return(count_paths(n, row + 1, col) + count_paths(n, row, col + 1))
# recursively gets the greatest sum of all the paths in the grid
def path_sum(grid, n, row, col):
if(row == n - 1 and col == n - 1):
return(grid[row][col])
else:
if(row == n - 1):
return(grid[row][col] + path_sum(grid, n, row, col + 1))
elif(col == n - 1):
return(grid[row][col] + path_sum(grid, n, row + 1, col))
else:
return(grid[row][col] + max(path_sum(grid, n, row + 1, col), path_sum(grid, n, row, col + 1)))
# dynamic programming solution (can easily find path)
def path_sum_dp(grid, path):
n = len(grid)
dp = [[0 for j in range(n + 1)] for i in range(n + 1)]
for i in range(1, n + 1):
for j in range(1, n + 1):
dp[i][j] = grid[i - 1][j - 1] + max(dp[i][j - 1], dp[i - 1][j])
i = j = 1
while(i < n and j < n):
path.append(grid[i - 1][j - 1])
if(dp[i][j + 1] > dp[i + 1][j]):
j += 1
else:
i += 1
while(i < n):
path.append(grid[i - 1][j - 1])
i += 1
while(j < n):
path.append(grid[i - 1][j - 1])
j += 1
path.append(grid[i - 1][j - 1])
return(dp[n][n])
def main():
# open file for reading
in_file = open ("./grid.txt", "r")
# read the dimension of the grid
dim = in_file.readline()
dim = dim.strip()
dim = int(dim)
# create an empty grid
grid = []
# populate the grid
for i in range (dim):
line = in_file.readline()
line = line.strip()
row = line.split()
for j in range (dim):
row[j] = int (row[j])
grid.append (row)
# close the file
in_file.close()
# get the number of paths in the grid and print
num_paths = count_paths (dim, 0, 0)
print ('Number of paths in a grid of dimension', dim, 'is', num_paths)
print ()
# get the maximum path sum and print
path = []
max_path_sum = path_sum(grid, dim, 0, 0)
max_path_sum = path_sum_dp(grid, path)
print ('Greatest path sum is', max_path_sum, "\n")
print(f"Actual path is {path}")
main() | def count_paths(n, row, col):
if row == n - 1 or col == n - 1:
return 1
else:
return count_paths(n, row + 1, col) + count_paths(n, row, col + 1)
def path_sum(grid, n, row, col):
if row == n - 1 and col == n - 1:
return grid[row][col]
elif row == n - 1:
return grid[row][col] + path_sum(grid, n, row, col + 1)
elif col == n - 1:
return grid[row][col] + path_sum(grid, n, row + 1, col)
else:
return grid[row][col] + max(path_sum(grid, n, row + 1, col), path_sum(grid, n, row, col + 1))
def path_sum_dp(grid, path):
n = len(grid)
dp = [[0 for j in range(n + 1)] for i in range(n + 1)]
for i in range(1, n + 1):
for j in range(1, n + 1):
dp[i][j] = grid[i - 1][j - 1] + max(dp[i][j - 1], dp[i - 1][j])
i = j = 1
while i < n and j < n:
path.append(grid[i - 1][j - 1])
if dp[i][j + 1] > dp[i + 1][j]:
j += 1
else:
i += 1
while i < n:
path.append(grid[i - 1][j - 1])
i += 1
while j < n:
path.append(grid[i - 1][j - 1])
j += 1
path.append(grid[i - 1][j - 1])
return dp[n][n]
def main():
in_file = open('./grid.txt', 'r')
dim = in_file.readline()
dim = dim.strip()
dim = int(dim)
grid = []
for i in range(dim):
line = in_file.readline()
line = line.strip()
row = line.split()
for j in range(dim):
row[j] = int(row[j])
grid.append(row)
in_file.close()
num_paths = count_paths(dim, 0, 0)
print('Number of paths in a grid of dimension', dim, 'is', num_paths)
print()
path = []
max_path_sum = path_sum(grid, dim, 0, 0)
max_path_sum = path_sum_dp(grid, path)
print('Greatest path sum is', max_path_sum, '\n')
print(f'Actual path is {path}')
main() |
# data
TRAINING_DATA_FILE = "raw.csv"
PIPELINE_NAME = 'model'
TARGET = 'RUL'
# input variables
FEATURES = ['engine_id', 'time_cycle','op_set_1', 'op_set_2', 'op_set_3', 'sensor_1',
'sensor_2', 'sensor_3', 'sensor_4', 'sensor_5', 'sensor_6', 'sensor_7',
'sensor_8', 'sensor_9', 'sensor_10', 'sensor_11', 'sensor_12',
'sensor_13', 'sensor_14', 'sensor_15', 'sensor_16', 'sensor_17',
'sensor_18', 'sensor_19', 'sensor_20', 'sensor_21']
# must be dropped afterwards
labels = ['engine_id', 'time_cycle', 'max_cycle'] # id/label cols
cst_features = ['op_set_3', 'sensor_18', 'sensor_19'] # constant features
quasi_cst_features = ['sensor_1', 'sensor_5', 'sensor_6', 'sensor_10', 'sensor_16'] # quasi-constant features
high_corr_to_drop = ['sensor_9', 'sensor_14'] # fan speed & corrected fan speed
discreet_features = ['op_set_2', 'sensor_17']
DROP_FEATURES = labels + cst_features + quasi_cst_features + high_corr_to_drop['sensor_14']
TEMPORAL_VARS = 'YearRemodAdd'
# variables to log transform
NUMERICALS_LOG_VARS = ['LotFrontage', '1stFlrSF', 'GrLivArea']
| training_data_file = 'raw.csv'
pipeline_name = 'model'
target = 'RUL'
features = ['engine_id', 'time_cycle', 'op_set_1', 'op_set_2', 'op_set_3', 'sensor_1', 'sensor_2', 'sensor_3', 'sensor_4', 'sensor_5', 'sensor_6', 'sensor_7', 'sensor_8', 'sensor_9', 'sensor_10', 'sensor_11', 'sensor_12', 'sensor_13', 'sensor_14', 'sensor_15', 'sensor_16', 'sensor_17', 'sensor_18', 'sensor_19', 'sensor_20', 'sensor_21']
labels = ['engine_id', 'time_cycle', 'max_cycle']
cst_features = ['op_set_3', 'sensor_18', 'sensor_19']
quasi_cst_features = ['sensor_1', 'sensor_5', 'sensor_6', 'sensor_10', 'sensor_16']
high_corr_to_drop = ['sensor_9', 'sensor_14']
discreet_features = ['op_set_2', 'sensor_17']
drop_features = labels + cst_features + quasi_cst_features + high_corr_to_drop['sensor_14']
temporal_vars = 'YearRemodAdd'
numericals_log_vars = ['LotFrontage', '1stFlrSF', 'GrLivArea'] |
# -*- coding: utf-8 -*-
#
# panel_label.py
#
# Copyright 2017 Sebastian Spreizer
# The MIT License
def panel_label(ax, label, x=-0.4, y=1.0):
ax.text(x, y, label, transform=ax.transAxes,
fontsize=10, fontweight='bold', va='bottom', ha='left')
| def panel_label(ax, label, x=-0.4, y=1.0):
ax.text(x, y, label, transform=ax.transAxes, fontsize=10, fontweight='bold', va='bottom', ha='left') |
# float number 0.5 is represented as 0.4999999999998 in python
def get_zt_price(price):
zt_price = int(price * 1.1 * 100 + 0.50001) /100.0
return zt_price
def get_dt_price(price):
zt_price = int(price * 0.9 * 100 + 0.50001) /100.0
return zt_price
| def get_zt_price(price):
zt_price = int(price * 1.1 * 100 + 0.50001) / 100.0
return zt_price
def get_dt_price(price):
zt_price = int(price * 0.9 * 100 + 0.50001) / 100.0
return zt_price |
# generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/rudy-001/Relocalisation/src/select_pcd/msg/updated_coord.msg"
services_str = ""
pkg_name = "select_pcd"
dependencies_str = "sensor_msgs;std_msgs"
langs = "gencpp;geneus;genlisp;gennodejs;genpy"
dep_include_paths_str = "select_pcd;/home/rudy-001/Relocalisation/src/select_pcd/msg;sensor_msgs;/opt/ros/melodic/share/sensor_msgs/cmake/../msg;std_msgs;/opt/ros/melodic/share/std_msgs/cmake/../msg;geometry_msgs;/opt/ros/melodic/share/geometry_msgs/cmake/../msg"
PYTHON_EXECUTABLE = "/usr/bin/python2"
package_has_static_sources = '' == 'TRUE'
genmsg_check_deps_script = "/opt/ros/melodic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py"
| messages_str = '/home/rudy-001/Relocalisation/src/select_pcd/msg/updated_coord.msg'
services_str = ''
pkg_name = 'select_pcd'
dependencies_str = 'sensor_msgs;std_msgs'
langs = 'gencpp;geneus;genlisp;gennodejs;genpy'
dep_include_paths_str = 'select_pcd;/home/rudy-001/Relocalisation/src/select_pcd/msg;sensor_msgs;/opt/ros/melodic/share/sensor_msgs/cmake/../msg;std_msgs;/opt/ros/melodic/share/std_msgs/cmake/../msg;geometry_msgs;/opt/ros/melodic/share/geometry_msgs/cmake/../msg'
python_executable = '/usr/bin/python2'
package_has_static_sources = '' == 'TRUE'
genmsg_check_deps_script = '/opt/ros/melodic/share/genmsg/cmake/../../../lib/genmsg/genmsg_check_deps.py' |
def run():
# Continue
# for i in range(1000):
# if i % 2 != 0:
# continue
# print(i)
# for i in range(10000):
# print(i)
# if i == 300:
# break
text = input('Write a text: ')
for char in text:
if char == 'o':
break
print(char)
if __name__ == '__main__':
run()
| def run():
text = input('Write a text: ')
for char in text:
if char == 'o':
break
print(char)
if __name__ == '__main__':
run() |
input=__import__('sys').stdin.readline
r="";c=1
while True:
n=int(input())
if n==0: break
r+=str(c)+'\n';c+=1
a=[input().strip() for _ in range(n)]
a.sort()
r+='\n'.join(a)
r+='\n'
print(r.strip())
| input = __import__('sys').stdin.readline
r = ''
c = 1
while True:
n = int(input())
if n == 0:
break
r += str(c) + '\n'
c += 1
a = [input().strip() for _ in range(n)]
a.sort()
r += '\n'.join(a)
r += '\n'
print(r.strip()) |
class Matematica(object):
def somar(valor1, valor2):
'''
Este metodo tem a funcionalidade de somar dois valores.
Parametros:
1. Valor1 (Number) - Primeira parcela
2. Valor2 (Number) - Segunda parcela
Ex: Matematica.somar(1, 2)
'''
return valor1 + valor2
def subtrair(valor1, valor2):
'''
Este metodo tem a funcionalidade de subtrair dois valores
Parametros:
1. Valor1 (Number) - Minuendo
2. Valor2 (Number) - Subtraendo
Ex: Matematica.subtrair(1, 2)
'''
return valor1 - valor2 | class Matematica(object):
def somar(valor1, valor2):
"""
Este metodo tem a funcionalidade de somar dois valores.
Parametros:
1. Valor1 (Number) - Primeira parcela
2. Valor2 (Number) - Segunda parcela
Ex: Matematica.somar(1, 2)
"""
return valor1 + valor2
def subtrair(valor1, valor2):
"""
Este metodo tem a funcionalidade de subtrair dois valores
Parametros:
1. Valor1 (Number) - Minuendo
2. Valor2 (Number) - Subtraendo
Ex: Matematica.subtrair(1, 2)
"""
return valor1 - valor2 |
class Solution:
def minimumEffortPath(self, heights: List[List[int]]) -> int:
# The maximum cost seen
H, W = len(heights), len(heights[0])
costs = [[math.inf] * W for _ in range(H)]
costs[0][0] = 0
pq = [(0, 0, 0)]
while pq:
cost, r, c = heapq.heappop(pq)
if r == H - 1 and c == W - 1:
return cost
for dr, dc in (0, 1), (0, -1), (1, 0), (-1, 0):
newr, newc = r + dr, c + dc
if 0 <= newr < H and 0 <= newc < W:
new_cost = max(cost, abs(heights[newr][newc] - heights[r][c]))
if new_cost < costs[newr][newc]:
costs[newr][newc] = new_cost
heapq.heappush(pq, (new_cost, newr, newc))
return -1
| class Solution:
def minimum_effort_path(self, heights: List[List[int]]) -> int:
(h, w) = (len(heights), len(heights[0]))
costs = [[math.inf] * W for _ in range(H)]
costs[0][0] = 0
pq = [(0, 0, 0)]
while pq:
(cost, r, c) = heapq.heappop(pq)
if r == H - 1 and c == W - 1:
return cost
for (dr, dc) in ((0, 1), (0, -1), (1, 0), (-1, 0)):
(newr, newc) = (r + dr, c + dc)
if 0 <= newr < H and 0 <= newc < W:
new_cost = max(cost, abs(heights[newr][newc] - heights[r][c]))
if new_cost < costs[newr][newc]:
costs[newr][newc] = new_cost
heapq.heappush(pq, (new_cost, newr, newc))
return -1 |
## Find Maximum and Minimum Values of a List
## 8 kyu
## https://www.codewars.com//kata/577a98a6ae28071780000989
def minimum(arr):
return min(arr)
def maximum(arr):
return max(arr) | def minimum(arr):
return min(arr)
def maximum(arr):
return max(arr) |
# Find this puzzle at:
# https://adventofcode.com/2020/day/2
with open('input.txt', 'r') as file:
puzzle_input = file.read().splitlines()
valid = 0
for line in puzzle_input:
# Extract the limits, letter, and password
limits, letter, password = line.split()
limit_low, limit_hi = limits.split('-')
# Check if occurance of letter is within limits
if (password.count(letter[0]) >= int(limit_low) and password.count(letter
[0]) <= int(limit_hi)):
valid += 1
print(valid)
| with open('input.txt', 'r') as file:
puzzle_input = file.read().splitlines()
valid = 0
for line in puzzle_input:
(limits, letter, password) = line.split()
(limit_low, limit_hi) = limits.split('-')
if password.count(letter[0]) >= int(limit_low) and password.count(letter[0]) <= int(limit_hi):
valid += 1
print(valid) |
# Diameter of Binary Tree: https://leetcode.com/problems/diameter-of-binary-tree/
# Given the root of a binary tree, return the length of the diameter of the tree.
# The diameter of a binary tree is the length of the longest path between any two nodes in a tree. This path may or may not pass through the root.
# The length of a path between two nodes is represented by the number of edges between them.
# 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
# Okay so this problem is looking for the longest possible paths through a tree. This seems like a simple dfs problem where we check
# the left side the right side and either take left + Mid + right or mid + max(left, right) but mid is ignored as we have a path of x - 1
class Solution:
def diameterOfBinaryTree(self, root: TreeNode) -> int:
self.result = 0
def dfs(node):
# When the node is empty we can return there is no path so our result is 0
if node is None:
return 0
# Traverse both sides
left = dfs(node.left)
right = dfs(node.right)
# Compare the whole path at each node
self.result = max(self.result, left + right)
# move up 1 node plus whatever path was highest to this point
return 1 + max(left, right)
dfs(root)
return self.result
# Score Card
# Did I need hints? N
# Did you finish within 30 min? 10
# Was the solution optimal? Yup this is optimal o(N) and o(N) as we have to traverse every node with a stack
# Were there any bugs? 0 bugs for me today
# 5 5 5 5 = 5
| class Treenode:
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Solution:
def diameter_of_binary_tree(self, root: TreeNode) -> int:
self.result = 0
def dfs(node):
if node is None:
return 0
left = dfs(node.left)
right = dfs(node.right)
self.result = max(self.result, left + right)
return 1 + max(left, right)
dfs(root)
return self.result |
load("//3rdparty:dependencies.bzl", "maven_dependencies")
load("//3rdparty:load.bzl", "declare_maven")
def a_app():
print ("Loading [a.app]")
maven_dependencies(declare_maven)
| load('//3rdparty:dependencies.bzl', 'maven_dependencies')
load('//3rdparty:load.bzl', 'declare_maven')
def a_app():
print('Loading [a.app]')
maven_dependencies(declare_maven) |
'''
Mcast Genie Ops Object Outputs for IOSXR.
'''
class McastOutput(object):
ShowVrfAllDetail = {
"default": {
"description": "not set",
"vrf_mode": "regular",
"address_family": {
"ipv6 unicast": {
"route_target": {
"400:1": {
"rt_type": "import",
"route_target": "400:1"},
"300:1": {
"rt_type": "import",
"route_target": "300:1"},
"200:1": {
"rt_type": "both",
"route_target": "200:1"},
"200:2": {
"rt_type": "import",
"route_target": "200:2"}}},
"ipv4 unicast": {
"route_target": {
"400:1": {
"rt_type": "import",
"route_target": "400:1"},
"300:1": {
"rt_type": "import",
"route_target": "300:1"},
"200:1": {
"rt_type": "both",
"route_target": "200:1"},
"200:2": {
"rt_type": "import",
"route_target": "200:2"}}}},
"route_distinguisher": "200:1",
"interfaces": ["GigabitEthernet0/0/0/1"]},
"VRF1": {
"description": "not set",
"vrf_mode": "regular",
"address_family": {
"ipv6 unicast": {
"route_target": {
"400:1": {
"rt_type": "import",
"route_target": "400:1"},
"300:1": {
"rt_type": "import",
"route_target": "300:1"},
"200:1": {
"rt_type": "both",
"route_target": "200:1"},
"200:2": {
"rt_type": "import",
"route_target": "200:2"}}},
"ipv4 unicast": {
"route_target": {
"400:1": {
"rt_type": "import",
"route_target": "400:1"},
"300:1": {
"rt_type": "import",
"route_target": "300:1"},
"200:1": {
"rt_type": "both",
"route_target": "200:1"},
"200:2": {
"rt_type": "import",
"route_target": "200:2"}}}},
"route_distinguisher": "200:1",
"interfaces": ["GigabitEthernet0/0/0/1"]}}
############################################
# INFO - VRF: default
############################################
PimVrfDefaultIpv4Mstatic = '''\
RP/0/0/CPU0:R2# show pim vrf default ipv4 mstatic
Mon May 29 14:37:05.732 UTC
IP Multicast Static Routes Information
* 10.10.10.10/32 via GigabitEthernet0/0/0/0 with nexthop 192.168.1.0 and distance 10
* 10.10.10.11/32 via GigabitEthernet0/0/0/1 with nexthop 192.168.1.1 and distance 11
* 10.10.10.12/32 via GigabitEthernet0/0/0/2 with nexthop 192.168.1.2 and distance 12
* 10.10.10.13/32 via GigabitEthernet0/0/0/3 with nexthop 192.168.1.3 and distance 13
* 10.10.10.14/32 via GigabitEthernet0/0/0/4 with nexthop 192.168.1.4 and distance 14
* 10.10.10.15/32 via GigabitEthernet0/0/0/5 with nexthop 192.168.1.5 and distance 15
* 10.10.10.16/32 via GigabitEthernet0/0/0/6 with nexthop 192.168.1.6 and distance 16
* 10.10.10.17/32 via GigabitEthernet0/0/0/7 with nexthop 192.168.1.7 and distance 17
'''
PimVrfDefaultIpv6Mstatic = '''\
RP/0/0/CPU0:R2# show pim vrf default ipv6 mstatic
Mon May 29 14:37:26.421 UTC
IP Multicast Static Routes Information
* 2001:10:10::10/128 via GigabitEthernet0/0/0/0 with nexthop 2001:11:11::10 and distance 10
* 2001:10:10::11/128 via GigabitEthernet0/0/0/1 with nexthop 2001:11:11::11 and distance 11
* 2001:10:10::12/128 via GigabitEthernet0/0/0/2 with nexthop 2001:11:11::12 and distance 12
* 2001:10:10::13/128 via GigabitEthernet0/0/0/3 with nexthop 2001:11:11::13 and distance 13
* 2001:10:10::14/128 via GigabitEthernet0/0/0/4 with nexthop 2001:11:11::14 and distance 14
* 2001:10:10::15/128 via GigabitEthernet0/0/0/5 with nexthop 2001:11:11::15 and distance 15
'''
PimVrfDefaultIpv4InterfaceDetail = '''\
RP/0/0/CPU0:R2#show pim vrf default ipv4 interface detail
Mon May 29 14:41:28.444 UTC
PIM interfaces in VRF default
IP PIM Multicast Interface State
Flag: B - Bidir enabled, NB - Bidir disabled
P - PIM Proxy enabled, NP - PIM Proxy disabled
V - Virtual Interface
BFD State - State/Interval/Multiplier
Interface PIM Nbr Hello DR
Count Intvl Prior
Loopback0 on 1 30 1
Primary Address : 2.2.2.2
Flags : B P V
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:15
Neighbor Filter : -
GigabitEthernet0/0/0/0 on 1 30 1
Primary Address : 10.2.3.2
Flags : B P
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:01
Neighbor Filter : -
GigabitEthernet0/0/0/1 on 2 30 1
Primary Address : 10.1.2.2
Flags : NB P
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:07
Neighbor Filter : -
'''
PimVrfDefaultIpv6InterfaceDetail = '''\
RP/0/0/CPU0:R2#show pim vrf default ipv6 interface detail
Mon May 29 14:41:52.972 UTC
PIM interfaces in VRF default
IP PIM Multicast Interface State
Flag: B - Bidir enabled, NB - Bidir disabled
P - PIM Proxy enabled, NP - PIM Proxy disabled
A - PIM Assert batching capable, NA - PIM Assert batching incapable
V - Virtual Interface
Interface PIM Nbr Hello DR
Count Intvl Prior
Loopback0 on 1 30 1
Primary Address : fe80::85c6:bdff:fe62:61e
Address : 2001:db8:2:2::2
Flags : B P NA V
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:19
Neighbor Filter : -
GigabitEthernet0/0/0/0 on 1 30 1
Primary Address : fe80::5054:ff:fee4:f669
Address : 2001:db8:2:3::2
Flags : B P NA
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:22
Neighbor Filter : -
GigabitEthernet0/0/0/1 on 1 30 1
Primary Address : fe80::5054:ff:feac:64b3
Address : 2001:db8:1:2::2
Flags : B P NA
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:02
Neighbor Filter : -
'''
PimVrfDefaultIpv4RpfSummary = '''\
RP/0/0/CPU0:R2#show pim vrf default ipv4 rpf summary
Mon May 29 14:42:47.569 UTC
ISIS Mcast Topology Not configured
MoFRR Flow-based Not configured
MoFRR RIB Not configured
RUMP MuRIB Not enabled
PIM RPFs registered with Unicast RIB table
Default RPF Table: IPv4-Unicast-default
RIB Convergence Timeout Value: 00:30:00
RIB Convergence Time Left: 00:00:00
Multipath RPF Selection is Enabled
Table: IPv4-Unicast-default
PIM RPF Registrations = 1
RIB Table converged
'''
PimVrfDefaultIpv6RpfSummary = '''\
RP/0/0/CPU0:R2#show pim vrf default ipv6 rpf summary
Mon May 29 14:42:53.538 UTC
ISIS Mcast Topology Not configured
MoFRR Flow-based Not configured
MoFRR RIB Not configured
RUMP MuRIB Not enabled
PIM RPFs registered with Unicast RIB table
Default RPF Table: IPv6-Unicast-default
RIB Convergence Timeout Value: 00:30:00
RIB Convergence Time Left: 00:00:00
Multipath RPF Selection is Enabled
Table: IPv6-Unicast-default
PIM RPF Registrations = 0
RIB Table converged
'''
############################################
# INFO - VRF: VRF1
############################################
PimVrfVRF1Ipv4Mstatic = '''\
RP/0/0/CPU0:R2# show pim vrf VRF1 ipv4 mstatic
Mon May 29 14:37:05.732 UTC
IP Multicast Static Routes Information
* 20.10.10.10/32 via GigabitEthernet1/0/0/0 with nexthop 192.168.1.0 and distance 10
* 20.10.10.11/32 via GigabitEthernet1/0/0/1 with nexthop 192.168.1.1 and distance 11
* 20.10.10.12/32 via GigabitEthernet1/0/0/2 with nexthop 192.168.1.2 and distance 12
* 20.10.10.13/32 via GigabitEthernet1/0/0/3 with nexthop 192.168.1.3 and distance 13
* 20.10.10.14/32 via GigabitEthernet1/0/0/4 with nexthop 192.168.1.4 and distance 14
* 20.10.10.15/32 via GigabitEthernet1/0/0/5 with nexthop 192.168.1.5 and distance 15
* 20.10.10.16/32 via GigabitEthernet1/0/0/6 with nexthop 192.168.1.6 and distance 16
* 20.10.10.17/32 via GigabitEthernet1/0/0/7 with nexthop 192.168.1.7 and distance 17
'''
PimVrfVRF1Ipv6Mstatic = '''\
RP/0/0/CPU0:R2# show pim vrf VRF1 ipv6 mstatic
Mon May 29 14:37:26.421 UTC
IP Multicast Static Routes Information
* 3001:10:10::10/128 via GigabitEthernet1/0/0/0 with nexthop 2001:11:11::10 and distance 10
* 3001:10:10::11/128 via GigabitEthernet1/0/0/1 with nexthop 2001:11:11::11 and distance 11
* 3001:10:10::12/128 via GigabitEthernet1/0/0/2 with nexthop 2001:11:11::12 and distance 12
* 3001:10:10::13/128 via GigabitEthernet1/0/0/3 with nexthop 2001:11:11::13 and distance 13
* 3001:10:10::14/128 via GigabitEthernet1/0/0/4 with nexthop 2001:11:11::14 and distance 14
* 3001:10:10::15/128 via GigabitEthernet1/0/0/5 with nexthop 2001:11:11::15 and distance 15
'''
PimVrfVRF1Ipv4InterfaceDetail = '''\
RP/0/0/CPU0:R2#show pim vrf VRF1 ipv4 interface detail
Mon May 29 14:41:28.444 UTC
PIM interfaces in VRF VRF1
IP PIM Multicast Interface State
Flag: B - Bidir enabled, NB - Bidir disabled
P - PIM Proxy enabled, NP - PIM Proxy disabled
V - Virtual Interface
BFD State - State/Interval/Multiplier
Interface PIM Nbr Hello DR
Count Intvl Prior
Loopback0 on 1 30 1
Primary Address : 2.2.2.2
Flags : B P V
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:15
Neighbor Filter : -
GigabitEthernet0/0/0/0 on 1 30 1
Primary Address : 10.2.3.2
Flags : B P
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:01
Neighbor Filter : -
GigabitEthernet0/0/0/1 on 2 30 1
Primary Address : 10.1.2.2
Flags : NB P
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:07
Neighbor Filter : -
'''
PimVrfVRF1Ipv6InterfaceDetail = '''\
RP/0/0/CPU0:R2#show pim vrf VRF1 ipv6 interface detail
Mon May 29 14:41:52.972 UTC
PIM interfaces in VRF VRF1
IP PIM Multicast Interface State
Flag: B - Bidir enabled, NB - Bidir disabled
P - PIM Proxy enabled, NP - PIM Proxy disabled
A - PIM Assert batching capable, NA - PIM Assert batching incapable
V - Virtual Interface
Interface PIM Nbr Hello DR
Count Intvl Prior
Loopback0 on 1 30 1
Primary Address : fe80::85c6:bdff:fe62:61e
Address : 2001:db8:2:2::2
Flags : B P NA V
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:19
Neighbor Filter : -
GigabitEthernet0/0/0/0 on 1 30 1
Primary Address : fe80::5054:ff:fee4:f669
Address : 2001:db8:2:3::2
Flags : B P NA
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:22
Neighbor Filter : -
GigabitEthernet0/0/0/1 on 1 30 1
Primary Address : fe80::5054:ff:feac:64b3
Address : 2001:db8:1:2::2
Flags : B P NA
BFD : Off/150 ms/3
DR : this system
Propagation delay : 500
Override Interval : 2500
Hello Timer : 00:00:02
Neighbor Filter : -
'''
PimVrfVRF1Ipv4RpfSummary = '''\
RP/0/0/CPU0:R2#show pim VRF1 default ipv4 rpf summary
Mon May 29 14:42:47.569 UTC
ISIS Mcast Topology Not configured
MoFRR Flow-based Not configured
MoFRR RIB Not configured
RUMP MuRIB Not enabled
PIM RPFs registered with Unicast RIB table
Default RPF Table: IPv4-Unicast-default
RIB Convergence Timeout Value: 00:30:00
RIB Convergence Time Left: 00:00:00
Multipath RPF Selection is Enabled
Table: IPv4-Unicast-default
PIM RPF Registrations = 1
RIB Table converged
'''
PimVrfVRF1Ipv6RpfSummary = '''\
RP/0/0/CPU0:R2#show pim vrf VRF1 ipv6 rpf summary
Mon May 29 14:42:53.538 UTC
ISIS Mcast Topology Not configured
MoFRR Flow-based Not configured
MoFRR RIB Not configured
RUMP MuRIB Not enabled
PIM RPFs registered with Unicast RIB table
Default RPF Table: IPv6-Unicast-default
RIB Convergence Timeout Value: 00:30:00
RIB Convergence Time Left: 00:00:00
Multipath RPF Selection is Enabled
Table: IPv6-Unicast-default
PIM RPF Registrations = 0
RIB Table converged
'''
############################################
# TABLE - VRF: default
############################################
MribVrfDefaultIpv4Route = '''\
RP/0/1/CPU0:rtr1#show mrib vrf default ipv4 route
Mon Nov 2 15:26:01.015 PST
IP Multicast Routing Information Base
Entry flags: L - Domain-Local Source, E - External Source to the Domain,
C - Directly-Connected Check, S - Signal, IA - Inherit Accept,
IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,
MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle
CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet
MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary
MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,
LD - Local Disinterest, DI - Decapsulation Interface
EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,
EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,
MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface
IRMI - IR MDT Interface
(*,224.0.0.0/4) RPF nbr: 0.0.0.0 Flags: C RPF P
Up: 00:00:58
(*,224.0.0.0/24) Flags: D P
Up: 00:00:58
(*,224.0.1.39) Flags: S P
Up: 00:00:58
(*,227.1.1.1) RPF nbr: 0.0.0.0 Flags: C RPF MD MH CD
MVPN TID: 0xe000001f
MVPN Remote TID: 0x0
MVPN Payload: IPv4
MDT IFH: 0x803380
Up: 00:00:54
Outgoing Interface List
Loopback0 Flags: F NS, Up: 00:00:54
(192.168.0.12,227.1.1.1) RPF nbr: 192.168.0.12 Flags: RPF ME MH
MVPN TID: 0xe000001f
MVPN Remote TID: 0x0
MVPN Payload: IPv4
MDT IFH: 0x803380
Up: 00:00:54
Incoming Interface List
Loopback0 Flags: F NS, Up: 00:00:58
Outgoing Interface List
Loopback0 Flags: F A, Up: 00:00:54
(*,232.0.0.0/8) Flags: D P
Up: 00:00:58
(*,236.5.5.5) RPF nbr: 0.0.0.0 Flags: C RPF MD MH CD
MVPN TID: 0xe0000018
MVPN Remote TID: 0xe0800018
MVPN Payload: IPv4 IPv6
MDT IFH: 0x803480
Up: 00:00:54
Outgoing Interface List
Loopback0 Flags: F NS, Up: 00:00:54
(192.168.0.12,236.5.5.5) RPF nbr: 192.168.0.12 Flags: RPF ME MH
MVPN TID: 0xe0000018
MVPN Remote TID: 0xe0800018
MVPN Payload: IPv4 IPv6
MDT IFH: 0x803480
Up: 00:00:54
Incoming Interface List
Loopback0 Flags: F A, Up: 00:00:54
Outgoing Interface List
Loopback0 Flags: F A, Up: 00:00:54
(192.168.0.22,236.5.5.5) RPF nbr: 11.0.1.22 Flags: C RPF MD MH CD
MVPN TID: 0xe0000018
MVPN Remote TID: 0xe0800018
MVPN Payload: IPv4 IPv6
MDT IFH: 0x803480
Up: 00:00:13
Outgoing Interface List
Loopback0 Flags: F NS, Up: 00:00:13
GigabitEthernet0/1/0/1 Flags: NS, Up: 00:00:01
'''
MribVrfDefaultIpv6Route = '''\
RP/0/1/CPU0:rtr1#show mrib vrf default ipv6 route
Mon Nov 2 15:26:01.015 PST
IP Multicast Routing Information Base
Entry flags: L - Domain-Local Source, E - External Source to the Domain,
C - Directly-Connected Check, S - Signal, IA - Inherit Accept,
IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,
MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle
CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet
MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary
MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,
LD - Local Disinterest, DI - Decapsulation Interface
EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,
EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,
MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface
IRMI - IR MDT Interface
(*,ff00::/8)
RPF nbr: 150::150:150:150:150 Flags: L C RPF P
Up: 00:04:45
Outgoing Interface List
Decaps6tunnel0 Flags: NS DI, Up: 00:04:40
(*,ff00::/15)
Flags: D P
Up: 00:04:45
(*,ff02::/16)
Flags: D P
Up: 00:04:45
(*,ff10::/15)
Flags: D P
Up: 00:04:45
(*,ff12::/16)
Flags: D P
Up: 00:04:45
(1::1:1:1:2,ff15::1:1)
RPF nbr: 1::1:1:1:2 Flags: L RPF MT
MT Slot: 0/2/CPU0
Up: 00:02:53
Incoming Interface List
GigabitEthernet150/0/0/6 Flags: A, Up: 00:02:53
Outgoing Interface List
mdtvpn1 Flags: F NS MI MT MA, Up: 00:02:53
(4::4:4:4:5,ff15::2:1)
RPF nbr: ::ffff:200.200.200.200 Flags: L RPF
Up: 00:03:59
Incoming Interface List
mdtvpn1 Flags: A MI, Up: 00:03:35
Outgoing Interface List
GigabitEthernet150/0/0/6 Flags: F NS, Up: 00:03:59
(*,ff20::/15)
Flags: D P
Up: 00:04:45
(*,ff22::/16)
Flags: D P
Up: 00:04:45
'''
############################################
# TABLE - VRF: VRF1
############################################
MribVrfVRF1Ipv4Route = '''\
RP/0/1/CPU0:rtr1#show mrib vrf VRF1 ipv4 route
Mon Nov 2 15:26:01.015 PST
IP Multicast Routing Information Base
Entry flags: L - Domain-Local Source, E - External Source to the Domain,
C - Directly-Connected Check, S - Signal, IA - Inherit Accept,
IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,
MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle
CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet
MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary
MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,
LD - Local Disinterest, DI - Decapsulation Interface
EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,
EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,
MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface
IRMI - IR MDT Interface
(*,234.0.0.0/4) RPF nbr: 0.0.0.1 Flags: MD RPF P
Up: 00:01:28
(*,124.0.0.0/32) Flags: P D
Up: 00:01:38
(*,124.0.1.40) Flags: S P
Up: 00:00:46
(172.150.0.15,217.1.1.1) RPF nbr: 192.168.0.12 Flags: RPF ME MH
MVPN TID: 0xe000001f
MVPN Remote TID: 0x0
MVPN Payload: IPv4
MDT IFH: 0x803380
Up: 00:00:54
Incoming Interface List
GigabitEthernet0/0/0/1 Flags: F NS, Up: 00:01:38
Outgoing Interface List
GigabitEthernet0/0/0/2 Flags: F A, Up: 00:01:24
'''
MribVrfVRF1Ipv6Route = '''\
RP/0/1/CPU0:rtr1#show mrib vrf VRF1 ipv6 route
Mon Nov 2 15:26:01.015 PST
IP Multicast Routing Information Base
Entry flags: L - Domain-Local Source, E - External Source to the Domain,
C - Directly-Connected Check, S - Signal, IA - Inherit Accept,
IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,
MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle
CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet
MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary
MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,
LD - Local Disinterest, DI - Decapsulation Interface
EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,
EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,
MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface
IRMI - IR MDT Interface
(*,ff70::/12)
RPF nbr: :: Flags: C RPF P
Up: 00:04:45
(*,ff70::/15)
Flags: D P
Up: 00:04:45
(*,ff72::/16)
Flags: D P
Up: 00:04:45
(*,ff80::/15)
Flags: D P
Up: 00:04:45
(*,ff82::/16)
Flags: D P
Up: 00:04:45
(*,ff90::/15)
Flags: D P
Up: 00:04:45
'''
McastInfo = {
'vrf':
{'VRF1':
{'address_family':
{'ipv4':
{'enable': True,
'mroute':
{'20.10.10.10/32':
{'path':
{'192.168.1.0 GigabitEthernet1/0/0/0 10':
{'admin_distance': 10,
'interface_name': 'GigabitEthernet1/0/0/0',
'neighbor_address': '192.168.1.0'}}},
'20.10.10.11/32':
{'path':
{'192.168.1.1 GigabitEthernet1/0/0/1 11':
{'admin_distance': 11,
'interface_name': 'GigabitEthernet1/0/0/1',
'neighbor_address': '192.168.1.1'}}},
'20.10.10.12/32':
{'path':
{'192.168.1.2 GigabitEthernet1/0/0/2 12':
{'admin_distance': 12,
'interface_name': 'GigabitEthernet1/0/0/2',
'neighbor_address': '192.168.1.2'}}},
'20.10.10.13/32':
{'path':
{'192.168.1.3 GigabitEthernet1/0/0/3 13':
{'admin_distance': 13,
'interface_name': 'GigabitEthernet1/0/0/3',
'neighbor_address': '192.168.1.3'}}},
'20.10.10.14/32':
{'path':
{'192.168.1.4 GigabitEthernet1/0/0/4 14':
{'admin_distance': 14,
'interface_name': 'GigabitEthernet1/0/0/4',
'neighbor_address': '192.168.1.4'}}},
'20.10.10.15/32':
{'path':
{'192.168.1.5 GigabitEthernet1/0/0/5 15':
{'admin_distance': 15,
'interface_name': 'GigabitEthernet1/0/0/5',
'neighbor_address': '192.168.1.5'}}},
'20.10.10.16/32':
{'path':
{'192.168.1.6 GigabitEthernet1/0/0/6 16':
{'admin_distance': 16,
'interface_name': 'GigabitEthernet1/0/0/6',
'neighbor_address': '192.168.1.6'}}},
'20.10.10.17/32':
{'path':
{'192.168.1.7 GigabitEthernet1/0/0/7 17':
{'admin_distance': 17,
'interface_name': 'GigabitEthernet1/0/0/7',
'neighbor_address': '192.168.1.7'}}}},
'multipath': True},
'ipv6':
{'enable': True,
'mroute':
{'3001:10:10::10/128':
{'path':
{'2001:11:11::10 GigabitEthernet1/0/0/0 10':
{'admin_distance': 10,
'interface_name': 'GigabitEthernet1/0/0/0',
'neighbor_address': '2001:11:11::10'}}},
'3001:10:10::11/128':
{'path':
{'2001:11:11::11 GigabitEthernet1/0/0/1 11':
{'admin_distance': 11,
'interface_name': 'GigabitEthernet1/0/0/1',
'neighbor_address': '2001:11:11::11'}}},
'3001:10:10::12/128':
{'path':
{'2001:11:11::12 GigabitEthernet1/0/0/2 12':
{'admin_distance': 12,
'interface_name': 'GigabitEthernet1/0/0/2',
'neighbor_address': '2001:11:11::12'}}},
'3001:10:10::13/128':
{'path':
{'2001:11:11::13 GigabitEthernet1/0/0/3 13':
{'admin_distance': 13,
'interface_name': 'GigabitEthernet1/0/0/3',
'neighbor_address': '2001:11:11::13'}}},
'3001:10:10::14/128':
{'path':
{'2001:11:11::14 GigabitEthernet1/0/0/4 14':
{'admin_distance': 14,
'interface_name': 'GigabitEthernet1/0/0/4',
'neighbor_address': '2001:11:11::14'}}},
'3001:10:10::15/128':
{'path':
{'2001:11:11::15 GigabitEthernet1/0/0/5 15':
{'admin_distance': 15,
'interface_name': 'GigabitEthernet1/0/0/5',
'neighbor_address': '2001:11:11::15'}}}},
'multipath': True}}},
'default':
{'address_family':
{'ipv4':
{'enable': True,
'mroute':
{'10.10.10.10/32':
{'path':
{'192.168.1.0 GigabitEthernet0/0/0/0 10':
{'admin_distance': 10,
'interface_name': 'GigabitEthernet0/0/0/0',
'neighbor_address': '192.168.1.0'}}},
'10.10.10.11/32':
{'path':
{'192.168.1.1 GigabitEthernet0/0/0/1 11':
{'admin_distance': 11,
'interface_name': 'GigabitEthernet0/0/0/1',
'neighbor_address': '192.168.1.1'}}},
'10.10.10.12/32':
{'path':
{'192.168.1.2 GigabitEthernet0/0/0/2 12':
{'admin_distance': 12,
'interface_name': 'GigabitEthernet0/0/0/2',
'neighbor_address': '192.168.1.2'}}},
'10.10.10.13/32':
{'path':
{'192.168.1.3 GigabitEthernet0/0/0/3 13':
{'admin_distance': 13,
'interface_name': 'GigabitEthernet0/0/0/3',
'neighbor_address': '192.168.1.3'}}},
'10.10.10.14/32':
{'path':
{'192.168.1.4 GigabitEthernet0/0/0/4 14':
{'admin_distance': 14,
'interface_name': 'GigabitEthernet0/0/0/4',
'neighbor_address': '192.168.1.4'}}},
'10.10.10.15/32':
{'path':
{'192.168.1.5 GigabitEthernet0/0/0/5 15':
{'admin_distance': 15,
'interface_name': 'GigabitEthernet0/0/0/5',
'neighbor_address': '192.168.1.5'}}},
'10.10.10.16/32':
{'path':
{'192.168.1.6 GigabitEthernet0/0/0/6 16':
{'admin_distance': 16,
'interface_name': 'GigabitEthernet0/0/0/6',
'neighbor_address': '192.168.1.6'}}},
'10.10.10.17/32':
{'path':
{'192.168.1.7 GigabitEthernet0/0/0/7 17':
{'admin_distance': 17,
'interface_name': 'GigabitEthernet0/0/0/7',
'neighbor_address': '192.168.1.7'}}}},
'multipath': True},
'ipv6':
{'enable': True,
'mroute':
{'2001:10:10::10/128':
{'path':
{'2001:11:11::10 GigabitEthernet0/0/0/0 10':
{'admin_distance': 10,
'interface_name': 'GigabitEthernet0/0/0/0',
'neighbor_address': '2001:11:11::10'}}},
'2001:10:10::11/128':
{'path':
{'2001:11:11::11 GigabitEthernet0/0/0/1 11':
{'admin_distance': 11,
'interface_name': 'GigabitEthernet0/0/0/1',
'neighbor_address': '2001:11:11::11'}}},
'2001:10:10::12/128':
{'path':
{'2001:11:11::12 GigabitEthernet0/0/0/2 12':
{'admin_distance': 12,
'interface_name': 'GigabitEthernet0/0/0/2',
'neighbor_address': '2001:11:11::12'}}},
'2001:10:10::13/128':
{'path':
{'2001:11:11::13 GigabitEthernet0/0/0/3 13':
{'admin_distance': 13,
'interface_name': 'GigabitEthernet0/0/0/3',
'neighbor_address': '2001:11:11::13'}}},
'2001:10:10::14/128':
{'path':
{'2001:11:11::14 GigabitEthernet0/0/0/4 14':
{'admin_distance': 14,
'interface_name': 'GigabitEthernet0/0/0/4',
'neighbor_address': '2001:11:11::14'}}},
'2001:10:10::15/128':
{'path':
{'2001:11:11::15 GigabitEthernet0/0/0/5 15':
{'admin_distance': 15,
'interface_name': 'GigabitEthernet0/0/0/5',
'neighbor_address': '2001:11:11::15'}}}},
'multipath': True}}}}}
McastTable = {
'vrf':
{'VRF1':
{'address_family':
{'ipv4':
{'multicast_group':
{'124.0.0.0/32':
{'source_address':
{'*':
{'flags': 'P D',
'uptime': '00:01:38'}}},
'124.0.1.40':
{'source_address':
{'*':
{'flags': 'S P',
'uptime': '00:00:46'}}},
'217.1.1.1':
{'source_address':
{'172.150.0.15':
{'flags': 'RPF ME MH',
'incoming_interface_list':
{'GigabitEthernet0/0/0/1':
{'rpf_nbr': '192.168.0.12'}},
'outgoing_interface_list':
{'GigabitEthernet0/0/0/2':
{'flags': 'F A',
'uptime': '00:01:24'}},
'uptime': '00:00:54'}}},
'234.0.0.0/4':
{'source_address':
{'*':
{'flags': 'MD RPF P',
'uptime': '00:01:28'}}}}},
'ipv6':
{'multicast_group':
{'ff70::/12':
{'source_address':
{'*':
{'flags': 'C RPF P',
'uptime': '00:04:45'}}},
'ff70::/15':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff72::/16':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff80::/15':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff82::/16':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff90::/15':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}}}}}},
'default':
{'address_family':
{'ipv4':
{'multicast_group':
{'224.0.0.0/24':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:00:58'}}},
'224.0.0.0/4':
{'source_address':
{'*':
{'flags': 'C RPF P',
'uptime': '00:00:58'}}},
'224.0.1.39':
{'source_address':
{'*':
{'flags': 'S P',
'uptime': '00:00:58'}}},
'227.1.1.1':
{'source_address':
{'*':
{'flags': 'C RPF MD MH CD',
'outgoing_interface_list':
{'Loopback0':
{'flags': 'F NS',
'uptime': '00:00:54'}},
'uptime': '00:00:54'},
'192.168.0.12':
{'flags': 'RPF ME MH',
'incoming_interface_list':
{'Loopback0':
{'rpf_nbr': '192.168.0.12'}},
'outgoing_interface_list':
{'Loopback0':
{'flags': 'F A',
'uptime': '00:00:54'}},
'uptime': '00:00:54'}}},
'232.0.0.0/8':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:00:58'}}},
'236.5.5.5':
{'source_address':
{'*':
{'flags': 'C RPF MD MH CD',
'outgoing_interface_list':
{'Loopback0':
{'flags': 'F NS',
'uptime': '00:00:54'}},
'uptime': '00:00:54'},
'192.168.0.12':
{'flags': 'RPF ME MH',
'incoming_interface_list':
{'Loopback0':
{'rpf_nbr': '192.168.0.12'}},
'outgoing_interface_list':
{'Loopback0':
{'flags': 'F A',
'uptime': '00:00:54'}},
'uptime': '00:00:54'},
'192.168.0.22':
{'flags': 'C RPF MD MH CD',
'outgoing_interface_list':
{'GigabitEthernet0/1/0/1':
{'flags': 'NS',
'uptime': '00:00:01'},
'Loopback0': {'flags': 'F NS',
'uptime': '00:00:13'}},
'uptime': '00:00:13'}}}}},
'ipv6':
{'multicast_group':
{'ff00::/15':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff00::/8':
{'source_address':
{'*':
{'flags': 'L C RPF P',
'outgoing_interface_list':
{'Decaps6tunnel0':
{'flags': 'NS DI',
'uptime': '00:04:40'}},
'uptime': '00:04:45'}}},
'ff02::/16':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff10::/15':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff12::/16':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff15::1:1':
{'source_address':
{'1::1:1:1:2':
{'flags': 'L RPF MT',
'incoming_interface_list':
{'GigabitEthernet150/0/0/6':
{'rpf_nbr': '1::1:1:1:2'}},
'outgoing_interface_list':
{'mdtvpn1':
{'flags': 'F NS MI MT MA',
'uptime': '00:02:53'}},
'uptime': '00:02:53'}}},
'ff15::2:1':
{'source_address':
{'4::4:4:4:5':
{'flags': 'L RPF',
'incoming_interface_list':
{'mdtvpn1':
{'rpf_nbr': '::ffff:200.200.200.200'}},
'outgoing_interface_list':
{'GigabitEthernet150/0/0/6':
{'flags': 'F NS',
'uptime': '00:03:59'}},
'uptime': '00:03:59'}}},
'ff20::/15':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}},
'ff22::/16':
{'source_address':
{'*':
{'flags': 'D P',
'uptime': '00:04:45'}}}}}}}}}
| """
Mcast Genie Ops Object Outputs for IOSXR.
"""
class Mcastoutput(object):
show_vrf_all_detail = {'default': {'description': 'not set', 'vrf_mode': 'regular', 'address_family': {'ipv6 unicast': {'route_target': {'400:1': {'rt_type': 'import', 'route_target': '400:1'}, '300:1': {'rt_type': 'import', 'route_target': '300:1'}, '200:1': {'rt_type': 'both', 'route_target': '200:1'}, '200:2': {'rt_type': 'import', 'route_target': '200:2'}}}, 'ipv4 unicast': {'route_target': {'400:1': {'rt_type': 'import', 'route_target': '400:1'}, '300:1': {'rt_type': 'import', 'route_target': '300:1'}, '200:1': {'rt_type': 'both', 'route_target': '200:1'}, '200:2': {'rt_type': 'import', 'route_target': '200:2'}}}}, 'route_distinguisher': '200:1', 'interfaces': ['GigabitEthernet0/0/0/1']}, 'VRF1': {'description': 'not set', 'vrf_mode': 'regular', 'address_family': {'ipv6 unicast': {'route_target': {'400:1': {'rt_type': 'import', 'route_target': '400:1'}, '300:1': {'rt_type': 'import', 'route_target': '300:1'}, '200:1': {'rt_type': 'both', 'route_target': '200:1'}, '200:2': {'rt_type': 'import', 'route_target': '200:2'}}}, 'ipv4 unicast': {'route_target': {'400:1': {'rt_type': 'import', 'route_target': '400:1'}, '300:1': {'rt_type': 'import', 'route_target': '300:1'}, '200:1': {'rt_type': 'both', 'route_target': '200:1'}, '200:2': {'rt_type': 'import', 'route_target': '200:2'}}}}, 'route_distinguisher': '200:1', 'interfaces': ['GigabitEthernet0/0/0/1']}}
pim_vrf_default_ipv4_mstatic = ' RP/0/0/CPU0:R2# show pim vrf default ipv4 mstatic\n Mon May 29 14:37:05.732 UTC\n IP Multicast Static Routes Information\n\n * 10.10.10.10/32 via GigabitEthernet0/0/0/0 with nexthop 192.168.1.0 and distance 10\n * 10.10.10.11/32 via GigabitEthernet0/0/0/1 with nexthop 192.168.1.1 and distance 11\n * 10.10.10.12/32 via GigabitEthernet0/0/0/2 with nexthop 192.168.1.2 and distance 12\n * 10.10.10.13/32 via GigabitEthernet0/0/0/3 with nexthop 192.168.1.3 and distance 13\n * 10.10.10.14/32 via GigabitEthernet0/0/0/4 with nexthop 192.168.1.4 and distance 14\n * 10.10.10.15/32 via GigabitEthernet0/0/0/5 with nexthop 192.168.1.5 and distance 15\n * 10.10.10.16/32 via GigabitEthernet0/0/0/6 with nexthop 192.168.1.6 and distance 16\n * 10.10.10.17/32 via GigabitEthernet0/0/0/7 with nexthop 192.168.1.7 and distance 17\n '
pim_vrf_default_ipv6_mstatic = ' RP/0/0/CPU0:R2# show pim vrf default ipv6 mstatic\n Mon May 29 14:37:26.421 UTC\n IP Multicast Static Routes Information\n\n * 2001:10:10::10/128 via GigabitEthernet0/0/0/0 with nexthop 2001:11:11::10 and distance 10 \n * 2001:10:10::11/128 via GigabitEthernet0/0/0/1 with nexthop 2001:11:11::11 and distance 11 \n * 2001:10:10::12/128 via GigabitEthernet0/0/0/2 with nexthop 2001:11:11::12 and distance 12\n * 2001:10:10::13/128 via GigabitEthernet0/0/0/3 with nexthop 2001:11:11::13 and distance 13\n * 2001:10:10::14/128 via GigabitEthernet0/0/0/4 with nexthop 2001:11:11::14 and distance 14\n * 2001:10:10::15/128 via GigabitEthernet0/0/0/5 with nexthop 2001:11:11::15 and distance 15\n '
pim_vrf_default_ipv4_interface_detail = ' RP/0/0/CPU0:R2#show pim vrf default ipv4 interface detail\n Mon May 29 14:41:28.444 UTC\n\n PIM interfaces in VRF default\n IP PIM Multicast Interface State\n Flag: B - Bidir enabled, NB - Bidir disabled\n P - PIM Proxy enabled, NP - PIM Proxy disabled\n V - Virtual Interface\n BFD State - State/Interval/Multiplier\n\n Interface PIM Nbr Hello DR\n Count Intvl Prior\n\n Loopback0 on 1 30 1 \n Primary Address : 2.2.2.2\n Flags : B P V\n BFD : Off/150 ms/3\n DR : this system\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:15\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/0 on 1 30 1 \n Primary Address : 10.2.3.2\n Flags : B P \n BFD : Off/150 ms/3\n DR : this system\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:01\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/1 on 2 30 1 \n Primary Address : 10.1.2.2\n Flags : NB P \n BFD : Off/150 ms/3\n DR : this system\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:07\n Neighbor Filter : -\n '
pim_vrf_default_ipv6_interface_detail = ' RP/0/0/CPU0:R2#show pim vrf default ipv6 interface detail\n Mon May 29 14:41:52.972 UTC\n\n PIM interfaces in VRF default\n IP PIM Multicast Interface State\n Flag: B - Bidir enabled, NB - Bidir disabled\n P - PIM Proxy enabled, NP - PIM Proxy disabled\n A - PIM Assert batching capable, NA - PIM Assert batching incapable\n V - Virtual Interface\n\n Interface PIM Nbr Hello DR\n Count Intvl Prior\n\n Loopback0 on 1 30 1 \n Primary Address : fe80::85c6:bdff:fe62:61e\n Address : 2001:db8:2:2::2\n Flags : B P NA V\n BFD : Off/150 ms/3\n DR : this system\n\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:19\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/0 on 1 30 1 \n Primary Address : fe80::5054:ff:fee4:f669\n Address : 2001:db8:2:3::2\n Flags : B P NA \n BFD : Off/150 ms/3\n DR : this system\n\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:22\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/1 on 1 30 1 \n Primary Address : fe80::5054:ff:feac:64b3\n Address : 2001:db8:1:2::2\n Flags : B P NA \n BFD : Off/150 ms/3\n DR : this system\n\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:02\n Neighbor Filter : -\n '
pim_vrf_default_ipv4_rpf_summary = ' RP/0/0/CPU0:R2#show pim vrf default ipv4 rpf summary \n Mon May 29 14:42:47.569 UTC\n ISIS Mcast Topology Not configured\n MoFRR Flow-based Not configured\n MoFRR RIB Not configured\n RUMP MuRIB Not enabled\n\n PIM RPFs registered with Unicast RIB table\n\n Default RPF Table: IPv4-Unicast-default\n RIB Convergence Timeout Value: 00:30:00\n RIB Convergence Time Left: 00:00:00\n Multipath RPF Selection is Enabled\n\n Table: IPv4-Unicast-default\n PIM RPF Registrations = 1\n RIB Table converged\n '
pim_vrf_default_ipv6_rpf_summary = ' RP/0/0/CPU0:R2#show pim vrf default ipv6 rpf summary \n Mon May 29 14:42:53.538 UTC\n ISIS Mcast Topology Not configured\n MoFRR Flow-based Not configured\n MoFRR RIB Not configured\n RUMP MuRIB Not enabled\n\n PIM RPFs registered with Unicast RIB table\n\n Default RPF Table: IPv6-Unicast-default\n RIB Convergence Timeout Value: 00:30:00\n RIB Convergence Time Left: 00:00:00\n Multipath RPF Selection is Enabled\n\n Table: IPv6-Unicast-default\n PIM RPF Registrations = 0\n RIB Table converged\n '
pim_vrf_vrf1_ipv4_mstatic = ' RP/0/0/CPU0:R2# show pim vrf VRF1 ipv4 mstatic\n Mon May 29 14:37:05.732 UTC\n IP Multicast Static Routes Information\n\n * 20.10.10.10/32 via GigabitEthernet1/0/0/0 with nexthop 192.168.1.0 and distance 10\n * 20.10.10.11/32 via GigabitEthernet1/0/0/1 with nexthop 192.168.1.1 and distance 11\n * 20.10.10.12/32 via GigabitEthernet1/0/0/2 with nexthop 192.168.1.2 and distance 12\n * 20.10.10.13/32 via GigabitEthernet1/0/0/3 with nexthop 192.168.1.3 and distance 13\n * 20.10.10.14/32 via GigabitEthernet1/0/0/4 with nexthop 192.168.1.4 and distance 14\n * 20.10.10.15/32 via GigabitEthernet1/0/0/5 with nexthop 192.168.1.5 and distance 15\n * 20.10.10.16/32 via GigabitEthernet1/0/0/6 with nexthop 192.168.1.6 and distance 16\n * 20.10.10.17/32 via GigabitEthernet1/0/0/7 with nexthop 192.168.1.7 and distance 17\n '
pim_vrf_vrf1_ipv6_mstatic = ' RP/0/0/CPU0:R2# show pim vrf VRF1 ipv6 mstatic\n Mon May 29 14:37:26.421 UTC\n IP Multicast Static Routes Information\n\n * 3001:10:10::10/128 via GigabitEthernet1/0/0/0 with nexthop 2001:11:11::10 and distance 10 \n * 3001:10:10::11/128 via GigabitEthernet1/0/0/1 with nexthop 2001:11:11::11 and distance 11 \n * 3001:10:10::12/128 via GigabitEthernet1/0/0/2 with nexthop 2001:11:11::12 and distance 12\n * 3001:10:10::13/128 via GigabitEthernet1/0/0/3 with nexthop 2001:11:11::13 and distance 13\n * 3001:10:10::14/128 via GigabitEthernet1/0/0/4 with nexthop 2001:11:11::14 and distance 14\n * 3001:10:10::15/128 via GigabitEthernet1/0/0/5 with nexthop 2001:11:11::15 and distance 15\n '
pim_vrf_vrf1_ipv4_interface_detail = ' RP/0/0/CPU0:R2#show pim vrf VRF1 ipv4 interface detail\n Mon May 29 14:41:28.444 UTC\n\n PIM interfaces in VRF VRF1\n IP PIM Multicast Interface State\n Flag: B - Bidir enabled, NB - Bidir disabled\n P - PIM Proxy enabled, NP - PIM Proxy disabled\n V - Virtual Interface\n BFD State - State/Interval/Multiplier\n\n Interface PIM Nbr Hello DR\n Count Intvl Prior\n\n Loopback0 on 1 30 1 \n Primary Address : 2.2.2.2\n Flags : B P V\n BFD : Off/150 ms/3\n DR : this system\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:15\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/0 on 1 30 1 \n Primary Address : 10.2.3.2\n Flags : B P \n BFD : Off/150 ms/3\n DR : this system\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:01\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/1 on 2 30 1 \n Primary Address : 10.1.2.2\n Flags : NB P \n BFD : Off/150 ms/3\n DR : this system\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:07\n Neighbor Filter : -\n '
pim_vrf_vrf1_ipv6_interface_detail = ' RP/0/0/CPU0:R2#show pim vrf VRF1 ipv6 interface detail\n Mon May 29 14:41:52.972 UTC\n\n PIM interfaces in VRF VRF1\n IP PIM Multicast Interface State\n Flag: B - Bidir enabled, NB - Bidir disabled\n P - PIM Proxy enabled, NP - PIM Proxy disabled\n A - PIM Assert batching capable, NA - PIM Assert batching incapable\n V - Virtual Interface\n\n Interface PIM Nbr Hello DR\n Count Intvl Prior\n\n Loopback0 on 1 30 1 \n Primary Address : fe80::85c6:bdff:fe62:61e\n Address : 2001:db8:2:2::2\n Flags : B P NA V\n BFD : Off/150 ms/3\n DR : this system\n\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:19\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/0 on 1 30 1 \n Primary Address : fe80::5054:ff:fee4:f669\n Address : 2001:db8:2:3::2\n Flags : B P NA \n BFD : Off/150 ms/3\n DR : this system\n\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:22\n Neighbor Filter : -\n\n GigabitEthernet0/0/0/1 on 1 30 1 \n Primary Address : fe80::5054:ff:feac:64b3\n Address : 2001:db8:1:2::2\n Flags : B P NA \n BFD : Off/150 ms/3\n DR : this system\n\n Propagation delay : 500\n Override Interval : 2500\n Hello Timer : 00:00:02\n Neighbor Filter : -\n '
pim_vrf_vrf1_ipv4_rpf_summary = ' RP/0/0/CPU0:R2#show pim VRF1 default ipv4 rpf summary \n Mon May 29 14:42:47.569 UTC\n ISIS Mcast Topology Not configured\n MoFRR Flow-based Not configured\n MoFRR RIB Not configured\n RUMP MuRIB Not enabled\n\n PIM RPFs registered with Unicast RIB table\n\n Default RPF Table: IPv4-Unicast-default\n RIB Convergence Timeout Value: 00:30:00\n RIB Convergence Time Left: 00:00:00\n Multipath RPF Selection is Enabled\n\n Table: IPv4-Unicast-default\n PIM RPF Registrations = 1\n RIB Table converged\n '
pim_vrf_vrf1_ipv6_rpf_summary = ' RP/0/0/CPU0:R2#show pim vrf VRF1 ipv6 rpf summary \n Mon May 29 14:42:53.538 UTC\n ISIS Mcast Topology Not configured\n MoFRR Flow-based Not configured\n MoFRR RIB Not configured\n RUMP MuRIB Not enabled\n\n PIM RPFs registered with Unicast RIB table\n\n Default RPF Table: IPv6-Unicast-default\n RIB Convergence Timeout Value: 00:30:00\n RIB Convergence Time Left: 00:00:00\n Multipath RPF Selection is Enabled\n\n Table: IPv6-Unicast-default\n PIM RPF Registrations = 0\n RIB Table converged\n '
mrib_vrf_default_ipv4_route = " RP/0/1/CPU0:rtr1#show mrib vrf default ipv4 route\n Mon Nov 2 15:26:01.015 PST\n\n IP Multicast Routing Information Base\n Entry flags: L - Domain-Local Source, E - External Source to the Domain,\n C - Directly-Connected Check, S - Signal, IA - Inherit Accept,\n IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,\n MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle\n CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet\n MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary\n MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN\n Interface flags: F - Forward, A - Accept, IC - Internal Copy,\n NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,\n II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,\n LD - Local Disinterest, DI - Decapsulation Interface\n EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,\n EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,\n MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface\n IRMI - IR MDT Interface\n\n (*,224.0.0.0/4) RPF nbr: 0.0.0.0 Flags: C RPF P\n Up: 00:00:58\n\n (*,224.0.0.0/24) Flags: D P\n Up: 00:00:58\n\n (*,224.0.1.39) Flags: S P\n Up: 00:00:58\n\n (*,227.1.1.1) RPF nbr: 0.0.0.0 Flags: C RPF MD MH CD\n MVPN TID: 0xe000001f\n MVPN Remote TID: 0x0\n MVPN Payload: IPv4\n MDT IFH: 0x803380\n Up: 00:00:54\n Outgoing Interface List\n Loopback0 Flags: F NS, Up: 00:00:54\n\n (192.168.0.12,227.1.1.1) RPF nbr: 192.168.0.12 Flags: RPF ME MH\n MVPN TID: 0xe000001f\n MVPN Remote TID: 0x0\n MVPN Payload: IPv4\n MDT IFH: 0x803380\n Up: 00:00:54\n Incoming Interface List\n Loopback0 Flags: F NS, Up: 00:00:58\n Outgoing Interface List\n Loopback0 Flags: F A, Up: 00:00:54\n\n (*,232.0.0.0/8) Flags: D P\n Up: 00:00:58\n\n (*,236.5.5.5) RPF nbr: 0.0.0.0 Flags: C RPF MD MH CD\n MVPN TID: 0xe0000018\n MVPN Remote TID: 0xe0800018\n MVPN Payload: IPv4 IPv6\n MDT IFH: 0x803480\n Up: 00:00:54\n Outgoing Interface List\n Loopback0 Flags: F NS, Up: 00:00:54\n\n (192.168.0.12,236.5.5.5) RPF nbr: 192.168.0.12 Flags: RPF ME MH\n MVPN TID: 0xe0000018\n MVPN Remote TID: 0xe0800018\n MVPN Payload: IPv4 IPv6\n MDT IFH: 0x803480\n Up: 00:00:54\n Incoming Interface List\n Loopback0 Flags: F A, Up: 00:00:54\n Outgoing Interface List\n Loopback0 Flags: F A, Up: 00:00:54\n\n (192.168.0.22,236.5.5.5) RPF nbr: 11.0.1.22 Flags: C RPF MD MH CD\n MVPN TID: 0xe0000018\n MVPN Remote TID: 0xe0800018\n MVPN Payload: IPv4 IPv6\n MDT IFH: 0x803480\n Up: 00:00:13\n Outgoing Interface List\n Loopback0 Flags: F NS, Up: 00:00:13\n GigabitEthernet0/1/0/1 Flags: NS, Up: 00:00:01\n "
mrib_vrf_default_ipv6_route = " RP/0/1/CPU0:rtr1#show mrib vrf default ipv6 route \n Mon Nov 2 15:26:01.015 PST\n\n IP Multicast Routing Information Base\n Entry flags: L - Domain-Local Source, E - External Source to the Domain,\n C - Directly-Connected Check, S - Signal, IA - Inherit Accept,\n IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,\n MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle\n CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet\n MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary\n MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN\n Interface flags: F - Forward, A - Accept, IC - Internal Copy,\n NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,\n II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,\n LD - Local Disinterest, DI - Decapsulation Interface\n EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,\n EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,\n MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface\n IRMI - IR MDT Interface\n\n (*,ff00::/8)\n RPF nbr: 150::150:150:150:150 Flags: L C RPF P\n Up: 00:04:45\n Outgoing Interface List\n Decaps6tunnel0 Flags: NS DI, Up: 00:04:40\n\n (*,ff00::/15)\n Flags: D P\n Up: 00:04:45\n\n (*,ff02::/16)\n Flags: D P\n Up: 00:04:45\n\n (*,ff10::/15)\n Flags: D P\n Up: 00:04:45\n\n (*,ff12::/16)\n Flags: D P\n Up: 00:04:45\n\n (1::1:1:1:2,ff15::1:1)\n RPF nbr: 1::1:1:1:2 Flags: L RPF MT\n MT Slot: 0/2/CPU0\n Up: 00:02:53\n Incoming Interface List\n GigabitEthernet150/0/0/6 Flags: A, Up: 00:02:53\n Outgoing Interface List\n mdtvpn1 Flags: F NS MI MT MA, Up: 00:02:53\n\n (4::4:4:4:5,ff15::2:1)\n RPF nbr: ::ffff:200.200.200.200 Flags: L RPF\n Up: 00:03:59\n Incoming Interface List\n mdtvpn1 Flags: A MI, Up: 00:03:35\n Outgoing Interface List\n GigabitEthernet150/0/0/6 Flags: F NS, Up: 00:03:59\n\n (*,ff20::/15)\n Flags: D P\n Up: 00:04:45\n\n (*,ff22::/16)\n Flags: D P\n Up: 00:04:45\n "
mrib_vrf_vrf1_ipv4_route = " RP/0/1/CPU0:rtr1#show mrib vrf VRF1 ipv4 route\n Mon Nov 2 15:26:01.015 PST\n\n IP Multicast Routing Information Base\n Entry flags: L - Domain-Local Source, E - External Source to the Domain,\n C - Directly-Connected Check, S - Signal, IA - Inherit Accept,\n IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,\n MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle\n CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet\n MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary\n MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN\n Interface flags: F - Forward, A - Accept, IC - Internal Copy,\n NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,\n II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,\n LD - Local Disinterest, DI - Decapsulation Interface\n EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,\n EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,\n MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface\n IRMI - IR MDT Interface\n\n (*,234.0.0.0/4) RPF nbr: 0.0.0.1 Flags: MD RPF P\n Up: 00:01:28\n\n (*,124.0.0.0/32) Flags: P D\n Up: 00:01:38\n\n (*,124.0.1.40) Flags: S P\n Up: 00:00:46\n\n (172.150.0.15,217.1.1.1) RPF nbr: 192.168.0.12 Flags: RPF ME MH\n MVPN TID: 0xe000001f\n MVPN Remote TID: 0x0\n MVPN Payload: IPv4\n MDT IFH: 0x803380\n Up: 00:00:54\n Incoming Interface List\n GigabitEthernet0/0/0/1 Flags: F NS, Up: 00:01:38\n Outgoing Interface List\n GigabitEthernet0/0/0/2 Flags: F A, Up: 00:01:24\n "
mrib_vrf_vrf1_ipv6_route = " RP/0/1/CPU0:rtr1#show mrib vrf VRF1 ipv6 route \n Mon Nov 2 15:26:01.015 PST\n\n IP Multicast Routing Information Base\n Entry flags: L - Domain-Local Source, E - External Source to the Domain,\n C - Directly-Connected Check, S - Signal, IA - Inherit Accept,\n IF - Inherit From, D - Drop, ME - MDT Encap, EID - Encap ID,\n MD - MDT Decap, MT - MDT Threshold Crossed, MH - MDT interface handle\n CD - Conditional Decap, MPLS - MPLS Decap, EX - Extranet\n MoFE - MoFRR Enabled, MoFS - MoFRR State, MoFP - MoFRR Primary\n MoFB - MoFRR Backup, RPFID - RPF ID Set, X - VXLAN\n Interface flags: F - Forward, A - Accept, IC - Internal Copy,\n NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,\n II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,\n LD - Local Disinterest, DI - Decapsulation Interface\n EI - Encapsulation Interface, MI - MDT Interface, LVIF - MPLS Encap,\n EX - Extranet, A2 - Secondary Accept, MT - MDT Threshold Crossed,\n MA - Data MDT Assigned, LMI - mLDP MDT Interface, TMI - P2MP-TE MDT Interface\n IRMI - IR MDT Interface\n\n (*,ff70::/12)\n RPF nbr: :: Flags: C RPF P\n Up: 00:04:45\n\n (*,ff70::/15)\n Flags: D P\n Up: 00:04:45\n\n (*,ff72::/16)\n Flags: D P\n Up: 00:04:45\n\n (*,ff80::/15)\n Flags: D P\n Up: 00:04:45\n\n (*,ff82::/16)\n Flags: D P\n Up: 00:04:45\n\n (*,ff90::/15)\n Flags: D P\n Up: 00:04:45\n "
mcast_info = {'vrf': {'VRF1': {'address_family': {'ipv4': {'enable': True, 'mroute': {'20.10.10.10/32': {'path': {'192.168.1.0 GigabitEthernet1/0/0/0 10': {'admin_distance': 10, 'interface_name': 'GigabitEthernet1/0/0/0', 'neighbor_address': '192.168.1.0'}}}, '20.10.10.11/32': {'path': {'192.168.1.1 GigabitEthernet1/0/0/1 11': {'admin_distance': 11, 'interface_name': 'GigabitEthernet1/0/0/1', 'neighbor_address': '192.168.1.1'}}}, '20.10.10.12/32': {'path': {'192.168.1.2 GigabitEthernet1/0/0/2 12': {'admin_distance': 12, 'interface_name': 'GigabitEthernet1/0/0/2', 'neighbor_address': '192.168.1.2'}}}, '20.10.10.13/32': {'path': {'192.168.1.3 GigabitEthernet1/0/0/3 13': {'admin_distance': 13, 'interface_name': 'GigabitEthernet1/0/0/3', 'neighbor_address': '192.168.1.3'}}}, '20.10.10.14/32': {'path': {'192.168.1.4 GigabitEthernet1/0/0/4 14': {'admin_distance': 14, 'interface_name': 'GigabitEthernet1/0/0/4', 'neighbor_address': '192.168.1.4'}}}, '20.10.10.15/32': {'path': {'192.168.1.5 GigabitEthernet1/0/0/5 15': {'admin_distance': 15, 'interface_name': 'GigabitEthernet1/0/0/5', 'neighbor_address': '192.168.1.5'}}}, '20.10.10.16/32': {'path': {'192.168.1.6 GigabitEthernet1/0/0/6 16': {'admin_distance': 16, 'interface_name': 'GigabitEthernet1/0/0/6', 'neighbor_address': '192.168.1.6'}}}, '20.10.10.17/32': {'path': {'192.168.1.7 GigabitEthernet1/0/0/7 17': {'admin_distance': 17, 'interface_name': 'GigabitEthernet1/0/0/7', 'neighbor_address': '192.168.1.7'}}}}, 'multipath': True}, 'ipv6': {'enable': True, 'mroute': {'3001:10:10::10/128': {'path': {'2001:11:11::10 GigabitEthernet1/0/0/0 10': {'admin_distance': 10, 'interface_name': 'GigabitEthernet1/0/0/0', 'neighbor_address': '2001:11:11::10'}}}, '3001:10:10::11/128': {'path': {'2001:11:11::11 GigabitEthernet1/0/0/1 11': {'admin_distance': 11, 'interface_name': 'GigabitEthernet1/0/0/1', 'neighbor_address': '2001:11:11::11'}}}, '3001:10:10::12/128': {'path': {'2001:11:11::12 GigabitEthernet1/0/0/2 12': {'admin_distance': 12, 'interface_name': 'GigabitEthernet1/0/0/2', 'neighbor_address': '2001:11:11::12'}}}, '3001:10:10::13/128': {'path': {'2001:11:11::13 GigabitEthernet1/0/0/3 13': {'admin_distance': 13, 'interface_name': 'GigabitEthernet1/0/0/3', 'neighbor_address': '2001:11:11::13'}}}, '3001:10:10::14/128': {'path': {'2001:11:11::14 GigabitEthernet1/0/0/4 14': {'admin_distance': 14, 'interface_name': 'GigabitEthernet1/0/0/4', 'neighbor_address': '2001:11:11::14'}}}, '3001:10:10::15/128': {'path': {'2001:11:11::15 GigabitEthernet1/0/0/5 15': {'admin_distance': 15, 'interface_name': 'GigabitEthernet1/0/0/5', 'neighbor_address': '2001:11:11::15'}}}}, 'multipath': True}}}, 'default': {'address_family': {'ipv4': {'enable': True, 'mroute': {'10.10.10.10/32': {'path': {'192.168.1.0 GigabitEthernet0/0/0/0 10': {'admin_distance': 10, 'interface_name': 'GigabitEthernet0/0/0/0', 'neighbor_address': '192.168.1.0'}}}, '10.10.10.11/32': {'path': {'192.168.1.1 GigabitEthernet0/0/0/1 11': {'admin_distance': 11, 'interface_name': 'GigabitEthernet0/0/0/1', 'neighbor_address': '192.168.1.1'}}}, '10.10.10.12/32': {'path': {'192.168.1.2 GigabitEthernet0/0/0/2 12': {'admin_distance': 12, 'interface_name': 'GigabitEthernet0/0/0/2', 'neighbor_address': '192.168.1.2'}}}, '10.10.10.13/32': {'path': {'192.168.1.3 GigabitEthernet0/0/0/3 13': {'admin_distance': 13, 'interface_name': 'GigabitEthernet0/0/0/3', 'neighbor_address': '192.168.1.3'}}}, '10.10.10.14/32': {'path': {'192.168.1.4 GigabitEthernet0/0/0/4 14': {'admin_distance': 14, 'interface_name': 'GigabitEthernet0/0/0/4', 'neighbor_address': '192.168.1.4'}}}, '10.10.10.15/32': {'path': {'192.168.1.5 GigabitEthernet0/0/0/5 15': {'admin_distance': 15, 'interface_name': 'GigabitEthernet0/0/0/5', 'neighbor_address': '192.168.1.5'}}}, '10.10.10.16/32': {'path': {'192.168.1.6 GigabitEthernet0/0/0/6 16': {'admin_distance': 16, 'interface_name': 'GigabitEthernet0/0/0/6', 'neighbor_address': '192.168.1.6'}}}, '10.10.10.17/32': {'path': {'192.168.1.7 GigabitEthernet0/0/0/7 17': {'admin_distance': 17, 'interface_name': 'GigabitEthernet0/0/0/7', 'neighbor_address': '192.168.1.7'}}}}, 'multipath': True}, 'ipv6': {'enable': True, 'mroute': {'2001:10:10::10/128': {'path': {'2001:11:11::10 GigabitEthernet0/0/0/0 10': {'admin_distance': 10, 'interface_name': 'GigabitEthernet0/0/0/0', 'neighbor_address': '2001:11:11::10'}}}, '2001:10:10::11/128': {'path': {'2001:11:11::11 GigabitEthernet0/0/0/1 11': {'admin_distance': 11, 'interface_name': 'GigabitEthernet0/0/0/1', 'neighbor_address': '2001:11:11::11'}}}, '2001:10:10::12/128': {'path': {'2001:11:11::12 GigabitEthernet0/0/0/2 12': {'admin_distance': 12, 'interface_name': 'GigabitEthernet0/0/0/2', 'neighbor_address': '2001:11:11::12'}}}, '2001:10:10::13/128': {'path': {'2001:11:11::13 GigabitEthernet0/0/0/3 13': {'admin_distance': 13, 'interface_name': 'GigabitEthernet0/0/0/3', 'neighbor_address': '2001:11:11::13'}}}, '2001:10:10::14/128': {'path': {'2001:11:11::14 GigabitEthernet0/0/0/4 14': {'admin_distance': 14, 'interface_name': 'GigabitEthernet0/0/0/4', 'neighbor_address': '2001:11:11::14'}}}, '2001:10:10::15/128': {'path': {'2001:11:11::15 GigabitEthernet0/0/0/5 15': {'admin_distance': 15, 'interface_name': 'GigabitEthernet0/0/0/5', 'neighbor_address': '2001:11:11::15'}}}}, 'multipath': True}}}}}
mcast_table = {'vrf': {'VRF1': {'address_family': {'ipv4': {'multicast_group': {'124.0.0.0/32': {'source_address': {'*': {'flags': 'P D', 'uptime': '00:01:38'}}}, '124.0.1.40': {'source_address': {'*': {'flags': 'S P', 'uptime': '00:00:46'}}}, '217.1.1.1': {'source_address': {'172.150.0.15': {'flags': 'RPF ME MH', 'incoming_interface_list': {'GigabitEthernet0/0/0/1': {'rpf_nbr': '192.168.0.12'}}, 'outgoing_interface_list': {'GigabitEthernet0/0/0/2': {'flags': 'F A', 'uptime': '00:01:24'}}, 'uptime': '00:00:54'}}}, '234.0.0.0/4': {'source_address': {'*': {'flags': 'MD RPF P', 'uptime': '00:01:28'}}}}}, 'ipv6': {'multicast_group': {'ff70::/12': {'source_address': {'*': {'flags': 'C RPF P', 'uptime': '00:04:45'}}}, 'ff70::/15': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff72::/16': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff80::/15': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff82::/16': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff90::/15': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}}}}}, 'default': {'address_family': {'ipv4': {'multicast_group': {'224.0.0.0/24': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:00:58'}}}, '224.0.0.0/4': {'source_address': {'*': {'flags': 'C RPF P', 'uptime': '00:00:58'}}}, '224.0.1.39': {'source_address': {'*': {'flags': 'S P', 'uptime': '00:00:58'}}}, '227.1.1.1': {'source_address': {'*': {'flags': 'C RPF MD MH CD', 'outgoing_interface_list': {'Loopback0': {'flags': 'F NS', 'uptime': '00:00:54'}}, 'uptime': '00:00:54'}, '192.168.0.12': {'flags': 'RPF ME MH', 'incoming_interface_list': {'Loopback0': {'rpf_nbr': '192.168.0.12'}}, 'outgoing_interface_list': {'Loopback0': {'flags': 'F A', 'uptime': '00:00:54'}}, 'uptime': '00:00:54'}}}, '232.0.0.0/8': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:00:58'}}}, '236.5.5.5': {'source_address': {'*': {'flags': 'C RPF MD MH CD', 'outgoing_interface_list': {'Loopback0': {'flags': 'F NS', 'uptime': '00:00:54'}}, 'uptime': '00:00:54'}, '192.168.0.12': {'flags': 'RPF ME MH', 'incoming_interface_list': {'Loopback0': {'rpf_nbr': '192.168.0.12'}}, 'outgoing_interface_list': {'Loopback0': {'flags': 'F A', 'uptime': '00:00:54'}}, 'uptime': '00:00:54'}, '192.168.0.22': {'flags': 'C RPF MD MH CD', 'outgoing_interface_list': {'GigabitEthernet0/1/0/1': {'flags': 'NS', 'uptime': '00:00:01'}, 'Loopback0': {'flags': 'F NS', 'uptime': '00:00:13'}}, 'uptime': '00:00:13'}}}}}, 'ipv6': {'multicast_group': {'ff00::/15': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff00::/8': {'source_address': {'*': {'flags': 'L C RPF P', 'outgoing_interface_list': {'Decaps6tunnel0': {'flags': 'NS DI', 'uptime': '00:04:40'}}, 'uptime': '00:04:45'}}}, 'ff02::/16': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff10::/15': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff12::/16': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff15::1:1': {'source_address': {'1::1:1:1:2': {'flags': 'L RPF MT', 'incoming_interface_list': {'GigabitEthernet150/0/0/6': {'rpf_nbr': '1::1:1:1:2'}}, 'outgoing_interface_list': {'mdtvpn1': {'flags': 'F NS MI MT MA', 'uptime': '00:02:53'}}, 'uptime': '00:02:53'}}}, 'ff15::2:1': {'source_address': {'4::4:4:4:5': {'flags': 'L RPF', 'incoming_interface_list': {'mdtvpn1': {'rpf_nbr': '::ffff:200.200.200.200'}}, 'outgoing_interface_list': {'GigabitEthernet150/0/0/6': {'flags': 'F NS', 'uptime': '00:03:59'}}, 'uptime': '00:03:59'}}}, 'ff20::/15': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}, 'ff22::/16': {'source_address': {'*': {'flags': 'D P', 'uptime': '00:04:45'}}}}}}}}} |
def bad_apples(apples):
res=[]
remain=[]
indexes=[]
index=0
for i in apples:
if i[0]==0 and i[1]==0:
continue
elif i[0]==0 or i[1]==0:
remain.append(i[0]) if i[1]==0 else remain.append(i[1])
indexes.append(index)
index+=1
res.append([i[0], i[1]])
for i in range(len(remain)//2):
if res[indexes[i*2]][0]==0:
res[indexes[i*2]][0]=remain[i*2] if remain[i*2]!=res[indexes[i*2]][1] else remain[i*2+1]
res[indexes[i*2]][0], res[indexes[i*2]][1]=res[indexes[i*2]][1], res[indexes[i*2]][0]
elif res[indexes[i*2]][1]==0:
res[indexes[i*2]][1]=remain[i*2] if remain[i*2]!=res[indexes[i*2]][0] else remain[i*2+1]
return [i for i in res if (i[0]!=0 and i[1]!=0)] | def bad_apples(apples):
res = []
remain = []
indexes = []
index = 0
for i in apples:
if i[0] == 0 and i[1] == 0:
continue
elif i[0] == 0 or i[1] == 0:
remain.append(i[0]) if i[1] == 0 else remain.append(i[1])
indexes.append(index)
index += 1
res.append([i[0], i[1]])
for i in range(len(remain) // 2):
if res[indexes[i * 2]][0] == 0:
res[indexes[i * 2]][0] = remain[i * 2] if remain[i * 2] != res[indexes[i * 2]][1] else remain[i * 2 + 1]
(res[indexes[i * 2]][0], res[indexes[i * 2]][1]) = (res[indexes[i * 2]][1], res[indexes[i * 2]][0])
elif res[indexes[i * 2]][1] == 0:
res[indexes[i * 2]][1] = remain[i * 2] if remain[i * 2] != res[indexes[i * 2]][0] else remain[i * 2 + 1]
return [i for i in res if i[0] != 0 and i[1] != 0] |
class EchoService:
@staticmethod
def echo(text):
return { 'text': text }
| class Echoservice:
@staticmethod
def echo(text):
return {'text': text} |
class Solution:
def customSortString(self, order: str, str: str) -> str:
m = {}
for i, c in enumerate(order):
m[c] = i
return ''.join(sorted(list(str), key=lambda x: m[x] if x in m else 27))
if __name__ == '__main__':
order = input()
str = input()
print(Solution().customSortString(order, str)) | class Solution:
def custom_sort_string(self, order: str, str: str) -> str:
m = {}
for (i, c) in enumerate(order):
m[c] = i
return ''.join(sorted(list(str), key=lambda x: m[x] if x in m else 27))
if __name__ == '__main__':
order = input()
str = input()
print(solution().customSortString(order, str)) |
# list instantaneous nfs performance for all file systems
res = client.get_file_systems_performance(protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous nfs performance for file systems 'fs1' and 'fs2'
res = client.get_file_systems_performance(names=['fs1', 'fs2'], protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list instantaneous nfs performance for file system with id '10314f42-020d-7080-8013-000ddt400090'
res = client.get_file_systems_performance(ids=['10314f42-020d-7080-8013-000ddt400090'],
protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical file systems nfs performance for all file systems between some
# start time and end time
res = client.get_file_systems_performance(
start_time=START_TIME,
end_time=END_TIME,
protocol='nfs',
resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# list historical file systems nfs performance for file systems 'fs1' and 'fs2' between some
# start time and end time
res = client.get_file_systems_performance(
start_time=START_TIME,
end_time=END_TIME,
resolution=30000,
protocol='nfs',
names=['fs1', 'fs2'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
# total instantaneous performance across 2 filesystems
res = client.get_file_systems_performance(names=['fs1', 'fs2'], protocol='nfs',
total_only=True)
print(res)
# Other valid fields: continuation_token, filter, ids, limit, offset, sort
# See section "Common Fields" for examples
| res = client.get_file_systems_performance(protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_file_systems_performance(names=['fs1', 'fs2'], protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_file_systems_performance(ids=['10314f42-020d-7080-8013-000ddt400090'], protocol='nfs')
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_file_systems_performance(start_time=START_TIME, end_time=END_TIME, protocol='nfs', resolution=30000)
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_file_systems_performance(start_time=START_TIME, end_time=END_TIME, resolution=30000, protocol='nfs', names=['fs1', 'fs2'])
print(res)
if type(res) == pypureclient.responses.ValidResponse:
print(list(res.items))
res = client.get_file_systems_performance(names=['fs1', 'fs2'], protocol='nfs', total_only=True)
print(res) |
def binary_conversor(x: int) -> int:
print(x)
if x > 2:
return binary_conversor(x // 2)
def main() -> None:
print(binary_conversor(25))
if __name__ == "__main__":
main() | def binary_conversor(x: int) -> int:
print(x)
if x > 2:
return binary_conversor(x // 2)
def main() -> None:
print(binary_conversor(25))
if __name__ == '__main__':
main() |
class OtherClassA(object):
def sort(self):
pass
class OtherClassB(object):
def sort(self):
pass | class Otherclassa(object):
def sort(self):
pass
class Otherclassb(object):
def sort(self):
pass |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# abstract - abstract base classes for challenge handlers
# Copyright (c) Rudolf Mayerhofer, 2019.
# available under the ISC license, see LICENSE
class AbstractChallengeHandler:
def __init__(self, config):
self.config = config
@staticmethod
def get_challenge_type():
raise NotImplementedError
def create_challenge(self, domain, thumbprint, token):
raise NotImplementedError
def destroy_challenge(self, domain, thumbprint, token):
raise NotImplementedError
# Optional: Indicate when a challenge request is imminent
def start_challenge(self, domain, thumbprint, token):
pass
# Optional: Indicate when a challenge response has been received
def stop_challenge(self, domain, thumbprint, token):
pass
| class Abstractchallengehandler:
def __init__(self, config):
self.config = config
@staticmethod
def get_challenge_type():
raise NotImplementedError
def create_challenge(self, domain, thumbprint, token):
raise NotImplementedError
def destroy_challenge(self, domain, thumbprint, token):
raise NotImplementedError
def start_challenge(self, domain, thumbprint, token):
pass
def stop_challenge(self, domain, thumbprint, token):
pass |
# https://leetcode.com/problems/island-perimeter
class Solution:
def islandPerimeter(self, grid: List[List[int]]) -> int:
def nei(i, j):
t = 0
for (di, dj) in [(-1, 0), (1, 0), (0, -1), (0, 1)]:
if 0 <= i + di < len(grid) and 0 <= j + dj < len(grid[0]):
t += grid[i + di][j + dj]
return t
n = len(grid)
m = len(grid[0])
return sum(4 - nei(i, j) for i in range(n) for j in range(m) if grid[i][j] == 1)
| class Solution:
def island_perimeter(self, grid: List[List[int]]) -> int:
def nei(i, j):
t = 0
for (di, dj) in [(-1, 0), (1, 0), (0, -1), (0, 1)]:
if 0 <= i + di < len(grid) and 0 <= j + dj < len(grid[0]):
t += grid[i + di][j + dj]
return t
n = len(grid)
m = len(grid[0])
return sum((4 - nei(i, j) for i in range(n) for j in range(m) if grid[i][j] == 1)) |
n = 5
for i in range (n):
for j in range (2*n,i,-1):
print(' ', end='')
for k in range (i+1):
print('* ', end='')
print()
for i in range (n):
for j in range (n,i,-1):
print(' ', end='')
for k in range (i+1):
print('* ', end='')
for l in range (i+1, n):
print(' ', end=' ')
for m in range (i+1):
print('* ', end='')
print()
| n = 5
for i in range(n):
for j in range(2 * n, i, -1):
print(' ', end='')
for k in range(i + 1):
print('* ', end='')
print()
for i in range(n):
for j in range(n, i, -1):
print(' ', end='')
for k in range(i + 1):
print('* ', end='')
for l in range(i + 1, n):
print(' ', end=' ')
for m in range(i + 1):
print('* ', end='')
print() |
# RTFM -> http://docs.gunicorn.org/en/latest/settings.html#settings
bind = '0.0.0.0:8000'
workers = 4
timeout = 30
worker_class = 'gevent'
max_requests = 2000
max_requests_jitter = 500
proc_name = 'archery'
accesslog = '-'
errorlog = '-'
loglevel = 'info'
| bind = '0.0.0.0:8000'
workers = 4
timeout = 30
worker_class = 'gevent'
max_requests = 2000
max_requests_jitter = 500
proc_name = 'archery'
accesslog = '-'
errorlog = '-'
loglevel = 'info' |
tables6 = \
[([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 3, 4, 5, 0, 1),
(3, 2, 5, 4, 1, 0),
(4, 5, 0, 1, 2, 3),
(5, 4, 1, 0, 3, 2)),
([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 3, 4, 5, 1, 0),
(3, 2, 5, 4, 0, 1),
(4, 5, 1, 0, 3, 2),
(5, 4, 0, 1, 2, 3)),
([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 3, 5, 4, 0, 1),
(3, 2, 4, 5, 1, 0),
(4, 5, 0, 1, 3, 2),
(5, 4, 1, 0, 2, 3)),
([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 3, 5, 4, 1, 0),
(3, 2, 4, 5, 0, 1),
(4, 5, 1, 0, 2, 3),
(5, 4, 0, 1, 3, 2)),
([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 4, 0, 5, 1, 3),
(3, 5, 1, 4, 0, 2),
(4, 2, 5, 0, 3, 1),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 4, 5, 1, 3, 0),
(3, 5, 4, 0, 2, 1),
(4, 2, 1, 5, 0, 3),
(5, 3, 0, 4, 1, 2)),
([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 5, 0, 4, 3, 1),
(3, 4, 1, 5, 2, 0),
(4, 3, 5, 1, 0, 2),
(5, 2, 4, 0, 1, 3)),
([0, 1, 2, 3, 4, 5],
(1, 0, 3, 2, 5, 4),
(2, 5, 4, 1, 0, 3),
(3, 4, 5, 0, 1, 2),
(4, 3, 0, 5, 2, 1),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 3, 0, 1, 5, 4),
(3, 2, 5, 4, 0, 1),
(4, 5, 1, 0, 3, 2),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 3, 5, 4, 1, 0),
(3, 2, 1, 0, 5, 4),
(4, 5, 3, 2, 0, 1),
(5, 4, 0, 1, 3, 2)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 4, 3, 0, 5, 1),
(3, 5, 0, 2, 1, 4),
(4, 2, 5, 1, 3, 0),
(5, 3, 1, 4, 0, 2)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 4, 3, 1, 5, 0),
(3, 5, 1, 4, 0, 2),
(4, 2, 5, 0, 3, 1),
(5, 3, 0, 2, 1, 4)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 4, 5, 0, 3, 1),
(3, 5, 0, 4, 1, 2),
(4, 2, 3, 1, 5, 0),
(5, 3, 1, 2, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 4, 5, 1, 3, 0),
(3, 5, 1, 2, 0, 4),
(4, 2, 3, 0, 5, 1),
(5, 3, 0, 4, 1, 2)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 5, 0, 4, 3, 1),
(3, 4, 5, 0, 1, 2),
(4, 3, 1, 2, 5, 0),
(5, 2, 3, 1, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 0, 4, 5, 2, 3),
(2, 5, 3, 0, 1, 4),
(3, 4, 0, 2, 5, 1),
(4, 3, 5, 1, 0, 2),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 3, 0, 1, 5, 4),
(3, 2, 4, 5, 1, 0),
(4, 5, 3, 2, 0, 1),
(5, 4, 1, 0, 2, 3)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 3, 4, 5, 0, 1),
(3, 2, 1, 0, 5, 4),
(4, 5, 0, 1, 2, 3),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 4, 0, 5, 1, 3),
(3, 5, 4, 0, 2, 1),
(4, 2, 3, 1, 5, 0),
(5, 3, 1, 2, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 4, 3, 0, 5, 1),
(3, 5, 0, 2, 1, 4),
(4, 2, 1, 5, 0, 3),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 5, 3, 0, 1, 4),
(3, 4, 0, 2, 5, 1),
(4, 3, 1, 5, 2, 0),
(5, 2, 4, 1, 0, 3)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 5, 3, 1, 0, 4),
(3, 4, 1, 5, 2, 0),
(4, 3, 0, 2, 5, 1),
(5, 2, 4, 0, 1, 3)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 5, 4, 0, 1, 3),
(3, 4, 0, 5, 2, 1),
(4, 3, 1, 2, 5, 0),
(5, 2, 3, 1, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 0, 5, 4, 3, 2),
(2, 5, 4, 1, 0, 3),
(3, 4, 1, 2, 5, 0),
(4, 3, 0, 5, 2, 1),
(5, 2, 3, 0, 1, 4)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 4, 5, 3),
(2, 0, 1, 5, 3, 4),
(3, 4, 5, 0, 1, 2),
(4, 5, 3, 1, 2, 0),
(5, 3, 4, 2, 0, 1)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 4, 5, 3),
(2, 0, 1, 5, 3, 4),
(3, 4, 5, 1, 2, 0),
(4, 5, 3, 2, 0, 1),
(5, 3, 4, 0, 1, 2)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 4, 5, 3),
(2, 0, 1, 5, 3, 4),
(3, 4, 5, 2, 0, 1),
(4, 5, 3, 0, 1, 2),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 4, 5, 3),
(2, 0, 1, 5, 3, 4),
(3, 5, 4, 0, 2, 1),
(4, 3, 5, 1, 0, 2),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 5, 3, 4),
(2, 0, 1, 4, 5, 3),
(3, 4, 5, 0, 1, 2),
(4, 5, 3, 2, 0, 1),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 5, 3, 4),
(2, 0, 1, 4, 5, 3),
(3, 5, 4, 0, 2, 1),
(4, 3, 5, 2, 1, 0),
(5, 4, 3, 1, 0, 2)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 5, 3, 4),
(2, 0, 1, 4, 5, 3),
(3, 5, 4, 1, 0, 2),
(4, 3, 5, 0, 2, 1),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 2, 0, 5, 3, 4),
(2, 0, 1, 4, 5, 3),
(3, 5, 4, 2, 1, 0),
(4, 3, 5, 1, 0, 2),
(5, 4, 3, 0, 2, 1)),
([0, 1, 2, 3, 4, 5],
(1, 2, 3, 4, 5, 0),
(2, 3, 4, 5, 0, 1),
(3, 4, 5, 0, 1, 2),
(4, 5, 0, 1, 2, 3),
(5, 0, 1, 2, 3, 4)),
([0, 1, 2, 3, 4, 5],
(1, 2, 3, 5, 0, 4),
(2, 3, 5, 4, 1, 0),
(3, 5, 4, 0, 2, 1),
(4, 0, 1, 2, 5, 3),
(5, 4, 0, 1, 3, 2)),
([0, 1, 2, 3, 4, 5],
(1, 2, 4, 0, 5, 3),
(2, 4, 5, 1, 3, 0),
(3, 0, 1, 5, 2, 4),
(4, 5, 3, 2, 0, 1),
(5, 3, 0, 4, 1, 2)),
([0, 1, 2, 3, 4, 5],
(1, 2, 4, 5, 3, 0),
(2, 4, 3, 0, 5, 1),
(3, 5, 0, 2, 1, 4),
(4, 3, 5, 1, 0, 2),
(5, 0, 1, 4, 2, 3)),
([0, 1, 2, 3, 4, 5],
(1, 2, 5, 0, 3, 4),
(2, 5, 4, 1, 0, 3),
(3, 0, 1, 4, 5, 2),
(4, 3, 0, 5, 2, 1),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 2, 5, 4, 0, 3),
(2, 5, 3, 0, 1, 4),
(3, 4, 0, 2, 5, 1),
(4, 0, 1, 5, 3, 2),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 3, 0, 4, 5, 2),
(2, 0, 5, 1, 3, 4),
(3, 4, 1, 5, 2, 0),
(4, 5, 3, 2, 0, 1),
(5, 2, 4, 0, 1, 3)),
([0, 1, 2, 3, 4, 5],
(1, 3, 0, 5, 2, 4),
(2, 0, 4, 1, 5, 3),
(3, 5, 1, 4, 0, 2),
(4, 2, 5, 0, 3, 1),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 3, 4, 0, 5, 2),
(2, 4, 0, 5, 1, 3),
(3, 0, 5, 1, 2, 4),
(4, 5, 1, 2, 3, 0),
(5, 2, 3, 4, 0, 1)),
([0, 1, 2, 3, 4, 5],
(1, 3, 4, 0, 5, 2),
(2, 4, 1, 5, 3, 0),
(3, 0, 5, 1, 2, 4),
(4, 5, 3, 2, 0, 1),
(5, 2, 0, 4, 1, 3)),
([0, 1, 2, 3, 4, 5],
(1, 3, 4, 0, 5, 2),
(2, 4, 3, 5, 0, 1),
(3, 0, 5, 1, 2, 4),
(4, 5, 0, 2, 1, 3),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 3, 4, 0, 5, 2),
(2, 5, 0, 4, 3, 1),
(3, 0, 5, 1, 2, 4),
(4, 2, 1, 5, 0, 3),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 3, 4, 2, 5, 0),
(2, 4, 0, 5, 1, 3),
(3, 2, 5, 4, 0, 1),
(4, 5, 1, 0, 3, 2),
(5, 0, 3, 1, 2, 4)),
([0, 1, 2, 3, 4, 5],
(1, 3, 4, 5, 0, 2),
(2, 4, 3, 0, 5, 1),
(3, 5, 0, 2, 1, 4),
(4, 0, 5, 1, 2, 3),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 3, 5, 0, 2, 4),
(2, 4, 0, 5, 1, 3),
(3, 0, 4, 1, 5, 2),
(4, 5, 3, 2, 0, 1),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 3, 5, 0, 2, 4),
(2, 5, 0, 4, 3, 1),
(3, 0, 4, 1, 5, 2),
(4, 2, 3, 5, 1, 0),
(5, 4, 1, 2, 0, 3)),
([0, 1, 2, 3, 4, 5],
(1, 3, 5, 0, 2, 4),
(2, 5, 1, 4, 0, 3),
(3, 0, 4, 1, 5, 2),
(4, 2, 0, 5, 3, 1),
(5, 4, 3, 2, 1, 0)),
([0, 1, 2, 3, 4, 5],
(1, 3, 5, 0, 2, 4),
(2, 5, 3, 4, 1, 0),
(3, 0, 4, 1, 5, 2),
(4, 2, 1, 5, 0, 3),
(5, 4, 0, 2, 3, 1)),
([0, 1, 2, 3, 4, 5],
(1, 3, 5, 2, 0, 4),
(2, 5, 0, 4, 3, 1),
(3, 2, 4, 5, 1, 0),
(4, 0, 3, 1, 5, 2),
(5, 4, 1, 0, 2, 3)),
([0, 1, 2, 3, 4, 5],
(1, 3, 5, 4, 2, 0),
(2, 5, 3, 0, 1, 4),
(3, 4, 0, 2, 5, 1),
(4, 2, 1, 5, 0, 3),
(5, 0, 4, 1, 3, 2)),
([0, 1, 2, 3, 4, 5],
(1, 4, 0, 2, 5, 3),
(2, 0, 3, 5, 1, 4),
(3, 2, 5, 4, 0, 1),
(4, 5, 1, 0, 3, 2),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 4, 0, 5, 3, 2),
(2, 0, 5, 4, 1, 3),
(3, 5, 4, 0, 2, 1),
(4, 3, 1, 2, 5, 0),
(5, 2, 3, 1, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 4, 3, 0, 5, 2),
(2, 3, 4, 5, 0, 1),
(3, 0, 5, 2, 1, 4),
(4, 5, 0, 1, 2, 3),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 4, 3, 5, 0, 2),
(2, 3, 0, 1, 5, 4),
(3, 5, 1, 4, 2, 0),
(4, 0, 5, 2, 1, 3),
(5, 2, 4, 0, 3, 1)),
([0, 1, 2, 3, 4, 5],
(1, 4, 3, 5, 0, 2),
(2, 3, 1, 4, 5, 0),
(3, 5, 4, 0, 2, 1),
(4, 0, 5, 2, 1, 3),
(5, 2, 0, 1, 3, 4)),
([0, 1, 2, 3, 4, 5],
(1, 4, 3, 5, 0, 2),
(2, 3, 4, 0, 5, 1),
(3, 5, 0, 1, 2, 4),
(4, 0, 5, 2, 1, 3),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 4, 3, 5, 0, 2),
(2, 5, 0, 4, 3, 1),
(3, 2, 1, 0, 5, 4),
(4, 0, 5, 2, 1, 3),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 4, 3, 5, 2, 0),
(2, 3, 0, 1, 5, 4),
(3, 5, 1, 4, 0, 2),
(4, 2, 5, 0, 3, 1),
(5, 0, 4, 2, 1, 3)),
([0, 1, 2, 3, 4, 5],
(1, 4, 5, 0, 2, 3),
(2, 5, 0, 4, 3, 1),
(3, 0, 4, 5, 1, 2),
(4, 2, 3, 1, 5, 0),
(5, 3, 1, 2, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 4, 5, 2, 0, 3),
(2, 3, 0, 1, 5, 4),
(3, 5, 4, 0, 2, 1),
(4, 0, 3, 5, 1, 2),
(5, 2, 1, 4, 3, 0)),
([0, 1, 2, 3, 4, 5],
(1, 4, 5, 2, 0, 3),
(2, 5, 0, 4, 3, 1),
(3, 2, 4, 1, 5, 0),
(4, 0, 3, 5, 1, 2),
(5, 3, 1, 0, 2, 4)),
([0, 1, 2, 3, 4, 5],
(1, 4, 5, 2, 0, 3),
(2, 5, 1, 0, 3, 4),
(3, 2, 0, 4, 5, 1),
(4, 0, 3, 5, 1, 2),
(5, 3, 4, 1, 2, 0)),
([0, 1, 2, 3, 4, 5],
(1, 4, 5, 2, 0, 3),
(2, 5, 4, 1, 3, 0),
(3, 2, 1, 0, 5, 4),
(4, 0, 3, 5, 1, 2),
(5, 3, 0, 4, 2, 1)),
([0, 1, 2, 3, 4, 5],
(1, 4, 5, 2, 3, 0),
(2, 5, 4, 1, 0, 3),
(3, 2, 1, 0, 5, 4),
(4, 3, 0, 5, 2, 1),
(5, 0, 3, 4, 1, 2)),
([0, 1, 2, 3, 4, 5],
(1, 5, 0, 2, 3, 4),
(2, 0, 3, 4, 5, 1),
(3, 2, 4, 5, 1, 0),
(4, 3, 5, 1, 0, 2),
(5, 4, 1, 0, 2, 3)),
([0, 1, 2, 3, 4, 5],
(1, 5, 0, 4, 2, 3),
(2, 0, 4, 5, 3, 1),
(3, 4, 5, 0, 1, 2),
(4, 2, 3, 1, 5, 0),
(5, 3, 1, 2, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 5, 3, 0, 2, 4),
(2, 3, 5, 4, 1, 0),
(3, 0, 4, 2, 5, 1),
(4, 2, 1, 5, 0, 3),
(5, 4, 0, 1, 3, 2)),
([0, 1, 2, 3, 4, 5],
(1, 5, 3, 4, 0, 2),
(2, 3, 0, 1, 5, 4),
(3, 4, 1, 5, 2, 0),
(4, 0, 5, 2, 3, 1),
(5, 2, 4, 0, 1, 3)),
([0, 1, 2, 3, 4, 5],
(1, 5, 3, 4, 2, 0),
(2, 3, 0, 1, 5, 4),
(3, 4, 1, 5, 0, 2),
(4, 2, 5, 0, 1, 3),
(5, 0, 4, 2, 3, 1)),
([0, 1, 2, 3, 4, 5],
(1, 5, 3, 4, 2, 0),
(2, 3, 1, 5, 0, 4),
(3, 4, 5, 0, 1, 2),
(4, 2, 0, 1, 5, 3),
(5, 0, 4, 2, 3, 1)),
([0, 1, 2, 3, 4, 5],
(1, 5, 3, 4, 2, 0),
(2, 3, 5, 0, 1, 4),
(3, 4, 0, 1, 5, 2),
(4, 2, 1, 5, 0, 3),
(5, 0, 4, 2, 3, 1)),
([0, 1, 2, 3, 4, 5],
(1, 5, 3, 4, 2, 0),
(2, 4, 0, 5, 1, 3),
(3, 2, 1, 0, 5, 4),
(4, 3, 5, 1, 0, 2),
(5, 0, 4, 2, 3, 1)),
([0, 1, 2, 3, 4, 5],
(1, 5, 4, 0, 3, 2),
(2, 4, 0, 5, 1, 3),
(3, 0, 5, 4, 2, 1),
(4, 3, 1, 2, 5, 0),
(5, 2, 3, 1, 0, 4)),
([0, 1, 2, 3, 4, 5],
(1, 5, 4, 2, 0, 3),
(2, 4, 5, 1, 3, 0),
(3, 2, 1, 0, 5, 4),
(4, 0, 3, 5, 2, 1),
(5, 3, 0, 4, 1, 2)),
([0, 1, 2, 3, 4, 5],
(1, 5, 4, 2, 3, 0),
(2, 3, 0, 1, 5, 4),
(3, 4, 5, 0, 1, 2),
(4, 2, 1, 5, 0, 3),
(5, 0, 3, 4, 2, 1)),
([0, 1, 2, 3, 4, 5],
(1, 5, 4, 2, 3, 0),
(2, 4, 0, 5, 1, 3),
(3, 2, 5, 1, 0, 4),
(4, 3, 1, 0, 5, 2),
(5, 0, 3, 4, 2, 1)),
([0, 1, 2, 3, 4, 5],
(1, 5, 4, 2, 3, 0),
(2, 4, 1, 0, 5, 3),
(3, 2, 0, 5, 1, 4),
(4, 3, 5, 1, 0, 2),
(5, 0, 3, 4, 2, 1)),
([0, 1, 2, 3, 4, 5],
(1, 5, 4, 2, 3, 0),
(2, 4, 5, 1, 0, 3),
(3, 2, 1, 0, 5, 4),
(4, 3, 0, 5, 1, 2),
(5, 0, 3, 4, 2, 1))] | tables6 = [([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 3, 4, 5, 0, 1), (3, 2, 5, 4, 1, 0), (4, 5, 0, 1, 2, 3), (5, 4, 1, 0, 3, 2)), ([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 3, 4, 5, 1, 0), (3, 2, 5, 4, 0, 1), (4, 5, 1, 0, 3, 2), (5, 4, 0, 1, 2, 3)), ([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 3, 5, 4, 0, 1), (3, 2, 4, 5, 1, 0), (4, 5, 0, 1, 3, 2), (5, 4, 1, 0, 2, 3)), ([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 3, 5, 4, 1, 0), (3, 2, 4, 5, 0, 1), (4, 5, 1, 0, 2, 3), (5, 4, 0, 1, 3, 2)), ([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 4, 0, 5, 1, 3), (3, 5, 1, 4, 0, 2), (4, 2, 5, 0, 3, 1), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 4, 5, 1, 3, 0), (3, 5, 4, 0, 2, 1), (4, 2, 1, 5, 0, 3), (5, 3, 0, 4, 1, 2)), ([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 5, 0, 4, 3, 1), (3, 4, 1, 5, 2, 0), (4, 3, 5, 1, 0, 2), (5, 2, 4, 0, 1, 3)), ([0, 1, 2, 3, 4, 5], (1, 0, 3, 2, 5, 4), (2, 5, 4, 1, 0, 3), (3, 4, 5, 0, 1, 2), (4, 3, 0, 5, 2, 1), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 3, 0, 1, 5, 4), (3, 2, 5, 4, 0, 1), (4, 5, 1, 0, 3, 2), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 3, 5, 4, 1, 0), (3, 2, 1, 0, 5, 4), (4, 5, 3, 2, 0, 1), (5, 4, 0, 1, 3, 2)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 4, 3, 0, 5, 1), (3, 5, 0, 2, 1, 4), (4, 2, 5, 1, 3, 0), (5, 3, 1, 4, 0, 2)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 4, 3, 1, 5, 0), (3, 5, 1, 4, 0, 2), (4, 2, 5, 0, 3, 1), (5, 3, 0, 2, 1, 4)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 4, 5, 0, 3, 1), (3, 5, 0, 4, 1, 2), (4, 2, 3, 1, 5, 0), (5, 3, 1, 2, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 4, 5, 1, 3, 0), (3, 5, 1, 2, 0, 4), (4, 2, 3, 0, 5, 1), (5, 3, 0, 4, 1, 2)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 5, 0, 4, 3, 1), (3, 4, 5, 0, 1, 2), (4, 3, 1, 2, 5, 0), (5, 2, 3, 1, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 0, 4, 5, 2, 3), (2, 5, 3, 0, 1, 4), (3, 4, 0, 2, 5, 1), (4, 3, 5, 1, 0, 2), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 3, 0, 1, 5, 4), (3, 2, 4, 5, 1, 0), (4, 5, 3, 2, 0, 1), (5, 4, 1, 0, 2, 3)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 3, 4, 5, 0, 1), (3, 2, 1, 0, 5, 4), (4, 5, 0, 1, 2, 3), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 4, 0, 5, 1, 3), (3, 5, 4, 0, 2, 1), (4, 2, 3, 1, 5, 0), (5, 3, 1, 2, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 4, 3, 0, 5, 1), (3, 5, 0, 2, 1, 4), (4, 2, 1, 5, 0, 3), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 5, 3, 0, 1, 4), (3, 4, 0, 2, 5, 1), (4, 3, 1, 5, 2, 0), (5, 2, 4, 1, 0, 3)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 5, 3, 1, 0, 4), (3, 4, 1, 5, 2, 0), (4, 3, 0, 2, 5, 1), (5, 2, 4, 0, 1, 3)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 5, 4, 0, 1, 3), (3, 4, 0, 5, 2, 1), (4, 3, 1, 2, 5, 0), (5, 2, 3, 1, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 0, 5, 4, 3, 2), (2, 5, 4, 1, 0, 3), (3, 4, 1, 2, 5, 0), (4, 3, 0, 5, 2, 1), (5, 2, 3, 0, 1, 4)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 4, 5, 3), (2, 0, 1, 5, 3, 4), (3, 4, 5, 0, 1, 2), (4, 5, 3, 1, 2, 0), (5, 3, 4, 2, 0, 1)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 4, 5, 3), (2, 0, 1, 5, 3, 4), (3, 4, 5, 1, 2, 0), (4, 5, 3, 2, 0, 1), (5, 3, 4, 0, 1, 2)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 4, 5, 3), (2, 0, 1, 5, 3, 4), (3, 4, 5, 2, 0, 1), (4, 5, 3, 0, 1, 2), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 4, 5, 3), (2, 0, 1, 5, 3, 4), (3, 5, 4, 0, 2, 1), (4, 3, 5, 1, 0, 2), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 5, 3, 4), (2, 0, 1, 4, 5, 3), (3, 4, 5, 0, 1, 2), (4, 5, 3, 2, 0, 1), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 5, 3, 4), (2, 0, 1, 4, 5, 3), (3, 5, 4, 0, 2, 1), (4, 3, 5, 2, 1, 0), (5, 4, 3, 1, 0, 2)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 5, 3, 4), (2, 0, 1, 4, 5, 3), (3, 5, 4, 1, 0, 2), (4, 3, 5, 0, 2, 1), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 2, 0, 5, 3, 4), (2, 0, 1, 4, 5, 3), (3, 5, 4, 2, 1, 0), (4, 3, 5, 1, 0, 2), (5, 4, 3, 0, 2, 1)), ([0, 1, 2, 3, 4, 5], (1, 2, 3, 4, 5, 0), (2, 3, 4, 5, 0, 1), (3, 4, 5, 0, 1, 2), (4, 5, 0, 1, 2, 3), (5, 0, 1, 2, 3, 4)), ([0, 1, 2, 3, 4, 5], (1, 2, 3, 5, 0, 4), (2, 3, 5, 4, 1, 0), (3, 5, 4, 0, 2, 1), (4, 0, 1, 2, 5, 3), (5, 4, 0, 1, 3, 2)), ([0, 1, 2, 3, 4, 5], (1, 2, 4, 0, 5, 3), (2, 4, 5, 1, 3, 0), (3, 0, 1, 5, 2, 4), (4, 5, 3, 2, 0, 1), (5, 3, 0, 4, 1, 2)), ([0, 1, 2, 3, 4, 5], (1, 2, 4, 5, 3, 0), (2, 4, 3, 0, 5, 1), (3, 5, 0, 2, 1, 4), (4, 3, 5, 1, 0, 2), (5, 0, 1, 4, 2, 3)), ([0, 1, 2, 3, 4, 5], (1, 2, 5, 0, 3, 4), (2, 5, 4, 1, 0, 3), (3, 0, 1, 4, 5, 2), (4, 3, 0, 5, 2, 1), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 2, 5, 4, 0, 3), (2, 5, 3, 0, 1, 4), (3, 4, 0, 2, 5, 1), (4, 0, 1, 5, 3, 2), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 3, 0, 4, 5, 2), (2, 0, 5, 1, 3, 4), (3, 4, 1, 5, 2, 0), (4, 5, 3, 2, 0, 1), (5, 2, 4, 0, 1, 3)), ([0, 1, 2, 3, 4, 5], (1, 3, 0, 5, 2, 4), (2, 0, 4, 1, 5, 3), (3, 5, 1, 4, 0, 2), (4, 2, 5, 0, 3, 1), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 3, 4, 0, 5, 2), (2, 4, 0, 5, 1, 3), (3, 0, 5, 1, 2, 4), (4, 5, 1, 2, 3, 0), (5, 2, 3, 4, 0, 1)), ([0, 1, 2, 3, 4, 5], (1, 3, 4, 0, 5, 2), (2, 4, 1, 5, 3, 0), (3, 0, 5, 1, 2, 4), (4, 5, 3, 2, 0, 1), (5, 2, 0, 4, 1, 3)), ([0, 1, 2, 3, 4, 5], (1, 3, 4, 0, 5, 2), (2, 4, 3, 5, 0, 1), (3, 0, 5, 1, 2, 4), (4, 5, 0, 2, 1, 3), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 3, 4, 0, 5, 2), (2, 5, 0, 4, 3, 1), (3, 0, 5, 1, 2, 4), (4, 2, 1, 5, 0, 3), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 3, 4, 2, 5, 0), (2, 4, 0, 5, 1, 3), (3, 2, 5, 4, 0, 1), (4, 5, 1, 0, 3, 2), (5, 0, 3, 1, 2, 4)), ([0, 1, 2, 3, 4, 5], (1, 3, 4, 5, 0, 2), (2, 4, 3, 0, 5, 1), (3, 5, 0, 2, 1, 4), (4, 0, 5, 1, 2, 3), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 3, 5, 0, 2, 4), (2, 4, 0, 5, 1, 3), (3, 0, 4, 1, 5, 2), (4, 5, 3, 2, 0, 1), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 3, 5, 0, 2, 4), (2, 5, 0, 4, 3, 1), (3, 0, 4, 1, 5, 2), (4, 2, 3, 5, 1, 0), (5, 4, 1, 2, 0, 3)), ([0, 1, 2, 3, 4, 5], (1, 3, 5, 0, 2, 4), (2, 5, 1, 4, 0, 3), (3, 0, 4, 1, 5, 2), (4, 2, 0, 5, 3, 1), (5, 4, 3, 2, 1, 0)), ([0, 1, 2, 3, 4, 5], (1, 3, 5, 0, 2, 4), (2, 5, 3, 4, 1, 0), (3, 0, 4, 1, 5, 2), (4, 2, 1, 5, 0, 3), (5, 4, 0, 2, 3, 1)), ([0, 1, 2, 3, 4, 5], (1, 3, 5, 2, 0, 4), (2, 5, 0, 4, 3, 1), (3, 2, 4, 5, 1, 0), (4, 0, 3, 1, 5, 2), (5, 4, 1, 0, 2, 3)), ([0, 1, 2, 3, 4, 5], (1, 3, 5, 4, 2, 0), (2, 5, 3, 0, 1, 4), (3, 4, 0, 2, 5, 1), (4, 2, 1, 5, 0, 3), (5, 0, 4, 1, 3, 2)), ([0, 1, 2, 3, 4, 5], (1, 4, 0, 2, 5, 3), (2, 0, 3, 5, 1, 4), (3, 2, 5, 4, 0, 1), (4, 5, 1, 0, 3, 2), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 4, 0, 5, 3, 2), (2, 0, 5, 4, 1, 3), (3, 5, 4, 0, 2, 1), (4, 3, 1, 2, 5, 0), (5, 2, 3, 1, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 4, 3, 0, 5, 2), (2, 3, 4, 5, 0, 1), (3, 0, 5, 2, 1, 4), (4, 5, 0, 1, 2, 3), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 4, 3, 5, 0, 2), (2, 3, 0, 1, 5, 4), (3, 5, 1, 4, 2, 0), (4, 0, 5, 2, 1, 3), (5, 2, 4, 0, 3, 1)), ([0, 1, 2, 3, 4, 5], (1, 4, 3, 5, 0, 2), (2, 3, 1, 4, 5, 0), (3, 5, 4, 0, 2, 1), (4, 0, 5, 2, 1, 3), (5, 2, 0, 1, 3, 4)), ([0, 1, 2, 3, 4, 5], (1, 4, 3, 5, 0, 2), (2, 3, 4, 0, 5, 1), (3, 5, 0, 1, 2, 4), (4, 0, 5, 2, 1, 3), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 4, 3, 5, 0, 2), (2, 5, 0, 4, 3, 1), (3, 2, 1, 0, 5, 4), (4, 0, 5, 2, 1, 3), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 4, 3, 5, 2, 0), (2, 3, 0, 1, 5, 4), (3, 5, 1, 4, 0, 2), (4, 2, 5, 0, 3, 1), (5, 0, 4, 2, 1, 3)), ([0, 1, 2, 3, 4, 5], (1, 4, 5, 0, 2, 3), (2, 5, 0, 4, 3, 1), (3, 0, 4, 5, 1, 2), (4, 2, 3, 1, 5, 0), (5, 3, 1, 2, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 4, 5, 2, 0, 3), (2, 3, 0, 1, 5, 4), (3, 5, 4, 0, 2, 1), (4, 0, 3, 5, 1, 2), (5, 2, 1, 4, 3, 0)), ([0, 1, 2, 3, 4, 5], (1, 4, 5, 2, 0, 3), (2, 5, 0, 4, 3, 1), (3, 2, 4, 1, 5, 0), (4, 0, 3, 5, 1, 2), (5, 3, 1, 0, 2, 4)), ([0, 1, 2, 3, 4, 5], (1, 4, 5, 2, 0, 3), (2, 5, 1, 0, 3, 4), (3, 2, 0, 4, 5, 1), (4, 0, 3, 5, 1, 2), (5, 3, 4, 1, 2, 0)), ([0, 1, 2, 3, 4, 5], (1, 4, 5, 2, 0, 3), (2, 5, 4, 1, 3, 0), (3, 2, 1, 0, 5, 4), (4, 0, 3, 5, 1, 2), (5, 3, 0, 4, 2, 1)), ([0, 1, 2, 3, 4, 5], (1, 4, 5, 2, 3, 0), (2, 5, 4, 1, 0, 3), (3, 2, 1, 0, 5, 4), (4, 3, 0, 5, 2, 1), (5, 0, 3, 4, 1, 2)), ([0, 1, 2, 3, 4, 5], (1, 5, 0, 2, 3, 4), (2, 0, 3, 4, 5, 1), (3, 2, 4, 5, 1, 0), (4, 3, 5, 1, 0, 2), (5, 4, 1, 0, 2, 3)), ([0, 1, 2, 3, 4, 5], (1, 5, 0, 4, 2, 3), (2, 0, 4, 5, 3, 1), (3, 4, 5, 0, 1, 2), (4, 2, 3, 1, 5, 0), (5, 3, 1, 2, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 5, 3, 0, 2, 4), (2, 3, 5, 4, 1, 0), (3, 0, 4, 2, 5, 1), (4, 2, 1, 5, 0, 3), (5, 4, 0, 1, 3, 2)), ([0, 1, 2, 3, 4, 5], (1, 5, 3, 4, 0, 2), (2, 3, 0, 1, 5, 4), (3, 4, 1, 5, 2, 0), (4, 0, 5, 2, 3, 1), (5, 2, 4, 0, 1, 3)), ([0, 1, 2, 3, 4, 5], (1, 5, 3, 4, 2, 0), (2, 3, 0, 1, 5, 4), (3, 4, 1, 5, 0, 2), (4, 2, 5, 0, 1, 3), (5, 0, 4, 2, 3, 1)), ([0, 1, 2, 3, 4, 5], (1, 5, 3, 4, 2, 0), (2, 3, 1, 5, 0, 4), (3, 4, 5, 0, 1, 2), (4, 2, 0, 1, 5, 3), (5, 0, 4, 2, 3, 1)), ([0, 1, 2, 3, 4, 5], (1, 5, 3, 4, 2, 0), (2, 3, 5, 0, 1, 4), (3, 4, 0, 1, 5, 2), (4, 2, 1, 5, 0, 3), (5, 0, 4, 2, 3, 1)), ([0, 1, 2, 3, 4, 5], (1, 5, 3, 4, 2, 0), (2, 4, 0, 5, 1, 3), (3, 2, 1, 0, 5, 4), (4, 3, 5, 1, 0, 2), (5, 0, 4, 2, 3, 1)), ([0, 1, 2, 3, 4, 5], (1, 5, 4, 0, 3, 2), (2, 4, 0, 5, 1, 3), (3, 0, 5, 4, 2, 1), (4, 3, 1, 2, 5, 0), (5, 2, 3, 1, 0, 4)), ([0, 1, 2, 3, 4, 5], (1, 5, 4, 2, 0, 3), (2, 4, 5, 1, 3, 0), (3, 2, 1, 0, 5, 4), (4, 0, 3, 5, 2, 1), (5, 3, 0, 4, 1, 2)), ([0, 1, 2, 3, 4, 5], (1, 5, 4, 2, 3, 0), (2, 3, 0, 1, 5, 4), (3, 4, 5, 0, 1, 2), (4, 2, 1, 5, 0, 3), (5, 0, 3, 4, 2, 1)), ([0, 1, 2, 3, 4, 5], (1, 5, 4, 2, 3, 0), (2, 4, 0, 5, 1, 3), (3, 2, 5, 1, 0, 4), (4, 3, 1, 0, 5, 2), (5, 0, 3, 4, 2, 1)), ([0, 1, 2, 3, 4, 5], (1, 5, 4, 2, 3, 0), (2, 4, 1, 0, 5, 3), (3, 2, 0, 5, 1, 4), (4, 3, 5, 1, 0, 2), (5, 0, 3, 4, 2, 1)), ([0, 1, 2, 3, 4, 5], (1, 5, 4, 2, 3, 0), (2, 4, 5, 1, 0, 3), (3, 2, 1, 0, 5, 4), (4, 3, 0, 5, 1, 2), (5, 0, 3, 4, 2, 1))] |
#-------------------------------------------------------------------------------
# Function: betterEnumeration
# Description: Computes the maximum sub-array and and associated sum using
# the "better enumeration" algorithm.
# Receives: values - list of integers
# Returns: maximum sub-array sum, and maximum sub-array
# Preconditions: "values" contains at least 1 positive integer
# ------------------------------------------------------------------------------
def betterEnumeration(values):
# Initialize to -Infinity so that any computed sum will be greater
max_sum = -float("inf")
# Iterate starting index over list of values
for i in range(len(values)):
# Track running sum for each starting index
cur_sum = 0
# Iterate ending index over list of values
for j in range(i, len(values)):
cur_sum += values[j]
# If running sum is highest seen, save the sum and the indices
if cur_sum > max_sum:
max_sum = cur_sum
start_idx = i
end_idx = j
# Return the maximum sub-array sum, and the maximum sub-array itself
return max_sum, values[start_idx : end_idx + 1] | def better_enumeration(values):
max_sum = -float('inf')
for i in range(len(values)):
cur_sum = 0
for j in range(i, len(values)):
cur_sum += values[j]
if cur_sum > max_sum:
max_sum = cur_sum
start_idx = i
end_idx = j
return (max_sum, values[start_idx:end_idx + 1]) |
with open('inputs/input6.txt') as fin:
raw = fin.read()
def parse(data):
return [x.replace('\n', '') for x in data.split('\n\n')]
def parse2(data):
return [x.splitlines() for x in data.split('\n\n')]
forms = parse(raw)
forms2 = parse2(raw)
def part_1(groups):
return sum([len(set(x)) for x in groups])
def part_2(groups):
return sum([len(set.intersection(*[set(i) for i in x])) for x in groups])
print(part_1(forms))
print(part_2(forms2))
| with open('inputs/input6.txt') as fin:
raw = fin.read()
def parse(data):
return [x.replace('\n', '') for x in data.split('\n\n')]
def parse2(data):
return [x.splitlines() for x in data.split('\n\n')]
forms = parse(raw)
forms2 = parse2(raw)
def part_1(groups):
return sum([len(set(x)) for x in groups])
def part_2(groups):
return sum([len(set.intersection(*[set(i) for i in x])) for x in groups])
print(part_1(forms))
print(part_2(forms2)) |
def isPalindrome(str) -> bool:
letters = [letter for letter in str]
head = 0
tail = len(letters) - 1
if len(letters) == 0:
return False
while (head < tail):
if letters[head] != letters[tail]:
return False
head = head + 1
tail = tail - 1
return True
if __name__ == '__main__':
print(isPalindrome("mam".lower()))
| def is_palindrome(str) -> bool:
letters = [letter for letter in str]
head = 0
tail = len(letters) - 1
if len(letters) == 0:
return False
while head < tail:
if letters[head] != letters[tail]:
return False
head = head + 1
tail = tail - 1
return True
if __name__ == '__main__':
print(is_palindrome('mam'.lower())) |
# ------------------------------------------------------------------------------
# Python API to access CodeHawk Binary Analyzer analysis results
# Author: Henny Sipma
# ------------------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2016-2019 Kestrel Technology LLC
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# ------------------------------------------------------------------------------
structureweights = {
'md5': 4,
'loopdepth': 4,
'loops': 3,
'blocks': 2,
'instrs': 1
}
class SemanticFeaturesRecorder(object):
def __init__(self,fnmap):
self.fnmap = { f: fnmap['functions'][f]['reffn']
for f in fnmap['functions'] } if 'functions' in fnmap else {}
self.gvmap = { g: fnmap['globalvars'][g]
for g in fnmap['globalvars'] } if 'globalvars' in fnmap else {}
self.results = {}
self.featuresets = []
self.substitution = {}
def reset(self):
self.results = {}
def substitute(self,term):
for t in sorted(self.substitution,reverse=True): # ensure App: is encountered before 0x
term = term.replace(t,self.substitution[t])
return term
def has_canonical_function_name(self,faddr):
return faddr in self.fnmap
def normalize_term(self,p):
if 'App:' in p:
for f in self.fnmap:
p = p.replace('App:' + f,self.fnmap[f])
if 'gv_' in p:
for g in self.gvmap:
p = p.replace(g,self.gvmap[g])
if 'App:' in p or 'gv_' in p:
return None
return p
def add_term(self,featureset,term,n=1):
self.results.setdefault(featureset,{})
self.results[featureset].setdefault(term,0)
self.results[featureset][term] += n
def record(self,fnfeaturesets):
for fs in sorted(fnfeaturesets): # appcalls and dllcalls before predicates
features = fnfeaturesets[fs]
if fs == 'dllcalls':
self.record_dllcalls(features)
elif fs == 'appcalls':
self.record_appcalls(features)
elif fs in ['predicates', 'returnexprs', 'structuredrhs', 'structuredlhs',
'unresolvedcalls' ]:
self.record_expressions(fs,features)
elif fs == 'structure':
self.record_structure(features)
elif fs == 'unresolvedcalls':
self.record_unresolved_calls(features)
else:
for term in fnfeaturesets[fs]:
self.add_term(fs,term,fnfeaturesets[fs][term])
def record_dllcalls(self,features):
for term in features:
if term.endswith('A') or term.endswith('W'):
stemmedterm = term[:-1]
termfn = term.split(':')[1]
stemmedtermfn = stemmedterm.split(':')[1]
self.substitution[termfn] = stemmedtermfn
else:
stemmedterm = term
self.add_term('dllcalls',stemmedterm,features[term])
def record_appcalls(self,features):
for term in features:
if self.has_canonical_function_name(term):
cterm = self.fnmap[term]
self.substitution[term] = cterm
self.substitution['App:' + term] = cterm
self.add_term('appcalls',cterm,features[term])
def record_expressions(self,fs,features):
for term in features:
if 'App:' in term or 'gv_' in term:
cterm = self.normalize_term(term)
if cterm is None: return
else:
cterm = self.substitute(term)
self.add_term(fs,cterm,features[term])
def record_structure(self,features):
weights = structureweights
for fs in features:
self.add_term(fs,str(features[fs]),weights[fs])
| structureweights = {'md5': 4, 'loopdepth': 4, 'loops': 3, 'blocks': 2, 'instrs': 1}
class Semanticfeaturesrecorder(object):
def __init__(self, fnmap):
self.fnmap = {f: fnmap['functions'][f]['reffn'] for f in fnmap['functions']} if 'functions' in fnmap else {}
self.gvmap = {g: fnmap['globalvars'][g] for g in fnmap['globalvars']} if 'globalvars' in fnmap else {}
self.results = {}
self.featuresets = []
self.substitution = {}
def reset(self):
self.results = {}
def substitute(self, term):
for t in sorted(self.substitution, reverse=True):
term = term.replace(t, self.substitution[t])
return term
def has_canonical_function_name(self, faddr):
return faddr in self.fnmap
def normalize_term(self, p):
if 'App:' in p:
for f in self.fnmap:
p = p.replace('App:' + f, self.fnmap[f])
if 'gv_' in p:
for g in self.gvmap:
p = p.replace(g, self.gvmap[g])
if 'App:' in p or 'gv_' in p:
return None
return p
def add_term(self, featureset, term, n=1):
self.results.setdefault(featureset, {})
self.results[featureset].setdefault(term, 0)
self.results[featureset][term] += n
def record(self, fnfeaturesets):
for fs in sorted(fnfeaturesets):
features = fnfeaturesets[fs]
if fs == 'dllcalls':
self.record_dllcalls(features)
elif fs == 'appcalls':
self.record_appcalls(features)
elif fs in ['predicates', 'returnexprs', 'structuredrhs', 'structuredlhs', 'unresolvedcalls']:
self.record_expressions(fs, features)
elif fs == 'structure':
self.record_structure(features)
elif fs == 'unresolvedcalls':
self.record_unresolved_calls(features)
else:
for term in fnfeaturesets[fs]:
self.add_term(fs, term, fnfeaturesets[fs][term])
def record_dllcalls(self, features):
for term in features:
if term.endswith('A') or term.endswith('W'):
stemmedterm = term[:-1]
termfn = term.split(':')[1]
stemmedtermfn = stemmedterm.split(':')[1]
self.substitution[termfn] = stemmedtermfn
else:
stemmedterm = term
self.add_term('dllcalls', stemmedterm, features[term])
def record_appcalls(self, features):
for term in features:
if self.has_canonical_function_name(term):
cterm = self.fnmap[term]
self.substitution[term] = cterm
self.substitution['App:' + term] = cterm
self.add_term('appcalls', cterm, features[term])
def record_expressions(self, fs, features):
for term in features:
if 'App:' in term or 'gv_' in term:
cterm = self.normalize_term(term)
if cterm is None:
return
else:
cterm = self.substitute(term)
self.add_term(fs, cterm, features[term])
def record_structure(self, features):
weights = structureweights
for fs in features:
self.add_term(fs, str(features[fs]), weights[fs]) |
X_threads = 16*33
Y_threads = 32*14
Invoc_count = 1
start_index = 0
end_index = 0
src_list = []
SHARED_MEM_USE = False
total_shared_mem_size = 1024
domi_list = [25, 27,31,33,37,41,88,90,94,132,176,178,182,220,222,226,264,266,295,297]
domi_val = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
| x_threads = 16 * 33
y_threads = 32 * 14
invoc_count = 1
start_index = 0
end_index = 0
src_list = []
shared_mem_use = False
total_shared_mem_size = 1024
domi_list = [25, 27, 31, 33, 37, 41, 88, 90, 94, 132, 176, 178, 182, 220, 222, 226, 264, 266, 295, 297]
domi_val = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] |
def greater_than(x,y):
if x == y:
return "These numbers are the same"
if x>y:
return x
if x<y:
return y
print(greater_than(2,4))
print(greater_than(7,4))
print(greater_than(-50,-50))
def graduation_reqs(credits):
if credits >= 120:
return "You have enough credits to graduate!"
else:
return "You don't have enough credits"
print(graduation_reqs(50))
print(graduation_reqs(120))
| def greater_than(x, y):
if x == y:
return 'These numbers are the same'
if x > y:
return x
if x < y:
return y
print(greater_than(2, 4))
print(greater_than(7, 4))
print(greater_than(-50, -50))
def graduation_reqs(credits):
if credits >= 120:
return 'You have enough credits to graduate!'
else:
return "You don't have enough credits"
print(graduation_reqs(50))
print(graduation_reqs(120)) |
lista = list()
for x in range (0,10):
a = int(input('Digite um valor: '))
lista.append(a)
lista.reverse()
for x in lista:
print(x) | lista = list()
for x in range(0, 10):
a = int(input('Digite um valor: '))
lista.append(a)
lista.reverse()
for x in lista:
print(x) |
class Validator(object):
def validate(self, path):
raise NotImplementedError
class ValidationResult(object):
def __init__(self, path, valid, message=None):
self.path = path
self.valid = valid
self.message = message
validators = {}
def validates(*formats):
def validates_decorator(cls):
for format in formats:
validators[format.lstrip('.')] = cls()
return cls
return validates_decorator
def get_validator(extension):
return validators.get(extension.lstrip('.'))
| class Validator(object):
def validate(self, path):
raise NotImplementedError
class Validationresult(object):
def __init__(self, path, valid, message=None):
self.path = path
self.valid = valid
self.message = message
validators = {}
def validates(*formats):
def validates_decorator(cls):
for format in formats:
validators[format.lstrip('.')] = cls()
return cls
return validates_decorator
def get_validator(extension):
return validators.get(extension.lstrip('.')) |
# Recursive merge sort
#Aux array to do the merge
def merge_sort(array):
global temp
temp = [None] * len(array)
merge_sort_recursive(array, 0, len(array)-1)
def merge_sort_recursive(array, l, r):
if (l < r):
mid = l + (r-l)//2
merge_sort_recursive(array, l, mid)
merge_sort_recursive(array, mid+1, r)
# if the half is sorted dont call merge()
if (array[mid] <= array[mid+1]):
return
merge(array, l, r, mid)
def merge(array, l, r, mid):
i = l
j = mid+1
x = l
# fill aux array
while (x <= r):
temp[x] = array[x]
x += 1
k = l
while (k <= r):
if (i > mid):
array[k] = temp[j]
j += 1
elif (j > r):
array[k] = temp[i]
i += 1
elif (temp[i] < temp[j]):
array[k] = temp[i]
i += 1
elif (temp[i] > temp[j]):
array[k] = temp[j]
j += 1
else:
array[k] = temp[i]
i += 1
k += 1
example_list = [4, 2, 10, 300, 200, 40, 55, 21, 23, 56, 85, 51]
# sorted: 2 4 10 21 23 40 51 55 56 85 200 300
merge_sort(example_list)
print(example_list)
| def merge_sort(array):
global temp
temp = [None] * len(array)
merge_sort_recursive(array, 0, len(array) - 1)
def merge_sort_recursive(array, l, r):
if l < r:
mid = l + (r - l) // 2
merge_sort_recursive(array, l, mid)
merge_sort_recursive(array, mid + 1, r)
if array[mid] <= array[mid + 1]:
return
merge(array, l, r, mid)
def merge(array, l, r, mid):
i = l
j = mid + 1
x = l
while x <= r:
temp[x] = array[x]
x += 1
k = l
while k <= r:
if i > mid:
array[k] = temp[j]
j += 1
elif j > r:
array[k] = temp[i]
i += 1
elif temp[i] < temp[j]:
array[k] = temp[i]
i += 1
elif temp[i] > temp[j]:
array[k] = temp[j]
j += 1
else:
array[k] = temp[i]
i += 1
k += 1
example_list = [4, 2, 10, 300, 200, 40, 55, 21, 23, 56, 85, 51]
merge_sort(example_list)
print(example_list) |
class Property:
__slots__ = ('object_id', 'type', 'value')
def __init__(self, object_id, type, value):
self.object_id = object_id
self.type = type
self.value = value
def __eq__(self, other):
return (self.__class__ == other.__class__ and
all(getattr(self, name) == getattr(other, name) for name in self.__slots__))
def __ne__(self, other):
return not self.__eq__(other)
| class Property:
__slots__ = ('object_id', 'type', 'value')
def __init__(self, object_id, type, value):
self.object_id = object_id
self.type = type
self.value = value
def __eq__(self, other):
return self.__class__ == other.__class__ and all((getattr(self, name) == getattr(other, name) for name in self.__slots__))
def __ne__(self, other):
return not self.__eq__(other) |
'''
@author: l4zyc0d3r
People who are happy makes other happy. I am gonna finish it slowly but definitely.cdt
'''
class Solution:
def suggestedProducts(self, P: List[str], sW: str) -> List[List[str]]:
P.sort()
prfx, ans = '', []
for c in sW:
prfx+=c
i = bisect.bisect_left(P, prfx)
ans.append([ x for x in P[i:i+3] if x.startswith(prfx)])
return ans
| """
@author: l4zyc0d3r
People who are happy makes other happy. I am gonna finish it slowly but definitely.cdt
"""
class Solution:
def suggested_products(self, P: List[str], sW: str) -> List[List[str]]:
P.sort()
(prfx, ans) = ('', [])
for c in sW:
prfx += c
i = bisect.bisect_left(P, prfx)
ans.append([x for x in P[i:i + 3] if x.startswith(prfx)])
return ans |
def reverse(txt):
return txt[::-1]
def capitalize(txt):
return txt.capitalize() | def reverse(txt):
return txt[::-1]
def capitalize(txt):
return txt.capitalize() |
# data from EMSL: https://bse.pnl.gov/bse/portal
# 4-31G EMSL Basis Set Exchange Library 11/9/12 10:13 AM
# Elements References
# -------- ----------
# H, C - F: R. Ditchfield, W.J. Hehre and J.A. Pople, J. Chem. Phys. 54, 724
# (1971).
# He, Ne: Gaussian 90
# Li, Be: These are actually 5-21G basis sets.
# Na - Ar: M.S. Gordon, J.S. Binkley, J.A. Pople, W.J. Pietro and W.J. Hehre,
# J. Am. Chem. Soc. 104, 2797 (1983).
#
H = [[0,
(18.7311370, 0.0334946),
(2.8253944, 0.2347269),
(0.6401217, 0.8137573),],
[0,
(0.1612778, 1.0000000),]]
He = [[0,
(38.4216340, 0.0237660),
(5.7780300, 0.1546790),
(1.2417740, 0.4696300),],
[0,
(0.2979640, 1.0000000),]]
Li = [[0,
(275.3944400, 0.00612185),
(41.4351750, 0.04511296),
(9.3669938, 0.19269415),
(2.5377253, 0.46854421),
(0.7466365, 0.44060752),],
[0,
(0.7345643, -0.25253680),
(0.0871980, 1.09734080),],
[0,
(0.0404387, 1.0000000),],
[1,
(0.7345643, 0.14359173),
(0.0871980, 0.94780305),],
[1,
(0.0404387, 1.0000000),]]
Be = [[0,
(554.0100000, 0.00540997),
(83.2631000, 0.04025150),
(18.8635000, 0.17685800),
(5.1778200, 0.45255900),
(1.5560200, 0.47029300),],
[0,
(1.4417524910, -0.4774290),
(0.3018610597, 1.2474500),],
[0,
(0.1009613875, 1.0000000),],
[1,
(1.4417524910, 0.2011420),
(0.3018610597, 0.8844830),],
[1,
(0.1009613875, 1.0000000),]]
B = [[0,
(330.7528500, 0.0179942),
(49.8438650, 0.1246937),
(11.1170540, 0.4343354),
(2.9227243, 0.5609794),],
[0,
(5.6812646, -0.1303871),
(1.4544046, -0.2514344),
(0.4283786, 1.2051292),],
[0,
(0.1442192, 1.0000000),],
[1,
(5.6812646, 0.0637429),
(1.4544046, 0.2761331),
(0.4283786, 0.7773866),],
[1,
(0.1442192, 1.0000000),]]
C = [[0,
(486.9669300, 0.0177258),
(73.3710940, 0.1234787),
(16.4134580, 0.4338754),
(4.3449836, 0.5615042),],
[0,
(8.6735253, -0.1213837),
(2.0966193, -0.2273385),
(0.6046513, 1.1851739),],
[0,
(0.1835578, 1.0000000),],
[1,
(8.6735253, 0.0635454),
(2.0966193, 0.2982678),
(0.6046513, 0.7621032),],
[1,
(0.1835578, 1.0000000),]]
N = [[0,
(671.2795000, 0.0175982511),
(101.2017000, 0.1228462410),
(22.6999700, 0.4337821410),
(6.0406090, 0.5614182170),],
[0,
(12.3935997, -0.1174892990),
(2.9223828, -0.2139940160),
(0.83252808, 1.1745021100),],
[0,
(0.2259640, 1.0000000),],
[1,
(12.3935997, 0.0640203443),
(2.9223828, 0.3112025550),
(0.83252808, 0.7527482390),],
[1,
(0.2259640, 1.0000000),]]
O = [[0,
(883.2728600, 0.0175506),
(133.1292800, 0.1228292),
(29.9064080, 0.4348836),
(7.9786772, 0.5600108),],
[0,
(16.1944470, -0.1134010),
(3.7800860, -0.1772865),
(1.0709836, 1.1504079),],
[0,
(0.2838798, 1.0000000),],
[1,
(16.1944470, 0.0685453),
(3.7800860, 0.3312254),
(1.0709836, 0.7346079),],
[1,
(0.2838798, 1.0000000),]]
F = [[0,
(1126.1630000, 0.0174758),
(169.7432000, 0.1225230),
(38.1815100, 0.4349990),
(10.2120400, 0.5598120),],
[0,
(21.4953700, -0.1110570),
(4.9897780, -0.1683220),
(1.4035740, 1.1436260),],
[0,
(0.3730318, 1.0000000),],
[1,
(21.4953700, 0.0698880),
(4.9897780, 0.3393880),
(1.4035740, 0.7279590),],
[1,
(0.3730318, 1.0000000),]]
Ne = [[0,
(1397.9321000, 0.017423805),
(210.7697800, 0.122272745),
(47.4672570, 0.435014232),
(12.7226260, 0.559714642),],
[0,
(27.2130330, -0.109609439),
(6.2941344, -0.164124890),
(1.7600513, 1.140151590),],
[0,
(0.4618670, 1.0000000),],
[1,
(27.2130330, 0.070440307),
(6.2941344, 0.343993047),
(1.7600513, 0.724514960),],
[1,
(0.4618670, 1.0000000),]]
P = [[0,
(3018.6718000, 0.0185213137),
(455.1271210, 0.129904864),
(102.3147300, 0.455100288),
(27.61784730, 0.533131861),],
[0,
(114.4294010, -0.0247502961),
(26.58229590, -0.1350924600),
(7.871888900, 0.2277360800),
(2.487857250, 0.8755931160),],
[0,
(50.75061900, -0.045119223),
(1.672862420, -0.850472990),
(0.621097412, 1.596285850),],
[0,
(0.167016007, 1.0000000),],
[1,
(114.4294010, 0.0274140025),
(26.58229590, 0.169079142),
(7.871888900, 0.469102089),
(2.487857250, 0.518153059),],
[1,
(50.75061900, 0.00377907118),
(1.672862420, -0.04634384050),
(0.621097412, 1.03394429000),],
[1,
(0.167016007, 1.0000000),]]
S = [[0,
(3442.1244000, 0.0184921),
(518.9131000, 0.1298220),
(116.6909000, 0.4550418),
(31.5716470, 0.5330084),],
[0,
(127.4405800, -0.0272646),
(29.7476670, -0.1424834),
(8.8346642, 0.2597043),
(2.8173898, 0.8525473),],
[0,
(3.7291854, -0.2775315),
(1.4067702, -0.4576435),
(0.5481100, 1.4316843),],
[0,
(0.1703809, 1.0000000),],
[1,
(127.4405800, 0.0291520),
(29.7476670, 0.1779597),
(8.8346642, 0.4836237),
(2.8173898, 0.4942553),],
[1,
(3.7291854, -0.0337509),
(1.4067702, 0.1457110),
(0.5481100, 0.8982887),],
[1,
(0.1703809, 1.0000000),]]
Cl = [[0,
(3910.3026000, 0.0183794),
(589.5518000, 0.1291401),
(132.5939200, 0.4540448),
(35.9035420, 0.5344394),],
[0,
(147.7653500, -0.0267433),
(34.5060750, -0.1446911),
(10.2864710, 0.2517035),
(3.3111473, 0.8598203),],
[0,
(4.280284910, -0.2703963),
(1.641016670, -0.3416297),
(0.614478503, 1.3500245),],
[0,
(0.195659411, 1.0000000),],
[1,
(147.7653500, 0.0288645),
(34.5060750, 0.1779647),
(10.2864710, 0.4869998),
(3.3111473, 0.4890184),],
[1,
(4.280284910, -0.0367028),
(1.641016670, 0.1918492),
(0.614478503, 0.8643376),],
[1,
(0.195659411, 1.0000000),]]
| h = [[0, (18.731137, 0.0334946), (2.8253944, 0.2347269), (0.6401217, 0.8137573)], [0, (0.1612778, 1.0)]]
he = [[0, (38.421634, 0.023766), (5.77803, 0.154679), (1.241774, 0.46963)], [0, (0.297964, 1.0)]]
li = [[0, (275.39444, 0.00612185), (41.435175, 0.04511296), (9.3669938, 0.19269415), (2.5377253, 0.46854421), (0.7466365, 0.44060752)], [0, (0.7345643, -0.2525368), (0.087198, 1.0973408)], [0, (0.0404387, 1.0)], [1, (0.7345643, 0.14359173), (0.087198, 0.94780305)], [1, (0.0404387, 1.0)]]
be = [[0, (554.01, 0.00540997), (83.2631, 0.0402515), (18.8635, 0.176858), (5.17782, 0.452559), (1.55602, 0.470293)], [0, (1.441752491, -0.477429), (0.3018610597, 1.24745)], [0, (0.1009613875, 1.0)], [1, (1.441752491, 0.201142), (0.3018610597, 0.884483)], [1, (0.1009613875, 1.0)]]
b = [[0, (330.75285, 0.0179942), (49.843865, 0.1246937), (11.117054, 0.4343354), (2.9227243, 0.5609794)], [0, (5.6812646, -0.1303871), (1.4544046, -0.2514344), (0.4283786, 1.2051292)], [0, (0.1442192, 1.0)], [1, (5.6812646, 0.0637429), (1.4544046, 0.2761331), (0.4283786, 0.7773866)], [1, (0.1442192, 1.0)]]
c = [[0, (486.96693, 0.0177258), (73.371094, 0.1234787), (16.413458, 0.4338754), (4.3449836, 0.5615042)], [0, (8.6735253, -0.1213837), (2.0966193, -0.2273385), (0.6046513, 1.1851739)], [0, (0.1835578, 1.0)], [1, (8.6735253, 0.0635454), (2.0966193, 0.2982678), (0.6046513, 0.7621032)], [1, (0.1835578, 1.0)]]
n = [[0, (671.2795, 0.0175982511), (101.2017, 0.122846241), (22.69997, 0.433782141), (6.040609, 0.561418217)], [0, (12.3935997, -0.117489299), (2.9223828, -0.213994016), (0.83252808, 1.17450211)], [0, (0.225964, 1.0)], [1, (12.3935997, 0.0640203443), (2.9223828, 0.311202555), (0.83252808, 0.752748239)], [1, (0.225964, 1.0)]]
o = [[0, (883.27286, 0.0175506), (133.12928, 0.1228292), (29.906408, 0.4348836), (7.9786772, 0.5600108)], [0, (16.194447, -0.113401), (3.780086, -0.1772865), (1.0709836, 1.1504079)], [0, (0.2838798, 1.0)], [1, (16.194447, 0.0685453), (3.780086, 0.3312254), (1.0709836, 0.7346079)], [1, (0.2838798, 1.0)]]
f = [[0, (1126.163, 0.0174758), (169.7432, 0.122523), (38.18151, 0.434999), (10.21204, 0.559812)], [0, (21.49537, -0.111057), (4.989778, -0.168322), (1.403574, 1.143626)], [0, (0.3730318, 1.0)], [1, (21.49537, 0.069888), (4.989778, 0.339388), (1.403574, 0.727959)], [1, (0.3730318, 1.0)]]
ne = [[0, (1397.9321, 0.017423805), (210.76978, 0.122272745), (47.467257, 0.435014232), (12.722626, 0.559714642)], [0, (27.213033, -0.109609439), (6.2941344, -0.16412489), (1.7600513, 1.14015159)], [0, (0.461867, 1.0)], [1, (27.213033, 0.070440307), (6.2941344, 0.343993047), (1.7600513, 0.72451496)], [1, (0.461867, 1.0)]]
p = [[0, (3018.6718, 0.0185213137), (455.127121, 0.129904864), (102.31473, 0.455100288), (27.6178473, 0.533131861)], [0, (114.429401, -0.0247502961), (26.5822959, -0.13509246), (7.8718889, 0.22773608), (2.48785725, 0.875593116)], [0, (50.750619, -0.045119223), (1.67286242, -0.85047299), (0.621097412, 1.59628585)], [0, (0.167016007, 1.0)], [1, (114.429401, 0.0274140025), (26.5822959, 0.169079142), (7.8718889, 0.469102089), (2.48785725, 0.518153059)], [1, (50.750619, 0.00377907118), (1.67286242, -0.0463438405), (0.621097412, 1.03394429)], [1, (0.167016007, 1.0)]]
s = [[0, (3442.1244, 0.0184921), (518.9131, 0.129822), (116.6909, 0.4550418), (31.571647, 0.5330084)], [0, (127.44058, -0.0272646), (29.747667, -0.1424834), (8.8346642, 0.2597043), (2.8173898, 0.8525473)], [0, (3.7291854, -0.2775315), (1.4067702, -0.4576435), (0.54811, 1.4316843)], [0, (0.1703809, 1.0)], [1, (127.44058, 0.029152), (29.747667, 0.1779597), (8.8346642, 0.4836237), (2.8173898, 0.4942553)], [1, (3.7291854, -0.0337509), (1.4067702, 0.145711), (0.54811, 0.8982887)], [1, (0.1703809, 1.0)]]
cl = [[0, (3910.3026, 0.0183794), (589.5518, 0.1291401), (132.59392, 0.4540448), (35.903542, 0.5344394)], [0, (147.76535, -0.0267433), (34.506075, -0.1446911), (10.286471, 0.2517035), (3.3111473, 0.8598203)], [0, (4.28028491, -0.2703963), (1.64101667, -0.3416297), (0.614478503, 1.3500245)], [0, (0.195659411, 1.0)], [1, (147.76535, 0.0288645), (34.506075, 0.1779647), (10.286471, 0.4869998), (3.3111473, 0.4890184)], [1, (4.28028491, -0.0367028), (1.64101667, 0.1918492), (0.614478503, 0.8643376)], [1, (0.195659411, 1.0)]] |
##
##
# File auto-generated by PythonFileGenerator
__all__ = [
'resp',
'user'
]
| __all__ = ['resp', 'user'] |
# parsetab.py
# This file is automatically generated. Do not edit.
# pylint: disable=W,C,R
_tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftORleftANDrightNOTnonassocISISNULLNOTNULLleftMENORIGUALMAYORIGUALIGUALDIFDIF1MENORMAYORleftMASMENOSleftPORDIVIDIDOMODULOleftEXPrightUMENOSUMASnonassocBETWEENNOTBABS ACOS ACOSD ACOSH ADD ALL ALTER AND ANY AS ASC ASIN ASIND ASINH ATAN ATAN2 ATAN2D ATAND ATANH AVG BAnd BETWEEN BIGINT BNot BOOLEAN BOTH BOr BXor BY CADENA CADENASI CASE CBRT CEIL CEILING CHAR CHARACTER CHECK COLUMN COMA CONSTRAINT CONVERT COS COSD COSH COT COTD COUNT CREATE CURRENT_DATE CURRENT_TIME DATABASE DATE DATE_PART DAY DECIMAL DECODE DEFAULT DEGREES DELETE DESC DIF DIF1 DISTINCT DIV DIVIDIDO DOUBLE DROP DesplazaD DesplazaI ELSE ENCODE END ENUM EXCEPT EXISTS EXP EXTRACT FACTORIAL FALSE FEXP FIRST FLOOR FOREIGN FROM GCD GETBYTE GREATEST GROUP HAVING HOUR ID IDALIAS IF IGUAL IN INHERITS INSERT INTEGER INTERSECT INTERVAL INTO IS ISNULL KEY LAST LEADING LEAST LENGTH LIKE LIMIT LN LOG MAS MAX MAYOR MAYORIGUAL MENOR MENORIGUAL MENOS MIN MINUTE MOD MODE MODULO MONEY MONTH NOT NOTNULL NOW NULL NULLS NUMERIC NUMERO OFFSET OR ORDER OWNER PABRE PCIERRA PCOMA PI POR POWER PRIMARY PUNTO RADIANS RANDOM REAL REFERENCES RENAME REPLACE ROUND SECOND SELECT SET SETBYTE SHA256 SHOW SIGN SIMMETRIC SIN SIND SINH SMALLINT SOME SQRT SUBSTR SUBSTRING SUM TABLE TAN TAND TANH TEXT THEN TIME TIMESTAMP TO TRAILING TRIM TRUE TRUNC TYPE UNION UNIQUE UNKNOWN UPDATE USE VALUES VARCHAR VARYING WHEN WHERE WIDTH_BUCKET YEAR raizCuadrada raizCubicaINSTRUCCIONES : INSTRUCCIONES INSTRUCCION INSTRUCCIONES : INSTRUCCION INSTRUCCION : I_SELECT COMPLEMENTOSELECT INSTRUCCION : I_CREATE INSTRUCCION : I_DROP INSTRUCCION : I_INSERT INSTRUCCION : I_ALTER INSTRUCCION : I_UPDATE INSTRUCCION : I_SHOW INSTRUCCION : I_DELETE INSTRUCCION : I_USE I_USE : USE DATABASE ID PCOMAI_CREATE : CREATE I_TCREATEI_TCREATE : I_REPLACEI_TCREATE : I_CTABLEI_TCREATE : I_CTYPEI_CTYPE : TYPE ID AS ENUM PABRE I_LCAD PCIERRAI_LCAD : I_LCAD CADENASI I_LCAD : CADENASI I_CTABLE : TABLE ID PABRE I_LTATRIBUTOS PCIERRA I_INHERITSI_INHERITS : INHERITS PABRE ID PCIERRA PCOMAI_LTATRIBUTOS : I_LTATRIBUTOS COMA I_TATRIBUTOSI_LTATRIBUTOS : I_TATRIBUTOSI_TATRIBUTOS : ID I_TIPO I_LLAVESI_TATRIBUTOS : PRIMARY KEY PABRE I_LIDS PCIERRAI_TATRIBUTOS : FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRAI_TATRIBUTOS : CONSTRAINT ID CHECK I_CCHECKI_TATRIBUTOS : CHECK I_CCHECKI_CCHECK : PABRE CONDICION PCIERRAI_TATRIBUTOS : UNIQUE I_UNIQUEI_UNIQUE : PABRE I_LIDS PCIERRAI_LLAVES : PRIMARY KEY I_DEFAULTI_DEFAULT : DEFAULT I_VALOR I_NULLI_DEFAULT : I_NULLI_NULL : NOT NULL I_CUNIQUE I_NULL : NULL I_CUNIQUE I_NULL : I_CUNIQUE I_CUNIQUE : CONSTRAINT ID UNIQUE I_CHECKI_CHECK : CONSTRAINT ID CHECK PABRE CONDICION PCIERRAI_CHECK : CHECK PABRE CONDICION PCIERRAI_CHECK : I_LLAVES : REFERENCES ID PABRE I_CREFERENCE PCIERRA I_DEFAULTI_CREFERENCE : I_CREFERENCE COMA IDI_CREFERENCE : IDI_LLAVES : REFERENCES ID I_DEFAULTI_LLAVES : I_DEFAULTI_LIDS : I_LIDS COMA IDI_LIDS : IDI_TIPO : SMALLINTI_TIPO : INTEGERI_TIPO : BIGINTI_TIPO : DECIMALI_TIPO : NUMERICI_TIPO : REALI_TIPO : DOUBLE I_PRECI_TIPO : MONEYI_TIPO : CHARACTER I_TCHARI_TIPO : VARCHAR PABRE NUMERO PCIERRAI_TIPO : CHAR PABRE NUMERO PCIERRAI_TIPO : TEXTI_TIPO : TIMESTAMP I_PRECI_TIPO : TIME I_PRECI_TIPO : DATEI_TIPO : INTERVAL I_FIELDS I_PRECI_TIPO : BOOLEANI_TIPO : IDI_TCHAR : VARYING PABRE NUMERO PCIERRAI_TCHAR : PABRE NUMERO PCIERRAI_PREC : PABRE NUMERO PCIERRAI_PREC : I_FIELDS : MONTHI_FIELDS : HOURI_FIELDS : MINUTEI_FIELDS : SECONDI_FIELDS : YEARI_INHERITS : PCOMAI_REPLACE : OR REPLACE DATABASE I_EXISTI_REPLACE : DATABASE I_EXISTI_DROP : DROP I_TDROP I_ALTER : ALTER I_TALTERI_TALTER : I_ALTERDBI_TALTER : I_ALTERTBI_ALTERTB : TABLE ID I_OPALTER I_OPALTER : I_LADDC PCOMAI_OPALTER : I_LDROPC PCOMAI_OPALTER : ADD I_TALTER PCOMAI_OPALTER : ALTER COLUMN ID SET NOT NULL PCOMAI_OPALTER : DROP CONSTRAINT ID PCOMAI_OPALTER : ID I_LCOL PCOMAI_LCOL : I_LCOL COMA I_PCOLI_LCOL : I_PCOLI_PCOL : ALTER COLUMN ID TYPE VARCHAR PABRE NUMERO PCIERRAI_TALTER : CHECK CONDICION I_TALTER : UNIQUE PABRE I_LIDS PCIERRAI_TALTER : FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA I_TALTER : CONSTRAINT ID I_TCONST I_TCONST : CHECK CONDICION I_TCONST : UNIQUE PABRE I_LIDS PCIERRAI_TCONST : FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA I_LDROPC : I_LDROPC COMA I_DROPCI_LDROPC : I_DROPCI_DROPC : DROP COLUMN IDI_LADDC : I_LADDC COMA I_ADDCI_LADDC : I_ADDCI_ADDC : ADD COLUMN ID I_TIPOI_TDROP : I_DROPDBI_TDROP : I_DROPTBI_DROPDB : DATABASE I_IFEXISTI_IFEXIST : IF EXISTS ID PCOMAI_IFEXIST : ID PCOMAI_EXIST : IF NOT EXISTS ID I_OWMOD I_EXIST : ID PCOMAI_OWMOD : OWNER IGUAL ID I_MODEI_OWMOD : MODE IGUAL ID I_OWNERI_OWMOD : PCOMAI_MODE : MODE IGUAL ID PCOMAI_MODE : PCOMAI_OWNER : OWNER IGUAL ID PCOMAI_OWNER : PCOMAI_ALTERDB : ALTER DATABASE ID I_OPALTERDB I_VALALTDBI_OPALTERDB : RENAME TOI_OPALTERDB : OWNER TOI_VALALTDB : IDI_VALALTDB : CADENASII_DROPTB : TABLE ID PCOMAI_INSERT : INSERT INTO ID VALUES PABRE I_LVALT PCIERRA PCOMAI_LVALT : I_LVALT COMA I_VALTABI_UPDATE : UPDATE ID SET I_LUPDATE PWHERE I_LUPDATE : I_LUPDATE COMA I_VALUPDATEI_LUPDATE : I_VALUPDATEI_VALUPDATE : ID IGUAL I_VALORI_VALOR : CADENASII_VALOR : NUMEROI_SHOW : SHOW DATABASE PCOMAI_DELETE : DELETE FROM ID PWHEREI_LVALT : I_VALTABI_VALTAB : NUMEROI_VALTAB : CADENASII_SELECT : SELECT VALORES PFROM COMPLEMENTO I_SELECT : SELECT VALORES PFROM PWHERE COMPLEMENTO I_SELECT : SELECT DISTINCT VALORES PFROM COMPLEMENTO I_SELECT : SELECT DISTINCT VALORES PFROM PWHERE COMPLEMENTO I_SELECT : SELECT VALORES COMPLEMENTO : PGROUPBY PHAVING COMPLEMENTO : PGROUPBY PHAVING PLIMIT COMPLEMENTO : PGROUPBY COMPLEMENTO : PGROUPBY PLIMIT COMPLEMENTO : PORDERBY COMPLEMENTO : PORDERBY PLIMIT COMPLEMENTO : PLIMIT COMPLEMENTO : EMPTY COMPLEMENTOSELECT : UNION I_SELECT PCOMA COMPLEMENTOSELECT : UNION ALL I_SELECT PCOMA COMPLEMENTOSELECT : INTERSECT I_SELECT PCOMA COMPLEMENTOSELECT : INTERSECT ALL I_SELECT PCOMA COMPLEMENTOSELECT : EXCEPT I_SELECT PCOMA COMPLEMENTOSELECT : EXCEPT ALL I_SELECT PCOMA COMPLEMENTOSELECT : PCOMA PLIMIT : LIMIT CONDICION PLIMIT : LIMIT CONDICION OFFSET CONDICION PORDERBY : ORDER BY LCOMPLEMENTOORDERBY LCOMPLEMENTOORDERBY : LCOMPLEMENTOORDERBY COMA COMPLEMENTOORDERBY LCOMPLEMENTOORDERBY : COMPLEMENTOORDERBY COMPLEMENTOORDERBY : ID COMPLEMENTOORDERBY1 COMPLEMENTOORDERBY1 : COMPLEMENTOORDER COMPLEMENTOORDERBY1 : PUNTO ID COMPLEMENTOORDER COMPLEMENTOORDER : ASC COMPLEMENTOORDER : DESC COMPLEMENTOORDER : ASC NULLS FIRST COMPLEMENTOORDER : ASC NULLS LAST COMPLEMENTOORDER : DESC NULLS FIRST COMPLEMENTOORDER : DESC NULLS LAST COMPLEMENTOORDER : EMPTY PHAVING : HAVING CONDICION PGROUPBY : GROUP BY LCOMPLEMENTOGROUP LCOMPLEMENTOGROUP : LCOMPLEMENTOGROUP COMA COMPLEMENTOGROUP LCOMPLEMENTOGROUP : COMPLEMENTOGROUP COMPLEMENTOGROUP : ID COMPLEMENTOGROUP : ID PUNTO ID VALORES : POR VALORES : LISTAVALORES LISTAVALORES : LISTAVALORES COMA VALOR LISTAVALORES : VALOR VALOR : PABRE SUBCONSULTA PCIERRA ALIASVALOR : PABRE SUBCONSULTA PCIERRA VALOR : COUNT PABRE POR PCIERRA ALIASVALOR : COUNT PABRE ID PCIERRA ALIASVALOR : COUNT PABRE POR PCIERRA VALOR : COUNT PABRE ID PCIERRA VALOR : COUNT PABRE ID PUNTO ID PCIERRA ALIASVALOR : COUNT PABRE ID PUNTO ID PCIERRAVALOR : FUNCION PABRE ID PUNTO ID PCIERRAVALOR : FUNCION PABRE ID PCIERRAVALOR : FUNCION PABRE ID PUNTO ID PCIERRA ALIASVALOR : FUNCION PABRE ID PCIERRA ALIASVALOR : CONDICIONVALOR : CONDICION ALIAS VALOR : FTRIGONOMETRICAS PABRE LNUM PCIERRA VALOR : FTRIGONOMETRICAS PABRE LNUM PCIERRA ALIAS VALOR : GREATEST PABRE LNUM PCIERRA VALOR : LEAST PABRE LNUM PCIERRA VALOR : GREATEST PABRE LNUM PCIERRA ALIASVALOR : LEAST PABRE LNUM PCIERRA ALIASVALOR : RANDOM PABRE PCIERRA ALIASVALOR : RANDOM PABRE PCIERRA VALOR : PI PABRE PCIERRA ALIAS VALOR : PI PABRE PCIERRA VALOR : DECODE PABRE CADENA COMA CADENA PCIERRA ALIAS VALOR : DECODE PABRE CADENA COMA CADENA PCIERRA VALOR : ENCODE PABRE CADENA COMA CADENA PCIERRA ALIAS VALOR : ENCODE PABRE CADENA COMA CADENA PCIERRA VALOR : CONVERT PABRE CADENA AS DATE PCIERRA VALOR : CONVERT PABRE CADENA AS INTEGER PCIERRA VALOR : CONVERT PABRE CADENA AS DATE PCIERRA ALIAS VALOR : CONVERT PABRE CADENA AS INTEGER PCIERRA ALIAS VALOR : SHA256 PABRE CADENA PCIERRA VALOR : SHA256 PABRE CADENA PCIERRA ALIAS VALOR : NUM OPERADOR NUM ALIAS VALOR : NUM OPERADOR NUM VALOR : BNot NUM ALIAS VALOR : BNot NUM VALOR : raizCuadrada NUM ALIAS VALOR : raizCuadrada NUM VALOR : raizCubica NUM ALIAS VALOR : raizCubica NUM VALOR : GETBYTE PABRE CADENA COMA NUMERO PCIERRA VALOR : GETBYTE PABRE CADENA COMA NUMERO PCIERRA ALIAS VALOR : SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA VALOR : SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA ALIAS VALOR : CASE LWHEN END VALOR : CASE LWHEN END ALIASVALOR : ID_VALOR PABRE LCONDICION_FUNCION PCIERRA ALIAS VALOR : ID_VALOR PABRE LCONDICION_FUNCION PCIERRA LWHEN : WHEN CONDICION THEN CONDICION LWHEN LWHEN : WHEN CONDICION THEN CONDICION LWHEN : ELSE CONDICION ID_VALOR : DEGREES ID_VALOR : DIV ID_VALOR : FEXP ID_VALOR : FACTORIAL ID_VALOR : FLOOR ID_VALOR : GCD ID_VALOR : LN ID_VALOR : LOG ID_VALOR : MOD ID_VALOR : POWER ID_VALOR : RADIANS ID_VALOR : ROUND ID_VALOR : SIGN ID_VALOR : SQRT ID_VALOR : WIDTH_BUCKET ID_VALOR : TRUNC OPERADOR : BAnd OPERADOR : BOr OPERADOR : BXor OPERADOR : DesplazaI OPERADOR : DesplazaD LNUM : LNUM COMA NUMLNUM : NUMNUM : NUMERO NUM : DECIMAL NUM : CADENA FTRIGONOMETRICAS : ACOS FTRIGONOMETRICAS : ACOSD FTRIGONOMETRICAS : ASIN FTRIGONOMETRICAS : ASIND FTRIGONOMETRICAS : ATAN FTRIGONOMETRICAS : ATAND FTRIGONOMETRICAS : ATAN2 FTRIGONOMETRICAS : ATAN2D FTRIGONOMETRICAS : COS FTRIGONOMETRICAS : COSD FTRIGONOMETRICAS : COT FTRIGONOMETRICAS : COTD FTRIGONOMETRICAS : SIN FTRIGONOMETRICAS : SIND FTRIGONOMETRICAS : TAN FTRIGONOMETRICAS : TAND FTRIGONOMETRICAS : SINH FTRIGONOMETRICAS : COSH FTRIGONOMETRICAS : TANH FTRIGONOMETRICAS : ASINH FTRIGONOMETRICAS : ACOSH FTRIGONOMETRICAS : ATANH FUNCION : AVGFUNCION : SUMFUNCION : MINFUNCION : MAXALIAS : AS ID ALIAS : ID ALIAS : AS IDALIASALIAS : IDALIASPFROM : FROM ID ALIAS PFROM : FROM ID PFROM : FROM PABRE SUBCONSULTA PCIERRA ALIAS SUBCONSULTA : SELECT VALORES PFROM COMPLEMENTO SUBCONSULTA : SELECT VALORES PFROM PWHERE COMPLEMENTO PWHERE : WHERE CONDICION CONDICION : CONDICION IGUAL CONDICION CONDICION : CONDICION DIF CONDICION CONDICION : CONDICION DIF1 CONDICION CONDICION : CONDICION MENOR CONDICION CONDICION : CONDICION MENORIGUAL CONDICION CONDICION : CONDICION MAYOR CONDICION CONDICION : CONDICION MAYORIGUAL CONDICION CONDICION : CONDICION AND CONDICION CONDICION : CONDICION OR CONDICION CONDICION : NOT CONDICION CONDICION : PABRE CONDICION PCIERRA CONDICION : CONDICION MAS CONDICION CONDICION : CONDICION MENOS CONDICION CONDICION : CONDICION POR CONDICION CONDICION : CONDICION DIVIDIDO CONDICION CONDICION : CONDICION MODULO CONDICION CONDICION : CONDICION EXP CONDICION CONDICION : CONDICION IS CONDICION CONDICION : CONDICION ISNULL CONDICION CONDICION : CONDICION NOTNULL CONDICION CONDICION : MENOS CONDICION %prec UMENOSCONDICION : MAS CONDICION %prec UMASCONDICION : EXTRACT PABRE DATETIME FROM PTIMESTAMP PCIERRA CONDICION : FUNCIONES_WHERE CONDICION : NUMERO CONDICION : DECIMALCONDICION : CADENA CONDICION : TRUE CONDICION : FALSE CONDICION : ID CONDICION : ID PUNTO ID CONDICION : FUNCIONES_SISTEMA CONDICION : DATE_PART PABRE CADENA COMA INTERVAL CADENA PCIERRA CONDICION : CURRENT_DATE CONDICION : CURRENT_TIME CONDICION : TIMESTAMP CADENA CONDICION : CONDICION BETWEEN CONDICION CONDICION : CONDICION NOT BETWEEN CONDICION %prec NOTBCONDICION : CONDICION BETWEEN SIMMETRIC CONDICION CONDICION : CONDICION NOT BETWEEN SIMMETRIC CONDICION %prec NOTBCONDICION : CONDICION IS DISTINCT FROM CONDICION CONDICION : CONDICION IS NOT DISTINCT FROM CONDICION CONDICION : NULL CONDICION : UNKNOWN CONDICION : PABRE SUBCONSULTA PCIERRA CONDICION : FUNCION PABRE ID PCIERRACONDICION : FUNCION PABRE ID PUNTO ID PCIERRACONDICION : NOW PABRE PCIERRA FUNCIONES_SISTEMA : ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA ALIAS FUNCIONES_SISTEMA : ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA FUNCIONES_SISTEMA : ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA ALIAS FUNCIONES_SISTEMA : ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA FUNCIONES_SISTEMA : TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA ALIAS FUNCIONES_SISTEMA : TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA FUNCIONES_SISTEMA : TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA ALIAS FUNCIONES_SISTEMA : TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA ID_FUNCION_S : SUBSTRING ID_FUNCION_S : LENGTH ID_FUNCION_S : SUBSTR LBOTH : LEADING LBOTH : TRAILING LBOTH : BOTH LCONDICION_FUNCION_S : CONDICION LCONDICION_FUNCION_S : CONDICION COMA NUMERO COMA NUMERO ID_FUNCION : ABS ID_FUNCION : CBRT ID_FUNCION : CEIL ID_FUNCION : CEILING LCONDICION_FUNCION : CONDICION LCONDICION_FUNCION : LCONDICION_FUNCION COMA CONDICION DATETIME : YEAR DATETIME : HOUR DATETIME : MINUTE DATETIME : SECOND DATETIME : MONTH DATETIME : DAY FUNCIONES_WHERE : EXISTS PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION IN PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION NOT IN PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION OPERATOR_FW ANY PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION OPERATOR_FW ALL PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION OPERATOR_FW SOME PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION LIKE CADENA FUNCIONES_WHERE : CONDICION NOT LIKE CADENA OPERATOR_FW : MENOR OPERATOR_FW : MAYOR OPERATOR_FW : MENORIGUAL OPERATOR_FW : MAYORIGUAL OPERATOR_FW : IGUAL OPERATOR_FW : DIF OPERATOR_FW : DIF1 PTIMESTAMP : TIMESTAMP CADENA PTIMESTAMP : TIMESTAMP ID PTIMESTAMP : TIMESTAMP ID PUNTO ID PTIMESTAMP : CADENA PTIMESTAMP : ID PTIMESTAMP : ID PUNTO ID EMPTY :'
_lr_action_items = {'SELECT':([0,1,2,4,5,6,7,8,9,10,11,21,22,23,24,25,26,32,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,153,155,157,162,166,167,168,198,199,227,228,229,232,234,239,244,250,256,259,261,263,276,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,313,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,419,420,422,423,424,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[12,12,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,12,-158,12,12,165,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,12,12,12,165,-323,-324,-325,-290,-292,-308,-320,-319,-334,165,-78,-108,-93,-134,-152,-154,-156,165,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,165,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,165,-382,165,165,165,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'CREATE':([0,1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[13,13,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'DROP':([0,1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,254,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,478,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[14,14,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,381,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,589,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'INSERT':([0,1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[15,15,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'ALTER':([0,1,2,4,5,6,7,8,9,10,11,16,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,254,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,375,376,379,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,584,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[16,16,-2,-4,-5,-6,-7,-8,-9,-10,-11,139,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,380,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,474,-83,139,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,474,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'UPDATE':([0,1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[17,17,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'SHOW':([0,1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[18,18,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'DELETE':([0,1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[19,19,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'USE':([0,1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[20,20,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'$end':([1,2,4,5,6,7,8,9,10,11,21,22,24,34,64,66,67,68,70,71,73,74,125,126,127,128,133,134,135,140,141,142,166,167,168,198,199,227,228,229,232,239,244,250,256,259,261,263,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,360,364,365,371,376,387,388,389,390,391,397,405,416,417,420,444,445,446,450,466,469,475,477,485,500,507,509,511,534,535,569,574,575,576,583,590,614,615,616,617,618,626,634,637,663,665,677,683,690,701,703,725,727,740,741,763,764,766,767,769,781,788,790,802,803,807,],[0,-2,-4,-5,-6,-7,-8,-9,-10,-11,-1,-3,-158,-328,-322,-326,-327,-330,-332,-333,-341,-342,-13,-14,-15,-16,-79,-106,-107,-80,-81,-82,-323,-324,-325,-290,-292,-308,-320,-319,-334,-78,-108,-93,-134,-152,-154,-156,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-112,-110,-125,-96,-83,-135,-12,-153,-155,-157,-298,-343,-337,-336,-382,-375,-348,-350,-77,-94,-97,-84,-85,-128,-344,-339,-338,-376,-347,-349,-109,-123,-120,-124,-89,-86,-340,-377,-378,-379,-380,-321,-111,-115,-20,-76,-98,-88,-345,-331,-352,-17,-126,-351,-354,-353,-113,-117,-114,-119,-87,-21,-95,-116,-118,-99,]),'UNION':([3,27,29,30,31,34,36,43,52,64,65,66,67,68,70,71,73,74,158,166,167,168,173,198,199,215,216,217,218,219,220,227,228,229,232,265,266,267,268,269,270,275,277,278,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,324,325,330,331,332,333,336,349,392,393,394,396,397,400,401,403,404,405,406,409,410,413,416,417,420,425,427,428,429,430,434,435,438,440,444,445,446,487,488,489,490,491,492,493,494,497,500,502,503,506,507,509,511,515,517,518,523,527,534,535,602,603,605,606,607,608,609,612,613,614,615,616,617,618,619,620,621,622,623,626,684,685,686,687,690,691,692,693,694,695,696,697,701,703,733,734,735,736,737,738,740,741,762,763,],[23,-143,-180,-181,-183,-328,-196,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,-396,-323,-324,-325,-197,-290,-292,-221,-260,-261,-262,-223,-225,-308,-320,-319,-334,-139,-396,-146,-150,-148,-151,-294,-396,-182,-185,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-205,-207,-219,-220,-222,-224,-230,-346,-140,-144,-147,-149,-298,-159,-293,-141,-396,-343,-184,-188,-189,-193,-337,-336,-382,-198,-200,-201,-204,-206,-216,-218,-231,-233,-375,-348,-350,-145,-174,-175,-177,-178,-161,-163,-396,-142,-344,-186,-187,-195,-339,-338,-376,-199,-202,-203,-217,-232,-347,-349,-164,-165,-167,-168,-173,-160,-295,-191,-192,-340,-377,-378,-379,-380,-209,-211,-212,-213,-226,-321,-176,-179,-162,-396,-345,-190,-194,-208,-210,-214,-215,-227,-331,-352,-166,-169,-170,-171,-172,-228,-351,-354,-229,-353,]),'INTERSECT':([3,27,29,30,31,34,36,43,52,64,65,66,67,68,70,71,73,74,158,166,167,168,173,198,199,215,216,217,218,219,220,227,228,229,232,265,266,267,268,269,270,275,277,278,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,324,325,330,331,332,333,336,349,392,393,394,396,397,400,401,403,404,405,406,409,410,413,416,417,420,425,427,428,429,430,434,435,438,440,444,445,446,487,488,489,490,491,492,493,494,497,500,502,503,506,507,509,511,515,517,518,523,527,534,535,602,603,605,606,607,608,609,612,613,614,615,616,617,618,619,620,621,622,623,626,684,685,686,687,690,691,692,693,694,695,696,697,701,703,733,734,735,736,737,738,740,741,762,763,],[25,-143,-180,-181,-183,-328,-196,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,-396,-323,-324,-325,-197,-290,-292,-221,-260,-261,-262,-223,-225,-308,-320,-319,-334,-139,-396,-146,-150,-148,-151,-294,-396,-182,-185,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-205,-207,-219,-220,-222,-224,-230,-346,-140,-144,-147,-149,-298,-159,-293,-141,-396,-343,-184,-188,-189,-193,-337,-336,-382,-198,-200,-201,-204,-206,-216,-218,-231,-233,-375,-348,-350,-145,-174,-175,-177,-178,-161,-163,-396,-142,-344,-186,-187,-195,-339,-338,-376,-199,-202,-203,-217,-232,-347,-349,-164,-165,-167,-168,-173,-160,-295,-191,-192,-340,-377,-378,-379,-380,-209,-211,-212,-213,-226,-321,-176,-179,-162,-396,-345,-190,-194,-208,-210,-214,-215,-227,-331,-352,-166,-169,-170,-171,-172,-228,-351,-354,-229,-353,]),'EXCEPT':([3,27,29,30,31,34,36,43,52,64,65,66,67,68,70,71,73,74,158,166,167,168,173,198,199,215,216,217,218,219,220,227,228,229,232,265,266,267,268,269,270,275,277,278,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,324,325,330,331,332,333,336,349,392,393,394,396,397,400,401,403,404,405,406,409,410,413,416,417,420,425,427,428,429,430,434,435,438,440,444,445,446,487,488,489,490,491,492,493,494,497,500,502,503,506,507,509,511,515,517,518,523,527,534,535,602,603,605,606,607,608,609,612,613,614,615,616,617,618,619,620,621,622,623,626,684,685,686,687,690,691,692,693,694,695,696,697,701,703,733,734,735,736,737,738,740,741,762,763,],[26,-143,-180,-181,-183,-328,-196,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,-396,-323,-324,-325,-197,-290,-292,-221,-260,-261,-262,-223,-225,-308,-320,-319,-334,-139,-396,-146,-150,-148,-151,-294,-396,-182,-185,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-205,-207,-219,-220,-222,-224,-230,-346,-140,-144,-147,-149,-298,-159,-293,-141,-396,-343,-184,-188,-189,-193,-337,-336,-382,-198,-200,-201,-204,-206,-216,-218,-231,-233,-375,-348,-350,-145,-174,-175,-177,-178,-161,-163,-396,-142,-344,-186,-187,-195,-339,-338,-376,-199,-202,-203,-217,-232,-347,-349,-164,-165,-167,-168,-173,-160,-295,-191,-192,-340,-377,-378,-379,-380,-209,-211,-212,-213,-226,-321,-176,-179,-162,-396,-345,-190,-194,-208,-210,-214,-215,-227,-331,-352,-166,-169,-170,-171,-172,-228,-351,-354,-229,-353,]),'PCOMA':([3,27,29,30,31,34,36,43,52,64,65,66,67,68,70,71,73,74,141,142,149,152,154,156,158,166,167,168,173,198,199,215,216,217,218,219,220,227,228,229,232,241,246,247,250,258,260,262,264,265,266,267,268,269,270,275,277,278,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,324,325,330,331,332,333,336,349,371,376,377,378,382,383,392,393,394,396,397,400,401,403,404,405,406,409,410,413,416,417,420,425,427,428,429,430,434,435,438,440,444,445,446,461,466,469,472,473,475,477,479,487,488,489,490,491,492,493,494,497,500,502,503,506,507,509,511,515,517,518,523,527,534,535,539,540,542,543,544,545,546,547,548,549,553,554,555,556,558,559,574,575,576,583,586,588,590,593,594,602,603,605,606,607,608,609,612,613,614,615,616,617,618,619,620,621,622,623,626,648,650,655,656,657,658,659,660,661,662,674,677,679,681,683,684,685,686,687,690,691,692,693,694,695,696,697,701,703,718,733,734,735,736,737,738,740,741,742,743,750,752,753,754,761,762,763,775,776,781,790,793,794,801,807,],[24,-143,-180,-181,-183,-328,-196,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,-81,-82,256,259,261,263,-396,-323,-324,-325,-197,-290,-292,-221,-260,-261,-262,-223,-225,-308,-320,-319,-334,360,364,365,-93,388,389,390,391,-139,-396,-146,-150,-148,-151,-294,-396,-182,-185,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-205,-207,-219,-220,-222,-224,-230,-346,-96,-83,475,477,-104,-101,-140,-144,-147,-149,-298,-159,-293,-141,-396,-343,-184,-188,-189,-193,-337,-336,-382,-198,-200,-201,-204,-206,-216,-218,-231,-233,-375,-348,-350,569,-94,-97,583,-91,-84,-85,590,-145,-174,-175,-177,-178,-161,-163,-396,-142,-344,-186,-187,-195,-339,-338,-376,-199,-202,-203,-217,-232,-347,-349,637,-66,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,665,-123,-120,-124,-89,-103,-100,-86,683,-102,-164,-165,-167,-168,-173,-160,-295,-191,-192,-340,-377,-378,-379,-380,-209,-211,-212,-213,-226,-321,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,727,-98,-90,-105,-88,-176,-179,-162,-396,-345,-190,-194,-208,-210,-214,-215,-227,-331,-352,-64,-166,-169,-170,-171,-172,-228,-351,-354,766,769,-69,-68,-58,-59,781,-229,-353,-67,788,-87,-95,802,803,-92,-99,]),'DISTINCT':([12,189,305,],[28,304,415,]),'POR':([12,28,34,36,43,52,64,65,66,67,68,70,71,73,74,164,165,166,167,168,170,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[29,29,-328,185,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,185,29,-323,-324,-325,284,-290,-292,185,-320,-319,-334,185,-343,-309,-329,185,185,185,185,185,185,185,185,185,185,185,-312,-313,-314,-315,185,185,185,-335,-381,-289,-291,185,185,185,-346,185,185,185,-343,-344,185,-336,-382,-375,-348,-350,185,185,-344,185,-338,-376,185,185,-347,-349,185,-345,185,-377,-378,-379,-380,-321,185,-345,-331,-352,-351,-354,-353,185,185,]),'PABRE':([12,28,32,33,35,37,38,39,40,41,42,44,45,46,51,53,55,56,57,58,59,60,61,62,63,69,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,143,144,159,161,162,165,169,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,224,225,226,235,236,242,252,271,274,305,309,310,311,314,315,316,366,372,373,395,414,418,439,441,458,459,460,471,495,508,548,550,551,552,554,555,561,562,565,651,657,658,659,660,661,662,664,669,708,729,760,774,779,787,789,797,804,],[32,32,162,170,172,200,201,202,203,204,205,206,207,208,221,222,226,-285,-286,-287,-288,162,162,162,230,231,233,-263,-264,-265,-266,-267,-268,-269,-270,-271,-272,-273,-274,-275,-276,-277,-278,-279,-280,-281,-282,-283,-284,-237,-238,-239,-240,-241,-242,-243,-244,-245,-246,-247,-248,-249,-250,-251,-252,234,235,236,237,-363,-364,-365,-366,-355,-356,-357,162,251,276,32,162,32,283,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,162,313,162,162,162,162,162,361,370,162,162,162,162,162,419,422,423,424,462,162,470,162,162,162,162,162,565,567,568,582,162,162,649,652,653,654,649,649,667,668,162,714,649,-71,-72,-73,-74,-75,719,565,745,758,780,787,791,162,799,804,162,]),'COUNT':([12,28,161,165,],[33,33,33,33,]),'GREATEST':([12,28,161,165,],[38,38,38,38,]),'LEAST':([12,28,161,165,],[39,39,39,39,]),'RANDOM':([12,28,161,165,],[40,40,40,40,]),'PI':([12,28,161,165,],[41,41,41,41,]),'DECODE':([12,28,161,165,],[42,42,42,42,]),'ENCODE':([12,28,161,165,],[44,44,44,44,]),'CONVERT':([12,28,161,165,],[45,45,45,45,]),'SHA256':([12,28,161,165,],[46,46,46,46,]),'BNot':([12,28,161,165,],[48,48,48,48,]),'raizCuadrada':([12,28,161,165,],[49,49,49,49,]),'raizCubica':([12,28,161,165,],[50,50,50,50,]),'GETBYTE':([12,28,161,165,],[51,51,51,51,]),'SETBYTE':([12,28,161,165,],[53,53,53,53,]),'CASE':([12,28,161,165,],[54,54,54,54,]),'AVG':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,56,]),'SUM':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,]),'MIN':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,58,]),'MAX':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,]),'NOT':([12,28,32,34,36,43,52,60,61,62,64,65,66,67,68,70,71,73,74,143,161,162,164,165,166,167,168,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,198,199,224,225,226,227,228,229,232,235,236,240,250,271,274,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,305,306,307,308,309,310,317,318,319,337,338,340,349,353,372,395,397,400,405,413,414,416,417,418,420,439,441,444,445,446,469,488,495,500,507,508,509,511,526,528,534,535,540,541,542,543,544,545,546,547,548,549,553,554,555,556,558,565,596,597,608,613,614,615,616,617,618,626,648,650,655,656,657,658,659,660,661,662,670,682,690,701,703,707,708,709,718,740,741,750,752,753,754,763,775,784,787,798,804,808,],[60,60,60,-328,193,-325,-323,60,60,60,-322,-324,-326,-327,-330,-332,-333,-341,-342,60,60,60,193,60,-323,-324,-325,60,60,60,60,60,60,60,60,60,60,60,60,60,60,60,305,60,60,60,-290,-292,60,60,60,193,-320,-319,-334,60,60,359,193,60,60,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,193,193,-310,-311,-312,-313,-314,-315,-316,60,-317,-318,-335,60,60,-381,-289,-291,193,193,193,-346,193,60,60,193,193,-343,-344,60,193,-336,60,-382,60,60,-375,-348,-350,193,193,60,-344,193,60,-338,-376,193,193,-347,-349,-66,644,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,60,-132,-133,193,-345,193,-377,-378,-379,-380,-321,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,193,732,-345,-331,-352,644,644,644,-64,-351,-354,-69,-68,-58,-59,-353,-67,644,60,193,60,193,]),'MENOS':([12,28,32,34,36,43,52,60,61,62,64,65,66,67,68,70,71,73,74,143,161,162,164,165,166,167,168,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,198,199,224,225,226,227,228,229,232,235,236,250,271,274,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,305,306,307,308,309,310,317,318,319,337,338,340,349,353,372,395,397,400,405,413,414,416,417,418,420,439,441,444,445,446,469,488,495,500,507,508,509,511,526,528,534,535,565,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,787,798,804,808,],[62,62,62,-328,184,-325,-323,62,62,62,-322,-324,-326,-327,-330,-332,-333,-341,-342,62,62,62,184,62,-323,-324,-325,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,62,-290,-292,62,62,62,184,-320,-319,-334,62,62,184,62,62,-343,-309,-329,184,184,184,184,184,184,184,184,184,-310,-311,-312,-313,-314,-315,184,62,184,184,-335,62,62,-381,-289,-291,184,184,184,-346,184,62,62,184,184,-343,-344,62,184,-336,62,-382,62,62,-375,-348,-350,184,184,62,-344,184,62,-338,-376,184,184,-347,-349,62,184,-345,184,-377,-378,-379,-380,-321,184,-345,-331,-352,-351,-354,-353,62,184,62,184,]),'MAS':([12,28,32,34,36,43,52,60,61,62,64,65,66,67,68,70,71,73,74,143,161,162,164,165,166,167,168,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,198,199,224,225,226,227,228,229,232,235,236,250,271,274,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,305,306,307,308,309,310,317,318,319,337,338,340,349,353,372,395,397,400,405,413,414,416,417,418,420,439,441,444,445,446,469,488,495,500,507,508,509,511,526,528,534,535,565,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,787,798,804,808,],[61,61,61,-328,183,-325,-323,61,61,61,-322,-324,-326,-327,-330,-332,-333,-341,-342,61,61,61,183,61,-323,-324,-325,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,61,-290,-292,61,61,61,183,-320,-319,-334,61,61,183,61,61,-343,-309,-329,183,183,183,183,183,183,183,183,183,-310,-311,-312,-313,-314,-315,183,61,183,183,-335,61,61,-381,-289,-291,183,183,183,-346,183,61,61,183,183,-343,-344,61,183,-336,61,-382,61,61,-375,-348,-350,183,183,61,-344,183,61,-338,-376,183,183,-347,-349,61,183,-345,183,-377,-378,-379,-380,-321,183,-345,-331,-352,-351,-354,-353,61,183,61,183,]),'EXTRACT':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,]),'NUMERO':([12,28,32,48,49,50,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,200,201,202,209,210,211,212,213,214,224,225,226,235,236,271,274,305,309,310,372,395,414,418,426,436,437,439,441,447,462,484,495,508,565,624,631,642,649,652,653,654,675,714,780,787,804,],[52,52,166,216,216,216,166,166,166,166,52,166,52,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,166,216,216,216,216,-253,-254,-255,-256,-257,166,166,166,166,166,166,166,166,166,166,166,166,166,166,216,524,525,166,166,536,572,597,166,166,166,698,702,597,713,715,716,717,572,751,792,166,166,]),'DECIMAL':([12,28,32,48,49,50,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,200,201,202,209,210,211,212,213,214,224,225,226,235,236,271,274,305,309,310,372,395,414,418,426,439,441,452,495,508,565,591,787,804,],[65,65,167,217,217,217,167,167,167,167,65,167,65,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,167,217,217,217,217,-253,-254,-255,-256,-257,167,167,167,167,167,167,167,167,167,167,167,167,167,167,217,167,167,545,167,167,167,545,167,167,]),'CADENA':([12,28,32,48,49,50,60,61,62,72,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,196,200,201,202,205,206,207,208,209,210,211,212,213,214,221,222,224,225,226,231,235,236,271,274,305,309,310,312,354,355,356,357,372,395,414,418,426,431,432,439,441,442,449,495,508,530,533,537,565,633,787,804,],[43,43,168,218,218,218,168,168,168,232,168,43,168,43,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,168,317,218,218,218,326,327,328,329,218,-253,-254,-255,-256,-257,334,335,168,168,168,348,168,168,168,168,168,168,168,420,448,-358,-359,-360,168,168,168,168,218,519,520,168,168,531,538,168,168,627,630,632,168,704,168,168,]),'TRUE':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,]),'FALSE':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,67,]),'ID':([12,17,28,32,34,36,43,52,60,61,62,64,65,66,67,68,70,71,73,74,130,131,132,136,137,138,143,146,147,150,151,159,161,162,165,166,167,168,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,197,198,199,215,216,217,218,219,220,224,225,226,227,228,229,232,235,236,249,251,254,255,271,274,275,280,281,283,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,305,306,307,308,309,310,317,318,319,324,325,330,336,349,358,361,363,370,372,395,398,399,405,409,410,411,412,413,414,416,417,418,420,425,427,428,434,439,440,441,442,444,445,446,451,452,457,463,467,470,480,481,482,483,486,495,496,500,501,507,508,509,511,530,534,535,560,565,567,577,578,582,585,591,599,600,601,604,612,613,614,615,616,617,618,619,620,621,622,623,626,629,641,647,667,668,676,690,699,701,703,705,706,719,738,740,741,745,758,759,763,772,777,782,783,785,787,791,799,804,],[34,148,34,34,-328,198,-325,-323,34,34,34,-322,-324,-326,-327,-330,-332,-333,-341,-342,241,242,243,246,247,248,34,253,254,257,258,275,34,34,34,-323,-324,-325,285,286,287,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,318,-290,-292,198,-260,-261,-262,198,198,34,34,34,-308,-320,-319,-334,34,34,367,369,375,384,34,34,198,198,-309,408,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,34,-317,-318,-335,34,34,-381,-289,-291,198,198,198,198,-346,241,452,461,369,34,34,491,494,-343,198,198,504,505,198,34,-337,-336,34,-382,198,198,198,198,34,198,34,532,-375,198,198,539,540,563,574,579,369,591,592,593,594,384,34,198,-344,611,-339,34,-338,-376,628,-347,-349,452,34,369,-121,-122,369,680,540,491,685,494,687,198,198,-340,-377,-378,-379,-380,198,198,198,198,198,-321,700,708,712,369,369,729,-345,739,-331,198,742,743,755,198,-351,198,770,369,779,-353,786,789,793,794,796,34,369,369,34,]),'DATE_PART':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,69,]),'CURRENT_DATE':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,]),'CURRENT_TIME':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,71,]),'TIMESTAMP':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,442,452,495,508,565,591,787,804,],[72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,72,530,554,72,72,72,554,72,72,]),'NULL':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,540,541,542,543,544,545,546,547,548,549,553,554,555,556,558,565,596,597,644,648,650,655,656,657,658,659,660,661,662,707,708,709,718,732,750,752,753,754,775,784,787,804,],[73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,73,-66,645,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,73,-132,-133,710,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,645,645,645,-64,761,-69,-68,-58,-59,-67,645,73,73,]),'UNKNOWN':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,]),'NOW':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,75,]),'ACOS':([12,28,161,165,],[76,76,76,76,]),'ACOSD':([12,28,161,165,],[77,77,77,77,]),'ASIN':([12,28,161,165,],[78,78,78,78,]),'ASIND':([12,28,161,165,],[79,79,79,79,]),'ATAN':([12,28,161,165,],[80,80,80,80,]),'ATAND':([12,28,161,165,],[81,81,81,81,]),'ATAN2':([12,28,161,165,],[82,82,82,82,]),'ATAN2D':([12,28,161,165,],[83,83,83,83,]),'COS':([12,28,161,165,],[84,84,84,84,]),'COSD':([12,28,161,165,],[85,85,85,85,]),'COT':([12,28,161,165,],[86,86,86,86,]),'COTD':([12,28,161,165,],[87,87,87,87,]),'SIN':([12,28,161,165,],[88,88,88,88,]),'SIND':([12,28,161,165,],[89,89,89,89,]),'TAN':([12,28,161,165,],[90,90,90,90,]),'TAND':([12,28,161,165,],[91,91,91,91,]),'SINH':([12,28,161,165,],[92,92,92,92,]),'COSH':([12,28,161,165,],[93,93,93,93,]),'TANH':([12,28,161,165,],[94,94,94,94,]),'ASINH':([12,28,161,165,],[95,95,95,95,]),'ACOSH':([12,28,161,165,],[96,96,96,96,]),'ATANH':([12,28,161,165,],[97,97,97,97,]),'DEGREES':([12,28,161,165,],[98,98,98,98,]),'DIV':([12,28,161,165,],[99,99,99,99,]),'FEXP':([12,28,161,165,],[100,100,100,100,]),'FACTORIAL':([12,28,161,165,],[101,101,101,101,]),'FLOOR':([12,28,161,165,],[102,102,102,102,]),'GCD':([12,28,161,165,],[103,103,103,103,]),'LN':([12,28,161,165,],[104,104,104,104,]),'LOG':([12,28,161,165,],[105,105,105,105,]),'MOD':([12,28,161,165,],[106,106,106,106,]),'POWER':([12,28,161,165,],[107,107,107,107,]),'RADIANS':([12,28,161,165,],[108,108,108,108,]),'ROUND':([12,28,161,165,],[109,109,109,109,]),'SIGN':([12,28,161,165,],[110,110,110,110,]),'SQRT':([12,28,161,165,],[111,111,111,111,]),'WIDTH_BUCKET':([12,28,161,165,],[112,112,112,112,]),'TRUNC':([12,28,161,165,],[113,113,113,113,]),'EXISTS':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,245,271,274,305,309,310,359,372,395,414,418,439,441,495,508,565,787,804,],[114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,363,114,114,114,114,114,451,114,114,114,114,114,114,114,114,114,114,114,]),'TRIM':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,117,]),'ABS':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,118,]),'CBRT':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,119,]),'CEIL':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,]),'CEILING':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,121,]),'SUBSTRING':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,122,]),'LENGTH':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,123,]),'SUBSTR':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,124,]),'OR':([13,34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[129,-328,182,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,182,-323,-324,-325,-290,-292,-308,-320,-319,-334,182,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,182,182,182,-346,182,182,182,-343,-344,182,-336,-382,-375,-348,-350,182,182,-344,182,-338,-376,182,182,-347,-349,182,-345,182,-377,-378,-379,-380,-321,182,-345,-331,-352,-351,-354,-353,182,182,]),'DATABASE':([13,14,18,20,139,238,],[130,136,149,151,249,358,]),'TABLE':([13,14,16,379,],[131,137,147,147,]),'TYPE':([13,680,],[132,731,]),'INTO':([15,],[138,]),'CHECK':([16,253,361,379,560,563,749,786,],[143,372,458,143,458,669,774,797,]),'UNIQUE':([16,253,361,379,560,712,],[144,373,459,144,459,749,]),'FOREIGN':([16,253,361,379,560,],[145,374,456,145,456,]),'CONSTRAINT':([16,361,379,381,540,541,542,543,544,545,546,547,548,549,553,554,555,556,558,560,596,597,645,648,650,655,656,657,658,659,660,661,662,707,708,709,710,718,749,750,752,753,754,775,784,],[146,457,146,482,-66,647,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,457,-132,-133,647,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,647,647,647,647,-64,772,-69,-68,-58,-59,-67,647,]),'FROM':([19,27,29,30,31,34,36,43,52,64,65,66,67,68,70,71,73,74,160,166,167,168,173,198,199,215,216,217,218,219,220,227,228,229,232,278,280,281,282,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,306,307,308,317,318,319,324,325,330,331,332,333,336,341,342,343,344,345,346,347,349,354,355,356,357,405,406,409,410,413,415,416,417,420,425,427,428,429,430,434,435,438,440,444,445,446,448,500,502,503,506,507,509,511,515,517,518,523,527,534,535,612,613,614,615,616,617,618,619,620,621,622,623,626,690,691,692,693,694,695,696,697,701,703,738,740,741,762,763,],[150,159,-180,-181,-183,-328,-196,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,159,-323,-324,-325,-197,-290,-292,-221,-260,-261,-262,-223,-225,-308,-320,-319,-334,-182,-185,-309,159,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,414,-317,-318,-335,-381,-289,-291,-205,-207,-219,-220,-222,-224,-230,442,-369,-370,-371,-372,-373,-374,-346,449,-358,-359,-360,-343,-184,-188,-189,-193,508,-337,-336,-382,-198,-200,-201,-204,-206,-216,-218,-231,-233,-375,-348,-350,537,-344,-186,-187,-195,-339,-338,-376,-199,-202,-203,-217,-232,-347,-349,-191,-192,-340,-377,-378,-379,-380,-209,-211,-212,-213,-226,-321,-345,-190,-194,-208,-210,-214,-215,-227,-331,-352,-228,-351,-354,-229,-353,]),'ALL':([23,25,26,174,175,176,177,178,179,180,195,],[153,155,157,-387,-388,-389,-383,-385,-384,-386,315,]),'COMA':([30,31,34,36,43,52,64,65,66,67,68,70,71,73,74,166,167,168,173,198,199,215,216,217,218,219,220,227,228,229,232,278,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,320,321,322,323,324,325,326,327,330,331,332,333,334,335,336,339,340,348,349,351,353,368,369,377,378,382,383,385,386,405,406,409,410,413,416,417,420,425,427,428,429,430,434,435,438,440,444,445,446,453,454,468,472,473,489,490,491,492,493,494,500,502,503,506,507,509,511,515,516,517,518,523,525,527,528,534,535,536,538,540,542,543,544,545,546,547,548,549,553,554,555,556,558,564,566,570,571,572,573,579,581,586,588,594,595,596,597,598,602,603,605,606,607,612,613,614,615,616,617,618,619,620,621,622,623,626,638,640,643,646,648,650,655,656,657,658,659,660,661,662,666,671,678,679,681,684,685,686,687,690,691,692,693,694,695,696,697,701,703,711,718,720,721,722,723,724,728,733,734,735,736,737,738,740,741,744,746,747,748,749,750,752,753,754,756,762,763,770,771,773,775,778,795,796,800,801,805,806,809,810,],[161,-183,-328,-196,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,-197,-290,-292,-221,-260,-261,-262,-223,-225,-308,-320,-319,-334,-182,-185,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,426,-259,426,426,-205,-207,431,432,-219,-220,-222,-224,436,437,-230,441,-367,443,-346,441,447,467,-48,476,478,-104,-101,486,-130,-343,-184,-188,-189,-193,-337,-336,-382,-198,-200,-201,-204,-206,-216,-218,-231,-233,-375,-348,-350,560,-23,467,584,-91,599,-177,-178,601,-163,-396,-344,-186,-187,-195,-339,-338,-376,-199,-258,-202,-203,-217,624,-232,-368,-347,-349,631,633,-66,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,-28,-30,675,-136,-137,-138,-47,467,-103,-100,-102,-131,-132,-133,-129,-164,-165,-167,-168,-173,-191,-192,-340,-377,-378,-379,-380,-209,-211,-212,-213,-226,-321,-24,-46,-34,-37,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,-22,467,467,-90,-105,-176,-179,-162,-396,-345,-190,-194,-208,-210,-214,-215,-227,-331,-352,-36,-64,467,467,-27,-29,-31,-127,-166,-169,-170,-171,-172,-228,-351,-354,-32,-45,-33,-35,-41,-69,-68,-58,-59,-25,-229,-353,-44,785,-38,-67,467,-42,-43,467,-92,-40,467,-26,-39,]),'IGUAL':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,384,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,635,636,670,690,701,703,740,741,763,765,768,798,808,],[-328,174,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,174,-323,-324,-325,-290,-292,174,-320,-319,-334,174,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,174,174,-310,-311,-312,-313,-314,-315,174,174,174,-335,-381,-289,-291,174,174,174,-346,174,484,174,174,-343,-344,174,-336,-382,-375,-348,-350,174,174,-344,174,-338,-376,174,174,-347,-349,174,-345,174,-377,-378,-379,-380,-321,705,706,174,-345,-331,-352,-351,-354,-353,782,783,174,174,]),'DIF':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,175,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,175,-323,-324,-325,-290,-292,175,-320,-319,-334,175,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,175,175,-310,-311,-312,-313,-314,-315,175,175,175,-335,-381,-289,-291,175,175,175,-346,175,175,175,-343,-344,175,-336,-382,-375,-348,-350,175,175,-344,175,-338,-376,175,175,-347,-349,175,-345,175,-377,-378,-379,-380,-321,175,-345,-331,-352,-351,-354,-353,175,175,]),'DIF1':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,176,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,176,-323,-324,-325,-290,-292,176,-320,-319,-334,176,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,176,176,-310,-311,-312,-313,-314,-315,176,176,176,-335,-381,-289,-291,176,176,176,-346,176,176,176,-343,-344,176,-336,-382,-375,-348,-350,176,176,-344,176,-338,-376,176,176,-347,-349,176,-345,176,-377,-378,-379,-380,-321,176,-345,-331,-352,-351,-354,-353,176,176,]),'MENOR':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,177,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,177,-323,-324,-325,-290,-292,177,-320,-319,-334,177,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,177,177,-310,-311,-312,-313,-314,-315,177,177,177,-335,-381,-289,-291,177,177,177,-346,177,177,177,-343,-344,177,-336,-382,-375,-348,-350,177,177,-344,177,-338,-376,177,177,-347,-349,177,-345,177,-377,-378,-379,-380,-321,177,-345,-331,-352,-351,-354,-353,177,177,]),'MENORIGUAL':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,178,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,178,-323,-324,-325,-290,-292,178,-320,-319,-334,178,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,178,178,-310,-311,-312,-313,-314,-315,178,178,178,-335,-381,-289,-291,178,178,178,-346,178,178,178,-343,-344,178,-336,-382,-375,-348,-350,178,178,-344,178,-338,-376,178,178,-347,-349,178,-345,178,-377,-378,-379,-380,-321,178,-345,-331,-352,-351,-354,-353,178,178,]),'MAYOR':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,179,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,179,-323,-324,-325,-290,-292,179,-320,-319,-334,179,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,179,179,-310,-311,-312,-313,-314,-315,179,179,179,-335,-381,-289,-291,179,179,179,-346,179,179,179,-343,-344,179,-336,-382,-375,-348,-350,179,179,-344,179,-338,-376,179,179,-347,-349,179,-345,179,-377,-378,-379,-380,-321,179,-345,-331,-352,-351,-354,-353,179,179,]),'MAYORIGUAL':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,180,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,180,-323,-324,-325,-290,-292,180,-320,-319,-334,180,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,180,180,-310,-311,-312,-313,-314,-315,180,180,180,-335,-381,-289,-291,180,180,180,-346,180,180,180,-343,-344,180,-336,-382,-375,-348,-350,180,180,-344,180,-338,-376,180,180,-347,-349,180,-345,180,-377,-378,-379,-380,-321,180,-345,-331,-352,-351,-354,-353,180,180,]),'AND':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,181,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,181,-323,-324,-325,-290,-292,-308,-320,-319,-334,181,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,181,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,181,181,181,-346,181,181,181,-343,-344,181,-336,-382,-375,-348,-350,181,181,-344,181,-338,-376,181,181,-347,-349,181,-345,181,-377,-378,-379,-380,-321,181,-345,-331,-352,-351,-354,-353,181,181,]),'DIVIDIDO':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,186,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,186,-323,-324,-325,-290,-292,186,-320,-319,-334,186,-343,-309,-329,186,186,186,186,186,186,186,186,186,186,186,-312,-313,-314,-315,186,186,186,-335,-381,-289,-291,186,186,186,-346,186,186,186,-343,-344,186,-336,-382,-375,-348,-350,186,186,-344,186,-338,-376,186,186,-347,-349,186,-345,186,-377,-378,-379,-380,-321,186,-345,-331,-352,-351,-354,-353,186,186,]),'MODULO':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,187,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,187,-323,-324,-325,-290,-292,187,-320,-319,-334,187,-343,-309,-329,187,187,187,187,187,187,187,187,187,187,187,-312,-313,-314,-315,187,187,187,-335,-381,-289,-291,187,187,187,-346,187,187,187,-343,-344,187,-336,-382,-375,-348,-350,187,187,-344,187,-338,-376,187,187,-347,-349,187,-345,187,-377,-378,-379,-380,-321,187,-345,-331,-352,-351,-354,-353,187,187,]),'EXP':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,188,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,188,-323,-324,-325,-290,-292,188,-320,-319,-334,188,-343,-309,-329,188,188,188,188,188,188,188,188,188,188,188,188,188,188,-315,188,188,188,-335,-381,-289,-291,188,188,188,-346,188,188,188,-343,-344,188,-336,-382,-375,-348,-350,188,188,-344,188,-338,-376,188,188,-347,-349,188,-345,188,-377,-378,-379,-380,-321,188,-345,-331,-352,-351,-354,-353,188,188,]),'IS':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,189,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,189,-323,-324,-325,-290,-292,189,-320,-319,-334,189,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,189,189,-310,-311,-312,-313,-314,-315,189,189,189,-335,-381,-289,-291,189,189,189,-346,189,189,189,-343,-344,189,-336,-382,-375,-348,-350,189,189,-344,189,-338,-376,189,189,-347,-349,189,-345,189,-377,-378,-379,-380,-321,189,-345,-331,-352,-351,-354,-353,189,189,]),'ISNULL':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,190,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,190,-323,-324,-325,-290,-292,190,-320,-319,-334,190,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,190,190,-310,-311,-312,-313,-314,-315,None,None,None,-335,-381,-289,-291,190,190,190,-346,190,190,190,-343,-344,190,-336,-382,-375,-348,-350,190,190,-344,190,-338,-376,190,190,-347,-349,190,-345,190,-377,-378,-379,-380,-321,190,-345,-331,-352,-351,-354,-353,190,190,]),'NOTNULL':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,191,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,191,-323,-324,-325,-290,-292,191,-320,-319,-334,191,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,191,191,-310,-311,-312,-313,-314,-315,None,None,None,-335,-381,-289,-291,191,191,191,-346,191,191,191,-343,-344,191,-336,-382,-375,-348,-350,191,191,-344,191,-338,-376,191,191,-347,-349,191,-345,191,-377,-378,-379,-380,-321,191,-345,-331,-352,-351,-354,-353,191,191,]),'BETWEEN':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,193,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,192,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,192,-323,-324,-325,310,-290,-292,192,192,192,-334,192,-343,-309,-329,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,-381,-289,-291,192,192,192,-346,192,192,192,-343,-344,192,192,-382,-375,-348,-350,192,192,-344,192,192,-376,192,192,-347,-349,192,-345,192,-377,-378,-379,-380,-321,192,-345,-331,-352,-351,-354,-353,192,192,]),'IN':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,193,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,194,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,194,-323,-324,-325,311,-290,-292,-308,-320,-319,-334,194,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,194,194,194,-346,194,194,194,-343,-344,194,-336,-382,-375,-348,-350,194,194,-344,194,-338,-376,194,194,-347,-349,194,-345,194,-377,-378,-379,-380,-321,194,-345,-331,-352,-351,-354,-353,194,194,]),'LIKE':([34,36,43,52,64,65,66,67,68,70,71,73,74,164,166,167,168,193,198,199,227,228,229,232,250,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,338,340,349,353,397,400,405,413,416,417,420,444,445,446,469,488,500,507,509,511,526,528,534,535,608,613,614,615,616,617,618,626,670,690,701,703,740,741,763,798,808,],[-328,196,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,196,-323,-324,-325,312,-290,-292,-308,-320,-319,-334,196,-343,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,196,196,196,-346,196,196,196,-343,-344,196,-336,-382,-375,-348,-350,196,196,-344,196,-338,-376,196,196,-347,-349,196,-345,196,-377,-378,-379,-380,-321,196,-345,-331,-352,-351,-354,-353,196,196,]),'AS':([34,36,43,52,64,65,66,67,68,70,71,73,74,166,167,168,198,199,215,216,217,218,219,220,227,228,229,232,243,275,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,324,325,328,330,336,349,405,409,410,413,416,417,420,425,427,428,434,440,444,445,446,496,500,507,509,511,534,535,612,613,614,615,616,617,618,619,620,621,622,623,626,690,701,703,738,740,741,763,],[-328,197,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,-290,-292,197,-260,-261,-262,197,197,-308,-320,-319,-334,362,197,197,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,197,197,433,197,197,-346,-343,197,197,197,-337,-336,-382,197,197,197,197,197,-375,197,197,197,-344,-339,-338,-376,-347,-349,197,197,-340,-377,-378,-379,-380,197,197,197,197,197,-321,-345,-331,197,197,-351,197,-353,]),'IDALIAS':([34,36,43,52,64,65,66,67,68,70,71,73,74,166,167,168,197,198,199,215,216,217,218,219,220,227,228,229,232,275,280,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,324,325,330,336,349,405,409,410,413,416,417,420,425,427,428,434,440,444,445,446,496,500,507,509,511,534,535,612,613,614,615,616,617,618,619,620,621,622,623,626,690,701,703,738,740,741,763,],[-328,199,-325,-323,-322,-324,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,319,-290,-292,199,-260,-261,-262,199,199,-308,-320,-319,-334,199,199,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,199,199,199,199,-346,-343,199,199,199,-337,-336,-382,199,199,199,199,199,-375,199,199,199,-344,-339,-338,-376,-347,-349,199,199,-340,-377,-378,-379,-380,199,199,199,199,199,-321,-345,-331,199,199,-351,199,-353,]),'PCIERRA':([34,64,66,67,68,70,71,73,74,163,164,166,167,168,198,199,203,204,216,217,218,227,228,229,232,233,267,268,269,270,275,279,281,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,320,321,322,323,329,339,340,349,350,351,352,353,368,369,393,394,396,397,400,401,402,405,407,408,416,417,420,421,444,445,446,453,454,468,487,488,489,490,491,492,493,494,498,499,500,504,505,507,509,510,511,512,513,514,516,519,520,521,522,524,528,529,531,532,534,535,564,566,570,571,572,573,579,581,602,603,605,606,607,608,609,610,611,614,615,616,617,618,626,627,628,630,632,638,640,643,646,666,670,671,672,673,678,684,685,686,687,690,698,700,701,702,703,704,711,713,715,716,717,720,721,722,723,724,726,728,733,734,735,736,737,739,740,741,744,746,747,748,749,751,755,756,763,770,771,773,778,792,795,796,798,800,805,806,808,809,810,],[-328,-322,-326,-327,-330,-332,-333,-341,-342,280,281,-323,-324,-325,-290,-292,324,325,-260,-261,-262,-308,-320,-319,-334,349,-146,-150,-148,-151,-294,405,-309,409,410,-329,413,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,425,-259,427,428,434,440,-367,-346,444,445,446,-361,466,-48,-144,-147,-149,-298,-159,-293,496,-343,-396,500,-337,-336,-382,511,-375,-348,-350,559,-23,580,-145,-174,-175,-177,-178,-161,-163,-396,-296,-396,-344,612,613,-339,-338,615,-376,616,617,618,-258,619,620,621,622,623,-368,626,-393,-394,-347,-349,-28,-30,674,-136,-137,-138,-47,677,-164,-165,-167,-168,-173,-160,-295,-297,690,-340,-377,-378,-379,-380,-321,-390,-391,701,703,-24,-46,-34,-37,-22,723,724,725,-19,730,-176,-179,-162,-396,-345,738,-395,-331,-362,-352,741,-36,750,752,753,754,756,757,-27,-29,-31,-18,-127,-166,-169,-170,-171,-172,-392,-351,-354,-32,-45,-33,-35,-41,775,776,-25,-353,-44,784,-38,790,801,-42,-43,805,807,-40,809,810,-26,-39,]),'THEN':([34,64,66,67,68,70,71,73,74,166,167,168,198,199,227,228,229,232,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,337,349,405,416,417,420,444,445,446,500,507,509,511,534,535,614,615,616,617,618,626,690,701,703,740,741,763,],[-328,-322,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,-290,-292,-308,-320,-319,-334,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,439,-346,-343,-337,-336,-382,-375,-348,-350,-344,-339,-338,-376,-347,-349,-340,-377,-378,-379,-380,-321,-345,-331,-352,-351,-354,-353,]),'END':([34,64,66,67,68,70,71,73,74,166,167,168,198,199,223,227,228,229,232,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,338,349,405,416,417,420,444,445,446,500,507,509,511,526,534,535,614,615,616,617,618,625,626,690,701,703,740,741,763,],[-328,-322,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,-290,-292,336,-308,-320,-319,-334,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-236,-346,-343,-337,-336,-382,-375,-348,-350,-344,-339,-338,-376,-235,-347,-349,-340,-377,-378,-379,-380,-234,-321,-345,-331,-352,-351,-354,-353,]),'GROUP':([34,64,66,67,68,70,71,73,74,158,166,167,168,198,199,227,228,229,232,266,275,277,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,397,401,404,405,407,416,417,420,444,445,446,499,500,507,509,511,534,535,609,614,615,616,617,618,626,690,701,703,740,741,763,],[-328,-322,-326,-327,-330,-332,-333,-341,-342,272,-323,-324,-325,-290,-292,-308,-320,-319,-334,272,-294,272,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-298,-293,272,-343,272,-337,-336,-382,-375,-348,-350,272,-344,-339,-338,-376,-347,-349,-295,-340,-377,-378,-379,-380,-321,-345,-331,-352,-351,-354,-353,]),'ORDER':([34,64,66,67,68,70,71,73,74,158,166,167,168,198,199,227,228,229,232,266,275,277,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,397,401,404,405,407,416,417,420,444,445,446,499,500,507,509,511,534,535,609,614,615,616,617,618,626,690,701,703,740,741,763,],[-328,-322,-326,-327,-330,-332,-333,-341,-342,273,-323,-324,-325,-290,-292,-308,-320,-319,-334,273,-294,273,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-298,-293,273,-343,273,-337,-336,-382,-375,-348,-350,273,-344,-339,-338,-376,-347,-349,-295,-340,-377,-378,-379,-380,-321,-345,-331,-352,-351,-354,-353,]),'LIMIT':([34,64,66,67,68,70,71,73,74,158,166,167,168,198,199,227,228,229,232,266,267,269,275,277,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,393,397,401,404,405,407,416,417,420,444,445,446,488,489,490,491,492,493,494,499,500,507,509,511,534,535,602,603,605,606,607,609,614,615,616,617,618,626,684,685,686,687,690,701,703,733,734,735,736,737,740,741,763,],[-328,-322,-326,-327,-330,-332,-333,-341,-342,274,-323,-324,-325,-290,-292,-308,-320,-319,-334,274,274,274,-294,274,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,274,-298,-293,274,-343,274,-337,-336,-382,-375,-348,-350,-174,-175,-177,-178,-161,-163,-396,274,-344,-339,-338,-376,-347,-349,-164,-165,-167,-168,-173,-295,-340,-377,-378,-379,-380,-321,-176,-179,-162,-396,-345,-331,-352,-166,-169,-170,-171,-172,-351,-354,-353,]),'OFFSET':([34,64,66,67,68,70,71,73,74,166,167,168,198,199,227,228,229,232,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,400,405,416,417,420,444,445,446,500,507,509,511,534,535,614,615,616,617,618,626,690,701,703,740,741,763,],[-328,-322,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,-290,-292,-308,-320,-319,-334,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,495,-343,-337,-336,-382,-375,-348,-350,-344,-339,-338,-376,-347,-349,-340,-377,-378,-379,-380,-321,-345,-331,-352,-351,-354,-353,]),'WHEN':([34,54,64,66,67,68,70,71,73,74,166,167,168,198,199,227,228,229,232,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,405,416,417,420,444,445,446,500,507,509,511,526,534,535,614,615,616,617,618,626,690,701,703,740,741,763,],[-328,224,-322,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,-290,-292,-308,-320,-319,-334,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-343,-337,-336,-382,-375,-348,-350,-344,-339,-338,-376,224,-347,-349,-340,-377,-378,-379,-380,-321,-345,-331,-352,-351,-354,-353,]),'ELSE':([34,54,64,66,67,68,70,71,73,74,166,167,168,198,199,227,228,229,232,281,286,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,317,318,319,349,405,416,417,420,444,445,446,500,507,509,511,526,534,535,614,615,616,617,618,626,690,701,703,740,741,763,],[-328,225,-322,-326,-327,-330,-332,-333,-341,-342,-323,-324,-325,-290,-292,-308,-320,-319,-334,-309,-329,-299,-300,-301,-302,-303,-304,-305,-306,-307,-310,-311,-312,-313,-314,-315,-316,-317,-318,-335,-381,-289,-291,-346,-343,-337,-336,-382,-375,-348,-350,-344,-339,-338,-376,225,-347,-349,-340,-377,-378,-379,-380,-321,-345,-331,-352,-351,-354,-353,]),'PUNTO':([34,285,287,408,491,494,532,628,],[171,411,412,501,600,604,629,699,]),'BAnd':([43,47,52,65,],[-262,210,-260,-261,]),'BOr':([43,47,52,65,],[-262,211,-260,-261,]),'BXor':([43,47,52,65,],[-262,212,-260,-261,]),'DesplazaI':([43,47,52,65,],[-262,213,-260,-261,]),'DesplazaD':([43,47,52,65,],[-262,214,-260,-261,]),'REPLACE':([129,],[238,]),'IF':([130,136,358,],[240,245,240,]),'KEY':([145,374,455,456,639,],[252,471,561,562,707,]),'SET':([148,592,],[255,682,]),'WHERE':([158,198,199,257,275,277,318,319,385,386,401,407,595,596,597,598,609,],[271,-290,-292,271,-294,271,-289,-291,271,-130,-293,271,-131,-132,-133,-129,-295,]),'ANY':([174,175,176,177,178,179,180,195,],[-387,-388,-389,-383,-385,-384,-386,314,]),'SOME':([174,175,176,177,178,179,180,195,],[-387,-388,-389,-383,-385,-384,-386,316,]),'SIMMETRIC':([192,310,],[309,418,]),'YEAR':([230,557,],[342,662,]),'HOUR':([230,557,],[343,659,]),'MINUTE':([230,557,],[344,660,]),'SECOND':([230,557,],[345,661,]),'MONTH':([230,557,],[346,658,]),'DAY':([230,],[347,]),'LEADING':([237,],[355,]),'TRAILING':([237,],[356,]),'BOTH':([237,],[357,]),'VALUES':([248,],[366,]),'ADD':([254,476,],[379,587,]),'HAVING':([267,489,490,491,684,685,],[395,-175,-177,-178,-176,-179,]),'BY':([272,273,],[398,399,]),'PRIMARY':([361,540,541,542,543,544,545,546,547,548,549,553,554,555,556,558,560,648,650,655,656,657,658,659,660,661,662,718,750,752,753,754,775,],[455,-66,639,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,455,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,-64,-69,-68,-58,-59,-67,]),'ENUM':([362,],[460,]),'RENAME':([367,],[464,]),'OWNER':([367,539,743,],[465,635,768,]),'COLUMN':([379,380,381,474,587,589,],[480,481,483,585,480,483,]),'DATE':([433,452,591,],[521,556,556,]),'INTEGER':([433,452,591,],[522,543,543,]),'INTERVAL':([443,452,591,],[533,557,557,]),'SMALLINT':([452,591,],[542,542,]),'BIGINT':([452,591,],[544,544,]),'NUMERIC':([452,591,],[546,546,]),'REAL':([452,591,],[547,547,]),'DOUBLE':([452,591,],[548,548,]),'MONEY':([452,591,],[549,549,]),'CHARACTER':([452,591,],[550,550,]),'VARCHAR':([452,591,731,],[551,551,760,]),'CHAR':([452,591,],[552,552,]),'TEXT':([452,591,],[553,553,]),'TIME':([452,591,],[555,555,]),'BOOLEAN':([452,591,],[558,558,]),'CADENASI':([462,463,484,568,577,578,642,672,673,675,726,],[573,576,596,673,-121,-122,596,726,-19,573,-18,]),'TO':([464,465,],[577,578,]),'ASC':([494,687,],[605,605,]),'DESC':([494,687,],[606,606,]),'MODE':([539,742,],[636,765,]),'REFERENCES':([540,541,542,543,544,545,546,547,548,549,553,554,555,556,558,580,648,650,655,656,657,658,659,660,661,662,718,730,750,752,753,754,757,775,],[-66,641,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,676,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,-64,759,-69,-68,-58,-59,777,-67,]),'DEFAULT':([540,541,542,543,544,545,546,547,548,549,553,554,555,556,558,648,650,655,656,657,658,659,660,661,662,707,708,718,750,752,753,754,775,784,],[-66,642,-49,-50,-51,-52,-53,-54,-70,-56,-60,-70,-70,-63,-65,-55,-57,-61,-62,-70,-71,-72,-73,-74,-75,642,642,-64,-69,-68,-58,-59,-67,642,]),'VARYING':([550,],[651,]),'INHERITS':([559,],[664,]),'NULLS':([605,606,],[688,689,]),'FIRST':([688,689,],[734,736,]),'LAST':([688,689,],[735,737,]),}
_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 = {'INSTRUCCIONES':([0,],[1,]),'INSTRUCCION':([0,1,],[2,21,]),'I_SELECT':([0,1,23,25,26,153,155,157,],[3,3,152,154,156,260,262,264,]),'I_CREATE':([0,1,],[4,4,]),'I_DROP':([0,1,],[5,5,]),'I_INSERT':([0,1,],[6,6,]),'I_ALTER':([0,1,],[7,7,]),'I_UPDATE':([0,1,],[8,8,]),'I_SHOW':([0,1,],[9,9,]),'I_DELETE':([0,1,],[10,10,]),'I_USE':([0,1,],[11,11,]),'COMPLEMENTOSELECT':([3,],[22,]),'VALORES':([12,28,165,],[27,160,282,]),'LISTAVALORES':([12,28,165,],[30,30,30,]),'VALOR':([12,28,161,165,],[31,31,278,31,]),'FUNCION':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[35,35,169,169,169,169,169,35,169,35,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,169,]),'CONDICION':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[36,36,164,227,228,229,250,36,164,36,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,337,338,340,340,353,397,400,227,416,417,469,488,507,509,526,528,608,614,670,798,808,]),'FTRIGONOMETRICAS':([12,28,161,165,],[37,37,37,37,]),'NUM':([12,28,48,49,50,161,165,200,201,202,209,426,],[47,47,215,219,220,47,47,321,321,321,330,516,]),'ID_VALOR':([12,28,161,165,],[55,55,55,55,]),'FUNCIONES_WHERE':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,]),'FUNCIONES_SISTEMA':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,]),'ID_FUNCION':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,115,]),'ID_FUNCION_S':([12,28,32,60,61,62,143,161,162,165,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,224,225,226,235,236,271,274,305,309,310,372,395,414,418,439,441,495,508,565,787,804,],[116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,116,]),'I_TCREATE':([13,],[125,]),'I_REPLACE':([13,],[126,]),'I_CTABLE':([13,],[127,]),'I_CTYPE':([13,],[128,]),'I_TDROP':([14,],[133,]),'I_DROPDB':([14,],[134,]),'I_DROPTB':([14,],[135,]),'I_TALTER':([16,379,],[140,479,]),'I_ALTERDB':([16,379,],[141,141,]),'I_ALTERTB':([16,379,],[142,142,]),'PFROM':([27,160,282,],[158,277,407,]),'SUBCONSULTA':([32,162,234,276,313,419,422,423,424,],[163,279,350,402,421,510,512,513,514,]),'ALIAS':([36,215,219,220,275,280,324,325,330,336,409,410,413,425,427,428,434,440,445,446,496,612,613,619,620,621,622,623,703,738,741,],[173,331,332,333,401,406,429,430,435,438,502,503,506,515,517,518,523,527,534,535,609,691,692,693,694,695,696,697,740,762,763,]),'OPERATOR_FW':([36,164,227,228,229,250,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,306,307,308,337,338,340,353,397,400,416,417,469,488,507,509,526,528,608,614,670,798,808,],[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,195,195,195,195,195,195,195,]),'OPERADOR':([47,],[209,]),'LWHEN':([54,526,],[223,625,]),'I_EXIST':([130,358,],[239,450,]),'I_IFEXIST':([136,],[244,]),'COMPLEMENTO':([158,266,277,404,407,499,],[265,392,403,497,498,610,]),'PWHERE':([158,257,277,385,407,],[266,387,404,485,499,]),'PGROUPBY':([158,266,277,404,407,499,],[267,267,267,267,267,267,]),'PLIMIT':([158,266,267,269,277,393,404,407,499,],[268,268,394,396,268,487,268,268,268,]),'PORDERBY':([158,266,277,404,407,499,],[269,269,269,269,269,269,]),'EMPTY':([158,266,277,404,407,494,499,687,],[270,270,270,270,270,607,270,607,]),'LNUM':([200,201,202,],[320,322,323,]),'LCONDICION_FUNCION':([226,235,],[339,351,]),'DATETIME':([230,],[341,]),'LCONDICION_FUNCION_S':([236,],[352,]),'LBOTH':([237,],[354,]),'I_LIDS':([251,370,470,567,582,667,668,758,791,799,],[368,468,581,671,678,720,721,778,800,806,]),'I_TCONST':([253,],[371,]),'I_OPALTER':([254,],[376,]),'I_LADDC':([254,],[377,]),'I_LDROPC':([254,],[378,]),'I_ADDC':([254,476,],[382,586,]),'I_DROPC':([254,478,],[383,588,]),'I_LUPDATE':([255,],[385,]),'I_VALUPDATE':([255,486,],[386,598,]),'PHAVING':([267,],[393,]),'I_LTATRIBUTOS':([361,],[453,]),'I_TATRIBUTOS':([361,560,],[454,666,]),'I_OPALTERDB':([367,],[463,]),'I_LCOL':([375,],[472,]),'I_PCOL':([375,584,],[473,679,]),'LCOMPLEMENTOGROUP':([398,],[489,]),'COMPLEMENTOGROUP':([398,599,],[490,684,]),'LCOMPLEMENTOORDERBY':([399,],[492,]),'COMPLEMENTOORDERBY':([399,601,],[493,686,]),'PTIMESTAMP':([442,],[529,]),'I_TIPO':([452,591,],[541,681,]),'I_CCHECK':([458,669,],[564,722,]),'I_UNIQUE':([459,],[566,]),'I_LVALT':([462,],[570,]),'I_VALTAB':([462,675,],[571,728,]),'I_VALALTDB':([463,],[575,]),'I_VALOR':([484,642,],[595,709,]),'COMPLEMENTOORDERBY1':([494,],[602,]),'COMPLEMENTOORDER':([494,687,],[603,733,]),'I_OWMOD':([539,],[634,]),'I_LLAVES':([541,],[638,]),'I_DEFAULT':([541,707,708,784,],[640,744,746,795,]),'I_NULL':([541,707,708,709,784,],[643,643,643,747,643,]),'I_CUNIQUE':([541,645,707,708,709,710,784,],[646,711,646,646,646,748,646,]),'I_PREC':([548,554,555,657,],[648,655,656,718,]),'I_TCHAR':([550,],[650,]),'I_FIELDS':([557,],[657,]),'I_INHERITS':([559,],[663,]),'I_LCAD':([568,],[672,]),'I_MODE':([742,],[764,]),'I_OWNER':([743,],[767,]),'I_CREFERENCE':([745,],[771,]),'I_CHECK':([749,],[773,]),}
_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' -> INSTRUCCIONES","S'",1,None,None,None),
('INSTRUCCIONES -> INSTRUCCIONES INSTRUCCION','INSTRUCCIONES',2,'p_Inicio','Lexico.py',358),
('INSTRUCCIONES -> INSTRUCCION','INSTRUCCIONES',1,'p_Inicio1','Lexico.py',362),
('INSTRUCCION -> I_SELECT COMPLEMENTOSELECT','INSTRUCCION',2,'p_Instruccion','Lexico.py',365),
('INSTRUCCION -> I_CREATE','INSTRUCCION',1,'p_Instruccion1','Lexico.py',368),
('INSTRUCCION -> I_DROP','INSTRUCCION',1,'p_Instruccion2','Lexico.py',371),
('INSTRUCCION -> I_INSERT','INSTRUCCION',1,'p_Instruccion3','Lexico.py',374),
('INSTRUCCION -> I_ALTER','INSTRUCCION',1,'p_Instruccion4','Lexico.py',377),
('INSTRUCCION -> I_UPDATE','INSTRUCCION',1,'p_Instruccion5','Lexico.py',380),
('INSTRUCCION -> I_SHOW','INSTRUCCION',1,'p_Instruccion6','Lexico.py',383),
('INSTRUCCION -> I_DELETE','INSTRUCCION',1,'p_Instruccion7','Lexico.py',386),
('INSTRUCCION -> I_USE','INSTRUCCION',1,'p_Instruccion8','Lexico.py',389),
('I_USE -> USE DATABASE ID PCOMA','I_USE',4,'p_use','Lexico.py',392),
('I_CREATE -> CREATE I_TCREATE','I_CREATE',2,'p_Create','Lexico.py',395),
('I_TCREATE -> I_REPLACE','I_TCREATE',1,'p_tCreate','Lexico.py',399),
('I_TCREATE -> I_CTABLE','I_TCREATE',1,'p_tCreate1','Lexico.py',402),
('I_TCREATE -> I_CTYPE','I_TCREATE',1,'p_tCreate2','Lexico.py',405),
('I_CTYPE -> TYPE ID AS ENUM PABRE I_LCAD PCIERRA','I_CTYPE',7,'p_ctype','Lexico.py',408),
('I_LCAD -> I_LCAD CADENASI','I_LCAD',2,'p_lcad','Lexico.py',411),
('I_LCAD -> CADENASI','I_LCAD',1,'p_lcad1','Lexico.py',414),
('I_CTABLE -> TABLE ID PABRE I_LTATRIBUTOS PCIERRA I_INHERITS','I_CTABLE',6,'p_cTable','Lexico.py',417),
('I_INHERITS -> INHERITS PABRE ID PCIERRA PCOMA','I_INHERITS',5,'p_inherits','Lexico.py',420),
('I_LTATRIBUTOS -> I_LTATRIBUTOS COMA I_TATRIBUTOS','I_LTATRIBUTOS',3,'p_tAtributos','Lexico.py',423),
('I_LTATRIBUTOS -> I_TATRIBUTOS','I_LTATRIBUTOS',1,'p_tAtributos1','Lexico.py',426),
('I_TATRIBUTOS -> ID I_TIPO I_LLAVES','I_TATRIBUTOS',3,'p_atributosT','Lexico.py',429),
('I_TATRIBUTOS -> PRIMARY KEY PABRE I_LIDS PCIERRA','I_TATRIBUTOS',5,'p_atributosT1','Lexico.py',432),
('I_TATRIBUTOS -> FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA','I_TATRIBUTOS',10,'p_atributosT2','Lexico.py',435),
('I_TATRIBUTOS -> CONSTRAINT ID CHECK I_CCHECK','I_TATRIBUTOS',4,'p_atributosT3','Lexico.py',438),
('I_TATRIBUTOS -> CHECK I_CCHECK','I_TATRIBUTOS',2,'p_atributosT4','Lexico.py',441),
('I_CCHECK -> PABRE CONDICION PCIERRA','I_CCHECK',3,'p_ccheck','Lexico.py',444),
('I_TATRIBUTOS -> UNIQUE I_UNIQUE','I_TATRIBUTOS',2,'p_atributosT5','Lexico.py',447),
('I_UNIQUE -> PABRE I_LIDS PCIERRA','I_UNIQUE',3,'p_unique','Lexico.py',450),
('I_LLAVES -> PRIMARY KEY I_DEFAULT','I_LLAVES',3,'p_llave','Lexico.py',453),
('I_DEFAULT -> DEFAULT I_VALOR I_NULL','I_DEFAULT',3,'p_default','Lexico.py',456),
('I_DEFAULT -> I_NULL','I_DEFAULT',1,'p_default1','Lexico.py',459),
('I_NULL -> NOT NULL I_CUNIQUE','I_NULL',3,'p_null','Lexico.py',462),
('I_NULL -> NULL I_CUNIQUE','I_NULL',2,'p_null1','Lexico.py',465),
('I_NULL -> I_CUNIQUE','I_NULL',1,'p_null2','Lexico.py',468),
('I_CUNIQUE -> CONSTRAINT ID UNIQUE I_CHECK','I_CUNIQUE',4,'p_cunique','Lexico.py',471),
('I_CHECK -> CONSTRAINT ID CHECK PABRE CONDICION PCIERRA','I_CHECK',6,'p_check','Lexico.py',474),
('I_CHECK -> CHECK PABRE CONDICION PCIERRA','I_CHECK',4,'p_check1','Lexico.py',477),
('I_CHECK -> <empty>','I_CHECK',0,'p_check2','Lexico.py',480),
('I_LLAVES -> REFERENCES ID PABRE I_CREFERENCE PCIERRA I_DEFAULT','I_LLAVES',6,'p_llave2','Lexico.py',483),
('I_CREFERENCE -> I_CREFERENCE COMA ID','I_CREFERENCE',3,'p_cRef','Lexico.py',486),
('I_CREFERENCE -> ID','I_CREFERENCE',1,'p_cRef2','Lexico.py',489),
('I_LLAVES -> REFERENCES ID I_DEFAULT','I_LLAVES',3,'p_llave3','Lexico.py',492),
('I_LLAVES -> I_DEFAULT','I_LLAVES',1,'p_llave4','Lexico.py',495),
('I_LIDS -> I_LIDS COMA ID','I_LIDS',3,'p_lIds','Lexico.py',498),
('I_LIDS -> ID','I_LIDS',1,'p_lIds1','Lexico.py',501),
('I_TIPO -> SMALLINT','I_TIPO',1,'p_tipo','Lexico.py',504),
('I_TIPO -> INTEGER','I_TIPO',1,'p_tipo2','Lexico.py',507),
('I_TIPO -> BIGINT','I_TIPO',1,'p_tipo3','Lexico.py',510),
('I_TIPO -> DECIMAL','I_TIPO',1,'p_tipo4','Lexico.py',513),
('I_TIPO -> NUMERIC','I_TIPO',1,'p_tipo5','Lexico.py',516),
('I_TIPO -> REAL','I_TIPO',1,'p_tipo6','Lexico.py',519),
('I_TIPO -> DOUBLE I_PREC','I_TIPO',2,'p_tipo7','Lexico.py',522),
('I_TIPO -> MONEY','I_TIPO',1,'p_tipo8','Lexico.py',525),
('I_TIPO -> CHARACTER I_TCHAR','I_TIPO',2,'p_tipo9','Lexico.py',528),
('I_TIPO -> VARCHAR PABRE NUMERO PCIERRA','I_TIPO',4,'p_tipo11','Lexico.py',531),
('I_TIPO -> CHAR PABRE NUMERO PCIERRA','I_TIPO',4,'p_tipo22','Lexico.py',534),
('I_TIPO -> TEXT','I_TIPO',1,'p_tipo33','Lexico.py',537),
('I_TIPO -> TIMESTAMP I_PREC','I_TIPO',2,'p_tipo44','Lexico.py',540),
('I_TIPO -> TIME I_PREC','I_TIPO',2,'p_tipo55','Lexico.py',543),
('I_TIPO -> DATE','I_TIPO',1,'p_tipo66','Lexico.py',546),
('I_TIPO -> INTERVAL I_FIELDS I_PREC','I_TIPO',3,'p_tipo77','Lexico.py',549),
('I_TIPO -> BOOLEAN','I_TIPO',1,'p_tipo88','Lexico.py',552),
('I_TIPO -> ID','I_TIPO',1,'p_tipo99','Lexico.py',555),
('I_TCHAR -> VARYING PABRE NUMERO PCIERRA','I_TCHAR',4,'p_tchar','Lexico.py',558),
('I_TCHAR -> PABRE NUMERO PCIERRA','I_TCHAR',3,'p_tchar1','Lexico.py',561),
('I_PREC -> PABRE NUMERO PCIERRA','I_PREC',3,'p_prec','Lexico.py',564),
('I_PREC -> <empty>','I_PREC',0,'p_prec1','Lexico.py',567),
('I_FIELDS -> MONTH','I_FIELDS',1,'p_fields','Lexico.py',570),
('I_FIELDS -> HOUR','I_FIELDS',1,'p_fields1','Lexico.py',573),
('I_FIELDS -> MINUTE','I_FIELDS',1,'p_fields2','Lexico.py',576),
('I_FIELDS -> SECOND','I_FIELDS',1,'p_fields3','Lexico.py',579),
('I_FIELDS -> YEAR','I_FIELDS',1,'p_fields4','Lexico.py',582),
('I_INHERITS -> PCOMA','I_INHERITS',1,'p_inherits1','Lexico.py',585),
('I_REPLACE -> OR REPLACE DATABASE I_EXIST','I_REPLACE',4,'p_Replace','Lexico.py',590),
('I_REPLACE -> DATABASE I_EXIST','I_REPLACE',2,'p_Replace1','Lexico.py',593),
('I_DROP -> DROP I_TDROP','I_DROP',2,'p_drop','Lexico.py',597),
('I_ALTER -> ALTER I_TALTER','I_ALTER',2,'p_alter','Lexico.py',600),
('I_TALTER -> I_ALTERDB','I_TALTER',1,'p_tAlter','Lexico.py',603),
('I_TALTER -> I_ALTERTB','I_TALTER',1,'p_tAlter1','Lexico.py',606),
('I_ALTERTB -> TABLE ID I_OPALTER','I_ALTERTB',3,'p_alterTB','Lexico.py',609),
('I_OPALTER -> I_LADDC PCOMA','I_OPALTER',2,'p_opAlterTB','Lexico.py',612),
('I_OPALTER -> I_LDROPC PCOMA','I_OPALTER',2,'p_opAlterTB1','Lexico.py',615),
('I_OPALTER -> ADD I_TALTER PCOMA','I_OPALTER',3,'p_opAlterTB2','Lexico.py',618),
('I_OPALTER -> ALTER COLUMN ID SET NOT NULL PCOMA','I_OPALTER',7,'p_opAlterTB3','Lexico.py',621),
('I_OPALTER -> DROP CONSTRAINT ID PCOMA','I_OPALTER',4,'p_opAlterTB4','Lexico.py',624),
('I_OPALTER -> ID I_LCOL PCOMA','I_OPALTER',3,'p_opAlterTB5','Lexico.py',627),
('I_LCOL -> I_LCOL COMA I_PCOL','I_LCOL',3,'p_lCol','Lexico.py',630),
('I_LCOL -> I_PCOL','I_LCOL',1,'p_lCol2','Lexico.py',633),
('I_PCOL -> ALTER COLUMN ID TYPE VARCHAR PABRE NUMERO PCIERRA','I_PCOL',8,'p_pCol3','Lexico.py',636),
('I_TALTER -> CHECK CONDICION','I_TALTER',2,'p_tipAlterC','Lexico.py',639),
('I_TALTER -> UNIQUE PABRE I_LIDS PCIERRA','I_TALTER',4,'p_tipAlterU','Lexico.py',642),
('I_TALTER -> FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA','I_TALTER',10,'p_tipAlterFK','Lexico.py',645),
('I_TALTER -> CONSTRAINT ID I_TCONST','I_TALTER',3,'p_tipAlterCo','Lexico.py',648),
('I_TCONST -> CHECK CONDICION','I_TCONST',2,'p_tipoConstraintC','Lexico.py',651),
('I_TCONST -> UNIQUE PABRE I_LIDS PCIERRA','I_TCONST',4,'p_tipoConstraintU','Lexico.py',654),
('I_TCONST -> FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA','I_TCONST',10,'p_tipoConstraintFK','Lexico.py',657),
('I_LDROPC -> I_LDROPC COMA I_DROPC','I_LDROPC',3,'p_lCDrop','Lexico.py',660),
('I_LDROPC -> I_DROPC','I_LDROPC',1,'p_lCDrop1','Lexico.py',663),
('I_DROPC -> DROP COLUMN ID','I_DROPC',3,'p_cDrop','Lexico.py',666),
('I_LADDC -> I_LADDC COMA I_ADDC','I_LADDC',3,'p_lCAdd','Lexico.py',669),
('I_LADDC -> I_ADDC','I_LADDC',1,'p_lCAdd2','Lexico.py',672),
('I_ADDC -> ADD COLUMN ID I_TIPO','I_ADDC',4,'p_cAdd','Lexico.py',675),
('I_TDROP -> I_DROPDB','I_TDROP',1,'p_tDrop','Lexico.py',678),
('I_TDROP -> I_DROPTB','I_TDROP',1,'p_tDrop2','Lexico.py',681),
('I_DROPDB -> DATABASE I_IFEXIST','I_DROPDB',2,'p_dropDB','Lexico.py',684),
('I_IFEXIST -> IF EXISTS ID PCOMA','I_IFEXIST',4,'p_ifExist','Lexico.py',687),
('I_IFEXIST -> ID PCOMA','I_IFEXIST',2,'p_ifExist2','Lexico.py',690),
('I_EXIST -> IF NOT EXISTS ID I_OWMOD','I_EXIST',5,'p_Exist','Lexico.py',693),
('I_EXIST -> ID PCOMA','I_EXIST',2,'p_Exist1','Lexico.py',696),
('I_OWMOD -> OWNER IGUAL ID I_MODE','I_OWMOD',4,'p_Owmod','Lexico.py',700),
('I_OWMOD -> MODE IGUAL ID I_OWNER','I_OWMOD',4,'p_Owmod1','Lexico.py',703),
('I_OWMOD -> PCOMA','I_OWMOD',1,'p_Owmod2','Lexico.py',706),
('I_MODE -> MODE IGUAL ID PCOMA','I_MODE',4,'p_Mode','Lexico.py',709),
('I_MODE -> PCOMA','I_MODE',1,'p_Mode1','Lexico.py',712),
('I_OWNER -> OWNER IGUAL ID PCOMA','I_OWNER',4,'p_Owner','Lexico.py',715),
('I_OWNER -> PCOMA','I_OWNER',1,'p_Owner1','Lexico.py',718),
('I_ALTERDB -> ALTER DATABASE ID I_OPALTERDB I_VALALTDB','I_ALTERDB',5,'p_AlterDB','Lexico.py',721),
('I_OPALTERDB -> RENAME TO','I_OPALTERDB',2,'p_opAlterDB','Lexico.py',724),
('I_OPALTERDB -> OWNER TO','I_OPALTERDB',2,'p_opAlterDB2','Lexico.py',727),
('I_VALALTDB -> ID','I_VALALTDB',1,'p_valAlterDb','Lexico.py',730),
('I_VALALTDB -> CADENASI','I_VALALTDB',1,'p_valAlterDb1','Lexico.py',733),
('I_DROPTB -> TABLE ID PCOMA','I_DROPTB',3,'p_dropTB','Lexico.py',736),
('I_INSERT -> INSERT INTO ID VALUES PABRE I_LVALT PCIERRA PCOMA','I_INSERT',8,'p_insertTB','Lexico.py',739),
('I_LVALT -> I_LVALT COMA I_VALTAB','I_LVALT',3,'p_lValt','Lexico.py',742),
('I_UPDATE -> UPDATE ID SET I_LUPDATE PWHERE','I_UPDATE',5,'p_update','Lexico.py',745),
('I_LUPDATE -> I_LUPDATE COMA I_VALUPDATE','I_LUPDATE',3,'p_lUpdate','Lexico.py',748),
('I_LUPDATE -> I_VALUPDATE','I_LUPDATE',1,'p_lUpdate1','Lexico.py',751),
('I_VALUPDATE -> ID IGUAL I_VALOR','I_VALUPDATE',3,'p_valUpdate','Lexico.py',754),
('I_VALOR -> CADENASI','I_VALOR',1,'p_valor','Lexico.py',757),
('I_VALOR -> NUMERO','I_VALOR',1,'p_valor1','Lexico.py',760),
('I_SHOW -> SHOW DATABASE PCOMA','I_SHOW',3,'p_show','Lexico.py',763),
('I_DELETE -> DELETE FROM ID PWHERE','I_DELETE',4,'p_delete','Lexico.py',766),
('I_LVALT -> I_VALTAB','I_LVALT',1,'p_lValt1','Lexico.py',769),
('I_VALTAB -> NUMERO','I_VALTAB',1,'p_valTab','Lexico.py',772),
('I_VALTAB -> CADENASI','I_VALTAB',1,'p_valTab1','Lexico.py',775),
('I_SELECT -> SELECT VALORES PFROM COMPLEMENTO','I_SELECT',4,'p_ISelect','Lexico.py',778),
('I_SELECT -> SELECT VALORES PFROM PWHERE COMPLEMENTO','I_SELECT',5,'p_ISelect1','Lexico.py',781),
('I_SELECT -> SELECT DISTINCT VALORES PFROM COMPLEMENTO','I_SELECT',5,'p_ISelect2','Lexico.py',784),
('I_SELECT -> SELECT DISTINCT VALORES PFROM PWHERE COMPLEMENTO','I_SELECT',6,'p_ISelect3','Lexico.py',787),
('I_SELECT -> SELECT VALORES','I_SELECT',2,'p_ISelect4','Lexico.py',790),
('COMPLEMENTO -> PGROUPBY PHAVING','COMPLEMENTO',2,'p_ComplementoH','Lexico.py',793),
('COMPLEMENTO -> PGROUPBY PHAVING PLIMIT','COMPLEMENTO',3,'p_ComplementoHL','Lexico.py',796),
('COMPLEMENTO -> PGROUPBY','COMPLEMENTO',1,'p_ComplementoG','Lexico.py',799),
('COMPLEMENTO -> PGROUPBY PLIMIT','COMPLEMENTO',2,'p_ComplementoGL','Lexico.py',802),
('COMPLEMENTO -> PORDERBY','COMPLEMENTO',1,'p_ComplementoO','Lexico.py',805),
('COMPLEMENTO -> PORDERBY PLIMIT','COMPLEMENTO',2,'p_ComplementoOL','Lexico.py',808),
('COMPLEMENTO -> PLIMIT','COMPLEMENTO',1,'p_ComplementoL','Lexico.py',811),
('COMPLEMENTO -> EMPTY','COMPLEMENTO',1,'p_ComplementoE','Lexico.py',814),
('COMPLEMENTOSELECT -> UNION I_SELECT PCOMA','COMPLEMENTOSELECT',3,'p_ComplementoSelectUnion','Lexico.py',817),
('COMPLEMENTOSELECT -> UNION ALL I_SELECT PCOMA','COMPLEMENTOSELECT',4,'p_ComplementoSelectUnionAll','Lexico.py',820),
('COMPLEMENTOSELECT -> INTERSECT I_SELECT PCOMA','COMPLEMENTOSELECT',3,'p_ComplementoSelectIntersect','Lexico.py',823),
('COMPLEMENTOSELECT -> INTERSECT ALL I_SELECT PCOMA','COMPLEMENTOSELECT',4,'p_ComplementoSelectIntersectALL','Lexico.py',826),
('COMPLEMENTOSELECT -> EXCEPT I_SELECT PCOMA','COMPLEMENTOSELECT',3,'p_ComplementoSelectExcept','Lexico.py',829),
('COMPLEMENTOSELECT -> EXCEPT ALL I_SELECT PCOMA','COMPLEMENTOSELECT',4,'p_ComplementoSelectExceptAll','Lexico.py',832),
('COMPLEMENTOSELECT -> PCOMA','COMPLEMENTOSELECT',1,'p_ComplementoSelectExceptPcoma','Lexico.py',835),
('PLIMIT -> LIMIT CONDICION','PLIMIT',2,'p_Limit','Lexico.py',838),
('PLIMIT -> LIMIT CONDICION OFFSET CONDICION','PLIMIT',4,'p_LimitOff','Lexico.py',841),
('PORDERBY -> ORDER BY LCOMPLEMENTOORDERBY','PORDERBY',3,'p_OrderBy','Lexico.py',844),
('LCOMPLEMENTOORDERBY -> LCOMPLEMENTOORDERBY COMA COMPLEMENTOORDERBY','LCOMPLEMENTOORDERBY',3,'p_ComplementoOrderL','Lexico.py',847),
('LCOMPLEMENTOORDERBY -> COMPLEMENTOORDERBY','LCOMPLEMENTOORDERBY',1,'p_ComplementoOrderL1','Lexico.py',850),
('COMPLEMENTOORDERBY -> ID COMPLEMENTOORDERBY1','COMPLEMENTOORDERBY',2,'p_ComplementoOrderCI','Lexico.py',853),
('COMPLEMENTOORDERBY1 -> COMPLEMENTOORDER','COMPLEMENTOORDERBY1',1,'p_ComplementoOrderCOBC','Lexico.py',856),
('COMPLEMENTOORDERBY1 -> PUNTO ID COMPLEMENTOORDER','COMPLEMENTOORDERBY1',3,'p_ComplementoOrderCOBP','Lexico.py',859),
('COMPLEMENTOORDER -> ASC','COMPLEMENTOORDER',1,'p_ComplementoOrder','Lexico.py',863),
('COMPLEMENTOORDER -> DESC','COMPLEMENTOORDER',1,'p_ComplementoOD','Lexico.py',866),
('COMPLEMENTOORDER -> ASC NULLS FIRST','COMPLEMENTOORDER',3,'p_ComplementoOANF','Lexico.py',869),
('COMPLEMENTOORDER -> ASC NULLS LAST','COMPLEMENTOORDER',3,'p_ComplementoOANL','Lexico.py',872),
('COMPLEMENTOORDER -> DESC NULLS FIRST','COMPLEMENTOORDER',3,'p_ComplementoODNF','Lexico.py',875),
('COMPLEMENTOORDER -> DESC NULLS LAST','COMPLEMENTOORDER',3,'p_ComplementoODNL','Lexico.py',878),
('COMPLEMENTOORDER -> EMPTY','COMPLEMENTOORDER',1,'p_ComplementoEm','Lexico.py',881),
('PHAVING -> HAVING CONDICION','PHAVING',2,'p_Having','Lexico.py',885),
('PGROUPBY -> GROUP BY LCOMPLEMENTOGROUP','PGROUPBY',3,'p_GroupBy','Lexico.py',888),
('LCOMPLEMENTOGROUP -> LCOMPLEMENTOGROUP COMA COMPLEMENTOGROUP','LCOMPLEMENTOGROUP',3,'p_ComplementoGroupL','Lexico.py',891),
('LCOMPLEMENTOGROUP -> COMPLEMENTOGROUP','LCOMPLEMENTOGROUP',1,'p_ComplementoGroupLS','Lexico.py',894),
('COMPLEMENTOGROUP -> ID','COMPLEMENTOGROUP',1,'p_ComplementoGroupC','Lexico.py',897),
('COMPLEMENTOGROUP -> ID PUNTO ID','COMPLEMENTOGROUP',3,'p_ComplementoGroupC1','Lexico.py',900),
('VALORES -> POR','VALORES',1,'p_Valores','Lexico.py',903),
('VALORES -> LISTAVALORES','VALORES',1,'p_ValoresLista','Lexico.py',906),
('LISTAVALORES -> LISTAVALORES COMA VALOR','LISTAVALORES',3,'p_ListaValores','Lexico.py',909),
('LISTAVALORES -> VALOR','LISTAVALORES',1,'p_ListaValoresS','Lexico.py',912),
('VALOR -> PABRE SUBCONSULTA PCIERRA ALIAS','VALOR',4,'p_ValorSub','Lexico.py',916),
('VALOR -> PABRE SUBCONSULTA PCIERRA','VALOR',3,'p_ValorSub1','Lexico.py',919),
('VALOR -> COUNT PABRE POR PCIERRA ALIAS','VALOR',5,'p_ValorCountAa','Lexico.py',922),
('VALOR -> COUNT PABRE ID PCIERRA ALIAS','VALOR',5,'p_ValorCounta','Lexico.py',925),
('VALOR -> COUNT PABRE POR PCIERRA','VALOR',4,'p_ValorCountA','Lexico.py',928),
('VALOR -> COUNT PABRE ID PCIERRA','VALOR',4,'p_ValorCount','Lexico.py',931),
('VALOR -> COUNT PABRE ID PUNTO ID PCIERRA ALIAS','VALOR',7,'p_ValorCountAliasId','Lexico.py',934),
('VALOR -> COUNT PABRE ID PUNTO ID PCIERRA','VALOR',6,'p_ValorCountIdP','Lexico.py',937),
('VALOR -> FUNCION PABRE ID PUNTO ID PCIERRA','VALOR',6,'p_ValorFunciones','Lexico.py',940),
('VALOR -> FUNCION PABRE ID PCIERRA','VALOR',4,'p_ValorFunciones1','Lexico.py',943),
('VALOR -> FUNCION PABRE ID PUNTO ID PCIERRA ALIAS','VALOR',7,'p_ValorFuncionesA','Lexico.py',946),
('VALOR -> FUNCION PABRE ID PCIERRA ALIAS','VALOR',5,'p_ValorFunciones1A','Lexico.py',949),
('VALOR -> CONDICION','VALOR',1,'p_ValorCondicion','Lexico.py',952),
('VALOR -> CONDICION ALIAS','VALOR',2,'p_ValorCondicionAlias','Lexico.py',955),
('VALOR -> FTRIGONOMETRICAS PABRE LNUM PCIERRA','VALOR',4,'p_ValorFTrigonometricas','Lexico.py',958),
('VALOR -> FTRIGONOMETRICAS PABRE LNUM PCIERRA ALIAS','VALOR',5,'p_ValorFTrigonometricasAlias','Lexico.py',961),
('VALOR -> GREATEST PABRE LNUM PCIERRA','VALOR',4,'p_ValorGreatest','Lexico.py',964),
('VALOR -> LEAST PABRE LNUM PCIERRA','VALOR',4,'p_ValorLeast','Lexico.py',967),
('VALOR -> GREATEST PABRE LNUM PCIERRA ALIAS','VALOR',5,'p_ValorGreatestAlias','Lexico.py',970),
('VALOR -> LEAST PABRE LNUM PCIERRA ALIAS','VALOR',5,'p_ValorLeastAlias','Lexico.py',973),
('VALOR -> RANDOM PABRE PCIERRA ALIAS','VALOR',4,'p_ValorRandomA','Lexico.py',976),
('VALOR -> RANDOM PABRE PCIERRA','VALOR',3,'p_ValorRandom','Lexico.py',979),
('VALOR -> PI PABRE PCIERRA ALIAS','VALOR',4,'p_ValorPiAlias','Lexico.py',982),
('VALOR -> PI PABRE PCIERRA','VALOR',3,'p_ValorPi','Lexico.py',985),
('VALOR -> DECODE PABRE CADENA COMA CADENA PCIERRA ALIAS','VALOR',7,'p_ValorFuncionesDecodeA','Lexico.py',988),
('VALOR -> DECODE PABRE CADENA COMA CADENA PCIERRA','VALOR',6,'p_ValorFuncionesDecode','Lexico.py',991),
('VALOR -> ENCODE PABRE CADENA COMA CADENA PCIERRA ALIAS','VALOR',7,'p_ValorFuncionesEncodeA','Lexico.py',994),
('VALOR -> ENCODE PABRE CADENA COMA CADENA PCIERRA','VALOR',6,'p_ValorFuncionesEncode','Lexico.py',997),
('VALOR -> CONVERT PABRE CADENA AS DATE PCIERRA','VALOR',6,'p_ValorFuncionesConvertDate','Lexico.py',1000),
('VALOR -> CONVERT PABRE CADENA AS INTEGER PCIERRA','VALOR',6,'p_ValorFuncionesConvertInt','Lexico.py',1003),
('VALOR -> CONVERT PABRE CADENA AS DATE PCIERRA ALIAS','VALOR',7,'p_ValorFuncionesConvertDateA','Lexico.py',1006),
('VALOR -> CONVERT PABRE CADENA AS INTEGER PCIERRA ALIAS','VALOR',7,'p_ValorFuncionesConvertIntA','Lexico.py',1009),
('VALOR -> SHA256 PABRE CADENA PCIERRA','VALOR',4,'p_ValorFuncionesSha','Lexico.py',1012),
('VALOR -> SHA256 PABRE CADENA PCIERRA ALIAS','VALOR',5,'p_ValorFuncionesShaA','Lexico.py',1015),
('VALOR -> NUM OPERADOR NUM ALIAS','VALOR',4,'p_ValorOperadorMatAlias','Lexico.py',1018),
('VALOR -> NUM OPERADOR NUM','VALOR',3,'p_ValorOperadorMat','Lexico.py',1021),
('VALOR -> BNot NUM ALIAS','VALOR',3,'p_ValorOperadorNotA','Lexico.py',1024),
('VALOR -> BNot NUM','VALOR',2,'p_ValorOperadorNot','Lexico.py',1027),
('VALOR -> raizCuadrada NUM ALIAS','VALOR',3,'p_ValorRaizCuadradaA','Lexico.py',1030),
('VALOR -> raizCuadrada NUM','VALOR',2,'p_ValorRaizCuadrada','Lexico.py',1033),
('VALOR -> raizCubica NUM ALIAS','VALOR',3,'p_ValorRaizCubicaA','Lexico.py',1036),
('VALOR -> raizCubica NUM','VALOR',2,'p_ValorRaizCubica','Lexico.py',1039),
('VALOR -> GETBYTE PABRE CADENA COMA NUMERO PCIERRA','VALOR',6,'p_ValorFuncionesGetByte','Lexico.py',1042),
('VALOR -> GETBYTE PABRE CADENA COMA NUMERO PCIERRA ALIAS','VALOR',7,'p_ValorFuncionesGetByteA','Lexico.py',1045),
('VALOR -> SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA','VALOR',8,'p_ValorFuncionesSetByte','Lexico.py',1048),
('VALOR -> SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA ALIAS','VALOR',9,'p_ValorFuncionesSetByteA','Lexico.py',1051),
('VALOR -> CASE LWHEN END','VALOR',3,'p_ValorCase','Lexico.py',1054),
('VALOR -> CASE LWHEN END ALIAS','VALOR',4,'p_ValorCaseAlias','Lexico.py',1057),
('VALOR -> ID_VALOR PABRE LCONDICION_FUNCION PCIERRA ALIAS','VALOR',5,'p_ValorFunAlias','Lexico.py',1060),
('VALOR -> ID_VALOR PABRE LCONDICION_FUNCION PCIERRA','VALOR',4,'p_ValorFun','Lexico.py',1063),
('LWHEN -> WHEN CONDICION THEN CONDICION LWHEN','LWHEN',5,'p_LWHEN','Lexico.py',1066),
('LWHEN -> WHEN CONDICION THEN CONDICION','LWHEN',4,'p_LWHENSimple','Lexico.py',1069),
('LWHEN -> ELSE CONDICION','LWHEN',2,'p_LWHENElse','Lexico.py',1072),
('ID_VALOR -> DEGREES','ID_VALOR',1,'p_IdFuncionDegrees','Lexico.py',1075),
('ID_VALOR -> DIV','ID_VALOR',1,'p_IdFuncionDiv','Lexico.py',1078),
('ID_VALOR -> FEXP','ID_VALOR',1,'p_IdFuncionExp','Lexico.py',1081),
('ID_VALOR -> FACTORIAL','ID_VALOR',1,'p_IdFuncionFactorial','Lexico.py',1084),
('ID_VALOR -> FLOOR','ID_VALOR',1,'p_IdFuncionFloor','Lexico.py',1087),
('ID_VALOR -> GCD','ID_VALOR',1,'p_IdFuncionGcd','Lexico.py',1090),
('ID_VALOR -> LN','ID_VALOR',1,'p_IdFuncionLn','Lexico.py',1093),
('ID_VALOR -> LOG','ID_VALOR',1,'p_IdFuncionLog','Lexico.py',1096),
('ID_VALOR -> MOD','ID_VALOR',1,'p_IdFuncionMod','Lexico.py',1099),
('ID_VALOR -> POWER','ID_VALOR',1,'p_IdFuncionPower','Lexico.py',1102),
('ID_VALOR -> RADIANS','ID_VALOR',1,'p_IdFuncionRadians','Lexico.py',1105),
('ID_VALOR -> ROUND','ID_VALOR',1,'p_IdFuncionRound','Lexico.py',1108),
('ID_VALOR -> SIGN','ID_VALOR',1,'p_IdFuncionSign','Lexico.py',1111),
('ID_VALOR -> SQRT','ID_VALOR',1,'p_IdFuncionSqrt','Lexico.py',1114),
('ID_VALOR -> WIDTH_BUCKET','ID_VALOR',1,'p_IdFuncionWidth_bucket','Lexico.py',1117),
('ID_VALOR -> TRUNC','ID_VALOR',1,'p_IdFuncionTrunc','Lexico.py',1120),
('OPERADOR -> BAnd','OPERADOR',1,'p_OPERADORAnd','Lexico.py',1123),
('OPERADOR -> BOr','OPERADOR',1,'p_OPERADOROr','Lexico.py',1126),
('OPERADOR -> BXor','OPERADOR',1,'p_OPERADORXor','Lexico.py',1129),
('OPERADOR -> DesplazaI','OPERADOR',1,'p_OPERADORDIz','Lexico.py',1132),
('OPERADOR -> DesplazaD','OPERADOR',1,'p_OPERADORDDe','Lexico.py',1135),
('LNUM -> LNUM COMA NUM','LNUM',3,'p_LNumNumLNum','Lexico.py',1138),
('LNUM -> NUM','LNUM',1,'p_LNumNum','Lexico.py',1141),
('NUM -> NUMERO','NUM',1,'p_NumNumero','Lexico.py',1144),
('NUM -> DECIMAL','NUM',1,'p_NumDecimal','Lexico.py',1147),
('NUM -> CADENA','NUM',1,'p_NumCadena','Lexico.py',1150),
('FTRIGONOMETRICAS -> ACOS','FTRIGONOMETRICAS',1,'p_FTrigonometricasAcos','Lexico.py',1153),
('FTRIGONOMETRICAS -> ACOSD','FTRIGONOMETRICAS',1,'p_FTrigonometricasAcosd','Lexico.py',1156),
('FTRIGONOMETRICAS -> ASIN','FTRIGONOMETRICAS',1,'p_FTrigonometricasAsin','Lexico.py',1159),
('FTRIGONOMETRICAS -> ASIND','FTRIGONOMETRICAS',1,'p_FTrigonometricasAsind','Lexico.py',1162),
('FTRIGONOMETRICAS -> ATAN','FTRIGONOMETRICAS',1,'p_FTrigonometricasAtan','Lexico.py',1165),
('FTRIGONOMETRICAS -> ATAND','FTRIGONOMETRICAS',1,'p_FTrigonometricasAtand','Lexico.py',1168),
('FTRIGONOMETRICAS -> ATAN2','FTRIGONOMETRICAS',1,'p_FTrigonometricasAtan2','Lexico.py',1171),
('FTRIGONOMETRICAS -> ATAN2D','FTRIGONOMETRICAS',1,'p_FTrigonometricasAtan2d','Lexico.py',1174),
('FTRIGONOMETRICAS -> COS','FTRIGONOMETRICAS',1,'p_FTrigonometricasCos','Lexico.py',1177),
('FTRIGONOMETRICAS -> COSD','FTRIGONOMETRICAS',1,'p_FTrigonometricasCosd','Lexico.py',1180),
('FTRIGONOMETRICAS -> COT','FTRIGONOMETRICAS',1,'p_FTrigonometricasCot','Lexico.py',1183),
('FTRIGONOMETRICAS -> COTD','FTRIGONOMETRICAS',1,'p_FTrigonometricasCotd','Lexico.py',1186),
('FTRIGONOMETRICAS -> SIN','FTRIGONOMETRICAS',1,'p_FTrigonometricasSin','Lexico.py',1189),
('FTRIGONOMETRICAS -> SIND','FTRIGONOMETRICAS',1,'p_FTrigonometricasSind','Lexico.py',1192),
('FTRIGONOMETRICAS -> TAN','FTRIGONOMETRICAS',1,'p_FTrigonometricasTan','Lexico.py',1195),
('FTRIGONOMETRICAS -> TAND','FTRIGONOMETRICAS',1,'p_FTrigonometricasTand','Lexico.py',1198),
('FTRIGONOMETRICAS -> SINH','FTRIGONOMETRICAS',1,'p_FTrigonometricasSinh','Lexico.py',1201),
('FTRIGONOMETRICAS -> COSH','FTRIGONOMETRICAS',1,'p_FTrigonometricasCosh','Lexico.py',1204),
('FTRIGONOMETRICAS -> TANH','FTRIGONOMETRICAS',1,'p_FTrigonometricasTanh','Lexico.py',1207),
('FTRIGONOMETRICAS -> ASINH','FTRIGONOMETRICAS',1,'p_FTrigonometricasAsinh','Lexico.py',1210),
('FTRIGONOMETRICAS -> ACOSH','FTRIGONOMETRICAS',1,'p_FTrigonometricasAcosh','Lexico.py',1213),
('FTRIGONOMETRICAS -> ATANH','FTRIGONOMETRICAS',1,'p_FTrigonometricasAtanh','Lexico.py',1216),
('FUNCION -> AVG','FUNCION',1,'p_funcionAvg','Lexico.py',1219),
('FUNCION -> SUM','FUNCION',1,'p_funcionSum','Lexico.py',1222),
('FUNCION -> MIN','FUNCION',1,'p_funcionMin','Lexico.py',1225),
('FUNCION -> MAX','FUNCION',1,'p_funcionMax','Lexico.py',1228),
('ALIAS -> AS ID','ALIAS',2,'p_Alias','Lexico.py',1231),
('ALIAS -> ID','ALIAS',1,'p_AliasS','Lexico.py',1234),
('ALIAS -> AS IDALIAS','ALIAS',2,'p_AliasC','Lexico.py',1237),
('ALIAS -> IDALIAS','ALIAS',1,'p_AliasCS','Lexico.py',1240),
('PFROM -> FROM ID ALIAS','PFROM',3,'p_FromIdA','Lexico.py',1243),
('PFROM -> FROM ID','PFROM',2,'p_FromId','Lexico.py',1246),
('PFROM -> FROM PABRE SUBCONSULTA PCIERRA ALIAS','PFROM',5,'p_FromSub','Lexico.py',1249),
('SUBCONSULTA -> SELECT VALORES PFROM COMPLEMENTO','SUBCONSULTA',4,'p_SubconsultaFrom','Lexico.py',1252),
('SUBCONSULTA -> SELECT VALORES PFROM PWHERE COMPLEMENTO','SUBCONSULTA',5,'p_SubconsultaFromW','Lexico.py',1255),
('PWHERE -> WHERE CONDICION','PWHERE',2,'p_Where','Lexico.py',1259),
('CONDICION -> CONDICION IGUAL CONDICION','CONDICION',3,'p_CondicionIgual','Lexico.py',1262),
('CONDICION -> CONDICION DIF CONDICION','CONDICION',3,'p_CondicionDif','Lexico.py',1265),
('CONDICION -> CONDICION DIF1 CONDICION','CONDICION',3,'p_CondicionDif1','Lexico.py',1268),
('CONDICION -> CONDICION MENOR CONDICION','CONDICION',3,'p_CondicionMenor','Lexico.py',1271),
('CONDICION -> CONDICION MENORIGUAL CONDICION','CONDICION',3,'p_CondicionMenorI','Lexico.py',1274),
('CONDICION -> CONDICION MAYOR CONDICION','CONDICION',3,'p_CondicionMayor','Lexico.py',1277),
('CONDICION -> CONDICION MAYORIGUAL CONDICION','CONDICION',3,'p_CondicionMayorI','Lexico.py',1280),
('CONDICION -> CONDICION AND CONDICION','CONDICION',3,'p_CondicionAnd','Lexico.py',1283),
('CONDICION -> CONDICION OR CONDICION','CONDICION',3,'p_CondicionOr','Lexico.py',1286),
('CONDICION -> NOT CONDICION','CONDICION',2,'p_CondicionNot','Lexico.py',1289),
('CONDICION -> PABRE CONDICION PCIERRA','CONDICION',3,'p_CondicionParentesis','Lexico.py',1292),
('CONDICION -> CONDICION MAS CONDICION','CONDICION',3,'p_CondicionMas','Lexico.py',1295),
('CONDICION -> CONDICION MENOS CONDICION','CONDICION',3,'p_CondicionMenos','Lexico.py',1298),
('CONDICION -> CONDICION POR CONDICION','CONDICION',3,'p_CondicionPor','Lexico.py',1301),
('CONDICION -> CONDICION DIVIDIDO CONDICION','CONDICION',3,'p_CondicionDiv','Lexico.py',1304),
('CONDICION -> CONDICION MODULO CONDICION','CONDICION',3,'p_CondicionMod','Lexico.py',1307),
('CONDICION -> CONDICION EXP CONDICION','CONDICION',3,'p_CondicionExp','Lexico.py',1310),
('CONDICION -> CONDICION IS CONDICION','CONDICION',3,'p_CondicionIs','Lexico.py',1313),
('CONDICION -> CONDICION ISNULL CONDICION','CONDICION',3,'p_CondicionIsN','Lexico.py',1316),
('CONDICION -> CONDICION NOTNULL CONDICION','CONDICION',3,'p_CondicionNotN','Lexico.py',1319),
('CONDICION -> MENOS CONDICION','CONDICION',2,'p_CondicionM','Lexico.py',1322),
('CONDICION -> MAS CONDICION','CONDICION',2,'p_CondicionP','Lexico.py',1325),
('CONDICION -> EXTRACT PABRE DATETIME FROM PTIMESTAMP PCIERRA','CONDICION',6,'p_CondicionExtract','Lexico.py',1328),
('CONDICION -> FUNCIONES_WHERE','CONDICION',1,'p_CondicionFuncionWhere','Lexico.py',1331),
('CONDICION -> NUMERO','CONDICION',1,'p_CondicionNum','Lexico.py',1334),
('CONDICION -> DECIMAL','CONDICION',1,'p_CondicionDec','Lexico.py',1337),
('CONDICION -> CADENA','CONDICION',1,'p_CondicionCad','Lexico.py',1340),
('CONDICION -> TRUE','CONDICION',1,'p_CondicionTrue','Lexico.py',1343),
('CONDICION -> FALSE','CONDICION',1,'p_CondicionFalse','Lexico.py',1346),
('CONDICION -> ID','CONDICION',1,'p_CondicionId','Lexico.py',1349),
('CONDICION -> ID PUNTO ID','CONDICION',3,'p_CondicionIdP','Lexico.py',1352),
('CONDICION -> FUNCIONES_SISTEMA','CONDICION',1,'p_CondicionFuncionSistema','Lexico.py',1355),
('CONDICION -> DATE_PART PABRE CADENA COMA INTERVAL CADENA PCIERRA','CONDICION',7,'p_CondicionDatePart','Lexico.py',1358),
('CONDICION -> CURRENT_DATE','CONDICION',1,'p_CondicionCurrentDate','Lexico.py',1361),
('CONDICION -> CURRENT_TIME','CONDICION',1,'p_CondicionCurrentTime','Lexico.py',1364),
('CONDICION -> TIMESTAMP CADENA','CONDICION',2,'p_CondicionTimeStamp','Lexico.py',1367),
('CONDICION -> CONDICION BETWEEN CONDICION','CONDICION',3,'p_CondicionBetween','Lexico.py',1370),
('CONDICION -> CONDICION NOT BETWEEN CONDICION','CONDICION',4,'p_CondicionNotBetween','Lexico.py',1373),
('CONDICION -> CONDICION BETWEEN SIMMETRIC CONDICION','CONDICION',4,'p_CondicionBetweenSimetric','Lexico.py',1376),
('CONDICION -> CONDICION NOT BETWEEN SIMMETRIC CONDICION','CONDICION',5,'p_CondicionBetweenNotSimetric','Lexico.py',1379),
('CONDICION -> CONDICION IS DISTINCT FROM CONDICION','CONDICION',5,'p_CondicionIsDistinct','Lexico.py',1382),
('CONDICION -> CONDICION IS NOT DISTINCT FROM CONDICION','CONDICION',6,'p_CondicionIsNotDistinct','Lexico.py',1385),
('CONDICION -> NULL','CONDICION',1,'p_CondicionNull','Lexico.py',1388),
('CONDICION -> UNKNOWN','CONDICION',1,'p_CondicionUnknown','Lexico.py',1391),
('CONDICION -> PABRE SUBCONSULTA PCIERRA','CONDICION',3,'p_CondicionSubConsulta','Lexico.py',1394),
('CONDICION -> FUNCION PABRE ID PCIERRA','CONDICION',4,'p_CondicionFunciones','Lexico.py',1397),
('CONDICION -> FUNCION PABRE ID PUNTO ID PCIERRA','CONDICION',6,'p_CondicionFunciones1','Lexico.py',1400),
('CONDICION -> NOW PABRE PCIERRA','CONDICION',3,'p_CondicionNow','Lexico.py',1403),
('FUNCIONES_SISTEMA -> ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA ALIAS','FUNCIONES_SISTEMA',5,'p_FuncionesSistemaAlias','Lexico.py',1406),
('FUNCIONES_SISTEMA -> ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA','FUNCIONES_SISTEMA',4,'p_FuncionesSistema','Lexico.py',1409),
('FUNCIONES_SISTEMA -> ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA ALIAS','FUNCIONES_SISTEMA',5,'p_FuncionesSistemaString','Lexico.py',1412),
('FUNCIONES_SISTEMA -> ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA','FUNCIONES_SISTEMA',4,'p_FuncionesSistemaString1','Lexico.py',1415),
('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA ALIAS','FUNCIONES_SISTEMA',8,'p_FuncionesSistemaTrimA','Lexico.py',1418),
('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA','FUNCIONES_SISTEMA',7,'p_FuncionesSistemaTrim','Lexico.py',1421),
('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA ALIAS','FUNCIONES_SISTEMA',9,'p_FuncionesSistemaTrimA1','Lexico.py',1424),
('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA','FUNCIONES_SISTEMA',8,'p_FuncionesSistemaTrim1','Lexico.py',1427),
('ID_FUNCION_S -> SUBSTRING','ID_FUNCION_S',1,'p_Id_FuncionSubstring','Lexico.py',1430),
('ID_FUNCION_S -> LENGTH','ID_FUNCION_S',1,'p_Id_FuncionLength','Lexico.py',1433),
('ID_FUNCION_S -> SUBSTR','ID_FUNCION_S',1,'p_Id_FuncionSubstr','Lexico.py',1436),
('LBOTH -> LEADING','LBOTH',1,'p_LBOTHLeading','Lexico.py',1439),
('LBOTH -> TRAILING','LBOTH',1,'p_LBOTHTrailing','Lexico.py',1442),
('LBOTH -> BOTH','LBOTH',1,'p_LBOTHBoth','Lexico.py',1445),
('LCONDICION_FUNCION_S -> CONDICION','LCONDICION_FUNCION_S',1,'p_LCondicionFuncion_Condicion','Lexico.py',1448),
('LCONDICION_FUNCION_S -> CONDICION COMA NUMERO COMA NUMERO','LCONDICION_FUNCION_S',5,'p_LCondicionFuncion_S','Lexico.py',1451),
('ID_FUNCION -> ABS','ID_FUNCION',1,'p_IdFuncionAbs','Lexico.py',1454),
('ID_FUNCION -> CBRT','ID_FUNCION',1,'p_IdFuncionCBRT','Lexico.py',1457),
('ID_FUNCION -> CEIL','ID_FUNCION',1,'p_IdFuncionCeil','Lexico.py',1460),
('ID_FUNCION -> CEILING','ID_FUNCION',1,'p_IdFuncionCeiling','Lexico.py',1463),
('LCONDICION_FUNCION -> CONDICION','LCONDICION_FUNCION',1,'p_LCondicionFuncion1','Lexico.py',1466),
('LCONDICION_FUNCION -> LCONDICION_FUNCION COMA CONDICION','LCONDICION_FUNCION',3,'p_LCondicionFuncion','Lexico.py',1469),
('DATETIME -> YEAR','DATETIME',1,'p_DateTimeYear','Lexico.py',1472),
('DATETIME -> HOUR','DATETIME',1,'p_DateTimeHour','Lexico.py',1475),
('DATETIME -> MINUTE','DATETIME',1,'p_DateTimeMinute','Lexico.py',1478),
('DATETIME -> SECOND','DATETIME',1,'p_DateTimeSecond','Lexico.py',1481),
('DATETIME -> MONTH','DATETIME',1,'p_DateTimeMonth','Lexico.py',1484),
('DATETIME -> DAY','DATETIME',1,'p_DateTimeDay','Lexico.py',1487),
('FUNCIONES_WHERE -> EXISTS PABRE SUBCONSULTA PCIERRA','FUNCIONES_WHERE',4,'p_FuncionesWhereExist','Lexico.py',1490),
('FUNCIONES_WHERE -> CONDICION IN PABRE SUBCONSULTA PCIERRA','FUNCIONES_WHERE',5,'p_FuncionesWhereIn','Lexico.py',1493),
('FUNCIONES_WHERE -> CONDICION NOT IN PABRE SUBCONSULTA PCIERRA','FUNCIONES_WHERE',6,'p_FuncionesWhereNotIn','Lexico.py',1496),
('FUNCIONES_WHERE -> CONDICION OPERATOR_FW ANY PABRE SUBCONSULTA PCIERRA','FUNCIONES_WHERE',6,'p_FuncionesWhereAny','Lexico.py',1499),
('FUNCIONES_WHERE -> CONDICION OPERATOR_FW ALL PABRE SUBCONSULTA PCIERRA','FUNCIONES_WHERE',6,'p_FuncionesWhereAll','Lexico.py',1502),
('FUNCIONES_WHERE -> CONDICION OPERATOR_FW SOME PABRE SUBCONSULTA PCIERRA','FUNCIONES_WHERE',6,'p_FuncionesWhereSome','Lexico.py',1505),
('FUNCIONES_WHERE -> CONDICION LIKE CADENA','FUNCIONES_WHERE',3,'p_FuncionesWhereLike','Lexico.py',1508),
('FUNCIONES_WHERE -> CONDICION NOT LIKE CADENA','FUNCIONES_WHERE',4,'p_FuncionesWhereNotLike','Lexico.py',1511),
('OPERATOR_FW -> MENOR','OPERATOR_FW',1,'p_OperatorFwMenor','Lexico.py',1514),
('OPERATOR_FW -> MAYOR','OPERATOR_FW',1,'p_OperatorFwMayor','Lexico.py',1517),
('OPERATOR_FW -> MENORIGUAL','OPERATOR_FW',1,'p_OperatorFwMenorIgual','Lexico.py',1520),
('OPERATOR_FW -> MAYORIGUAL','OPERATOR_FW',1,'p_OperatorFwMayorIgual','Lexico.py',1523),
('OPERATOR_FW -> IGUAL','OPERATOR_FW',1,'p_OperatorFwIgual','Lexico.py',1526),
('OPERATOR_FW -> DIF','OPERATOR_FW',1,'p_OperatorFwDif','Lexico.py',1529),
('OPERATOR_FW -> DIF1','OPERATOR_FW',1,'p_OperatorFwDif1','Lexico.py',1532),
('PTIMESTAMP -> TIMESTAMP CADENA','PTIMESTAMP',2,'p_PTimestamC','Lexico.py',1535),
('PTIMESTAMP -> TIMESTAMP ID','PTIMESTAMP',2,'p_PTimestamId','Lexico.py',1538),
('PTIMESTAMP -> TIMESTAMP ID PUNTO ID','PTIMESTAMP',4,'p_PTimestamIdPId','Lexico.py',1541),
('PTIMESTAMP -> CADENA','PTIMESTAMP',1,'p_PTimestamCadena','Lexico.py',1544),
('PTIMESTAMP -> ID','PTIMESTAMP',1,'p_PTimestamId1','Lexico.py',1547),
('PTIMESTAMP -> ID PUNTO ID','PTIMESTAMP',3,'p_PTimestamIdP','Lexico.py',1550),
('EMPTY -> <empty>','EMPTY',0,'p_empty','Lexico.py',1553),
]
| _tabversion = '3.10'
_lr_method = 'LALR'
_lr_signature = 'leftORleftANDrightNOTnonassocISISNULLNOTNULLleftMENORIGUALMAYORIGUALIGUALDIFDIF1MENORMAYORleftMASMENOSleftPORDIVIDIDOMODULOleftEXPrightUMENOSUMASnonassocBETWEENNOTBABS ACOS ACOSD ACOSH ADD ALL ALTER AND ANY AS ASC ASIN ASIND ASINH ATAN ATAN2 ATAN2D ATAND ATANH AVG BAnd BETWEEN BIGINT BNot BOOLEAN BOTH BOr BXor BY CADENA CADENASI CASE CBRT CEIL CEILING CHAR CHARACTER CHECK COLUMN COMA CONSTRAINT CONVERT COS COSD COSH COT COTD COUNT CREATE CURRENT_DATE CURRENT_TIME DATABASE DATE DATE_PART DAY DECIMAL DECODE DEFAULT DEGREES DELETE DESC DIF DIF1 DISTINCT DIV DIVIDIDO DOUBLE DROP DesplazaD DesplazaI ELSE ENCODE END ENUM EXCEPT EXISTS EXP EXTRACT FACTORIAL FALSE FEXP FIRST FLOOR FOREIGN FROM GCD GETBYTE GREATEST GROUP HAVING HOUR ID IDALIAS IF IGUAL IN INHERITS INSERT INTEGER INTERSECT INTERVAL INTO IS ISNULL KEY LAST LEADING LEAST LENGTH LIKE LIMIT LN LOG MAS MAX MAYOR MAYORIGUAL MENOR MENORIGUAL MENOS MIN MINUTE MOD MODE MODULO MONEY MONTH NOT NOTNULL NOW NULL NULLS NUMERIC NUMERO OFFSET OR ORDER OWNER PABRE PCIERRA PCOMA PI POR POWER PRIMARY PUNTO RADIANS RANDOM REAL REFERENCES RENAME REPLACE ROUND SECOND SELECT SET SETBYTE SHA256 SHOW SIGN SIMMETRIC SIN SIND SINH SMALLINT SOME SQRT SUBSTR SUBSTRING SUM TABLE TAN TAND TANH TEXT THEN TIME TIMESTAMP TO TRAILING TRIM TRUE TRUNC TYPE UNION UNIQUE UNKNOWN UPDATE USE VALUES VARCHAR VARYING WHEN WHERE WIDTH_BUCKET YEAR raizCuadrada raizCubicaINSTRUCCIONES : INSTRUCCIONES INSTRUCCION INSTRUCCIONES : INSTRUCCION INSTRUCCION : I_SELECT COMPLEMENTOSELECT INSTRUCCION : I_CREATE INSTRUCCION : I_DROP INSTRUCCION : I_INSERT INSTRUCCION : I_ALTER INSTRUCCION : I_UPDATE INSTRUCCION : I_SHOW INSTRUCCION : I_DELETE INSTRUCCION : I_USE I_USE : USE DATABASE ID PCOMAI_CREATE : CREATE I_TCREATEI_TCREATE : I_REPLACEI_TCREATE : I_CTABLEI_TCREATE : I_CTYPEI_CTYPE : TYPE ID AS ENUM PABRE I_LCAD PCIERRAI_LCAD : I_LCAD CADENASI I_LCAD : CADENASI I_CTABLE : TABLE ID PABRE I_LTATRIBUTOS PCIERRA I_INHERITSI_INHERITS : INHERITS PABRE ID PCIERRA PCOMAI_LTATRIBUTOS : I_LTATRIBUTOS COMA I_TATRIBUTOSI_LTATRIBUTOS : I_TATRIBUTOSI_TATRIBUTOS : ID I_TIPO I_LLAVESI_TATRIBUTOS : PRIMARY KEY PABRE I_LIDS PCIERRAI_TATRIBUTOS : FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRAI_TATRIBUTOS : CONSTRAINT ID CHECK I_CCHECKI_TATRIBUTOS : CHECK I_CCHECKI_CCHECK : PABRE CONDICION PCIERRAI_TATRIBUTOS : UNIQUE I_UNIQUEI_UNIQUE : PABRE I_LIDS PCIERRAI_LLAVES : PRIMARY KEY I_DEFAULTI_DEFAULT : DEFAULT I_VALOR I_NULLI_DEFAULT : I_NULLI_NULL : NOT NULL I_CUNIQUE I_NULL : NULL I_CUNIQUE I_NULL : I_CUNIQUE I_CUNIQUE : CONSTRAINT ID UNIQUE I_CHECKI_CHECK : CONSTRAINT ID CHECK PABRE CONDICION PCIERRAI_CHECK : CHECK PABRE CONDICION PCIERRAI_CHECK : I_LLAVES : REFERENCES ID PABRE I_CREFERENCE PCIERRA I_DEFAULTI_CREFERENCE : I_CREFERENCE COMA IDI_CREFERENCE : IDI_LLAVES : REFERENCES ID I_DEFAULTI_LLAVES : I_DEFAULTI_LIDS : I_LIDS COMA IDI_LIDS : IDI_TIPO : SMALLINTI_TIPO : INTEGERI_TIPO : BIGINTI_TIPO : DECIMALI_TIPO : NUMERICI_TIPO : REALI_TIPO : DOUBLE I_PRECI_TIPO : MONEYI_TIPO : CHARACTER I_TCHARI_TIPO : VARCHAR PABRE NUMERO PCIERRAI_TIPO : CHAR PABRE NUMERO PCIERRAI_TIPO : TEXTI_TIPO : TIMESTAMP I_PRECI_TIPO : TIME I_PRECI_TIPO : DATEI_TIPO : INTERVAL I_FIELDS I_PRECI_TIPO : BOOLEANI_TIPO : IDI_TCHAR : VARYING PABRE NUMERO PCIERRAI_TCHAR : PABRE NUMERO PCIERRAI_PREC : PABRE NUMERO PCIERRAI_PREC : I_FIELDS : MONTHI_FIELDS : HOURI_FIELDS : MINUTEI_FIELDS : SECONDI_FIELDS : YEARI_INHERITS : PCOMAI_REPLACE : OR REPLACE DATABASE I_EXISTI_REPLACE : DATABASE I_EXISTI_DROP : DROP I_TDROP I_ALTER : ALTER I_TALTERI_TALTER : I_ALTERDBI_TALTER : I_ALTERTBI_ALTERTB : TABLE ID I_OPALTER I_OPALTER : I_LADDC PCOMAI_OPALTER : I_LDROPC PCOMAI_OPALTER : ADD I_TALTER PCOMAI_OPALTER : ALTER COLUMN ID SET NOT NULL PCOMAI_OPALTER : DROP CONSTRAINT ID PCOMAI_OPALTER : ID I_LCOL PCOMAI_LCOL : I_LCOL COMA I_PCOLI_LCOL : I_PCOLI_PCOL : ALTER COLUMN ID TYPE VARCHAR PABRE NUMERO PCIERRAI_TALTER : CHECK CONDICION I_TALTER : UNIQUE PABRE I_LIDS PCIERRAI_TALTER : FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA I_TALTER : CONSTRAINT ID I_TCONST I_TCONST : CHECK CONDICION I_TCONST : UNIQUE PABRE I_LIDS PCIERRAI_TCONST : FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA I_LDROPC : I_LDROPC COMA I_DROPCI_LDROPC : I_DROPCI_DROPC : DROP COLUMN IDI_LADDC : I_LADDC COMA I_ADDCI_LADDC : I_ADDCI_ADDC : ADD COLUMN ID I_TIPOI_TDROP : I_DROPDBI_TDROP : I_DROPTBI_DROPDB : DATABASE I_IFEXISTI_IFEXIST : IF EXISTS ID PCOMAI_IFEXIST : ID PCOMAI_EXIST : IF NOT EXISTS ID I_OWMOD I_EXIST : ID PCOMAI_OWMOD : OWNER IGUAL ID I_MODEI_OWMOD : MODE IGUAL ID I_OWNERI_OWMOD : PCOMAI_MODE : MODE IGUAL ID PCOMAI_MODE : PCOMAI_OWNER : OWNER IGUAL ID PCOMAI_OWNER : PCOMAI_ALTERDB : ALTER DATABASE ID I_OPALTERDB I_VALALTDBI_OPALTERDB : RENAME TOI_OPALTERDB : OWNER TOI_VALALTDB : IDI_VALALTDB : CADENASII_DROPTB : TABLE ID PCOMAI_INSERT : INSERT INTO ID VALUES PABRE I_LVALT PCIERRA PCOMAI_LVALT : I_LVALT COMA I_VALTABI_UPDATE : UPDATE ID SET I_LUPDATE PWHERE I_LUPDATE : I_LUPDATE COMA I_VALUPDATEI_LUPDATE : I_VALUPDATEI_VALUPDATE : ID IGUAL I_VALORI_VALOR : CADENASII_VALOR : NUMEROI_SHOW : SHOW DATABASE PCOMAI_DELETE : DELETE FROM ID PWHEREI_LVALT : I_VALTABI_VALTAB : NUMEROI_VALTAB : CADENASII_SELECT : SELECT VALORES PFROM COMPLEMENTO I_SELECT : SELECT VALORES PFROM PWHERE COMPLEMENTO I_SELECT : SELECT DISTINCT VALORES PFROM COMPLEMENTO I_SELECT : SELECT DISTINCT VALORES PFROM PWHERE COMPLEMENTO I_SELECT : SELECT VALORES COMPLEMENTO : PGROUPBY PHAVING COMPLEMENTO : PGROUPBY PHAVING PLIMIT COMPLEMENTO : PGROUPBY COMPLEMENTO : PGROUPBY PLIMIT COMPLEMENTO : PORDERBY COMPLEMENTO : PORDERBY PLIMIT COMPLEMENTO : PLIMIT COMPLEMENTO : EMPTY COMPLEMENTOSELECT : UNION I_SELECT PCOMA COMPLEMENTOSELECT : UNION ALL I_SELECT PCOMA COMPLEMENTOSELECT : INTERSECT I_SELECT PCOMA COMPLEMENTOSELECT : INTERSECT ALL I_SELECT PCOMA COMPLEMENTOSELECT : EXCEPT I_SELECT PCOMA COMPLEMENTOSELECT : EXCEPT ALL I_SELECT PCOMA COMPLEMENTOSELECT : PCOMA PLIMIT : LIMIT CONDICION PLIMIT : LIMIT CONDICION OFFSET CONDICION PORDERBY : ORDER BY LCOMPLEMENTOORDERBY LCOMPLEMENTOORDERBY : LCOMPLEMENTOORDERBY COMA COMPLEMENTOORDERBY LCOMPLEMENTOORDERBY : COMPLEMENTOORDERBY COMPLEMENTOORDERBY : ID COMPLEMENTOORDERBY1 COMPLEMENTOORDERBY1 : COMPLEMENTOORDER COMPLEMENTOORDERBY1 : PUNTO ID COMPLEMENTOORDER COMPLEMENTOORDER : ASC COMPLEMENTOORDER : DESC COMPLEMENTOORDER : ASC NULLS FIRST COMPLEMENTOORDER : ASC NULLS LAST COMPLEMENTOORDER : DESC NULLS FIRST COMPLEMENTOORDER : DESC NULLS LAST COMPLEMENTOORDER : EMPTY PHAVING : HAVING CONDICION PGROUPBY : GROUP BY LCOMPLEMENTOGROUP LCOMPLEMENTOGROUP : LCOMPLEMENTOGROUP COMA COMPLEMENTOGROUP LCOMPLEMENTOGROUP : COMPLEMENTOGROUP COMPLEMENTOGROUP : ID COMPLEMENTOGROUP : ID PUNTO ID VALORES : POR VALORES : LISTAVALORES LISTAVALORES : LISTAVALORES COMA VALOR LISTAVALORES : VALOR VALOR : PABRE SUBCONSULTA PCIERRA ALIASVALOR : PABRE SUBCONSULTA PCIERRA VALOR : COUNT PABRE POR PCIERRA ALIASVALOR : COUNT PABRE ID PCIERRA ALIASVALOR : COUNT PABRE POR PCIERRA VALOR : COUNT PABRE ID PCIERRA VALOR : COUNT PABRE ID PUNTO ID PCIERRA ALIASVALOR : COUNT PABRE ID PUNTO ID PCIERRAVALOR : FUNCION PABRE ID PUNTO ID PCIERRAVALOR : FUNCION PABRE ID PCIERRAVALOR : FUNCION PABRE ID PUNTO ID PCIERRA ALIASVALOR : FUNCION PABRE ID PCIERRA ALIASVALOR : CONDICIONVALOR : CONDICION ALIAS VALOR : FTRIGONOMETRICAS PABRE LNUM PCIERRA VALOR : FTRIGONOMETRICAS PABRE LNUM PCIERRA ALIAS VALOR : GREATEST PABRE LNUM PCIERRA VALOR : LEAST PABRE LNUM PCIERRA VALOR : GREATEST PABRE LNUM PCIERRA ALIASVALOR : LEAST PABRE LNUM PCIERRA ALIASVALOR : RANDOM PABRE PCIERRA ALIASVALOR : RANDOM PABRE PCIERRA VALOR : PI PABRE PCIERRA ALIAS VALOR : PI PABRE PCIERRA VALOR : DECODE PABRE CADENA COMA CADENA PCIERRA ALIAS VALOR : DECODE PABRE CADENA COMA CADENA PCIERRA VALOR : ENCODE PABRE CADENA COMA CADENA PCIERRA ALIAS VALOR : ENCODE PABRE CADENA COMA CADENA PCIERRA VALOR : CONVERT PABRE CADENA AS DATE PCIERRA VALOR : CONVERT PABRE CADENA AS INTEGER PCIERRA VALOR : CONVERT PABRE CADENA AS DATE PCIERRA ALIAS VALOR : CONVERT PABRE CADENA AS INTEGER PCIERRA ALIAS VALOR : SHA256 PABRE CADENA PCIERRA VALOR : SHA256 PABRE CADENA PCIERRA ALIAS VALOR : NUM OPERADOR NUM ALIAS VALOR : NUM OPERADOR NUM VALOR : BNot NUM ALIAS VALOR : BNot NUM VALOR : raizCuadrada NUM ALIAS VALOR : raizCuadrada NUM VALOR : raizCubica NUM ALIAS VALOR : raizCubica NUM VALOR : GETBYTE PABRE CADENA COMA NUMERO PCIERRA VALOR : GETBYTE PABRE CADENA COMA NUMERO PCIERRA ALIAS VALOR : SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA VALOR : SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA ALIAS VALOR : CASE LWHEN END VALOR : CASE LWHEN END ALIASVALOR : ID_VALOR PABRE LCONDICION_FUNCION PCIERRA ALIAS VALOR : ID_VALOR PABRE LCONDICION_FUNCION PCIERRA LWHEN : WHEN CONDICION THEN CONDICION LWHEN LWHEN : WHEN CONDICION THEN CONDICION LWHEN : ELSE CONDICION ID_VALOR : DEGREES ID_VALOR : DIV ID_VALOR : FEXP ID_VALOR : FACTORIAL ID_VALOR : FLOOR ID_VALOR : GCD ID_VALOR : LN ID_VALOR : LOG ID_VALOR : MOD ID_VALOR : POWER ID_VALOR : RADIANS ID_VALOR : ROUND ID_VALOR : SIGN ID_VALOR : SQRT ID_VALOR : WIDTH_BUCKET ID_VALOR : TRUNC OPERADOR : BAnd OPERADOR : BOr OPERADOR : BXor OPERADOR : DesplazaI OPERADOR : DesplazaD LNUM : LNUM COMA NUMLNUM : NUMNUM : NUMERO NUM : DECIMAL NUM : CADENA FTRIGONOMETRICAS : ACOS FTRIGONOMETRICAS : ACOSD FTRIGONOMETRICAS : ASIN FTRIGONOMETRICAS : ASIND FTRIGONOMETRICAS : ATAN FTRIGONOMETRICAS : ATAND FTRIGONOMETRICAS : ATAN2 FTRIGONOMETRICAS : ATAN2D FTRIGONOMETRICAS : COS FTRIGONOMETRICAS : COSD FTRIGONOMETRICAS : COT FTRIGONOMETRICAS : COTD FTRIGONOMETRICAS : SIN FTRIGONOMETRICAS : SIND FTRIGONOMETRICAS : TAN FTRIGONOMETRICAS : TAND FTRIGONOMETRICAS : SINH FTRIGONOMETRICAS : COSH FTRIGONOMETRICAS : TANH FTRIGONOMETRICAS : ASINH FTRIGONOMETRICAS : ACOSH FTRIGONOMETRICAS : ATANH FUNCION : AVGFUNCION : SUMFUNCION : MINFUNCION : MAXALIAS : AS ID ALIAS : ID ALIAS : AS IDALIASALIAS : IDALIASPFROM : FROM ID ALIAS PFROM : FROM ID PFROM : FROM PABRE SUBCONSULTA PCIERRA ALIAS SUBCONSULTA : SELECT VALORES PFROM COMPLEMENTO SUBCONSULTA : SELECT VALORES PFROM PWHERE COMPLEMENTO PWHERE : WHERE CONDICION CONDICION : CONDICION IGUAL CONDICION CONDICION : CONDICION DIF CONDICION CONDICION : CONDICION DIF1 CONDICION CONDICION : CONDICION MENOR CONDICION CONDICION : CONDICION MENORIGUAL CONDICION CONDICION : CONDICION MAYOR CONDICION CONDICION : CONDICION MAYORIGUAL CONDICION CONDICION : CONDICION AND CONDICION CONDICION : CONDICION OR CONDICION CONDICION : NOT CONDICION CONDICION : PABRE CONDICION PCIERRA CONDICION : CONDICION MAS CONDICION CONDICION : CONDICION MENOS CONDICION CONDICION : CONDICION POR CONDICION CONDICION : CONDICION DIVIDIDO CONDICION CONDICION : CONDICION MODULO CONDICION CONDICION : CONDICION EXP CONDICION CONDICION : CONDICION IS CONDICION CONDICION : CONDICION ISNULL CONDICION CONDICION : CONDICION NOTNULL CONDICION CONDICION : MENOS CONDICION %prec UMENOSCONDICION : MAS CONDICION %prec UMASCONDICION : EXTRACT PABRE DATETIME FROM PTIMESTAMP PCIERRA CONDICION : FUNCIONES_WHERE CONDICION : NUMERO CONDICION : DECIMALCONDICION : CADENA CONDICION : TRUE CONDICION : FALSE CONDICION : ID CONDICION : ID PUNTO ID CONDICION : FUNCIONES_SISTEMA CONDICION : DATE_PART PABRE CADENA COMA INTERVAL CADENA PCIERRA CONDICION : CURRENT_DATE CONDICION : CURRENT_TIME CONDICION : TIMESTAMP CADENA CONDICION : CONDICION BETWEEN CONDICION CONDICION : CONDICION NOT BETWEEN CONDICION %prec NOTBCONDICION : CONDICION BETWEEN SIMMETRIC CONDICION CONDICION : CONDICION NOT BETWEEN SIMMETRIC CONDICION %prec NOTBCONDICION : CONDICION IS DISTINCT FROM CONDICION CONDICION : CONDICION IS NOT DISTINCT FROM CONDICION CONDICION : NULL CONDICION : UNKNOWN CONDICION : PABRE SUBCONSULTA PCIERRA CONDICION : FUNCION PABRE ID PCIERRACONDICION : FUNCION PABRE ID PUNTO ID PCIERRACONDICION : NOW PABRE PCIERRA FUNCIONES_SISTEMA : ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA ALIAS FUNCIONES_SISTEMA : ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA FUNCIONES_SISTEMA : ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA ALIAS FUNCIONES_SISTEMA : ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA FUNCIONES_SISTEMA : TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA ALIAS FUNCIONES_SISTEMA : TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA FUNCIONES_SISTEMA : TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA ALIAS FUNCIONES_SISTEMA : TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA ID_FUNCION_S : SUBSTRING ID_FUNCION_S : LENGTH ID_FUNCION_S : SUBSTR LBOTH : LEADING LBOTH : TRAILING LBOTH : BOTH LCONDICION_FUNCION_S : CONDICION LCONDICION_FUNCION_S : CONDICION COMA NUMERO COMA NUMERO ID_FUNCION : ABS ID_FUNCION : CBRT ID_FUNCION : CEIL ID_FUNCION : CEILING LCONDICION_FUNCION : CONDICION LCONDICION_FUNCION : LCONDICION_FUNCION COMA CONDICION DATETIME : YEAR DATETIME : HOUR DATETIME : MINUTE DATETIME : SECOND DATETIME : MONTH DATETIME : DAY FUNCIONES_WHERE : EXISTS PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION IN PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION NOT IN PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION OPERATOR_FW ANY PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION OPERATOR_FW ALL PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION OPERATOR_FW SOME PABRE SUBCONSULTA PCIERRA FUNCIONES_WHERE : CONDICION LIKE CADENA FUNCIONES_WHERE : CONDICION NOT LIKE CADENA OPERATOR_FW : MENOR OPERATOR_FW : MAYOR OPERATOR_FW : MENORIGUAL OPERATOR_FW : MAYORIGUAL OPERATOR_FW : IGUAL OPERATOR_FW : DIF OPERATOR_FW : DIF1 PTIMESTAMP : TIMESTAMP CADENA PTIMESTAMP : TIMESTAMP ID PTIMESTAMP : TIMESTAMP ID PUNTO ID PTIMESTAMP : CADENA PTIMESTAMP : ID PTIMESTAMP : ID PUNTO ID EMPTY :'
_lr_action_items = {'SELECT': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 23, 24, 25, 26, 32, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 153, 155, 157, 162, 166, 167, 168, 198, 199, 227, 228, 229, 232, 234, 239, 244, 250, 256, 259, 261, 263, 276, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 313, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 419, 420, 422, 423, 424, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [12, 12, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, 12, -158, 12, 12, 165, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, 12, 12, 12, 165, -323, -324, -325, -290, -292, -308, -320, -319, -334, 165, -78, -108, -93, -134, -152, -154, -156, 165, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, 165, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, 165, -382, 165, 165, 165, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'CREATE': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [13, 13, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'DROP': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 254, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 478, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [14, 14, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, 381, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, 589, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'INSERT': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [15, 15, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'ALTER': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 16, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 254, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 375, 376, 379, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 584, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [16, 16, -2, -4, -5, -6, -7, -8, -9, -10, -11, 139, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, 380, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, 474, -83, 139, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, 474, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'UPDATE': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [17, 17, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'SHOW': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [18, 18, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'DELETE': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [19, 19, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'USE': ([0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [20, 20, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), '$end': ([1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 21, 22, 24, 34, 64, 66, 67, 68, 70, 71, 73, 74, 125, 126, 127, 128, 133, 134, 135, 140, 141, 142, 166, 167, 168, 198, 199, 227, 228, 229, 232, 239, 244, 250, 256, 259, 261, 263, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 360, 364, 365, 371, 376, 387, 388, 389, 390, 391, 397, 405, 416, 417, 420, 444, 445, 446, 450, 466, 469, 475, 477, 485, 500, 507, 509, 511, 534, 535, 569, 574, 575, 576, 583, 590, 614, 615, 616, 617, 618, 626, 634, 637, 663, 665, 677, 683, 690, 701, 703, 725, 727, 740, 741, 763, 764, 766, 767, 769, 781, 788, 790, 802, 803, 807], [0, -2, -4, -5, -6, -7, -8, -9, -10, -11, -1, -3, -158, -328, -322, -326, -327, -330, -332, -333, -341, -342, -13, -14, -15, -16, -79, -106, -107, -80, -81, -82, -323, -324, -325, -290, -292, -308, -320, -319, -334, -78, -108, -93, -134, -152, -154, -156, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -112, -110, -125, -96, -83, -135, -12, -153, -155, -157, -298, -343, -337, -336, -382, -375, -348, -350, -77, -94, -97, -84, -85, -128, -344, -339, -338, -376, -347, -349, -109, -123, -120, -124, -89, -86, -340, -377, -378, -379, -380, -321, -111, -115, -20, -76, -98, -88, -345, -331, -352, -17, -126, -351, -354, -353, -113, -117, -114, -119, -87, -21, -95, -116, -118, -99]), 'UNION': ([3, 27, 29, 30, 31, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 158, 166, 167, 168, 173, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 265, 266, 267, 268, 269, 270, 275, 277, 278, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 324, 325, 330, 331, 332, 333, 336, 349, 392, 393, 394, 396, 397, 400, 401, 403, 404, 405, 406, 409, 410, 413, 416, 417, 420, 425, 427, 428, 429, 430, 434, 435, 438, 440, 444, 445, 446, 487, 488, 489, 490, 491, 492, 493, 494, 497, 500, 502, 503, 506, 507, 509, 511, 515, 517, 518, 523, 527, 534, 535, 602, 603, 605, 606, 607, 608, 609, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 684, 685, 686, 687, 690, 691, 692, 693, 694, 695, 696, 697, 701, 703, 733, 734, 735, 736, 737, 738, 740, 741, 762, 763], [23, -143, -180, -181, -183, -328, -196, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, -396, -323, -324, -325, -197, -290, -292, -221, -260, -261, -262, -223, -225, -308, -320, -319, -334, -139, -396, -146, -150, -148, -151, -294, -396, -182, -185, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -205, -207, -219, -220, -222, -224, -230, -346, -140, -144, -147, -149, -298, -159, -293, -141, -396, -343, -184, -188, -189, -193, -337, -336, -382, -198, -200, -201, -204, -206, -216, -218, -231, -233, -375, -348, -350, -145, -174, -175, -177, -178, -161, -163, -396, -142, -344, -186, -187, -195, -339, -338, -376, -199, -202, -203, -217, -232, -347, -349, -164, -165, -167, -168, -173, -160, -295, -191, -192, -340, -377, -378, -379, -380, -209, -211, -212, -213, -226, -321, -176, -179, -162, -396, -345, -190, -194, -208, -210, -214, -215, -227, -331, -352, -166, -169, -170, -171, -172, -228, -351, -354, -229, -353]), 'INTERSECT': ([3, 27, 29, 30, 31, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 158, 166, 167, 168, 173, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 265, 266, 267, 268, 269, 270, 275, 277, 278, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 324, 325, 330, 331, 332, 333, 336, 349, 392, 393, 394, 396, 397, 400, 401, 403, 404, 405, 406, 409, 410, 413, 416, 417, 420, 425, 427, 428, 429, 430, 434, 435, 438, 440, 444, 445, 446, 487, 488, 489, 490, 491, 492, 493, 494, 497, 500, 502, 503, 506, 507, 509, 511, 515, 517, 518, 523, 527, 534, 535, 602, 603, 605, 606, 607, 608, 609, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 684, 685, 686, 687, 690, 691, 692, 693, 694, 695, 696, 697, 701, 703, 733, 734, 735, 736, 737, 738, 740, 741, 762, 763], [25, -143, -180, -181, -183, -328, -196, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, -396, -323, -324, -325, -197, -290, -292, -221, -260, -261, -262, -223, -225, -308, -320, -319, -334, -139, -396, -146, -150, -148, -151, -294, -396, -182, -185, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -205, -207, -219, -220, -222, -224, -230, -346, -140, -144, -147, -149, -298, -159, -293, -141, -396, -343, -184, -188, -189, -193, -337, -336, -382, -198, -200, -201, -204, -206, -216, -218, -231, -233, -375, -348, -350, -145, -174, -175, -177, -178, -161, -163, -396, -142, -344, -186, -187, -195, -339, -338, -376, -199, -202, -203, -217, -232, -347, -349, -164, -165, -167, -168, -173, -160, -295, -191, -192, -340, -377, -378, -379, -380, -209, -211, -212, -213, -226, -321, -176, -179, -162, -396, -345, -190, -194, -208, -210, -214, -215, -227, -331, -352, -166, -169, -170, -171, -172, -228, -351, -354, -229, -353]), 'EXCEPT': ([3, 27, 29, 30, 31, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 158, 166, 167, 168, 173, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 265, 266, 267, 268, 269, 270, 275, 277, 278, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 324, 325, 330, 331, 332, 333, 336, 349, 392, 393, 394, 396, 397, 400, 401, 403, 404, 405, 406, 409, 410, 413, 416, 417, 420, 425, 427, 428, 429, 430, 434, 435, 438, 440, 444, 445, 446, 487, 488, 489, 490, 491, 492, 493, 494, 497, 500, 502, 503, 506, 507, 509, 511, 515, 517, 518, 523, 527, 534, 535, 602, 603, 605, 606, 607, 608, 609, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 684, 685, 686, 687, 690, 691, 692, 693, 694, 695, 696, 697, 701, 703, 733, 734, 735, 736, 737, 738, 740, 741, 762, 763], [26, -143, -180, -181, -183, -328, -196, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, -396, -323, -324, -325, -197, -290, -292, -221, -260, -261, -262, -223, -225, -308, -320, -319, -334, -139, -396, -146, -150, -148, -151, -294, -396, -182, -185, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -205, -207, -219, -220, -222, -224, -230, -346, -140, -144, -147, -149, -298, -159, -293, -141, -396, -343, -184, -188, -189, -193, -337, -336, -382, -198, -200, -201, -204, -206, -216, -218, -231, -233, -375, -348, -350, -145, -174, -175, -177, -178, -161, -163, -396, -142, -344, -186, -187, -195, -339, -338, -376, -199, -202, -203, -217, -232, -347, -349, -164, -165, -167, -168, -173, -160, -295, -191, -192, -340, -377, -378, -379, -380, -209, -211, -212, -213, -226, -321, -176, -179, -162, -396, -345, -190, -194, -208, -210, -214, -215, -227, -331, -352, -166, -169, -170, -171, -172, -228, -351, -354, -229, -353]), 'PCOMA': ([3, 27, 29, 30, 31, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 141, 142, 149, 152, 154, 156, 158, 166, 167, 168, 173, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 241, 246, 247, 250, 258, 260, 262, 264, 265, 266, 267, 268, 269, 270, 275, 277, 278, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 324, 325, 330, 331, 332, 333, 336, 349, 371, 376, 377, 378, 382, 383, 392, 393, 394, 396, 397, 400, 401, 403, 404, 405, 406, 409, 410, 413, 416, 417, 420, 425, 427, 428, 429, 430, 434, 435, 438, 440, 444, 445, 446, 461, 466, 469, 472, 473, 475, 477, 479, 487, 488, 489, 490, 491, 492, 493, 494, 497, 500, 502, 503, 506, 507, 509, 511, 515, 517, 518, 523, 527, 534, 535, 539, 540, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 559, 574, 575, 576, 583, 586, 588, 590, 593, 594, 602, 603, 605, 606, 607, 608, 609, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 674, 677, 679, 681, 683, 684, 685, 686, 687, 690, 691, 692, 693, 694, 695, 696, 697, 701, 703, 718, 733, 734, 735, 736, 737, 738, 740, 741, 742, 743, 750, 752, 753, 754, 761, 762, 763, 775, 776, 781, 790, 793, 794, 801, 807], [24, -143, -180, -181, -183, -328, -196, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, -81, -82, 256, 259, 261, 263, -396, -323, -324, -325, -197, -290, -292, -221, -260, -261, -262, -223, -225, -308, -320, -319, -334, 360, 364, 365, -93, 388, 389, 390, 391, -139, -396, -146, -150, -148, -151, -294, -396, -182, -185, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -205, -207, -219, -220, -222, -224, -230, -346, -96, -83, 475, 477, -104, -101, -140, -144, -147, -149, -298, -159, -293, -141, -396, -343, -184, -188, -189, -193, -337, -336, -382, -198, -200, -201, -204, -206, -216, -218, -231, -233, -375, -348, -350, 569, -94, -97, 583, -91, -84, -85, 590, -145, -174, -175, -177, -178, -161, -163, -396, -142, -344, -186, -187, -195, -339, -338, -376, -199, -202, -203, -217, -232, -347, -349, 637, -66, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, 665, -123, -120, -124, -89, -103, -100, -86, 683, -102, -164, -165, -167, -168, -173, -160, -295, -191, -192, -340, -377, -378, -379, -380, -209, -211, -212, -213, -226, -321, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, 727, -98, -90, -105, -88, -176, -179, -162, -396, -345, -190, -194, -208, -210, -214, -215, -227, -331, -352, -64, -166, -169, -170, -171, -172, -228, -351, -354, 766, 769, -69, -68, -58, -59, 781, -229, -353, -67, 788, -87, -95, 802, 803, -92, -99]), 'DISTINCT': ([12, 189, 305], [28, 304, 415]), 'POR': ([12, 28, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 165, 166, 167, 168, 170, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [29, 29, -328, 185, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 185, 29, -323, -324, -325, 284, -290, -292, 185, -320, -319, -334, 185, -343, -309, -329, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, -312, -313, -314, -315, 185, 185, 185, -335, -381, -289, -291, 185, 185, 185, -346, 185, 185, 185, -343, -344, 185, -336, -382, -375, -348, -350, 185, 185, -344, 185, -338, -376, 185, 185, -347, -349, 185, -345, 185, -377, -378, -379, -380, -321, 185, -345, -331, -352, -351, -354, -353, 185, 185]), 'PABRE': ([12, 28, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 51, 53, 55, 56, 57, 58, 59, 60, 61, 62, 63, 69, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 143, 144, 159, 161, 162, 165, 169, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 194, 224, 225, 226, 235, 236, 242, 252, 271, 274, 305, 309, 310, 311, 314, 315, 316, 366, 372, 373, 395, 414, 418, 439, 441, 458, 459, 460, 471, 495, 508, 548, 550, 551, 552, 554, 555, 561, 562, 565, 651, 657, 658, 659, 660, 661, 662, 664, 669, 708, 729, 760, 774, 779, 787, 789, 797, 804], [32, 32, 162, 170, 172, 200, 201, 202, 203, 204, 205, 206, 207, 208, 221, 222, 226, -285, -286, -287, -288, 162, 162, 162, 230, 231, 233, -263, -264, -265, -266, -267, -268, -269, -270, -271, -272, -273, -274, -275, -276, -277, -278, -279, -280, -281, -282, -283, -284, -237, -238, -239, -240, -241, -242, -243, -244, -245, -246, -247, -248, -249, -250, -251, -252, 234, 235, 236, 237, -363, -364, -365, -366, -355, -356, -357, 162, 251, 276, 32, 162, 32, 283, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 162, 313, 162, 162, 162, 162, 162, 361, 370, 162, 162, 162, 162, 162, 419, 422, 423, 424, 462, 162, 470, 162, 162, 162, 162, 162, 565, 567, 568, 582, 162, 162, 649, 652, 653, 654, 649, 649, 667, 668, 162, 714, 649, -71, -72, -73, -74, -75, 719, 565, 745, 758, 780, 787, 791, 162, 799, 804, 162]), 'COUNT': ([12, 28, 161, 165], [33, 33, 33, 33]), 'GREATEST': ([12, 28, 161, 165], [38, 38, 38, 38]), 'LEAST': ([12, 28, 161, 165], [39, 39, 39, 39]), 'RANDOM': ([12, 28, 161, 165], [40, 40, 40, 40]), 'PI': ([12, 28, 161, 165], [41, 41, 41, 41]), 'DECODE': ([12, 28, 161, 165], [42, 42, 42, 42]), 'ENCODE': ([12, 28, 161, 165], [44, 44, 44, 44]), 'CONVERT': ([12, 28, 161, 165], [45, 45, 45, 45]), 'SHA256': ([12, 28, 161, 165], [46, 46, 46, 46]), 'BNot': ([12, 28, 161, 165], [48, 48, 48, 48]), 'raizCuadrada': ([12, 28, 161, 165], [49, 49, 49, 49]), 'raizCubica': ([12, 28, 161, 165], [50, 50, 50, 50]), 'GETBYTE': ([12, 28, 161, 165], [51, 51, 51, 51]), 'SETBYTE': ([12, 28, 161, 165], [53, 53, 53, 53]), 'CASE': ([12, 28, 161, 165], [54, 54, 54, 54]), 'AVG': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56]), 'SUM': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57]), 'MIN': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58]), 'MAX': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59, 59]), 'NOT': ([12, 28, 32, 34, 36, 43, 52, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73, 74, 143, 161, 162, 164, 165, 166, 167, 168, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 198, 199, 224, 225, 226, 227, 228, 229, 232, 235, 236, 240, 250, 271, 274, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 305, 306, 307, 308, 309, 310, 317, 318, 319, 337, 338, 340, 349, 353, 372, 395, 397, 400, 405, 413, 414, 416, 417, 418, 420, 439, 441, 444, 445, 446, 469, 488, 495, 500, 507, 508, 509, 511, 526, 528, 534, 535, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 565, 596, 597, 608, 613, 614, 615, 616, 617, 618, 626, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 670, 682, 690, 701, 703, 707, 708, 709, 718, 740, 741, 750, 752, 753, 754, 763, 775, 784, 787, 798, 804, 808], [60, 60, 60, -328, 193, -325, -323, 60, 60, 60, -322, -324, -326, -327, -330, -332, -333, -341, -342, 60, 60, 60, 193, 60, -323, -324, -325, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 305, 60, 60, 60, -290, -292, 60, 60, 60, 193, -320, -319, -334, 60, 60, 359, 193, 60, 60, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 193, 193, -310, -311, -312, -313, -314, -315, -316, 60, -317, -318, -335, 60, 60, -381, -289, -291, 193, 193, 193, -346, 193, 60, 60, 193, 193, -343, -344, 60, 193, -336, 60, -382, 60, 60, -375, -348, -350, 193, 193, 60, -344, 193, 60, -338, -376, 193, 193, -347, -349, -66, 644, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, 60, -132, -133, 193, -345, 193, -377, -378, -379, -380, -321, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, 193, 732, -345, -331, -352, 644, 644, 644, -64, -351, -354, -69, -68, -58, -59, -353, -67, 644, 60, 193, 60, 193]), 'MENOS': ([12, 28, 32, 34, 36, 43, 52, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73, 74, 143, 161, 162, 164, 165, 166, 167, 168, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 198, 199, 224, 225, 226, 227, 228, 229, 232, 235, 236, 250, 271, 274, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 305, 306, 307, 308, 309, 310, 317, 318, 319, 337, 338, 340, 349, 353, 372, 395, 397, 400, 405, 413, 414, 416, 417, 418, 420, 439, 441, 444, 445, 446, 469, 488, 495, 500, 507, 508, 509, 511, 526, 528, 534, 535, 565, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 787, 798, 804, 808], [62, 62, 62, -328, 184, -325, -323, 62, 62, 62, -322, -324, -326, -327, -330, -332, -333, -341, -342, 62, 62, 62, 184, 62, -323, -324, -325, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, -290, -292, 62, 62, 62, 184, -320, -319, -334, 62, 62, 184, 62, 62, -343, -309, -329, 184, 184, 184, 184, 184, 184, 184, 184, 184, -310, -311, -312, -313, -314, -315, 184, 62, 184, 184, -335, 62, 62, -381, -289, -291, 184, 184, 184, -346, 184, 62, 62, 184, 184, -343, -344, 62, 184, -336, 62, -382, 62, 62, -375, -348, -350, 184, 184, 62, -344, 184, 62, -338, -376, 184, 184, -347, -349, 62, 184, -345, 184, -377, -378, -379, -380, -321, 184, -345, -331, -352, -351, -354, -353, 62, 184, 62, 184]), 'MAS': ([12, 28, 32, 34, 36, 43, 52, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73, 74, 143, 161, 162, 164, 165, 166, 167, 168, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 198, 199, 224, 225, 226, 227, 228, 229, 232, 235, 236, 250, 271, 274, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 305, 306, 307, 308, 309, 310, 317, 318, 319, 337, 338, 340, 349, 353, 372, 395, 397, 400, 405, 413, 414, 416, 417, 418, 420, 439, 441, 444, 445, 446, 469, 488, 495, 500, 507, 508, 509, 511, 526, 528, 534, 535, 565, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 787, 798, 804, 808], [61, 61, 61, -328, 183, -325, -323, 61, 61, 61, -322, -324, -326, -327, -330, -332, -333, -341, -342, 61, 61, 61, 183, 61, -323, -324, -325, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, 61, -290, -292, 61, 61, 61, 183, -320, -319, -334, 61, 61, 183, 61, 61, -343, -309, -329, 183, 183, 183, 183, 183, 183, 183, 183, 183, -310, -311, -312, -313, -314, -315, 183, 61, 183, 183, -335, 61, 61, -381, -289, -291, 183, 183, 183, -346, 183, 61, 61, 183, 183, -343, -344, 61, 183, -336, 61, -382, 61, 61, -375, -348, -350, 183, 183, 61, -344, 183, 61, -338, -376, 183, 183, -347, -349, 61, 183, -345, 183, -377, -378, -379, -380, -321, 183, -345, -331, -352, -351, -354, -353, 61, 183, 61, 183]), 'EXTRACT': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63]), 'NUMERO': ([12, 28, 32, 48, 49, 50, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 200, 201, 202, 209, 210, 211, 212, 213, 214, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 426, 436, 437, 439, 441, 447, 462, 484, 495, 508, 565, 624, 631, 642, 649, 652, 653, 654, 675, 714, 780, 787, 804], [52, 52, 166, 216, 216, 216, 166, 166, 166, 166, 52, 166, 52, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 216, 216, 216, 216, -253, -254, -255, -256, -257, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 216, 524, 525, 166, 166, 536, 572, 597, 166, 166, 166, 698, 702, 597, 713, 715, 716, 717, 572, 751, 792, 166, 166]), 'DECIMAL': ([12, 28, 32, 48, 49, 50, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 200, 201, 202, 209, 210, 211, 212, 213, 214, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 426, 439, 441, 452, 495, 508, 565, 591, 787, 804], [65, 65, 167, 217, 217, 217, 167, 167, 167, 167, 65, 167, 65, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 217, 217, 217, 217, -253, -254, -255, -256, -257, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 167, 217, 167, 167, 545, 167, 167, 167, 545, 167, 167]), 'CADENA': ([12, 28, 32, 48, 49, 50, 60, 61, 62, 72, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 196, 200, 201, 202, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 221, 222, 224, 225, 226, 231, 235, 236, 271, 274, 305, 309, 310, 312, 354, 355, 356, 357, 372, 395, 414, 418, 426, 431, 432, 439, 441, 442, 449, 495, 508, 530, 533, 537, 565, 633, 787, 804], [43, 43, 168, 218, 218, 218, 168, 168, 168, 232, 168, 43, 168, 43, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 168, 317, 218, 218, 218, 326, 327, 328, 329, 218, -253, -254, -255, -256, -257, 334, 335, 168, 168, 168, 348, 168, 168, 168, 168, 168, 168, 168, 420, 448, -358, -359, -360, 168, 168, 168, 168, 218, 519, 520, 168, 168, 531, 538, 168, 168, 627, 630, 632, 168, 704, 168, 168]), 'TRUE': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66, 66]), 'FALSE': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67, 67]), 'ID': ([12, 17, 28, 32, 34, 36, 43, 52, 60, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73, 74, 130, 131, 132, 136, 137, 138, 143, 146, 147, 150, 151, 159, 161, 162, 165, 166, 167, 168, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 197, 198, 199, 215, 216, 217, 218, 219, 220, 224, 225, 226, 227, 228, 229, 232, 235, 236, 249, 251, 254, 255, 271, 274, 275, 280, 281, 283, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 305, 306, 307, 308, 309, 310, 317, 318, 319, 324, 325, 330, 336, 349, 358, 361, 363, 370, 372, 395, 398, 399, 405, 409, 410, 411, 412, 413, 414, 416, 417, 418, 420, 425, 427, 428, 434, 439, 440, 441, 442, 444, 445, 446, 451, 452, 457, 463, 467, 470, 480, 481, 482, 483, 486, 495, 496, 500, 501, 507, 508, 509, 511, 530, 534, 535, 560, 565, 567, 577, 578, 582, 585, 591, 599, 600, 601, 604, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 629, 641, 647, 667, 668, 676, 690, 699, 701, 703, 705, 706, 719, 738, 740, 741, 745, 758, 759, 763, 772, 777, 782, 783, 785, 787, 791, 799, 804], [34, 148, 34, 34, -328, 198, -325, -323, 34, 34, 34, -322, -324, -326, -327, -330, -332, -333, -341, -342, 241, 242, 243, 246, 247, 248, 34, 253, 254, 257, 258, 275, 34, 34, 34, -323, -324, -325, 285, 286, 287, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 318, -290, -292, 198, -260, -261, -262, 198, 198, 34, 34, 34, -308, -320, -319, -334, 34, 34, 367, 369, 375, 384, 34, 34, 198, 198, -309, 408, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, 34, -317, -318, -335, 34, 34, -381, -289, -291, 198, 198, 198, 198, -346, 241, 452, 461, 369, 34, 34, 491, 494, -343, 198, 198, 504, 505, 198, 34, -337, -336, 34, -382, 198, 198, 198, 198, 34, 198, 34, 532, -375, 198, 198, 539, 540, 563, 574, 579, 369, 591, 592, 593, 594, 384, 34, 198, -344, 611, -339, 34, -338, -376, 628, -347, -349, 452, 34, 369, -121, -122, 369, 680, 540, 491, 685, 494, 687, 198, 198, -340, -377, -378, -379, -380, 198, 198, 198, 198, 198, -321, 700, 708, 712, 369, 369, 729, -345, 739, -331, 198, 742, 743, 755, 198, -351, 198, 770, 369, 779, -353, 786, 789, 793, 794, 796, 34, 369, 369, 34]), 'DATE_PART': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69]), 'CURRENT_DATE': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70]), 'CURRENT_TIME': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71, 71]), 'TIMESTAMP': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 442, 452, 495, 508, 565, 591, 787, 804], [72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 530, 554, 72, 72, 72, 554, 72, 72]), 'NULL': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 565, 596, 597, 644, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 707, 708, 709, 718, 732, 750, 752, 753, 754, 775, 784, 787, 804], [73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, -66, 645, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, 73, -132, -133, 710, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, 645, 645, 645, -64, 761, -69, -68, -58, -59, -67, 645, 73, 73]), 'UNKNOWN': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74, 74]), 'NOW': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75]), 'ACOS': ([12, 28, 161, 165], [76, 76, 76, 76]), 'ACOSD': ([12, 28, 161, 165], [77, 77, 77, 77]), 'ASIN': ([12, 28, 161, 165], [78, 78, 78, 78]), 'ASIND': ([12, 28, 161, 165], [79, 79, 79, 79]), 'ATAN': ([12, 28, 161, 165], [80, 80, 80, 80]), 'ATAND': ([12, 28, 161, 165], [81, 81, 81, 81]), 'ATAN2': ([12, 28, 161, 165], [82, 82, 82, 82]), 'ATAN2D': ([12, 28, 161, 165], [83, 83, 83, 83]), 'COS': ([12, 28, 161, 165], [84, 84, 84, 84]), 'COSD': ([12, 28, 161, 165], [85, 85, 85, 85]), 'COT': ([12, 28, 161, 165], [86, 86, 86, 86]), 'COTD': ([12, 28, 161, 165], [87, 87, 87, 87]), 'SIN': ([12, 28, 161, 165], [88, 88, 88, 88]), 'SIND': ([12, 28, 161, 165], [89, 89, 89, 89]), 'TAN': ([12, 28, 161, 165], [90, 90, 90, 90]), 'TAND': ([12, 28, 161, 165], [91, 91, 91, 91]), 'SINH': ([12, 28, 161, 165], [92, 92, 92, 92]), 'COSH': ([12, 28, 161, 165], [93, 93, 93, 93]), 'TANH': ([12, 28, 161, 165], [94, 94, 94, 94]), 'ASINH': ([12, 28, 161, 165], [95, 95, 95, 95]), 'ACOSH': ([12, 28, 161, 165], [96, 96, 96, 96]), 'ATANH': ([12, 28, 161, 165], [97, 97, 97, 97]), 'DEGREES': ([12, 28, 161, 165], [98, 98, 98, 98]), 'DIV': ([12, 28, 161, 165], [99, 99, 99, 99]), 'FEXP': ([12, 28, 161, 165], [100, 100, 100, 100]), 'FACTORIAL': ([12, 28, 161, 165], [101, 101, 101, 101]), 'FLOOR': ([12, 28, 161, 165], [102, 102, 102, 102]), 'GCD': ([12, 28, 161, 165], [103, 103, 103, 103]), 'LN': ([12, 28, 161, 165], [104, 104, 104, 104]), 'LOG': ([12, 28, 161, 165], [105, 105, 105, 105]), 'MOD': ([12, 28, 161, 165], [106, 106, 106, 106]), 'POWER': ([12, 28, 161, 165], [107, 107, 107, 107]), 'RADIANS': ([12, 28, 161, 165], [108, 108, 108, 108]), 'ROUND': ([12, 28, 161, 165], [109, 109, 109, 109]), 'SIGN': ([12, 28, 161, 165], [110, 110, 110, 110]), 'SQRT': ([12, 28, 161, 165], [111, 111, 111, 111]), 'WIDTH_BUCKET': ([12, 28, 161, 165], [112, 112, 112, 112]), 'TRUNC': ([12, 28, 161, 165], [113, 113, 113, 113]), 'EXISTS': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 245, 271, 274, 305, 309, 310, 359, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 363, 114, 114, 114, 114, 114, 451, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114, 114]), 'TRIM': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, 117]), 'ABS': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118]), 'CBRT': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, 119]), 'CEIL': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120]), 'CEILING': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121]), 'SUBSTRING': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122]), 'LENGTH': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123]), 'SUBSTR': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124]), 'OR': ([13, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [129, -328, 182, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 182, -323, -324, -325, -290, -292, -308, -320, -319, -334, 182, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 182, 182, 182, -346, 182, 182, 182, -343, -344, 182, -336, -382, -375, -348, -350, 182, 182, -344, 182, -338, -376, 182, 182, -347, -349, 182, -345, 182, -377, -378, -379, -380, -321, 182, -345, -331, -352, -351, -354, -353, 182, 182]), 'DATABASE': ([13, 14, 18, 20, 139, 238], [130, 136, 149, 151, 249, 358]), 'TABLE': ([13, 14, 16, 379], [131, 137, 147, 147]), 'TYPE': ([13, 680], [132, 731]), 'INTO': ([15], [138]), 'CHECK': ([16, 253, 361, 379, 560, 563, 749, 786], [143, 372, 458, 143, 458, 669, 774, 797]), 'UNIQUE': ([16, 253, 361, 379, 560, 712], [144, 373, 459, 144, 459, 749]), 'FOREIGN': ([16, 253, 361, 379, 560], [145, 374, 456, 145, 456]), 'CONSTRAINT': ([16, 361, 379, 381, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 560, 596, 597, 645, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 707, 708, 709, 710, 718, 749, 750, 752, 753, 754, 775, 784], [146, 457, 146, 482, -66, 647, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, 457, -132, -133, 647, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, 647, 647, 647, 647, -64, 772, -69, -68, -58, -59, -67, 647]), 'FROM': ([19, 27, 29, 30, 31, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 160, 166, 167, 168, 173, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 278, 280, 281, 282, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 306, 307, 308, 317, 318, 319, 324, 325, 330, 331, 332, 333, 336, 341, 342, 343, 344, 345, 346, 347, 349, 354, 355, 356, 357, 405, 406, 409, 410, 413, 415, 416, 417, 420, 425, 427, 428, 429, 430, 434, 435, 438, 440, 444, 445, 446, 448, 500, 502, 503, 506, 507, 509, 511, 515, 517, 518, 523, 527, 534, 535, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 690, 691, 692, 693, 694, 695, 696, 697, 701, 703, 738, 740, 741, 762, 763], [150, 159, -180, -181, -183, -328, -196, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 159, -323, -324, -325, -197, -290, -292, -221, -260, -261, -262, -223, -225, -308, -320, -319, -334, -182, -185, -309, 159, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, 414, -317, -318, -335, -381, -289, -291, -205, -207, -219, -220, -222, -224, -230, 442, -369, -370, -371, -372, -373, -374, -346, 449, -358, -359, -360, -343, -184, -188, -189, -193, 508, -337, -336, -382, -198, -200, -201, -204, -206, -216, -218, -231, -233, -375, -348, -350, 537, -344, -186, -187, -195, -339, -338, -376, -199, -202, -203, -217, -232, -347, -349, -191, -192, -340, -377, -378, -379, -380, -209, -211, -212, -213, -226, -321, -345, -190, -194, -208, -210, -214, -215, -227, -331, -352, -228, -351, -354, -229, -353]), 'ALL': ([23, 25, 26, 174, 175, 176, 177, 178, 179, 180, 195], [153, 155, 157, -387, -388, -389, -383, -385, -384, -386, 315]), 'COMA': ([30, 31, 34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 173, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 278, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 330, 331, 332, 333, 334, 335, 336, 339, 340, 348, 349, 351, 353, 368, 369, 377, 378, 382, 383, 385, 386, 405, 406, 409, 410, 413, 416, 417, 420, 425, 427, 428, 429, 430, 434, 435, 438, 440, 444, 445, 446, 453, 454, 468, 472, 473, 489, 490, 491, 492, 493, 494, 500, 502, 503, 506, 507, 509, 511, 515, 516, 517, 518, 523, 525, 527, 528, 534, 535, 536, 538, 540, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 564, 566, 570, 571, 572, 573, 579, 581, 586, 588, 594, 595, 596, 597, 598, 602, 603, 605, 606, 607, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 638, 640, 643, 646, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 666, 671, 678, 679, 681, 684, 685, 686, 687, 690, 691, 692, 693, 694, 695, 696, 697, 701, 703, 711, 718, 720, 721, 722, 723, 724, 728, 733, 734, 735, 736, 737, 738, 740, 741, 744, 746, 747, 748, 749, 750, 752, 753, 754, 756, 762, 763, 770, 771, 773, 775, 778, 795, 796, 800, 801, 805, 806, 809, 810], [161, -183, -328, -196, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, -197, -290, -292, -221, -260, -261, -262, -223, -225, -308, -320, -319, -334, -182, -185, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 426, -259, 426, 426, -205, -207, 431, 432, -219, -220, -222, -224, 436, 437, -230, 441, -367, 443, -346, 441, 447, 467, -48, 476, 478, -104, -101, 486, -130, -343, -184, -188, -189, -193, -337, -336, -382, -198, -200, -201, -204, -206, -216, -218, -231, -233, -375, -348, -350, 560, -23, 467, 584, -91, 599, -177, -178, 601, -163, -396, -344, -186, -187, -195, -339, -338, -376, -199, -258, -202, -203, -217, 624, -232, -368, -347, -349, 631, 633, -66, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, -28, -30, 675, -136, -137, -138, -47, 467, -103, -100, -102, -131, -132, -133, -129, -164, -165, -167, -168, -173, -191, -192, -340, -377, -378, -379, -380, -209, -211, -212, -213, -226, -321, -24, -46, -34, -37, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, -22, 467, 467, -90, -105, -176, -179, -162, -396, -345, -190, -194, -208, -210, -214, -215, -227, -331, -352, -36, -64, 467, 467, -27, -29, -31, -127, -166, -169, -170, -171, -172, -228, -351, -354, -32, -45, -33, -35, -41, -69, -68, -58, -59, -25, -229, -353, -44, 785, -38, -67, 467, -42, -43, 467, -92, -40, 467, -26, -39]), 'IGUAL': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 384, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 635, 636, 670, 690, 701, 703, 740, 741, 763, 765, 768, 798, 808], [-328, 174, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 174, -323, -324, -325, -290, -292, 174, -320, -319, -334, 174, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 174, 174, -310, -311, -312, -313, -314, -315, 174, 174, 174, -335, -381, -289, -291, 174, 174, 174, -346, 174, 484, 174, 174, -343, -344, 174, -336, -382, -375, -348, -350, 174, 174, -344, 174, -338, -376, 174, 174, -347, -349, 174, -345, 174, -377, -378, -379, -380, -321, 705, 706, 174, -345, -331, -352, -351, -354, -353, 782, 783, 174, 174]), 'DIF': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 175, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 175, -323, -324, -325, -290, -292, 175, -320, -319, -334, 175, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 175, 175, -310, -311, -312, -313, -314, -315, 175, 175, 175, -335, -381, -289, -291, 175, 175, 175, -346, 175, 175, 175, -343, -344, 175, -336, -382, -375, -348, -350, 175, 175, -344, 175, -338, -376, 175, 175, -347, -349, 175, -345, 175, -377, -378, -379, -380, -321, 175, -345, -331, -352, -351, -354, -353, 175, 175]), 'DIF1': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 176, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 176, -323, -324, -325, -290, -292, 176, -320, -319, -334, 176, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 176, 176, -310, -311, -312, -313, -314, -315, 176, 176, 176, -335, -381, -289, -291, 176, 176, 176, -346, 176, 176, 176, -343, -344, 176, -336, -382, -375, -348, -350, 176, 176, -344, 176, -338, -376, 176, 176, -347, -349, 176, -345, 176, -377, -378, -379, -380, -321, 176, -345, -331, -352, -351, -354, -353, 176, 176]), 'MENOR': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 177, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 177, -323, -324, -325, -290, -292, 177, -320, -319, -334, 177, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 177, 177, -310, -311, -312, -313, -314, -315, 177, 177, 177, -335, -381, -289, -291, 177, 177, 177, -346, 177, 177, 177, -343, -344, 177, -336, -382, -375, -348, -350, 177, 177, -344, 177, -338, -376, 177, 177, -347, -349, 177, -345, 177, -377, -378, -379, -380, -321, 177, -345, -331, -352, -351, -354, -353, 177, 177]), 'MENORIGUAL': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 178, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 178, -323, -324, -325, -290, -292, 178, -320, -319, -334, 178, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 178, 178, -310, -311, -312, -313, -314, -315, 178, 178, 178, -335, -381, -289, -291, 178, 178, 178, -346, 178, 178, 178, -343, -344, 178, -336, -382, -375, -348, -350, 178, 178, -344, 178, -338, -376, 178, 178, -347, -349, 178, -345, 178, -377, -378, -379, -380, -321, 178, -345, -331, -352, -351, -354, -353, 178, 178]), 'MAYOR': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 179, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 179, -323, -324, -325, -290, -292, 179, -320, -319, -334, 179, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 179, 179, -310, -311, -312, -313, -314, -315, 179, 179, 179, -335, -381, -289, -291, 179, 179, 179, -346, 179, 179, 179, -343, -344, 179, -336, -382, -375, -348, -350, 179, 179, -344, 179, -338, -376, 179, 179, -347, -349, 179, -345, 179, -377, -378, -379, -380, -321, 179, -345, -331, -352, -351, -354, -353, 179, 179]), 'MAYORIGUAL': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 180, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 180, -323, -324, -325, -290, -292, 180, -320, -319, -334, 180, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 180, 180, -310, -311, -312, -313, -314, -315, 180, 180, 180, -335, -381, -289, -291, 180, 180, 180, -346, 180, 180, 180, -343, -344, 180, -336, -382, -375, -348, -350, 180, 180, -344, 180, -338, -376, 180, 180, -347, -349, 180, -345, 180, -377, -378, -379, -380, -321, 180, -345, -331, -352, -351, -354, -353, 180, 180]), 'AND': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 181, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 181, -323, -324, -325, -290, -292, -308, -320, -319, -334, 181, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, 181, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 181, 181, 181, -346, 181, 181, 181, -343, -344, 181, -336, -382, -375, -348, -350, 181, 181, -344, 181, -338, -376, 181, 181, -347, -349, 181, -345, 181, -377, -378, -379, -380, -321, 181, -345, -331, -352, -351, -354, -353, 181, 181]), 'DIVIDIDO': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 186, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 186, -323, -324, -325, -290, -292, 186, -320, -319, -334, 186, -343, -309, -329, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, -312, -313, -314, -315, 186, 186, 186, -335, -381, -289, -291, 186, 186, 186, -346, 186, 186, 186, -343, -344, 186, -336, -382, -375, -348, -350, 186, 186, -344, 186, -338, -376, 186, 186, -347, -349, 186, -345, 186, -377, -378, -379, -380, -321, 186, -345, -331, -352, -351, -354, -353, 186, 186]), 'MODULO': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 187, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 187, -323, -324, -325, -290, -292, 187, -320, -319, -334, 187, -343, -309, -329, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, -312, -313, -314, -315, 187, 187, 187, -335, -381, -289, -291, 187, 187, 187, -346, 187, 187, 187, -343, -344, 187, -336, -382, -375, -348, -350, 187, 187, -344, 187, -338, -376, 187, 187, -347, -349, 187, -345, 187, -377, -378, -379, -380, -321, 187, -345, -331, -352, -351, -354, -353, 187, 187]), 'EXP': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 188, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 188, -323, -324, -325, -290, -292, 188, -320, -319, -334, 188, -343, -309, -329, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, 188, -315, 188, 188, 188, -335, -381, -289, -291, 188, 188, 188, -346, 188, 188, 188, -343, -344, 188, -336, -382, -375, -348, -350, 188, 188, -344, 188, -338, -376, 188, 188, -347, -349, 188, -345, 188, -377, -378, -379, -380, -321, 188, -345, -331, -352, -351, -354, -353, 188, 188]), 'IS': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 189, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 189, -323, -324, -325, -290, -292, 189, -320, -319, -334, 189, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 189, 189, -310, -311, -312, -313, -314, -315, 189, 189, 189, -335, -381, -289, -291, 189, 189, 189, -346, 189, 189, 189, -343, -344, 189, -336, -382, -375, -348, -350, 189, 189, -344, 189, -338, -376, 189, 189, -347, -349, 189, -345, 189, -377, -378, -379, -380, -321, 189, -345, -331, -352, -351, -354, -353, 189, 189]), 'ISNULL': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 190, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 190, -323, -324, -325, -290, -292, 190, -320, -319, -334, 190, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 190, 190, -310, -311, -312, -313, -314, -315, None, None, None, -335, -381, -289, -291, 190, 190, 190, -346, 190, 190, 190, -343, -344, 190, -336, -382, -375, -348, -350, 190, 190, -344, 190, -338, -376, 190, 190, -347, -349, 190, -345, 190, -377, -378, -379, -380, -321, 190, -345, -331, -352, -351, -354, -353, 190, 190]), 'NOTNULL': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 191, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 191, -323, -324, -325, -290, -292, 191, -320, -319, -334, 191, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, 191, 191, -310, -311, -312, -313, -314, -315, None, None, None, -335, -381, -289, -291, 191, 191, 191, -346, 191, 191, 191, -343, -344, 191, -336, -382, -375, -348, -350, 191, 191, -344, 191, -338, -376, 191, 191, -347, -349, 191, -345, 191, -377, -378, -379, -380, -321, 191, -345, -331, -352, -351, -354, -353, 191, 191]), 'BETWEEN': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 193, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 192, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 192, -323, -324, -325, 310, -290, -292, 192, 192, 192, -334, 192, -343, -309, -329, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, 192, -381, -289, -291, 192, 192, 192, -346, 192, 192, 192, -343, -344, 192, 192, -382, -375, -348, -350, 192, 192, -344, 192, 192, -376, 192, 192, -347, -349, 192, -345, 192, -377, -378, -379, -380, -321, 192, -345, -331, -352, -351, -354, -353, 192, 192]), 'IN': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 193, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 194, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 194, -323, -324, -325, 311, -290, -292, -308, -320, -319, -334, 194, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 194, 194, 194, -346, 194, 194, 194, -343, -344, 194, -336, -382, -375, -348, -350, 194, 194, -344, 194, -338, -376, 194, 194, -347, -349, 194, -345, 194, -377, -378, -379, -380, -321, 194, -345, -331, -352, -351, -354, -353, 194, 194]), 'LIKE': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 164, 166, 167, 168, 193, 198, 199, 227, 228, 229, 232, 250, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 338, 340, 349, 353, 397, 400, 405, 413, 416, 417, 420, 444, 445, 446, 469, 488, 500, 507, 509, 511, 526, 528, 534, 535, 608, 613, 614, 615, 616, 617, 618, 626, 670, 690, 701, 703, 740, 741, 763, 798, 808], [-328, 196, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, 196, -323, -324, -325, 312, -290, -292, -308, -320, -319, -334, 196, -343, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 196, 196, 196, -346, 196, 196, 196, -343, -344, 196, -336, -382, -375, -348, -350, 196, 196, -344, 196, -338, -376, 196, 196, -347, -349, 196, -345, 196, -377, -378, -379, -380, -321, 196, -345, -331, -352, -351, -354, -353, 196, 196]), 'AS': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 243, 275, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 324, 325, 328, 330, 336, 349, 405, 409, 410, 413, 416, 417, 420, 425, 427, 428, 434, 440, 444, 445, 446, 496, 500, 507, 509, 511, 534, 535, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 690, 701, 703, 738, 740, 741, 763], [-328, 197, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, -290, -292, 197, -260, -261, -262, 197, 197, -308, -320, -319, -334, 362, 197, 197, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 197, 197, 433, 197, 197, -346, -343, 197, 197, 197, -337, -336, -382, 197, 197, 197, 197, 197, -375, 197, 197, 197, -344, -339, -338, -376, -347, -349, 197, 197, -340, -377, -378, -379, -380, 197, 197, 197, 197, 197, -321, -345, -331, 197, 197, -351, 197, -353]), 'IDALIAS': ([34, 36, 43, 52, 64, 65, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 197, 198, 199, 215, 216, 217, 218, 219, 220, 227, 228, 229, 232, 275, 280, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 324, 325, 330, 336, 349, 405, 409, 410, 413, 416, 417, 420, 425, 427, 428, 434, 440, 444, 445, 446, 496, 500, 507, 509, 511, 534, 535, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 626, 690, 701, 703, 738, 740, 741, 763], [-328, 199, -325, -323, -322, -324, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, 319, -290, -292, 199, -260, -261, -262, 199, 199, -308, -320, -319, -334, 199, 199, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 199, 199, 199, 199, -346, -343, 199, 199, 199, -337, -336, -382, 199, 199, 199, 199, 199, -375, 199, 199, 199, -344, -339, -338, -376, -347, -349, 199, 199, -340, -377, -378, -379, -380, 199, 199, 199, 199, 199, -321, -345, -331, 199, 199, -351, 199, -353]), 'PCIERRA': ([34, 64, 66, 67, 68, 70, 71, 73, 74, 163, 164, 166, 167, 168, 198, 199, 203, 204, 216, 217, 218, 227, 228, 229, 232, 233, 267, 268, 269, 270, 275, 279, 281, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 320, 321, 322, 323, 329, 339, 340, 349, 350, 351, 352, 353, 368, 369, 393, 394, 396, 397, 400, 401, 402, 405, 407, 408, 416, 417, 420, 421, 444, 445, 446, 453, 454, 468, 487, 488, 489, 490, 491, 492, 493, 494, 498, 499, 500, 504, 505, 507, 509, 510, 511, 512, 513, 514, 516, 519, 520, 521, 522, 524, 528, 529, 531, 532, 534, 535, 564, 566, 570, 571, 572, 573, 579, 581, 602, 603, 605, 606, 607, 608, 609, 610, 611, 614, 615, 616, 617, 618, 626, 627, 628, 630, 632, 638, 640, 643, 646, 666, 670, 671, 672, 673, 678, 684, 685, 686, 687, 690, 698, 700, 701, 702, 703, 704, 711, 713, 715, 716, 717, 720, 721, 722, 723, 724, 726, 728, 733, 734, 735, 736, 737, 739, 740, 741, 744, 746, 747, 748, 749, 751, 755, 756, 763, 770, 771, 773, 778, 792, 795, 796, 798, 800, 805, 806, 808, 809, 810], [-328, -322, -326, -327, -330, -332, -333, -341, -342, 280, 281, -323, -324, -325, -290, -292, 324, 325, -260, -261, -262, -308, -320, -319, -334, 349, -146, -150, -148, -151, -294, 405, -309, 409, 410, -329, 413, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 425, -259, 427, 428, 434, 440, -367, -346, 444, 445, 446, -361, 466, -48, -144, -147, -149, -298, -159, -293, 496, -343, -396, 500, -337, -336, -382, 511, -375, -348, -350, 559, -23, 580, -145, -174, -175, -177, -178, -161, -163, -396, -296, -396, -344, 612, 613, -339, -338, 615, -376, 616, 617, 618, -258, 619, 620, 621, 622, 623, -368, 626, -393, -394, -347, -349, -28, -30, 674, -136, -137, -138, -47, 677, -164, -165, -167, -168, -173, -160, -295, -297, 690, -340, -377, -378, -379, -380, -321, -390, -391, 701, 703, -24, -46, -34, -37, -22, 723, 724, 725, -19, 730, -176, -179, -162, -396, -345, 738, -395, -331, -362, -352, 741, -36, 750, 752, 753, 754, 756, 757, -27, -29, -31, -18, -127, -166, -169, -170, -171, -172, -392, -351, -354, -32, -45, -33, -35, -41, 775, 776, -25, -353, -44, 784, -38, 790, 801, -42, -43, 805, 807, -40, 809, 810, -26, -39]), 'THEN': ([34, 64, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 198, 199, 227, 228, 229, 232, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 337, 349, 405, 416, 417, 420, 444, 445, 446, 500, 507, 509, 511, 534, 535, 614, 615, 616, 617, 618, 626, 690, 701, 703, 740, 741, 763], [-328, -322, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, -290, -292, -308, -320, -319, -334, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, 439, -346, -343, -337, -336, -382, -375, -348, -350, -344, -339, -338, -376, -347, -349, -340, -377, -378, -379, -380, -321, -345, -331, -352, -351, -354, -353]), 'END': ([34, 64, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 198, 199, 223, 227, 228, 229, 232, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 338, 349, 405, 416, 417, 420, 444, 445, 446, 500, 507, 509, 511, 526, 534, 535, 614, 615, 616, 617, 618, 625, 626, 690, 701, 703, 740, 741, 763], [-328, -322, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, -290, -292, 336, -308, -320, -319, -334, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -236, -346, -343, -337, -336, -382, -375, -348, -350, -344, -339, -338, -376, -235, -347, -349, -340, -377, -378, -379, -380, -234, -321, -345, -331, -352, -351, -354, -353]), 'GROUP': ([34, 64, 66, 67, 68, 70, 71, 73, 74, 158, 166, 167, 168, 198, 199, 227, 228, 229, 232, 266, 275, 277, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 397, 401, 404, 405, 407, 416, 417, 420, 444, 445, 446, 499, 500, 507, 509, 511, 534, 535, 609, 614, 615, 616, 617, 618, 626, 690, 701, 703, 740, 741, 763], [-328, -322, -326, -327, -330, -332, -333, -341, -342, 272, -323, -324, -325, -290, -292, -308, -320, -319, -334, 272, -294, 272, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -298, -293, 272, -343, 272, -337, -336, -382, -375, -348, -350, 272, -344, -339, -338, -376, -347, -349, -295, -340, -377, -378, -379, -380, -321, -345, -331, -352, -351, -354, -353]), 'ORDER': ([34, 64, 66, 67, 68, 70, 71, 73, 74, 158, 166, 167, 168, 198, 199, 227, 228, 229, 232, 266, 275, 277, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 397, 401, 404, 405, 407, 416, 417, 420, 444, 445, 446, 499, 500, 507, 509, 511, 534, 535, 609, 614, 615, 616, 617, 618, 626, 690, 701, 703, 740, 741, 763], [-328, -322, -326, -327, -330, -332, -333, -341, -342, 273, -323, -324, -325, -290, -292, -308, -320, -319, -334, 273, -294, 273, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -298, -293, 273, -343, 273, -337, -336, -382, -375, -348, -350, 273, -344, -339, -338, -376, -347, -349, -295, -340, -377, -378, -379, -380, -321, -345, -331, -352, -351, -354, -353]), 'LIMIT': ([34, 64, 66, 67, 68, 70, 71, 73, 74, 158, 166, 167, 168, 198, 199, 227, 228, 229, 232, 266, 267, 269, 275, 277, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 393, 397, 401, 404, 405, 407, 416, 417, 420, 444, 445, 446, 488, 489, 490, 491, 492, 493, 494, 499, 500, 507, 509, 511, 534, 535, 602, 603, 605, 606, 607, 609, 614, 615, 616, 617, 618, 626, 684, 685, 686, 687, 690, 701, 703, 733, 734, 735, 736, 737, 740, 741, 763], [-328, -322, -326, -327, -330, -332, -333, -341, -342, 274, -323, -324, -325, -290, -292, -308, -320, -319, -334, 274, 274, 274, -294, 274, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, 274, -298, -293, 274, -343, 274, -337, -336, -382, -375, -348, -350, -174, -175, -177, -178, -161, -163, -396, 274, -344, -339, -338, -376, -347, -349, -164, -165, -167, -168, -173, -295, -340, -377, -378, -379, -380, -321, -176, -179, -162, -396, -345, -331, -352, -166, -169, -170, -171, -172, -351, -354, -353]), 'OFFSET': ([34, 64, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 198, 199, 227, 228, 229, 232, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 400, 405, 416, 417, 420, 444, 445, 446, 500, 507, 509, 511, 534, 535, 614, 615, 616, 617, 618, 626, 690, 701, 703, 740, 741, 763], [-328, -322, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, -290, -292, -308, -320, -319, -334, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, 495, -343, -337, -336, -382, -375, -348, -350, -344, -339, -338, -376, -347, -349, -340, -377, -378, -379, -380, -321, -345, -331, -352, -351, -354, -353]), 'WHEN': ([34, 54, 64, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 198, 199, 227, 228, 229, 232, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 405, 416, 417, 420, 444, 445, 446, 500, 507, 509, 511, 526, 534, 535, 614, 615, 616, 617, 618, 626, 690, 701, 703, 740, 741, 763], [-328, 224, -322, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, -290, -292, -308, -320, -319, -334, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -343, -337, -336, -382, -375, -348, -350, -344, -339, -338, -376, 224, -347, -349, -340, -377, -378, -379, -380, -321, -345, -331, -352, -351, -354, -353]), 'ELSE': ([34, 54, 64, 66, 67, 68, 70, 71, 73, 74, 166, 167, 168, 198, 199, 227, 228, 229, 232, 281, 286, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 317, 318, 319, 349, 405, 416, 417, 420, 444, 445, 446, 500, 507, 509, 511, 526, 534, 535, 614, 615, 616, 617, 618, 626, 690, 701, 703, 740, 741, 763], [-328, 225, -322, -326, -327, -330, -332, -333, -341, -342, -323, -324, -325, -290, -292, -308, -320, -319, -334, -309, -329, -299, -300, -301, -302, -303, -304, -305, -306, -307, -310, -311, -312, -313, -314, -315, -316, -317, -318, -335, -381, -289, -291, -346, -343, -337, -336, -382, -375, -348, -350, -344, -339, -338, -376, 225, -347, -349, -340, -377, -378, -379, -380, -321, -345, -331, -352, -351, -354, -353]), 'PUNTO': ([34, 285, 287, 408, 491, 494, 532, 628], [171, 411, 412, 501, 600, 604, 629, 699]), 'BAnd': ([43, 47, 52, 65], [-262, 210, -260, -261]), 'BOr': ([43, 47, 52, 65], [-262, 211, -260, -261]), 'BXor': ([43, 47, 52, 65], [-262, 212, -260, -261]), 'DesplazaI': ([43, 47, 52, 65], [-262, 213, -260, -261]), 'DesplazaD': ([43, 47, 52, 65], [-262, 214, -260, -261]), 'REPLACE': ([129], [238]), 'IF': ([130, 136, 358], [240, 245, 240]), 'KEY': ([145, 374, 455, 456, 639], [252, 471, 561, 562, 707]), 'SET': ([148, 592], [255, 682]), 'WHERE': ([158, 198, 199, 257, 275, 277, 318, 319, 385, 386, 401, 407, 595, 596, 597, 598, 609], [271, -290, -292, 271, -294, 271, -289, -291, 271, -130, -293, 271, -131, -132, -133, -129, -295]), 'ANY': ([174, 175, 176, 177, 178, 179, 180, 195], [-387, -388, -389, -383, -385, -384, -386, 314]), 'SOME': ([174, 175, 176, 177, 178, 179, 180, 195], [-387, -388, -389, -383, -385, -384, -386, 316]), 'SIMMETRIC': ([192, 310], [309, 418]), 'YEAR': ([230, 557], [342, 662]), 'HOUR': ([230, 557], [343, 659]), 'MINUTE': ([230, 557], [344, 660]), 'SECOND': ([230, 557], [345, 661]), 'MONTH': ([230, 557], [346, 658]), 'DAY': ([230], [347]), 'LEADING': ([237], [355]), 'TRAILING': ([237], [356]), 'BOTH': ([237], [357]), 'VALUES': ([248], [366]), 'ADD': ([254, 476], [379, 587]), 'HAVING': ([267, 489, 490, 491, 684, 685], [395, -175, -177, -178, -176, -179]), 'BY': ([272, 273], [398, 399]), 'PRIMARY': ([361, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 560, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 718, 750, 752, 753, 754, 775], [455, -66, 639, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, 455, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, -64, -69, -68, -58, -59, -67]), 'ENUM': ([362], [460]), 'RENAME': ([367], [464]), 'OWNER': ([367, 539, 743], [465, 635, 768]), 'COLUMN': ([379, 380, 381, 474, 587, 589], [480, 481, 483, 585, 480, 483]), 'DATE': ([433, 452, 591], [521, 556, 556]), 'INTEGER': ([433, 452, 591], [522, 543, 543]), 'INTERVAL': ([443, 452, 591], [533, 557, 557]), 'SMALLINT': ([452, 591], [542, 542]), 'BIGINT': ([452, 591], [544, 544]), 'NUMERIC': ([452, 591], [546, 546]), 'REAL': ([452, 591], [547, 547]), 'DOUBLE': ([452, 591], [548, 548]), 'MONEY': ([452, 591], [549, 549]), 'CHARACTER': ([452, 591], [550, 550]), 'VARCHAR': ([452, 591, 731], [551, 551, 760]), 'CHAR': ([452, 591], [552, 552]), 'TEXT': ([452, 591], [553, 553]), 'TIME': ([452, 591], [555, 555]), 'BOOLEAN': ([452, 591], [558, 558]), 'CADENASI': ([462, 463, 484, 568, 577, 578, 642, 672, 673, 675, 726], [573, 576, 596, 673, -121, -122, 596, 726, -19, 573, -18]), 'TO': ([464, 465], [577, 578]), 'ASC': ([494, 687], [605, 605]), 'DESC': ([494, 687], [606, 606]), 'MODE': ([539, 742], [636, 765]), 'REFERENCES': ([540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 580, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 718, 730, 750, 752, 753, 754, 757, 775], [-66, 641, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, 676, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, -64, 759, -69, -68, -58, -59, 777, -67]), 'DEFAULT': ([540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 553, 554, 555, 556, 558, 648, 650, 655, 656, 657, 658, 659, 660, 661, 662, 707, 708, 718, 750, 752, 753, 754, 775, 784], [-66, 642, -49, -50, -51, -52, -53, -54, -70, -56, -60, -70, -70, -63, -65, -55, -57, -61, -62, -70, -71, -72, -73, -74, -75, 642, 642, -64, -69, -68, -58, -59, -67, 642]), 'VARYING': ([550], [651]), 'INHERITS': ([559], [664]), 'NULLS': ([605, 606], [688, 689]), 'FIRST': ([688, 689], [734, 736]), 'LAST': ([688, 689], [735, 737])}
_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 = {'INSTRUCCIONES': ([0], [1]), 'INSTRUCCION': ([0, 1], [2, 21]), 'I_SELECT': ([0, 1, 23, 25, 26, 153, 155, 157], [3, 3, 152, 154, 156, 260, 262, 264]), 'I_CREATE': ([0, 1], [4, 4]), 'I_DROP': ([0, 1], [5, 5]), 'I_INSERT': ([0, 1], [6, 6]), 'I_ALTER': ([0, 1], [7, 7]), 'I_UPDATE': ([0, 1], [8, 8]), 'I_SHOW': ([0, 1], [9, 9]), 'I_DELETE': ([0, 1], [10, 10]), 'I_USE': ([0, 1], [11, 11]), 'COMPLEMENTOSELECT': ([3], [22]), 'VALORES': ([12, 28, 165], [27, 160, 282]), 'LISTAVALORES': ([12, 28, 165], [30, 30, 30]), 'VALOR': ([12, 28, 161, 165], [31, 31, 278, 31]), 'FUNCION': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [35, 35, 169, 169, 169, 169, 169, 35, 169, 35, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169]), 'CONDICION': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [36, 36, 164, 227, 228, 229, 250, 36, 164, 36, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 337, 338, 340, 340, 353, 397, 400, 227, 416, 417, 469, 488, 507, 509, 526, 528, 608, 614, 670, 798, 808]), 'FTRIGONOMETRICAS': ([12, 28, 161, 165], [37, 37, 37, 37]), 'NUM': ([12, 28, 48, 49, 50, 161, 165, 200, 201, 202, 209, 426], [47, 47, 215, 219, 220, 47, 47, 321, 321, 321, 330, 516]), 'ID_VALOR': ([12, 28, 161, 165], [55, 55, 55, 55]), 'FUNCIONES_WHERE': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64]), 'FUNCIONES_SISTEMA': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68, 68]), 'ID_FUNCION': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115, 115]), 'ID_FUNCION_S': ([12, 28, 32, 60, 61, 62, 143, 161, 162, 165, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 224, 225, 226, 235, 236, 271, 274, 305, 309, 310, 372, 395, 414, 418, 439, 441, 495, 508, 565, 787, 804], [116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, 116]), 'I_TCREATE': ([13], [125]), 'I_REPLACE': ([13], [126]), 'I_CTABLE': ([13], [127]), 'I_CTYPE': ([13], [128]), 'I_TDROP': ([14], [133]), 'I_DROPDB': ([14], [134]), 'I_DROPTB': ([14], [135]), 'I_TALTER': ([16, 379], [140, 479]), 'I_ALTERDB': ([16, 379], [141, 141]), 'I_ALTERTB': ([16, 379], [142, 142]), 'PFROM': ([27, 160, 282], [158, 277, 407]), 'SUBCONSULTA': ([32, 162, 234, 276, 313, 419, 422, 423, 424], [163, 279, 350, 402, 421, 510, 512, 513, 514]), 'ALIAS': ([36, 215, 219, 220, 275, 280, 324, 325, 330, 336, 409, 410, 413, 425, 427, 428, 434, 440, 445, 446, 496, 612, 613, 619, 620, 621, 622, 623, 703, 738, 741], [173, 331, 332, 333, 401, 406, 429, 430, 435, 438, 502, 503, 506, 515, 517, 518, 523, 527, 534, 535, 609, 691, 692, 693, 694, 695, 696, 697, 740, 762, 763]), 'OPERATOR_FW': ([36, 164, 227, 228, 229, 250, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 306, 307, 308, 337, 338, 340, 353, 397, 400, 416, 417, 469, 488, 507, 509, 526, 528, 608, 614, 670, 798, 808], [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, 195, 195, 195, 195, 195, 195, 195]), 'OPERADOR': ([47], [209]), 'LWHEN': ([54, 526], [223, 625]), 'I_EXIST': ([130, 358], [239, 450]), 'I_IFEXIST': ([136], [244]), 'COMPLEMENTO': ([158, 266, 277, 404, 407, 499], [265, 392, 403, 497, 498, 610]), 'PWHERE': ([158, 257, 277, 385, 407], [266, 387, 404, 485, 499]), 'PGROUPBY': ([158, 266, 277, 404, 407, 499], [267, 267, 267, 267, 267, 267]), 'PLIMIT': ([158, 266, 267, 269, 277, 393, 404, 407, 499], [268, 268, 394, 396, 268, 487, 268, 268, 268]), 'PORDERBY': ([158, 266, 277, 404, 407, 499], [269, 269, 269, 269, 269, 269]), 'EMPTY': ([158, 266, 277, 404, 407, 494, 499, 687], [270, 270, 270, 270, 270, 607, 270, 607]), 'LNUM': ([200, 201, 202], [320, 322, 323]), 'LCONDICION_FUNCION': ([226, 235], [339, 351]), 'DATETIME': ([230], [341]), 'LCONDICION_FUNCION_S': ([236], [352]), 'LBOTH': ([237], [354]), 'I_LIDS': ([251, 370, 470, 567, 582, 667, 668, 758, 791, 799], [368, 468, 581, 671, 678, 720, 721, 778, 800, 806]), 'I_TCONST': ([253], [371]), 'I_OPALTER': ([254], [376]), 'I_LADDC': ([254], [377]), 'I_LDROPC': ([254], [378]), 'I_ADDC': ([254, 476], [382, 586]), 'I_DROPC': ([254, 478], [383, 588]), 'I_LUPDATE': ([255], [385]), 'I_VALUPDATE': ([255, 486], [386, 598]), 'PHAVING': ([267], [393]), 'I_LTATRIBUTOS': ([361], [453]), 'I_TATRIBUTOS': ([361, 560], [454, 666]), 'I_OPALTERDB': ([367], [463]), 'I_LCOL': ([375], [472]), 'I_PCOL': ([375, 584], [473, 679]), 'LCOMPLEMENTOGROUP': ([398], [489]), 'COMPLEMENTOGROUP': ([398, 599], [490, 684]), 'LCOMPLEMENTOORDERBY': ([399], [492]), 'COMPLEMENTOORDERBY': ([399, 601], [493, 686]), 'PTIMESTAMP': ([442], [529]), 'I_TIPO': ([452, 591], [541, 681]), 'I_CCHECK': ([458, 669], [564, 722]), 'I_UNIQUE': ([459], [566]), 'I_LVALT': ([462], [570]), 'I_VALTAB': ([462, 675], [571, 728]), 'I_VALALTDB': ([463], [575]), 'I_VALOR': ([484, 642], [595, 709]), 'COMPLEMENTOORDERBY1': ([494], [602]), 'COMPLEMENTOORDER': ([494, 687], [603, 733]), 'I_OWMOD': ([539], [634]), 'I_LLAVES': ([541], [638]), 'I_DEFAULT': ([541, 707, 708, 784], [640, 744, 746, 795]), 'I_NULL': ([541, 707, 708, 709, 784], [643, 643, 643, 747, 643]), 'I_CUNIQUE': ([541, 645, 707, 708, 709, 710, 784], [646, 711, 646, 646, 646, 748, 646]), 'I_PREC': ([548, 554, 555, 657], [648, 655, 656, 718]), 'I_TCHAR': ([550], [650]), 'I_FIELDS': ([557], [657]), 'I_INHERITS': ([559], [663]), 'I_LCAD': ([568], [672]), 'I_MODE': ([742], [764]), 'I_OWNER': ([743], [767]), 'I_CREFERENCE': ([745], [771]), 'I_CHECK': ([749], [773])}
_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' -> INSTRUCCIONES", "S'", 1, None, None, None), ('INSTRUCCIONES -> INSTRUCCIONES INSTRUCCION', 'INSTRUCCIONES', 2, 'p_Inicio', 'Lexico.py', 358), ('INSTRUCCIONES -> INSTRUCCION', 'INSTRUCCIONES', 1, 'p_Inicio1', 'Lexico.py', 362), ('INSTRUCCION -> I_SELECT COMPLEMENTOSELECT', 'INSTRUCCION', 2, 'p_Instruccion', 'Lexico.py', 365), ('INSTRUCCION -> I_CREATE', 'INSTRUCCION', 1, 'p_Instruccion1', 'Lexico.py', 368), ('INSTRUCCION -> I_DROP', 'INSTRUCCION', 1, 'p_Instruccion2', 'Lexico.py', 371), ('INSTRUCCION -> I_INSERT', 'INSTRUCCION', 1, 'p_Instruccion3', 'Lexico.py', 374), ('INSTRUCCION -> I_ALTER', 'INSTRUCCION', 1, 'p_Instruccion4', 'Lexico.py', 377), ('INSTRUCCION -> I_UPDATE', 'INSTRUCCION', 1, 'p_Instruccion5', 'Lexico.py', 380), ('INSTRUCCION -> I_SHOW', 'INSTRUCCION', 1, 'p_Instruccion6', 'Lexico.py', 383), ('INSTRUCCION -> I_DELETE', 'INSTRUCCION', 1, 'p_Instruccion7', 'Lexico.py', 386), ('INSTRUCCION -> I_USE', 'INSTRUCCION', 1, 'p_Instruccion8', 'Lexico.py', 389), ('I_USE -> USE DATABASE ID PCOMA', 'I_USE', 4, 'p_use', 'Lexico.py', 392), ('I_CREATE -> CREATE I_TCREATE', 'I_CREATE', 2, 'p_Create', 'Lexico.py', 395), ('I_TCREATE -> I_REPLACE', 'I_TCREATE', 1, 'p_tCreate', 'Lexico.py', 399), ('I_TCREATE -> I_CTABLE', 'I_TCREATE', 1, 'p_tCreate1', 'Lexico.py', 402), ('I_TCREATE -> I_CTYPE', 'I_TCREATE', 1, 'p_tCreate2', 'Lexico.py', 405), ('I_CTYPE -> TYPE ID AS ENUM PABRE I_LCAD PCIERRA', 'I_CTYPE', 7, 'p_ctype', 'Lexico.py', 408), ('I_LCAD -> I_LCAD CADENASI', 'I_LCAD', 2, 'p_lcad', 'Lexico.py', 411), ('I_LCAD -> CADENASI', 'I_LCAD', 1, 'p_lcad1', 'Lexico.py', 414), ('I_CTABLE -> TABLE ID PABRE I_LTATRIBUTOS PCIERRA I_INHERITS', 'I_CTABLE', 6, 'p_cTable', 'Lexico.py', 417), ('I_INHERITS -> INHERITS PABRE ID PCIERRA PCOMA', 'I_INHERITS', 5, 'p_inherits', 'Lexico.py', 420), ('I_LTATRIBUTOS -> I_LTATRIBUTOS COMA I_TATRIBUTOS', 'I_LTATRIBUTOS', 3, 'p_tAtributos', 'Lexico.py', 423), ('I_LTATRIBUTOS -> I_TATRIBUTOS', 'I_LTATRIBUTOS', 1, 'p_tAtributos1', 'Lexico.py', 426), ('I_TATRIBUTOS -> ID I_TIPO I_LLAVES', 'I_TATRIBUTOS', 3, 'p_atributosT', 'Lexico.py', 429), ('I_TATRIBUTOS -> PRIMARY KEY PABRE I_LIDS PCIERRA', 'I_TATRIBUTOS', 5, 'p_atributosT1', 'Lexico.py', 432), ('I_TATRIBUTOS -> FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA', 'I_TATRIBUTOS', 10, 'p_atributosT2', 'Lexico.py', 435), ('I_TATRIBUTOS -> CONSTRAINT ID CHECK I_CCHECK', 'I_TATRIBUTOS', 4, 'p_atributosT3', 'Lexico.py', 438), ('I_TATRIBUTOS -> CHECK I_CCHECK', 'I_TATRIBUTOS', 2, 'p_atributosT4', 'Lexico.py', 441), ('I_CCHECK -> PABRE CONDICION PCIERRA', 'I_CCHECK', 3, 'p_ccheck', 'Lexico.py', 444), ('I_TATRIBUTOS -> UNIQUE I_UNIQUE', 'I_TATRIBUTOS', 2, 'p_atributosT5', 'Lexico.py', 447), ('I_UNIQUE -> PABRE I_LIDS PCIERRA', 'I_UNIQUE', 3, 'p_unique', 'Lexico.py', 450), ('I_LLAVES -> PRIMARY KEY I_DEFAULT', 'I_LLAVES', 3, 'p_llave', 'Lexico.py', 453), ('I_DEFAULT -> DEFAULT I_VALOR I_NULL', 'I_DEFAULT', 3, 'p_default', 'Lexico.py', 456), ('I_DEFAULT -> I_NULL', 'I_DEFAULT', 1, 'p_default1', 'Lexico.py', 459), ('I_NULL -> NOT NULL I_CUNIQUE', 'I_NULL', 3, 'p_null', 'Lexico.py', 462), ('I_NULL -> NULL I_CUNIQUE', 'I_NULL', 2, 'p_null1', 'Lexico.py', 465), ('I_NULL -> I_CUNIQUE', 'I_NULL', 1, 'p_null2', 'Lexico.py', 468), ('I_CUNIQUE -> CONSTRAINT ID UNIQUE I_CHECK', 'I_CUNIQUE', 4, 'p_cunique', 'Lexico.py', 471), ('I_CHECK -> CONSTRAINT ID CHECK PABRE CONDICION PCIERRA', 'I_CHECK', 6, 'p_check', 'Lexico.py', 474), ('I_CHECK -> CHECK PABRE CONDICION PCIERRA', 'I_CHECK', 4, 'p_check1', 'Lexico.py', 477), ('I_CHECK -> <empty>', 'I_CHECK', 0, 'p_check2', 'Lexico.py', 480), ('I_LLAVES -> REFERENCES ID PABRE I_CREFERENCE PCIERRA I_DEFAULT', 'I_LLAVES', 6, 'p_llave2', 'Lexico.py', 483), ('I_CREFERENCE -> I_CREFERENCE COMA ID', 'I_CREFERENCE', 3, 'p_cRef', 'Lexico.py', 486), ('I_CREFERENCE -> ID', 'I_CREFERENCE', 1, 'p_cRef2', 'Lexico.py', 489), ('I_LLAVES -> REFERENCES ID I_DEFAULT', 'I_LLAVES', 3, 'p_llave3', 'Lexico.py', 492), ('I_LLAVES -> I_DEFAULT', 'I_LLAVES', 1, 'p_llave4', 'Lexico.py', 495), ('I_LIDS -> I_LIDS COMA ID', 'I_LIDS', 3, 'p_lIds', 'Lexico.py', 498), ('I_LIDS -> ID', 'I_LIDS', 1, 'p_lIds1', 'Lexico.py', 501), ('I_TIPO -> SMALLINT', 'I_TIPO', 1, 'p_tipo', 'Lexico.py', 504), ('I_TIPO -> INTEGER', 'I_TIPO', 1, 'p_tipo2', 'Lexico.py', 507), ('I_TIPO -> BIGINT', 'I_TIPO', 1, 'p_tipo3', 'Lexico.py', 510), ('I_TIPO -> DECIMAL', 'I_TIPO', 1, 'p_tipo4', 'Lexico.py', 513), ('I_TIPO -> NUMERIC', 'I_TIPO', 1, 'p_tipo5', 'Lexico.py', 516), ('I_TIPO -> REAL', 'I_TIPO', 1, 'p_tipo6', 'Lexico.py', 519), ('I_TIPO -> DOUBLE I_PREC', 'I_TIPO', 2, 'p_tipo7', 'Lexico.py', 522), ('I_TIPO -> MONEY', 'I_TIPO', 1, 'p_tipo8', 'Lexico.py', 525), ('I_TIPO -> CHARACTER I_TCHAR', 'I_TIPO', 2, 'p_tipo9', 'Lexico.py', 528), ('I_TIPO -> VARCHAR PABRE NUMERO PCIERRA', 'I_TIPO', 4, 'p_tipo11', 'Lexico.py', 531), ('I_TIPO -> CHAR PABRE NUMERO PCIERRA', 'I_TIPO', 4, 'p_tipo22', 'Lexico.py', 534), ('I_TIPO -> TEXT', 'I_TIPO', 1, 'p_tipo33', 'Lexico.py', 537), ('I_TIPO -> TIMESTAMP I_PREC', 'I_TIPO', 2, 'p_tipo44', 'Lexico.py', 540), ('I_TIPO -> TIME I_PREC', 'I_TIPO', 2, 'p_tipo55', 'Lexico.py', 543), ('I_TIPO -> DATE', 'I_TIPO', 1, 'p_tipo66', 'Lexico.py', 546), ('I_TIPO -> INTERVAL I_FIELDS I_PREC', 'I_TIPO', 3, 'p_tipo77', 'Lexico.py', 549), ('I_TIPO -> BOOLEAN', 'I_TIPO', 1, 'p_tipo88', 'Lexico.py', 552), ('I_TIPO -> ID', 'I_TIPO', 1, 'p_tipo99', 'Lexico.py', 555), ('I_TCHAR -> VARYING PABRE NUMERO PCIERRA', 'I_TCHAR', 4, 'p_tchar', 'Lexico.py', 558), ('I_TCHAR -> PABRE NUMERO PCIERRA', 'I_TCHAR', 3, 'p_tchar1', 'Lexico.py', 561), ('I_PREC -> PABRE NUMERO PCIERRA', 'I_PREC', 3, 'p_prec', 'Lexico.py', 564), ('I_PREC -> <empty>', 'I_PREC', 0, 'p_prec1', 'Lexico.py', 567), ('I_FIELDS -> MONTH', 'I_FIELDS', 1, 'p_fields', 'Lexico.py', 570), ('I_FIELDS -> HOUR', 'I_FIELDS', 1, 'p_fields1', 'Lexico.py', 573), ('I_FIELDS -> MINUTE', 'I_FIELDS', 1, 'p_fields2', 'Lexico.py', 576), ('I_FIELDS -> SECOND', 'I_FIELDS', 1, 'p_fields3', 'Lexico.py', 579), ('I_FIELDS -> YEAR', 'I_FIELDS', 1, 'p_fields4', 'Lexico.py', 582), ('I_INHERITS -> PCOMA', 'I_INHERITS', 1, 'p_inherits1', 'Lexico.py', 585), ('I_REPLACE -> OR REPLACE DATABASE I_EXIST', 'I_REPLACE', 4, 'p_Replace', 'Lexico.py', 590), ('I_REPLACE -> DATABASE I_EXIST', 'I_REPLACE', 2, 'p_Replace1', 'Lexico.py', 593), ('I_DROP -> DROP I_TDROP', 'I_DROP', 2, 'p_drop', 'Lexico.py', 597), ('I_ALTER -> ALTER I_TALTER', 'I_ALTER', 2, 'p_alter', 'Lexico.py', 600), ('I_TALTER -> I_ALTERDB', 'I_TALTER', 1, 'p_tAlter', 'Lexico.py', 603), ('I_TALTER -> I_ALTERTB', 'I_TALTER', 1, 'p_tAlter1', 'Lexico.py', 606), ('I_ALTERTB -> TABLE ID I_OPALTER', 'I_ALTERTB', 3, 'p_alterTB', 'Lexico.py', 609), ('I_OPALTER -> I_LADDC PCOMA', 'I_OPALTER', 2, 'p_opAlterTB', 'Lexico.py', 612), ('I_OPALTER -> I_LDROPC PCOMA', 'I_OPALTER', 2, 'p_opAlterTB1', 'Lexico.py', 615), ('I_OPALTER -> ADD I_TALTER PCOMA', 'I_OPALTER', 3, 'p_opAlterTB2', 'Lexico.py', 618), ('I_OPALTER -> ALTER COLUMN ID SET NOT NULL PCOMA', 'I_OPALTER', 7, 'p_opAlterTB3', 'Lexico.py', 621), ('I_OPALTER -> DROP CONSTRAINT ID PCOMA', 'I_OPALTER', 4, 'p_opAlterTB4', 'Lexico.py', 624), ('I_OPALTER -> ID I_LCOL PCOMA', 'I_OPALTER', 3, 'p_opAlterTB5', 'Lexico.py', 627), ('I_LCOL -> I_LCOL COMA I_PCOL', 'I_LCOL', 3, 'p_lCol', 'Lexico.py', 630), ('I_LCOL -> I_PCOL', 'I_LCOL', 1, 'p_lCol2', 'Lexico.py', 633), ('I_PCOL -> ALTER COLUMN ID TYPE VARCHAR PABRE NUMERO PCIERRA', 'I_PCOL', 8, 'p_pCol3', 'Lexico.py', 636), ('I_TALTER -> CHECK CONDICION', 'I_TALTER', 2, 'p_tipAlterC', 'Lexico.py', 639), ('I_TALTER -> UNIQUE PABRE I_LIDS PCIERRA', 'I_TALTER', 4, 'p_tipAlterU', 'Lexico.py', 642), ('I_TALTER -> FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA', 'I_TALTER', 10, 'p_tipAlterFK', 'Lexico.py', 645), ('I_TALTER -> CONSTRAINT ID I_TCONST', 'I_TALTER', 3, 'p_tipAlterCo', 'Lexico.py', 648), ('I_TCONST -> CHECK CONDICION', 'I_TCONST', 2, 'p_tipoConstraintC', 'Lexico.py', 651), ('I_TCONST -> UNIQUE PABRE I_LIDS PCIERRA', 'I_TCONST', 4, 'p_tipoConstraintU', 'Lexico.py', 654), ('I_TCONST -> FOREIGN KEY PABRE I_LIDS PCIERRA REFERENCES ID PABRE I_LIDS PCIERRA', 'I_TCONST', 10, 'p_tipoConstraintFK', 'Lexico.py', 657), ('I_LDROPC -> I_LDROPC COMA I_DROPC', 'I_LDROPC', 3, 'p_lCDrop', 'Lexico.py', 660), ('I_LDROPC -> I_DROPC', 'I_LDROPC', 1, 'p_lCDrop1', 'Lexico.py', 663), ('I_DROPC -> DROP COLUMN ID', 'I_DROPC', 3, 'p_cDrop', 'Lexico.py', 666), ('I_LADDC -> I_LADDC COMA I_ADDC', 'I_LADDC', 3, 'p_lCAdd', 'Lexico.py', 669), ('I_LADDC -> I_ADDC', 'I_LADDC', 1, 'p_lCAdd2', 'Lexico.py', 672), ('I_ADDC -> ADD COLUMN ID I_TIPO', 'I_ADDC', 4, 'p_cAdd', 'Lexico.py', 675), ('I_TDROP -> I_DROPDB', 'I_TDROP', 1, 'p_tDrop', 'Lexico.py', 678), ('I_TDROP -> I_DROPTB', 'I_TDROP', 1, 'p_tDrop2', 'Lexico.py', 681), ('I_DROPDB -> DATABASE I_IFEXIST', 'I_DROPDB', 2, 'p_dropDB', 'Lexico.py', 684), ('I_IFEXIST -> IF EXISTS ID PCOMA', 'I_IFEXIST', 4, 'p_ifExist', 'Lexico.py', 687), ('I_IFEXIST -> ID PCOMA', 'I_IFEXIST', 2, 'p_ifExist2', 'Lexico.py', 690), ('I_EXIST -> IF NOT EXISTS ID I_OWMOD', 'I_EXIST', 5, 'p_Exist', 'Lexico.py', 693), ('I_EXIST -> ID PCOMA', 'I_EXIST', 2, 'p_Exist1', 'Lexico.py', 696), ('I_OWMOD -> OWNER IGUAL ID I_MODE', 'I_OWMOD', 4, 'p_Owmod', 'Lexico.py', 700), ('I_OWMOD -> MODE IGUAL ID I_OWNER', 'I_OWMOD', 4, 'p_Owmod1', 'Lexico.py', 703), ('I_OWMOD -> PCOMA', 'I_OWMOD', 1, 'p_Owmod2', 'Lexico.py', 706), ('I_MODE -> MODE IGUAL ID PCOMA', 'I_MODE', 4, 'p_Mode', 'Lexico.py', 709), ('I_MODE -> PCOMA', 'I_MODE', 1, 'p_Mode1', 'Lexico.py', 712), ('I_OWNER -> OWNER IGUAL ID PCOMA', 'I_OWNER', 4, 'p_Owner', 'Lexico.py', 715), ('I_OWNER -> PCOMA', 'I_OWNER', 1, 'p_Owner1', 'Lexico.py', 718), ('I_ALTERDB -> ALTER DATABASE ID I_OPALTERDB I_VALALTDB', 'I_ALTERDB', 5, 'p_AlterDB', 'Lexico.py', 721), ('I_OPALTERDB -> RENAME TO', 'I_OPALTERDB', 2, 'p_opAlterDB', 'Lexico.py', 724), ('I_OPALTERDB -> OWNER TO', 'I_OPALTERDB', 2, 'p_opAlterDB2', 'Lexico.py', 727), ('I_VALALTDB -> ID', 'I_VALALTDB', 1, 'p_valAlterDb', 'Lexico.py', 730), ('I_VALALTDB -> CADENASI', 'I_VALALTDB', 1, 'p_valAlterDb1', 'Lexico.py', 733), ('I_DROPTB -> TABLE ID PCOMA', 'I_DROPTB', 3, 'p_dropTB', 'Lexico.py', 736), ('I_INSERT -> INSERT INTO ID VALUES PABRE I_LVALT PCIERRA PCOMA', 'I_INSERT', 8, 'p_insertTB', 'Lexico.py', 739), ('I_LVALT -> I_LVALT COMA I_VALTAB', 'I_LVALT', 3, 'p_lValt', 'Lexico.py', 742), ('I_UPDATE -> UPDATE ID SET I_LUPDATE PWHERE', 'I_UPDATE', 5, 'p_update', 'Lexico.py', 745), ('I_LUPDATE -> I_LUPDATE COMA I_VALUPDATE', 'I_LUPDATE', 3, 'p_lUpdate', 'Lexico.py', 748), ('I_LUPDATE -> I_VALUPDATE', 'I_LUPDATE', 1, 'p_lUpdate1', 'Lexico.py', 751), ('I_VALUPDATE -> ID IGUAL I_VALOR', 'I_VALUPDATE', 3, 'p_valUpdate', 'Lexico.py', 754), ('I_VALOR -> CADENASI', 'I_VALOR', 1, 'p_valor', 'Lexico.py', 757), ('I_VALOR -> NUMERO', 'I_VALOR', 1, 'p_valor1', 'Lexico.py', 760), ('I_SHOW -> SHOW DATABASE PCOMA', 'I_SHOW', 3, 'p_show', 'Lexico.py', 763), ('I_DELETE -> DELETE FROM ID PWHERE', 'I_DELETE', 4, 'p_delete', 'Lexico.py', 766), ('I_LVALT -> I_VALTAB', 'I_LVALT', 1, 'p_lValt1', 'Lexico.py', 769), ('I_VALTAB -> NUMERO', 'I_VALTAB', 1, 'p_valTab', 'Lexico.py', 772), ('I_VALTAB -> CADENASI', 'I_VALTAB', 1, 'p_valTab1', 'Lexico.py', 775), ('I_SELECT -> SELECT VALORES PFROM COMPLEMENTO', 'I_SELECT', 4, 'p_ISelect', 'Lexico.py', 778), ('I_SELECT -> SELECT VALORES PFROM PWHERE COMPLEMENTO', 'I_SELECT', 5, 'p_ISelect1', 'Lexico.py', 781), ('I_SELECT -> SELECT DISTINCT VALORES PFROM COMPLEMENTO', 'I_SELECT', 5, 'p_ISelect2', 'Lexico.py', 784), ('I_SELECT -> SELECT DISTINCT VALORES PFROM PWHERE COMPLEMENTO', 'I_SELECT', 6, 'p_ISelect3', 'Lexico.py', 787), ('I_SELECT -> SELECT VALORES', 'I_SELECT', 2, 'p_ISelect4', 'Lexico.py', 790), ('COMPLEMENTO -> PGROUPBY PHAVING', 'COMPLEMENTO', 2, 'p_ComplementoH', 'Lexico.py', 793), ('COMPLEMENTO -> PGROUPBY PHAVING PLIMIT', 'COMPLEMENTO', 3, 'p_ComplementoHL', 'Lexico.py', 796), ('COMPLEMENTO -> PGROUPBY', 'COMPLEMENTO', 1, 'p_ComplementoG', 'Lexico.py', 799), ('COMPLEMENTO -> PGROUPBY PLIMIT', 'COMPLEMENTO', 2, 'p_ComplementoGL', 'Lexico.py', 802), ('COMPLEMENTO -> PORDERBY', 'COMPLEMENTO', 1, 'p_ComplementoO', 'Lexico.py', 805), ('COMPLEMENTO -> PORDERBY PLIMIT', 'COMPLEMENTO', 2, 'p_ComplementoOL', 'Lexico.py', 808), ('COMPLEMENTO -> PLIMIT', 'COMPLEMENTO', 1, 'p_ComplementoL', 'Lexico.py', 811), ('COMPLEMENTO -> EMPTY', 'COMPLEMENTO', 1, 'p_ComplementoE', 'Lexico.py', 814), ('COMPLEMENTOSELECT -> UNION I_SELECT PCOMA', 'COMPLEMENTOSELECT', 3, 'p_ComplementoSelectUnion', 'Lexico.py', 817), ('COMPLEMENTOSELECT -> UNION ALL I_SELECT PCOMA', 'COMPLEMENTOSELECT', 4, 'p_ComplementoSelectUnionAll', 'Lexico.py', 820), ('COMPLEMENTOSELECT -> INTERSECT I_SELECT PCOMA', 'COMPLEMENTOSELECT', 3, 'p_ComplementoSelectIntersect', 'Lexico.py', 823), ('COMPLEMENTOSELECT -> INTERSECT ALL I_SELECT PCOMA', 'COMPLEMENTOSELECT', 4, 'p_ComplementoSelectIntersectALL', 'Lexico.py', 826), ('COMPLEMENTOSELECT -> EXCEPT I_SELECT PCOMA', 'COMPLEMENTOSELECT', 3, 'p_ComplementoSelectExcept', 'Lexico.py', 829), ('COMPLEMENTOSELECT -> EXCEPT ALL I_SELECT PCOMA', 'COMPLEMENTOSELECT', 4, 'p_ComplementoSelectExceptAll', 'Lexico.py', 832), ('COMPLEMENTOSELECT -> PCOMA', 'COMPLEMENTOSELECT', 1, 'p_ComplementoSelectExceptPcoma', 'Lexico.py', 835), ('PLIMIT -> LIMIT CONDICION', 'PLIMIT', 2, 'p_Limit', 'Lexico.py', 838), ('PLIMIT -> LIMIT CONDICION OFFSET CONDICION', 'PLIMIT', 4, 'p_LimitOff', 'Lexico.py', 841), ('PORDERBY -> ORDER BY LCOMPLEMENTOORDERBY', 'PORDERBY', 3, 'p_OrderBy', 'Lexico.py', 844), ('LCOMPLEMENTOORDERBY -> LCOMPLEMENTOORDERBY COMA COMPLEMENTOORDERBY', 'LCOMPLEMENTOORDERBY', 3, 'p_ComplementoOrderL', 'Lexico.py', 847), ('LCOMPLEMENTOORDERBY -> COMPLEMENTOORDERBY', 'LCOMPLEMENTOORDERBY', 1, 'p_ComplementoOrderL1', 'Lexico.py', 850), ('COMPLEMENTOORDERBY -> ID COMPLEMENTOORDERBY1', 'COMPLEMENTOORDERBY', 2, 'p_ComplementoOrderCI', 'Lexico.py', 853), ('COMPLEMENTOORDERBY1 -> COMPLEMENTOORDER', 'COMPLEMENTOORDERBY1', 1, 'p_ComplementoOrderCOBC', 'Lexico.py', 856), ('COMPLEMENTOORDERBY1 -> PUNTO ID COMPLEMENTOORDER', 'COMPLEMENTOORDERBY1', 3, 'p_ComplementoOrderCOBP', 'Lexico.py', 859), ('COMPLEMENTOORDER -> ASC', 'COMPLEMENTOORDER', 1, 'p_ComplementoOrder', 'Lexico.py', 863), ('COMPLEMENTOORDER -> DESC', 'COMPLEMENTOORDER', 1, 'p_ComplementoOD', 'Lexico.py', 866), ('COMPLEMENTOORDER -> ASC NULLS FIRST', 'COMPLEMENTOORDER', 3, 'p_ComplementoOANF', 'Lexico.py', 869), ('COMPLEMENTOORDER -> ASC NULLS LAST', 'COMPLEMENTOORDER', 3, 'p_ComplementoOANL', 'Lexico.py', 872), ('COMPLEMENTOORDER -> DESC NULLS FIRST', 'COMPLEMENTOORDER', 3, 'p_ComplementoODNF', 'Lexico.py', 875), ('COMPLEMENTOORDER -> DESC NULLS LAST', 'COMPLEMENTOORDER', 3, 'p_ComplementoODNL', 'Lexico.py', 878), ('COMPLEMENTOORDER -> EMPTY', 'COMPLEMENTOORDER', 1, 'p_ComplementoEm', 'Lexico.py', 881), ('PHAVING -> HAVING CONDICION', 'PHAVING', 2, 'p_Having', 'Lexico.py', 885), ('PGROUPBY -> GROUP BY LCOMPLEMENTOGROUP', 'PGROUPBY', 3, 'p_GroupBy', 'Lexico.py', 888), ('LCOMPLEMENTOGROUP -> LCOMPLEMENTOGROUP COMA COMPLEMENTOGROUP', 'LCOMPLEMENTOGROUP', 3, 'p_ComplementoGroupL', 'Lexico.py', 891), ('LCOMPLEMENTOGROUP -> COMPLEMENTOGROUP', 'LCOMPLEMENTOGROUP', 1, 'p_ComplementoGroupLS', 'Lexico.py', 894), ('COMPLEMENTOGROUP -> ID', 'COMPLEMENTOGROUP', 1, 'p_ComplementoGroupC', 'Lexico.py', 897), ('COMPLEMENTOGROUP -> ID PUNTO ID', 'COMPLEMENTOGROUP', 3, 'p_ComplementoGroupC1', 'Lexico.py', 900), ('VALORES -> POR', 'VALORES', 1, 'p_Valores', 'Lexico.py', 903), ('VALORES -> LISTAVALORES', 'VALORES', 1, 'p_ValoresLista', 'Lexico.py', 906), ('LISTAVALORES -> LISTAVALORES COMA VALOR', 'LISTAVALORES', 3, 'p_ListaValores', 'Lexico.py', 909), ('LISTAVALORES -> VALOR', 'LISTAVALORES', 1, 'p_ListaValoresS', 'Lexico.py', 912), ('VALOR -> PABRE SUBCONSULTA PCIERRA ALIAS', 'VALOR', 4, 'p_ValorSub', 'Lexico.py', 916), ('VALOR -> PABRE SUBCONSULTA PCIERRA', 'VALOR', 3, 'p_ValorSub1', 'Lexico.py', 919), ('VALOR -> COUNT PABRE POR PCIERRA ALIAS', 'VALOR', 5, 'p_ValorCountAa', 'Lexico.py', 922), ('VALOR -> COUNT PABRE ID PCIERRA ALIAS', 'VALOR', 5, 'p_ValorCounta', 'Lexico.py', 925), ('VALOR -> COUNT PABRE POR PCIERRA', 'VALOR', 4, 'p_ValorCountA', 'Lexico.py', 928), ('VALOR -> COUNT PABRE ID PCIERRA', 'VALOR', 4, 'p_ValorCount', 'Lexico.py', 931), ('VALOR -> COUNT PABRE ID PUNTO ID PCIERRA ALIAS', 'VALOR', 7, 'p_ValorCountAliasId', 'Lexico.py', 934), ('VALOR -> COUNT PABRE ID PUNTO ID PCIERRA', 'VALOR', 6, 'p_ValorCountIdP', 'Lexico.py', 937), ('VALOR -> FUNCION PABRE ID PUNTO ID PCIERRA', 'VALOR', 6, 'p_ValorFunciones', 'Lexico.py', 940), ('VALOR -> FUNCION PABRE ID PCIERRA', 'VALOR', 4, 'p_ValorFunciones1', 'Lexico.py', 943), ('VALOR -> FUNCION PABRE ID PUNTO ID PCIERRA ALIAS', 'VALOR', 7, 'p_ValorFuncionesA', 'Lexico.py', 946), ('VALOR -> FUNCION PABRE ID PCIERRA ALIAS', 'VALOR', 5, 'p_ValorFunciones1A', 'Lexico.py', 949), ('VALOR -> CONDICION', 'VALOR', 1, 'p_ValorCondicion', 'Lexico.py', 952), ('VALOR -> CONDICION ALIAS', 'VALOR', 2, 'p_ValorCondicionAlias', 'Lexico.py', 955), ('VALOR -> FTRIGONOMETRICAS PABRE LNUM PCIERRA', 'VALOR', 4, 'p_ValorFTrigonometricas', 'Lexico.py', 958), ('VALOR -> FTRIGONOMETRICAS PABRE LNUM PCIERRA ALIAS', 'VALOR', 5, 'p_ValorFTrigonometricasAlias', 'Lexico.py', 961), ('VALOR -> GREATEST PABRE LNUM PCIERRA', 'VALOR', 4, 'p_ValorGreatest', 'Lexico.py', 964), ('VALOR -> LEAST PABRE LNUM PCIERRA', 'VALOR', 4, 'p_ValorLeast', 'Lexico.py', 967), ('VALOR -> GREATEST PABRE LNUM PCIERRA ALIAS', 'VALOR', 5, 'p_ValorGreatestAlias', 'Lexico.py', 970), ('VALOR -> LEAST PABRE LNUM PCIERRA ALIAS', 'VALOR', 5, 'p_ValorLeastAlias', 'Lexico.py', 973), ('VALOR -> RANDOM PABRE PCIERRA ALIAS', 'VALOR', 4, 'p_ValorRandomA', 'Lexico.py', 976), ('VALOR -> RANDOM PABRE PCIERRA', 'VALOR', 3, 'p_ValorRandom', 'Lexico.py', 979), ('VALOR -> PI PABRE PCIERRA ALIAS', 'VALOR', 4, 'p_ValorPiAlias', 'Lexico.py', 982), ('VALOR -> PI PABRE PCIERRA', 'VALOR', 3, 'p_ValorPi', 'Lexico.py', 985), ('VALOR -> DECODE PABRE CADENA COMA CADENA PCIERRA ALIAS', 'VALOR', 7, 'p_ValorFuncionesDecodeA', 'Lexico.py', 988), ('VALOR -> DECODE PABRE CADENA COMA CADENA PCIERRA', 'VALOR', 6, 'p_ValorFuncionesDecode', 'Lexico.py', 991), ('VALOR -> ENCODE PABRE CADENA COMA CADENA PCIERRA ALIAS', 'VALOR', 7, 'p_ValorFuncionesEncodeA', 'Lexico.py', 994), ('VALOR -> ENCODE PABRE CADENA COMA CADENA PCIERRA', 'VALOR', 6, 'p_ValorFuncionesEncode', 'Lexico.py', 997), ('VALOR -> CONVERT PABRE CADENA AS DATE PCIERRA', 'VALOR', 6, 'p_ValorFuncionesConvertDate', 'Lexico.py', 1000), ('VALOR -> CONVERT PABRE CADENA AS INTEGER PCIERRA', 'VALOR', 6, 'p_ValorFuncionesConvertInt', 'Lexico.py', 1003), ('VALOR -> CONVERT PABRE CADENA AS DATE PCIERRA ALIAS', 'VALOR', 7, 'p_ValorFuncionesConvertDateA', 'Lexico.py', 1006), ('VALOR -> CONVERT PABRE CADENA AS INTEGER PCIERRA ALIAS', 'VALOR', 7, 'p_ValorFuncionesConvertIntA', 'Lexico.py', 1009), ('VALOR -> SHA256 PABRE CADENA PCIERRA', 'VALOR', 4, 'p_ValorFuncionesSha', 'Lexico.py', 1012), ('VALOR -> SHA256 PABRE CADENA PCIERRA ALIAS', 'VALOR', 5, 'p_ValorFuncionesShaA', 'Lexico.py', 1015), ('VALOR -> NUM OPERADOR NUM ALIAS', 'VALOR', 4, 'p_ValorOperadorMatAlias', 'Lexico.py', 1018), ('VALOR -> NUM OPERADOR NUM', 'VALOR', 3, 'p_ValorOperadorMat', 'Lexico.py', 1021), ('VALOR -> BNot NUM ALIAS', 'VALOR', 3, 'p_ValorOperadorNotA', 'Lexico.py', 1024), ('VALOR -> BNot NUM', 'VALOR', 2, 'p_ValorOperadorNot', 'Lexico.py', 1027), ('VALOR -> raizCuadrada NUM ALIAS', 'VALOR', 3, 'p_ValorRaizCuadradaA', 'Lexico.py', 1030), ('VALOR -> raizCuadrada NUM', 'VALOR', 2, 'p_ValorRaizCuadrada', 'Lexico.py', 1033), ('VALOR -> raizCubica NUM ALIAS', 'VALOR', 3, 'p_ValorRaizCubicaA', 'Lexico.py', 1036), ('VALOR -> raizCubica NUM', 'VALOR', 2, 'p_ValorRaizCubica', 'Lexico.py', 1039), ('VALOR -> GETBYTE PABRE CADENA COMA NUMERO PCIERRA', 'VALOR', 6, 'p_ValorFuncionesGetByte', 'Lexico.py', 1042), ('VALOR -> GETBYTE PABRE CADENA COMA NUMERO PCIERRA ALIAS', 'VALOR', 7, 'p_ValorFuncionesGetByteA', 'Lexico.py', 1045), ('VALOR -> SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA', 'VALOR', 8, 'p_ValorFuncionesSetByte', 'Lexico.py', 1048), ('VALOR -> SETBYTE PABRE CADENA COMA NUMERO COMA NUMERO PCIERRA ALIAS', 'VALOR', 9, 'p_ValorFuncionesSetByteA', 'Lexico.py', 1051), ('VALOR -> CASE LWHEN END', 'VALOR', 3, 'p_ValorCase', 'Lexico.py', 1054), ('VALOR -> CASE LWHEN END ALIAS', 'VALOR', 4, 'p_ValorCaseAlias', 'Lexico.py', 1057), ('VALOR -> ID_VALOR PABRE LCONDICION_FUNCION PCIERRA ALIAS', 'VALOR', 5, 'p_ValorFunAlias', 'Lexico.py', 1060), ('VALOR -> ID_VALOR PABRE LCONDICION_FUNCION PCIERRA', 'VALOR', 4, 'p_ValorFun', 'Lexico.py', 1063), ('LWHEN -> WHEN CONDICION THEN CONDICION LWHEN', 'LWHEN', 5, 'p_LWHEN', 'Lexico.py', 1066), ('LWHEN -> WHEN CONDICION THEN CONDICION', 'LWHEN', 4, 'p_LWHENSimple', 'Lexico.py', 1069), ('LWHEN -> ELSE CONDICION', 'LWHEN', 2, 'p_LWHENElse', 'Lexico.py', 1072), ('ID_VALOR -> DEGREES', 'ID_VALOR', 1, 'p_IdFuncionDegrees', 'Lexico.py', 1075), ('ID_VALOR -> DIV', 'ID_VALOR', 1, 'p_IdFuncionDiv', 'Lexico.py', 1078), ('ID_VALOR -> FEXP', 'ID_VALOR', 1, 'p_IdFuncionExp', 'Lexico.py', 1081), ('ID_VALOR -> FACTORIAL', 'ID_VALOR', 1, 'p_IdFuncionFactorial', 'Lexico.py', 1084), ('ID_VALOR -> FLOOR', 'ID_VALOR', 1, 'p_IdFuncionFloor', 'Lexico.py', 1087), ('ID_VALOR -> GCD', 'ID_VALOR', 1, 'p_IdFuncionGcd', 'Lexico.py', 1090), ('ID_VALOR -> LN', 'ID_VALOR', 1, 'p_IdFuncionLn', 'Lexico.py', 1093), ('ID_VALOR -> LOG', 'ID_VALOR', 1, 'p_IdFuncionLog', 'Lexico.py', 1096), ('ID_VALOR -> MOD', 'ID_VALOR', 1, 'p_IdFuncionMod', 'Lexico.py', 1099), ('ID_VALOR -> POWER', 'ID_VALOR', 1, 'p_IdFuncionPower', 'Lexico.py', 1102), ('ID_VALOR -> RADIANS', 'ID_VALOR', 1, 'p_IdFuncionRadians', 'Lexico.py', 1105), ('ID_VALOR -> ROUND', 'ID_VALOR', 1, 'p_IdFuncionRound', 'Lexico.py', 1108), ('ID_VALOR -> SIGN', 'ID_VALOR', 1, 'p_IdFuncionSign', 'Lexico.py', 1111), ('ID_VALOR -> SQRT', 'ID_VALOR', 1, 'p_IdFuncionSqrt', 'Lexico.py', 1114), ('ID_VALOR -> WIDTH_BUCKET', 'ID_VALOR', 1, 'p_IdFuncionWidth_bucket', 'Lexico.py', 1117), ('ID_VALOR -> TRUNC', 'ID_VALOR', 1, 'p_IdFuncionTrunc', 'Lexico.py', 1120), ('OPERADOR -> BAnd', 'OPERADOR', 1, 'p_OPERADORAnd', 'Lexico.py', 1123), ('OPERADOR -> BOr', 'OPERADOR', 1, 'p_OPERADOROr', 'Lexico.py', 1126), ('OPERADOR -> BXor', 'OPERADOR', 1, 'p_OPERADORXor', 'Lexico.py', 1129), ('OPERADOR -> DesplazaI', 'OPERADOR', 1, 'p_OPERADORDIz', 'Lexico.py', 1132), ('OPERADOR -> DesplazaD', 'OPERADOR', 1, 'p_OPERADORDDe', 'Lexico.py', 1135), ('LNUM -> LNUM COMA NUM', 'LNUM', 3, 'p_LNumNumLNum', 'Lexico.py', 1138), ('LNUM -> NUM', 'LNUM', 1, 'p_LNumNum', 'Lexico.py', 1141), ('NUM -> NUMERO', 'NUM', 1, 'p_NumNumero', 'Lexico.py', 1144), ('NUM -> DECIMAL', 'NUM', 1, 'p_NumDecimal', 'Lexico.py', 1147), ('NUM -> CADENA', 'NUM', 1, 'p_NumCadena', 'Lexico.py', 1150), ('FTRIGONOMETRICAS -> ACOS', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAcos', 'Lexico.py', 1153), ('FTRIGONOMETRICAS -> ACOSD', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAcosd', 'Lexico.py', 1156), ('FTRIGONOMETRICAS -> ASIN', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAsin', 'Lexico.py', 1159), ('FTRIGONOMETRICAS -> ASIND', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAsind', 'Lexico.py', 1162), ('FTRIGONOMETRICAS -> ATAN', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAtan', 'Lexico.py', 1165), ('FTRIGONOMETRICAS -> ATAND', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAtand', 'Lexico.py', 1168), ('FTRIGONOMETRICAS -> ATAN2', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAtan2', 'Lexico.py', 1171), ('FTRIGONOMETRICAS -> ATAN2D', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAtan2d', 'Lexico.py', 1174), ('FTRIGONOMETRICAS -> COS', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasCos', 'Lexico.py', 1177), ('FTRIGONOMETRICAS -> COSD', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasCosd', 'Lexico.py', 1180), ('FTRIGONOMETRICAS -> COT', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasCot', 'Lexico.py', 1183), ('FTRIGONOMETRICAS -> COTD', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasCotd', 'Lexico.py', 1186), ('FTRIGONOMETRICAS -> SIN', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasSin', 'Lexico.py', 1189), ('FTRIGONOMETRICAS -> SIND', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasSind', 'Lexico.py', 1192), ('FTRIGONOMETRICAS -> TAN', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasTan', 'Lexico.py', 1195), ('FTRIGONOMETRICAS -> TAND', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasTand', 'Lexico.py', 1198), ('FTRIGONOMETRICAS -> SINH', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasSinh', 'Lexico.py', 1201), ('FTRIGONOMETRICAS -> COSH', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasCosh', 'Lexico.py', 1204), ('FTRIGONOMETRICAS -> TANH', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasTanh', 'Lexico.py', 1207), ('FTRIGONOMETRICAS -> ASINH', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAsinh', 'Lexico.py', 1210), ('FTRIGONOMETRICAS -> ACOSH', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAcosh', 'Lexico.py', 1213), ('FTRIGONOMETRICAS -> ATANH', 'FTRIGONOMETRICAS', 1, 'p_FTrigonometricasAtanh', 'Lexico.py', 1216), ('FUNCION -> AVG', 'FUNCION', 1, 'p_funcionAvg', 'Lexico.py', 1219), ('FUNCION -> SUM', 'FUNCION', 1, 'p_funcionSum', 'Lexico.py', 1222), ('FUNCION -> MIN', 'FUNCION', 1, 'p_funcionMin', 'Lexico.py', 1225), ('FUNCION -> MAX', 'FUNCION', 1, 'p_funcionMax', 'Lexico.py', 1228), ('ALIAS -> AS ID', 'ALIAS', 2, 'p_Alias', 'Lexico.py', 1231), ('ALIAS -> ID', 'ALIAS', 1, 'p_AliasS', 'Lexico.py', 1234), ('ALIAS -> AS IDALIAS', 'ALIAS', 2, 'p_AliasC', 'Lexico.py', 1237), ('ALIAS -> IDALIAS', 'ALIAS', 1, 'p_AliasCS', 'Lexico.py', 1240), ('PFROM -> FROM ID ALIAS', 'PFROM', 3, 'p_FromIdA', 'Lexico.py', 1243), ('PFROM -> FROM ID', 'PFROM', 2, 'p_FromId', 'Lexico.py', 1246), ('PFROM -> FROM PABRE SUBCONSULTA PCIERRA ALIAS', 'PFROM', 5, 'p_FromSub', 'Lexico.py', 1249), ('SUBCONSULTA -> SELECT VALORES PFROM COMPLEMENTO', 'SUBCONSULTA', 4, 'p_SubconsultaFrom', 'Lexico.py', 1252), ('SUBCONSULTA -> SELECT VALORES PFROM PWHERE COMPLEMENTO', 'SUBCONSULTA', 5, 'p_SubconsultaFromW', 'Lexico.py', 1255), ('PWHERE -> WHERE CONDICION', 'PWHERE', 2, 'p_Where', 'Lexico.py', 1259), ('CONDICION -> CONDICION IGUAL CONDICION', 'CONDICION', 3, 'p_CondicionIgual', 'Lexico.py', 1262), ('CONDICION -> CONDICION DIF CONDICION', 'CONDICION', 3, 'p_CondicionDif', 'Lexico.py', 1265), ('CONDICION -> CONDICION DIF1 CONDICION', 'CONDICION', 3, 'p_CondicionDif1', 'Lexico.py', 1268), ('CONDICION -> CONDICION MENOR CONDICION', 'CONDICION', 3, 'p_CondicionMenor', 'Lexico.py', 1271), ('CONDICION -> CONDICION MENORIGUAL CONDICION', 'CONDICION', 3, 'p_CondicionMenorI', 'Lexico.py', 1274), ('CONDICION -> CONDICION MAYOR CONDICION', 'CONDICION', 3, 'p_CondicionMayor', 'Lexico.py', 1277), ('CONDICION -> CONDICION MAYORIGUAL CONDICION', 'CONDICION', 3, 'p_CondicionMayorI', 'Lexico.py', 1280), ('CONDICION -> CONDICION AND CONDICION', 'CONDICION', 3, 'p_CondicionAnd', 'Lexico.py', 1283), ('CONDICION -> CONDICION OR CONDICION', 'CONDICION', 3, 'p_CondicionOr', 'Lexico.py', 1286), ('CONDICION -> NOT CONDICION', 'CONDICION', 2, 'p_CondicionNot', 'Lexico.py', 1289), ('CONDICION -> PABRE CONDICION PCIERRA', 'CONDICION', 3, 'p_CondicionParentesis', 'Lexico.py', 1292), ('CONDICION -> CONDICION MAS CONDICION', 'CONDICION', 3, 'p_CondicionMas', 'Lexico.py', 1295), ('CONDICION -> CONDICION MENOS CONDICION', 'CONDICION', 3, 'p_CondicionMenos', 'Lexico.py', 1298), ('CONDICION -> CONDICION POR CONDICION', 'CONDICION', 3, 'p_CondicionPor', 'Lexico.py', 1301), ('CONDICION -> CONDICION DIVIDIDO CONDICION', 'CONDICION', 3, 'p_CondicionDiv', 'Lexico.py', 1304), ('CONDICION -> CONDICION MODULO CONDICION', 'CONDICION', 3, 'p_CondicionMod', 'Lexico.py', 1307), ('CONDICION -> CONDICION EXP CONDICION', 'CONDICION', 3, 'p_CondicionExp', 'Lexico.py', 1310), ('CONDICION -> CONDICION IS CONDICION', 'CONDICION', 3, 'p_CondicionIs', 'Lexico.py', 1313), ('CONDICION -> CONDICION ISNULL CONDICION', 'CONDICION', 3, 'p_CondicionIsN', 'Lexico.py', 1316), ('CONDICION -> CONDICION NOTNULL CONDICION', 'CONDICION', 3, 'p_CondicionNotN', 'Lexico.py', 1319), ('CONDICION -> MENOS CONDICION', 'CONDICION', 2, 'p_CondicionM', 'Lexico.py', 1322), ('CONDICION -> MAS CONDICION', 'CONDICION', 2, 'p_CondicionP', 'Lexico.py', 1325), ('CONDICION -> EXTRACT PABRE DATETIME FROM PTIMESTAMP PCIERRA', 'CONDICION', 6, 'p_CondicionExtract', 'Lexico.py', 1328), ('CONDICION -> FUNCIONES_WHERE', 'CONDICION', 1, 'p_CondicionFuncionWhere', 'Lexico.py', 1331), ('CONDICION -> NUMERO', 'CONDICION', 1, 'p_CondicionNum', 'Lexico.py', 1334), ('CONDICION -> DECIMAL', 'CONDICION', 1, 'p_CondicionDec', 'Lexico.py', 1337), ('CONDICION -> CADENA', 'CONDICION', 1, 'p_CondicionCad', 'Lexico.py', 1340), ('CONDICION -> TRUE', 'CONDICION', 1, 'p_CondicionTrue', 'Lexico.py', 1343), ('CONDICION -> FALSE', 'CONDICION', 1, 'p_CondicionFalse', 'Lexico.py', 1346), ('CONDICION -> ID', 'CONDICION', 1, 'p_CondicionId', 'Lexico.py', 1349), ('CONDICION -> ID PUNTO ID', 'CONDICION', 3, 'p_CondicionIdP', 'Lexico.py', 1352), ('CONDICION -> FUNCIONES_SISTEMA', 'CONDICION', 1, 'p_CondicionFuncionSistema', 'Lexico.py', 1355), ('CONDICION -> DATE_PART PABRE CADENA COMA INTERVAL CADENA PCIERRA', 'CONDICION', 7, 'p_CondicionDatePart', 'Lexico.py', 1358), ('CONDICION -> CURRENT_DATE', 'CONDICION', 1, 'p_CondicionCurrentDate', 'Lexico.py', 1361), ('CONDICION -> CURRENT_TIME', 'CONDICION', 1, 'p_CondicionCurrentTime', 'Lexico.py', 1364), ('CONDICION -> TIMESTAMP CADENA', 'CONDICION', 2, 'p_CondicionTimeStamp', 'Lexico.py', 1367), ('CONDICION -> CONDICION BETWEEN CONDICION', 'CONDICION', 3, 'p_CondicionBetween', 'Lexico.py', 1370), ('CONDICION -> CONDICION NOT BETWEEN CONDICION', 'CONDICION', 4, 'p_CondicionNotBetween', 'Lexico.py', 1373), ('CONDICION -> CONDICION BETWEEN SIMMETRIC CONDICION', 'CONDICION', 4, 'p_CondicionBetweenSimetric', 'Lexico.py', 1376), ('CONDICION -> CONDICION NOT BETWEEN SIMMETRIC CONDICION', 'CONDICION', 5, 'p_CondicionBetweenNotSimetric', 'Lexico.py', 1379), ('CONDICION -> CONDICION IS DISTINCT FROM CONDICION', 'CONDICION', 5, 'p_CondicionIsDistinct', 'Lexico.py', 1382), ('CONDICION -> CONDICION IS NOT DISTINCT FROM CONDICION', 'CONDICION', 6, 'p_CondicionIsNotDistinct', 'Lexico.py', 1385), ('CONDICION -> NULL', 'CONDICION', 1, 'p_CondicionNull', 'Lexico.py', 1388), ('CONDICION -> UNKNOWN', 'CONDICION', 1, 'p_CondicionUnknown', 'Lexico.py', 1391), ('CONDICION -> PABRE SUBCONSULTA PCIERRA', 'CONDICION', 3, 'p_CondicionSubConsulta', 'Lexico.py', 1394), ('CONDICION -> FUNCION PABRE ID PCIERRA', 'CONDICION', 4, 'p_CondicionFunciones', 'Lexico.py', 1397), ('CONDICION -> FUNCION PABRE ID PUNTO ID PCIERRA', 'CONDICION', 6, 'p_CondicionFunciones1', 'Lexico.py', 1400), ('CONDICION -> NOW PABRE PCIERRA', 'CONDICION', 3, 'p_CondicionNow', 'Lexico.py', 1403), ('FUNCIONES_SISTEMA -> ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA ALIAS', 'FUNCIONES_SISTEMA', 5, 'p_FuncionesSistemaAlias', 'Lexico.py', 1406), ('FUNCIONES_SISTEMA -> ID_FUNCION PABRE LCONDICION_FUNCION PCIERRA', 'FUNCIONES_SISTEMA', 4, 'p_FuncionesSistema', 'Lexico.py', 1409), ('FUNCIONES_SISTEMA -> ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA ALIAS', 'FUNCIONES_SISTEMA', 5, 'p_FuncionesSistemaString', 'Lexico.py', 1412), ('FUNCIONES_SISTEMA -> ID_FUNCION_S PABRE LCONDICION_FUNCION_S PCIERRA', 'FUNCIONES_SISTEMA', 4, 'p_FuncionesSistemaString1', 'Lexico.py', 1415), ('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA ALIAS', 'FUNCIONES_SISTEMA', 8, 'p_FuncionesSistemaTrimA', 'Lexico.py', 1418), ('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH CADENA FROM CADENA PCIERRA', 'FUNCIONES_SISTEMA', 7, 'p_FuncionesSistemaTrim', 'Lexico.py', 1421), ('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA ALIAS', 'FUNCIONES_SISTEMA', 9, 'p_FuncionesSistemaTrimA1', 'Lexico.py', 1424), ('FUNCIONES_SISTEMA -> TRIM PABRE LBOTH FROM CADENA COMA CADENA PCIERRA', 'FUNCIONES_SISTEMA', 8, 'p_FuncionesSistemaTrim1', 'Lexico.py', 1427), ('ID_FUNCION_S -> SUBSTRING', 'ID_FUNCION_S', 1, 'p_Id_FuncionSubstring', 'Lexico.py', 1430), ('ID_FUNCION_S -> LENGTH', 'ID_FUNCION_S', 1, 'p_Id_FuncionLength', 'Lexico.py', 1433), ('ID_FUNCION_S -> SUBSTR', 'ID_FUNCION_S', 1, 'p_Id_FuncionSubstr', 'Lexico.py', 1436), ('LBOTH -> LEADING', 'LBOTH', 1, 'p_LBOTHLeading', 'Lexico.py', 1439), ('LBOTH -> TRAILING', 'LBOTH', 1, 'p_LBOTHTrailing', 'Lexico.py', 1442), ('LBOTH -> BOTH', 'LBOTH', 1, 'p_LBOTHBoth', 'Lexico.py', 1445), ('LCONDICION_FUNCION_S -> CONDICION', 'LCONDICION_FUNCION_S', 1, 'p_LCondicionFuncion_Condicion', 'Lexico.py', 1448), ('LCONDICION_FUNCION_S -> CONDICION COMA NUMERO COMA NUMERO', 'LCONDICION_FUNCION_S', 5, 'p_LCondicionFuncion_S', 'Lexico.py', 1451), ('ID_FUNCION -> ABS', 'ID_FUNCION', 1, 'p_IdFuncionAbs', 'Lexico.py', 1454), ('ID_FUNCION -> CBRT', 'ID_FUNCION', 1, 'p_IdFuncionCBRT', 'Lexico.py', 1457), ('ID_FUNCION -> CEIL', 'ID_FUNCION', 1, 'p_IdFuncionCeil', 'Lexico.py', 1460), ('ID_FUNCION -> CEILING', 'ID_FUNCION', 1, 'p_IdFuncionCeiling', 'Lexico.py', 1463), ('LCONDICION_FUNCION -> CONDICION', 'LCONDICION_FUNCION', 1, 'p_LCondicionFuncion1', 'Lexico.py', 1466), ('LCONDICION_FUNCION -> LCONDICION_FUNCION COMA CONDICION', 'LCONDICION_FUNCION', 3, 'p_LCondicionFuncion', 'Lexico.py', 1469), ('DATETIME -> YEAR', 'DATETIME', 1, 'p_DateTimeYear', 'Lexico.py', 1472), ('DATETIME -> HOUR', 'DATETIME', 1, 'p_DateTimeHour', 'Lexico.py', 1475), ('DATETIME -> MINUTE', 'DATETIME', 1, 'p_DateTimeMinute', 'Lexico.py', 1478), ('DATETIME -> SECOND', 'DATETIME', 1, 'p_DateTimeSecond', 'Lexico.py', 1481), ('DATETIME -> MONTH', 'DATETIME', 1, 'p_DateTimeMonth', 'Lexico.py', 1484), ('DATETIME -> DAY', 'DATETIME', 1, 'p_DateTimeDay', 'Lexico.py', 1487), ('FUNCIONES_WHERE -> EXISTS PABRE SUBCONSULTA PCIERRA', 'FUNCIONES_WHERE', 4, 'p_FuncionesWhereExist', 'Lexico.py', 1490), ('FUNCIONES_WHERE -> CONDICION IN PABRE SUBCONSULTA PCIERRA', 'FUNCIONES_WHERE', 5, 'p_FuncionesWhereIn', 'Lexico.py', 1493), ('FUNCIONES_WHERE -> CONDICION NOT IN PABRE SUBCONSULTA PCIERRA', 'FUNCIONES_WHERE', 6, 'p_FuncionesWhereNotIn', 'Lexico.py', 1496), ('FUNCIONES_WHERE -> CONDICION OPERATOR_FW ANY PABRE SUBCONSULTA PCIERRA', 'FUNCIONES_WHERE', 6, 'p_FuncionesWhereAny', 'Lexico.py', 1499), ('FUNCIONES_WHERE -> CONDICION OPERATOR_FW ALL PABRE SUBCONSULTA PCIERRA', 'FUNCIONES_WHERE', 6, 'p_FuncionesWhereAll', 'Lexico.py', 1502), ('FUNCIONES_WHERE -> CONDICION OPERATOR_FW SOME PABRE SUBCONSULTA PCIERRA', 'FUNCIONES_WHERE', 6, 'p_FuncionesWhereSome', 'Lexico.py', 1505), ('FUNCIONES_WHERE -> CONDICION LIKE CADENA', 'FUNCIONES_WHERE', 3, 'p_FuncionesWhereLike', 'Lexico.py', 1508), ('FUNCIONES_WHERE -> CONDICION NOT LIKE CADENA', 'FUNCIONES_WHERE', 4, 'p_FuncionesWhereNotLike', 'Lexico.py', 1511), ('OPERATOR_FW -> MENOR', 'OPERATOR_FW', 1, 'p_OperatorFwMenor', 'Lexico.py', 1514), ('OPERATOR_FW -> MAYOR', 'OPERATOR_FW', 1, 'p_OperatorFwMayor', 'Lexico.py', 1517), ('OPERATOR_FW -> MENORIGUAL', 'OPERATOR_FW', 1, 'p_OperatorFwMenorIgual', 'Lexico.py', 1520), ('OPERATOR_FW -> MAYORIGUAL', 'OPERATOR_FW', 1, 'p_OperatorFwMayorIgual', 'Lexico.py', 1523), ('OPERATOR_FW -> IGUAL', 'OPERATOR_FW', 1, 'p_OperatorFwIgual', 'Lexico.py', 1526), ('OPERATOR_FW -> DIF', 'OPERATOR_FW', 1, 'p_OperatorFwDif', 'Lexico.py', 1529), ('OPERATOR_FW -> DIF1', 'OPERATOR_FW', 1, 'p_OperatorFwDif1', 'Lexico.py', 1532), ('PTIMESTAMP -> TIMESTAMP CADENA', 'PTIMESTAMP', 2, 'p_PTimestamC', 'Lexico.py', 1535), ('PTIMESTAMP -> TIMESTAMP ID', 'PTIMESTAMP', 2, 'p_PTimestamId', 'Lexico.py', 1538), ('PTIMESTAMP -> TIMESTAMP ID PUNTO ID', 'PTIMESTAMP', 4, 'p_PTimestamIdPId', 'Lexico.py', 1541), ('PTIMESTAMP -> CADENA', 'PTIMESTAMP', 1, 'p_PTimestamCadena', 'Lexico.py', 1544), ('PTIMESTAMP -> ID', 'PTIMESTAMP', 1, 'p_PTimestamId1', 'Lexico.py', 1547), ('PTIMESTAMP -> ID PUNTO ID', 'PTIMESTAMP', 3, 'p_PTimestamIdP', 'Lexico.py', 1550), ('EMPTY -> <empty>', 'EMPTY', 0, 'p_empty', 'Lexico.py', 1553)] |
#variable
text1 = 'linux'
angka1int = 100
angka2flo = 10.5
'''
NOTE*
%s - digunakan untuk String
%d - digunakan untuk Integer
%f - digunakan untuk Float
sumber referensi: https://www.learnpython.org/en/String_Formatting
'''
#dengan menggunakan % bisa memanggil kata yang berada pada variable yang akan dipanggil
print('saya menggunakan OS %s'%text1)
#menampilkan output angka integer
print('angka integer %d'%angka1int)
#menampilkan output angka float
print('angka float %f'%angka2flo) | text1 = 'linux'
angka1int = 100
angka2flo = 10.5
'\nNOTE*\n%s - digunakan untuk String\n%d - digunakan untuk Integer\n%f - digunakan untuk Float\n\nsumber referensi: https://www.learnpython.org/en/String_Formatting\n'
print('saya menggunakan OS %s' % text1)
print('angka integer %d' % angka1int)
print('angka float %f' % angka2flo) |
def sortX(points):
points.sort(key = lambda x:x[0])
return points
def sortY(points):
points.sort(key = lambda x:x[1])
return points
def compareX(a,b):
return a[0] - b[0]
def compareY(a,b):
return a[1] - b[1]
def distance(a,b):
return ((a[0] - b[0])**2 + (a[1] - b[1])**2)**0.5
def bruteforce(points):
min = 1e20
for i in range(len(points)):
for j in range(i+1,len(points)):
if distance(points[i],points[j]) < min:
min = distance(points[i],points[j])
return min
def stripClosest(strip,d):
min = d
strip = sortY(strip)
for i in range(len(strip)):
for j in range(i+1,len(strip)):
if compareY(strip[j],strip[i]) < min:
if distance(strip[i],strip[j]) < min:
min = distance(strip[i],strip[j])
return min
def closestUtil(points):
if len(points) <= 3:
return bruteforce(points)
mid = len(points)//2
midpoint = points[mid]
dl = closestUtil(points[:mid])
dr = closestUtil(points[mid:])
d = min(dl,dr)
strip = []
for i in range(len(points)):
if abs(compareX(points[i],midpoint)) < d:
strip.append(points[i])
return min(d,stripClosest(strip,d))
def closest(points):
points = sortX(points)
return closestUtil(points)
if __name__ == '__main__':
size = int(input('Enter a total number of points: '))
points = []
for i in range(1,size+1):
a,b = input(f'Enter point {i}: ').split()
points.append((int(a),int(b)))
print(f'Closest distance between point is {round(closest(points),3)}')
| def sort_x(points):
points.sort(key=lambda x: x[0])
return points
def sort_y(points):
points.sort(key=lambda x: x[1])
return points
def compare_x(a, b):
return a[0] - b[0]
def compare_y(a, b):
return a[1] - b[1]
def distance(a, b):
return ((a[0] - b[0]) ** 2 + (a[1] - b[1]) ** 2) ** 0.5
def bruteforce(points):
min = 1e+20
for i in range(len(points)):
for j in range(i + 1, len(points)):
if distance(points[i], points[j]) < min:
min = distance(points[i], points[j])
return min
def strip_closest(strip, d):
min = d
strip = sort_y(strip)
for i in range(len(strip)):
for j in range(i + 1, len(strip)):
if compare_y(strip[j], strip[i]) < min:
if distance(strip[i], strip[j]) < min:
min = distance(strip[i], strip[j])
return min
def closest_util(points):
if len(points) <= 3:
return bruteforce(points)
mid = len(points) // 2
midpoint = points[mid]
dl = closest_util(points[:mid])
dr = closest_util(points[mid:])
d = min(dl, dr)
strip = []
for i in range(len(points)):
if abs(compare_x(points[i], midpoint)) < d:
strip.append(points[i])
return min(d, strip_closest(strip, d))
def closest(points):
points = sort_x(points)
return closest_util(points)
if __name__ == '__main__':
size = int(input('Enter a total number of points: '))
points = []
for i in range(1, size + 1):
(a, b) = input(f'Enter point {i}: ').split()
points.append((int(a), int(b)))
print(f'Closest distance between point is {round(closest(points), 3)}') |
########################################################################################################################
### ###
### This module uses a width of max. 120 characters ###
### ###
### Author: Marco Wurth, July 2021 ###
### Tested with Python 3.9 and Fedora Linux ###
### Non-standard packages needed: None ###
### ###
### Content: ###
### The function in this module serves as a library for different domains that I used defined by a center ###
### coordinate and a radius in km around it ###
### Feel free to modify or add more domains! ###
### ###
### Usage: ###
### This module here containes functions that have to be imported by another function or script ###
### ###
########################################################################################################################
def get_image_domain(domain_name):
if domain_name == 'GOES-East_fulldisk':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = 0, centerlon = -75.2, radius = 7450)
elif domain_name == 'Atacama_Squared':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -22.5, centerlon = -71.4, radius = 1000)
elif domain_name == 'Atacama_Peru_West':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -15.4, centerlon = -74.5, radius = 300)
elif domain_name == 'Atacama_Peru_East':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -17.4, centerlon = -71.8, radius = 300)
elif domain_name == 'Atacama_Chile_North':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -20.1, centerlon = -70.3, radius = 300)
elif domain_name == 'Atacama_Chile_Central':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -24.5, centerlon = -70.5, radius = 300)
elif domain_name == 'Atacama_Chile_South':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -29.0, centerlon = -71.3, radius = 300)
elif domain_name == 'Argentina_Central':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -34.6, centerlon = -64.4, radius = 800)
elif domain_name == 'Argentina_Central_cerca':
domain = dict(name = domain_name, limits_type = 'radius',
centerlat = -36.0, centerlon = -66.0, radius = 500)
else:
print('domain unknown:', domain_name)
exit()
return domain
| def get_image_domain(domain_name):
if domain_name == 'GOES-East_fulldisk':
domain = dict(name=domain_name, limits_type='radius', centerlat=0, centerlon=-75.2, radius=7450)
elif domain_name == 'Atacama_Squared':
domain = dict(name=domain_name, limits_type='radius', centerlat=-22.5, centerlon=-71.4, radius=1000)
elif domain_name == 'Atacama_Peru_West':
domain = dict(name=domain_name, limits_type='radius', centerlat=-15.4, centerlon=-74.5, radius=300)
elif domain_name == 'Atacama_Peru_East':
domain = dict(name=domain_name, limits_type='radius', centerlat=-17.4, centerlon=-71.8, radius=300)
elif domain_name == 'Atacama_Chile_North':
domain = dict(name=domain_name, limits_type='radius', centerlat=-20.1, centerlon=-70.3, radius=300)
elif domain_name == 'Atacama_Chile_Central':
domain = dict(name=domain_name, limits_type='radius', centerlat=-24.5, centerlon=-70.5, radius=300)
elif domain_name == 'Atacama_Chile_South':
domain = dict(name=domain_name, limits_type='radius', centerlat=-29.0, centerlon=-71.3, radius=300)
elif domain_name == 'Argentina_Central':
domain = dict(name=domain_name, limits_type='radius', centerlat=-34.6, centerlon=-64.4, radius=800)
elif domain_name == 'Argentina_Central_cerca':
domain = dict(name=domain_name, limits_type='radius', centerlat=-36.0, centerlon=-66.0, radius=500)
else:
print('domain unknown:', domain_name)
exit()
return domain |
def calc_score(ox_list):
result_scores = []
for i in range(len(ox_list)):
score = 0
O_cnt = 0
for s in ox_list[i]:
if s == 'O':
O_cnt += 1
score += O_cnt
elif s == 'X':
O_cnt = 0
result_scores.append(score)
return result_scores
def main():
T = int(input())
ox_list = []
for i in range(T):
ox_str = input()
ox_list.append(ox_str)
score_list = calc_score(ox_list)
for j in range(len(score_list)):
print(score_list[j])
if __name__ == "__main__":
main()
| def calc_score(ox_list):
result_scores = []
for i in range(len(ox_list)):
score = 0
o_cnt = 0
for s in ox_list[i]:
if s == 'O':
o_cnt += 1
score += O_cnt
elif s == 'X':
o_cnt = 0
result_scores.append(score)
return result_scores
def main():
t = int(input())
ox_list = []
for i in range(T):
ox_str = input()
ox_list.append(ox_str)
score_list = calc_score(ox_list)
for j in range(len(score_list)):
print(score_list[j])
if __name__ == '__main__':
main() |
#
# PySNMP MIB module ORADB-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ORADB-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:35:28 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint")
rdbmsDbIndex, = mibBuilder.importSymbols("RDBMS-MIB", "rdbmsDbIndex")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Unsigned32, MibIdentifier, experimental, iso, Integer32, TimeTicks, Gauge32, Bits, ModuleIdentity, ObjectIdentity, Counter32, Counter64, enterprises = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Unsigned32", "MibIdentifier", "experimental", "iso", "Integer32", "TimeTicks", "Gauge32", "Bits", "ModuleIdentity", "ObjectIdentity", "Counter32", "Counter64", "enterprises")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
class DateAndTime(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 11)
class TruthValue(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("true", 1), ("false", 2))
oracle = MibIdentifier((1, 3, 6, 1, 4, 1, 111))
oraDbMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 111, 4))
oraDbObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 111, 4, 1))
oraDbSysTable = MibTable((1, 3, 6, 1, 4, 1, 111, 4, 1, 1), )
if mibBuilder.loadTexts: oraDbSysTable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysTable.setDescription('Oracle-specific performance information global to a database.')
oraDbSysEntry = MibTableRow((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1), ).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"))
if mibBuilder.loadTexts: oraDbSysEntry.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysEntry.setDescription('Selected info from the v$sysstat table on instance performance. Variables are included here because they have been found particularly useful in tuning an Oracle instance. In many cases, the variable should only be considered in conjunction with other variables, often as a ratio. Frequently, hints on these are given in the descriptions, but Oracle tuning documentation should always be consulted, particularly the Oracle University course on tuning V7 applications.')
oraDbSysConsistentChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysConsistentChanges.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysConsistentChanges.setDescription("the 'consistent changes' parameter from v$sysstat")
oraDbSysConsistentGets = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysConsistentGets.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysConsistentGets.setDescription("the 'consistent gets' parameter from v$sysstat")
oraDbSysDbBlockChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysDbBlockChanges.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysDbBlockChanges.setDescription("the 'Db block changes' parameter from v$sysstat")
oraDbSysDbBlockGets = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysDbBlockGets.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysDbBlockGets.setDescription("the 'db block gets' parameter from v$sysstat")
oraDbSysFreeBufferInspected = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysFreeBufferInspected.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysFreeBufferInspected.setDescription("the 'free buffer inspected' parameter from v$sysstat")
oraDbSysFreeBufferRequested = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysFreeBufferRequested.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysFreeBufferRequested.setDescription("the 'free buffer requested' parameter from v$sysstat")
oraDbSysParseCount = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysParseCount.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysParseCount.setDescription("the 'parse count' parameter from v$sysstat")
oraDbSysPhysReads = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysPhysReads.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysPhysReads.setDescription("the 'physical reads' parameter from v$sysstat")
oraDbSysPhysWrites = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysPhysWrites.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysPhysWrites.setDescription("the 'physical writes' parameter from v$sysstat")
oraDbSysRedoEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysRedoEntries.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysRedoEntries.setDescription("the 'redo entries' parameter from v$sysstat")
oraDbSysRedoLogSpaceRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysRedoLogSpaceRequests.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysRedoLogSpaceRequests.setDescription("the 'redo log space requests' parameter from v$sysstat")
oraDbSysRedoSyncWrites = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysRedoSyncWrites.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysRedoSyncWrites.setDescription("the 'redo synch writes' parameter from v$sysstat")
oraDbSysSortsDisk = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysSortsDisk.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysSortsDisk.setDescription("the 'sorts (disk)' parameter from v$sysstat")
oraDbSysSortsMemory = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysSortsMemory.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysSortsMemory.setDescription("the 'sorts (memory)' parameter from v$sysstat")
oraDbSysSortsRows = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysSortsRows.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysSortsRows.setDescription("the 'sorts (rows)' parameter from v$sysstat")
oraDbSysTableFetchRowid = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysTableFetchRowid.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysTableFetchRowid.setDescription("the 'table fetch by rowid' parameter from v$sysstat")
oraDbSysTableFetchContinuedRow = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysTableFetchContinuedRow.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysTableFetchContinuedRow.setDescription("the 'table fetch continued row' parameter from v$sysstat")
oraDbSysTableScanBlocks = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysTableScanBlocks.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysTableScanBlocks.setDescription("the 'table scan blocks gotten' parameter from v$sysstat")
oraDbSysTableScanRows = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysTableScanRows.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysTableScanRows.setDescription("the 'table scan rows gotten' parameter from v$sysstat")
oraDbSysTableScansLong = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysTableScansLong.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysTableScansLong.setDescription("the 'table scans (long tables)' parameter from v$sysstat")
oraDbSysTableScansShort = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysTableScansShort.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysTableScansShort.setDescription("the 'table scans (short tables)' parameter from v$sysstat")
oraDbSysUserCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysUserCalls.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysUserCalls.setDescription("the 'user calls' parameter from v$sysstat")
oraDbSysUserCommits = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysUserCommits.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysUserCommits.setDescription("the 'user commits' parameter from v$sysstat")
oraDbSysUserRollbacks = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysUserRollbacks.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysUserRollbacks.setDescription("the 'user rollbacks' parameter from v$sysstat")
oraDbSysWriteRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSysWriteRequests.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSysWriteRequests.setDescription("the 'write requests' parameter from v$sysstat")
oraDbTablespaceTable = MibTable((1, 3, 6, 1, 4, 1, 111, 4, 1, 2), )
if mibBuilder.loadTexts: oraDbTablespaceTable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceTable.setDescription('Information on tablespaces within an Oracle database.')
oraDbTablespaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1), ).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"), (0, "ORADB-MIB", "oraDbTablespaceIndex"))
if mibBuilder.loadTexts: oraDbTablespaceEntry.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceEntry.setDescription('Information for each tablespace within an Oracle database.')
oraDbTablespaceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbTablespaceIndex.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceIndex.setDescription('A numeric index, unique among tablespaces within a single Oracle database.')
oraDbTablespaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbTablespaceName.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceName.setDescription('The name of this tablespace.')
oraDbTablespaceSizeAllocated = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbTablespaceSizeAllocated.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceSizeAllocated.setDescription('The amount of disk space, in kilobytes, allocated for this tablespace. This is the sum of the sizes of the data files associated with the tablespace.')
oraDbTablespaceSizeUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbTablespaceSizeUsed.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceSizeUsed.setDescription('The amount of disk space, in kilobytes, which is actually in use for storing data.')
oraDbTablespaceState = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("online", 1), ("offline", 2), ("invalid", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbTablespaceState.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceState.setDescription('The current accessibility of this tablespace. If a tablespace is offline(2), then SQL statements cannot reference objects contained in the tablespace. An invalid(3) tablespace is one that has been dropped.')
oraDbTablespaceLargestAvailableChunk = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbTablespaceLargestAvailableChunk.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbTablespaceLargestAvailableChunk.setDescription('The size, in kilobytes, of the largest contiguous set of free data blocks in the tablespace.')
oraDbDataFileTable = MibTable((1, 3, 6, 1, 4, 1, 111, 4, 1, 3), )
if mibBuilder.loadTexts: oraDbDataFileTable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileTable.setDescription('Information on data files within an Oracle database.')
oraDbDataFileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1), ).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"), (0, "ORADB-MIB", "oraDbDataFileIndex"))
if mibBuilder.loadTexts: oraDbDataFileEntry.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileEntry.setDescription('Information for each data file within an Oracle database.')
oraDbDataFileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileIndex.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileIndex.setDescription('A numeric index, unique among data files associated with a single tablespace.')
oraDbDataFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileName.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileName.setDescription('The fully-qualified name of this datafile.')
oraDbDataFileSizeAllocated = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2147483648, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileSizeAllocated.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileSizeAllocated.setDescription('The allocated size, in kilobytes, of this data file.')
oraDbDataFileDiskReads = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileDiskReads.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileDiskReads.setDescription('The total number of reads issued against this data file since startup.')
oraDbDataFileDiskWrites = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileDiskWrites.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileDiskWrites.setDescription('The total number of writes issued against this data file since startup.')
oraDbDataFileDiskReadBlocks = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileDiskReadBlocks.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileDiskReadBlocks.setDescription('The total number of physical blocks read from this data file since startup.')
oraDbDataFileDiskWrittenBlocks = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileDiskWrittenBlocks.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileDiskWrittenBlocks.setDescription('The total number of physical blocks written to this data file since startup.')
oraDbDataFileDiskReadTimeTicks = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileDiskReadTimeTicks.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileDiskReadTimeTicks.setDescription('The time spent reading from this data file since startup IF the database parameter TIMED_STATISTICS is TRUE. If TIMED_STATISTICS is FALSE, then the value will be zero.')
oraDbDataFileDiskWriteTimeTicks = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbDataFileDiskWriteTimeTicks.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbDataFileDiskWriteTimeTicks.setDescription('The time spent writing to this data file since startup IF the database parameter TIMED_STATISTICS is TRUE. If TIMED_STATISTICS is FALSE, then the value will be zero.')
oraDbLibraryCacheTable = MibTable((1, 3, 6, 1, 4, 1, 111, 4, 1, 4), )
if mibBuilder.loadTexts: oraDbLibraryCacheTable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheTable.setDescription('Information on libraryCache performance.')
oraDbLibraryCacheEntry = MibTableRow((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1), ).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"), (0, "ORADB-MIB", "oraDbLibraryCacheIndex"))
if mibBuilder.loadTexts: oraDbLibraryCacheEntry.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheEntry.setDescription('LibraryCache information for each Oracle database.')
oraDbLibraryCacheIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheIndex.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheIndex.setDescription('A unique integer for each row of the table.')
oraDbLibraryCacheNameSpace = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheNameSpace.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheNameSpace.setDescription('The namespace of the v$librarycache table that this row relates to.')
oraDbLibraryCacheGets = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheGets.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheGets.setDescription('Number of times the system requests handles to library objects in this namespace.')
oraDbLibraryCacheGetHits = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheGetHits.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheGetHits.setDescription('Number of times the handles are already allocated in the cache.')
oraDbLibraryCachePins = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCachePins.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCachePins.setDescription('Number of times the system issues pin requests for objects in the cache in order to access them.')
oraDbLibraryCachePinHits = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCachePinHits.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCachePinHits.setDescription('Number of times the objects the system is pinning are already allocated and initialized in the cache.')
oraDbLibraryCacheReloads = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheReloads.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheReloads.setDescription('Number of times the library objects have to be reinitialized and reloaded with data because they have been aged out or invalidated')
oraDbLibraryCacheInvalidations = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheInvalidations.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheInvalidations.setDescription('Number of times that non-persistent library objects (like shared SQL areas) have been invalidated.')
oraDbLibraryCacheSumTable = MibTable((1, 3, 6, 1, 4, 1, 111, 4, 1, 5), )
if mibBuilder.loadTexts: oraDbLibraryCacheSumTable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumTable.setDescription('Information on library cache performance, summed over all library caches in a single database instance.')
oraDbLibraryCacheSumEntry = MibTableRow((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1), ).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"))
if mibBuilder.loadTexts: oraDbLibraryCacheSumEntry.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumEntry.setDescription('LibraryCache information, summed over all library caches, for each Oracle database.')
oraDbLibraryCacheSumGets = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheSumGets.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumGets.setDescription('Number of times the system requests handles to library objects, summed over all library caches in the instance.')
oraDbLibraryCacheSumGetHits = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheSumGetHits.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumGetHits.setDescription('Number of times the handles are already allocated in the cache, summed over all library caches in the instance.')
oraDbLibraryCacheSumPins = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheSumPins.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumPins.setDescription('Number of times the system issues pin requests for objects in a cache in order to access them, summed over all library caches in the instance.')
oraDbLibraryCacheSumPinHits = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheSumPinHits.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumPinHits.setDescription('Number of times the objects the system is pinning are already allocated and initialized in a cache, summed over all library caches in the instance.')
oraDbLibraryCacheSumReloads = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheSumReloads.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumReloads.setDescription('Number of times the library objects have to be reinitialized and reloaded with data because they have been aged out or invalidated, summed over all library caches in the instance.')
oraDbLibraryCacheSumInvalidations = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbLibraryCacheSumInvalidations.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbLibraryCacheSumInvalidations.setDescription('Number of times that non-persistent library objects (like shared SQL areas) have been invalidated, summed over all library caches in the instance.')
oraDbSGATable = MibTable((1, 3, 6, 1, 4, 1, 111, 4, 1, 6), )
if mibBuilder.loadTexts: oraDbSGATable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSGATable.setDescription('Summary information on the System Global Area')
oraDbSGAEntry = MibTableRow((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1), ).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"))
if mibBuilder.loadTexts: oraDbSGAEntry.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSGAEntry.setDescription('A single entry from the v$sga table')
oraDbSGAFixedSize = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSGAFixedSize.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSGAFixedSize.setDescription('')
oraDbSGAVariableSize = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSGAVariableSize.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSGAVariableSize.setDescription('')
oraDbSGADatabaseBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSGADatabaseBuffers.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSGADatabaseBuffers.setDescription('')
oraDbSGARedoBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbSGARedoBuffers.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbSGARedoBuffers.setDescription('')
oraDbConfigTable = MibTable((1, 3, 6, 1, 4, 1, 111, 4, 1, 7), )
if mibBuilder.loadTexts: oraDbConfigTable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigTable.setDescription('Oracle-specific configuration information global to a database.')
oraDbConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1), ).setIndexNames((0, "RDBMS-MIB", "rdbmsDbIndex"))
if mibBuilder.loadTexts: oraDbConfigEntry.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigEntry.setDescription("Oracle-specific configuration information. This table only lists a few init.ora parameters that are particularly relevant to the task of monitoring database performance. By giving them easy-to-use, fixed object-ids, we make it easier to graph them along with the dynamic performance values that they affect. A complete list of parameters can be found in the Internet standard MIB 'Config' objects.")
oraDbConfigDbBlockBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDbBlockBuffers.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDbBlockBuffers.setDescription('The DB_BLOCK_BUFFERS parameter from the init.ora file ')
oraDbConfigDbBlockCkptBatch = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDbBlockCkptBatch.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDbBlockCkptBatch.setDescription('The DB_BLOCK_CHECKPOINT_BATCH parameter from the init.ora file ')
oraDbConfigDbBlockSize = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDbBlockSize.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDbBlockSize.setDescription('The DB_BLOCK_SIZE parameter from the init.ora file ')
oraDbConfigDbFileSimWrites = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDbFileSimWrites.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDbFileSimWrites.setDescription('The DB_FILE_SIMULTANEOUS_WRITES parameter from the init.ora file ')
oraDbConfigDbMultiBlockReadCount = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDbMultiBlockReadCount.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDbMultiBlockReadCount.setDescription('The DB_MULTIBLOCK_READ_COUNT parameter from the init.ora file ')
oraDbConfigDistLockTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDistLockTimeout.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDistLockTimeout.setDescription('The DISTRIBUTED_LOCK_TIMEOUT parameter from the init.ora file ')
oraDbConfigDistRecoveryConnectHold = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDistRecoveryConnectHold.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDistRecoveryConnectHold.setDescription('The DISTRIBUTED_RECOVERY_CONNECT_HOLD parameter from the init.ora file ')
oraDbConfigDistTransactions = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigDistTransactions.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigDistTransactions.setDescription('The DISTRIBUTED_TRANSACTIONS parameter from the init.ora file ')
oraDbConfigLogArchiveBufferSize = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigLogArchiveBufferSize.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigLogArchiveBufferSize.setDescription('The LOG_ARCHIVE_BUFFER_SIZE parameter from the init.ora file ')
oraDbConfigLogArchiveBuffers = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigLogArchiveBuffers.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigLogArchiveBuffers.setDescription('The LOG_ARCHIVE_BUFFERS parameter from the init.ora file ')
oraDbConfigLogBuffer = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigLogBuffer.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigLogBuffer.setDescription('The LOG_BUFFER parameter from the init.ora file ')
oraDbConfigLogCheckpointInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigLogCheckpointInterval.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigLogCheckpointInterval.setDescription('The LOG_CHECKPOINT_INTERVAL parameter from the init.ora file ')
oraDbConfigLogCheckpointTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigLogCheckpointTimeout.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigLogCheckpointTimeout.setDescription('The LOG_CHECKPOINT_TIMEOUT parameter from the init.ora file ')
oraDbConfigLogFiles = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigLogFiles.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigLogFiles.setDescription('The LOG_FILES parameter from the init.ora file ')
oraDbConfigMaxRollbackSegments = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigMaxRollbackSegments.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigMaxRollbackSegments.setDescription('The MAX_ROLLBACK_SEGMENTS parameter from the init.ora file ')
oraDbConfigMTSMaxDispatchers = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigMTSMaxDispatchers.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigMTSMaxDispatchers.setDescription('The MTS_MAX_DISPATCHERS parameter from the init.ora file ')
oraDbConfigMTSMaxServers = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigMTSMaxServers.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigMTSMaxServers.setDescription('The MTS_MAX_SERVERS parameter from the init.ora file ')
oraDbConfigMTSServers = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigMTSServers.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigMTSServers.setDescription('The MTS_SERVERS parameter from the init.ora file ')
oraDbConfigOpenCursors = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigOpenCursors.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigOpenCursors.setDescription('The OPEN_CURSORS parameter from the init.ora file ')
oraDbConfigOpenLinks = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigOpenLinks.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigOpenLinks.setDescription('The OPEN_LINKS parameter from the init.ora file ')
oraDbConfigOptimizerMode = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 21), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigOptimizerMode.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigOptimizerMode.setDescription('The OPTIMIZER_MODE parameter from the init.ora file ')
oraDbConfigProcesses = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigProcesses.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigProcesses.setDescription('The PROCESSES parameter from the init.ora file ')
oraDbConfigSerializable = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 23), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigSerializable.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigSerializable.setDescription('The SERIALIZABLE parameter from the init.ora file ')
oraDbConfigSessions = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigSessions.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigSessions.setDescription('The SESSIONS parameter from the init.ora file ')
oraDbConfigSharedPool = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigSharedPool.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigSharedPool.setDescription('The SHARED_POOL parameter from the init.ora file ')
oraDbConfigSortAreaSize = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigSortAreaSize.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigSortAreaSize.setDescription('The SORT_AREA_SIZE parameter from the init.ora file ')
oraDbConfigSortAreaRetainedSize = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigSortAreaRetainedSize.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigSortAreaRetainedSize.setDescription('The SORT_AREA_RETAINED_SIZE parameter from the init.ora file ')
oraDbConfigTransactions = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigTransactions.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigTransactions.setDescription('The TRANSACTIONS parameter from the init.ora file ')
oraDbConfigTransactionsPerRollback = MibTableColumn((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 29), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oraDbConfigTransactionsPerRollback.setStatus('mandatory')
if mibBuilder.loadTexts: oraDbConfigTransactionsPerRollback.setDescription('The TRANSACTIONS_PER_ROLLBACK parameter from the init.ora file ')
mibBuilder.exportSymbols("ORADB-MIB", oraDbSysUserRollbacks=oraDbSysUserRollbacks, oraDbSysRedoSyncWrites=oraDbSysRedoSyncWrites, oraDbDataFileDiskReads=oraDbDataFileDiskReads, oraDbConfigSortAreaSize=oraDbConfigSortAreaSize, oraDbLibraryCacheGets=oraDbLibraryCacheGets, oraDbSysTable=oraDbSysTable, oraDbSysTableScansShort=oraDbSysTableScansShort, oraDbSGARedoBuffers=oraDbSGARedoBuffers, oraDbSysSortsDisk=oraDbSysSortsDisk, oraDbLibraryCacheSumReloads=oraDbLibraryCacheSumReloads, oraDbConfigMTSMaxDispatchers=oraDbConfigMTSMaxDispatchers, oraDbConfigMTSMaxServers=oraDbConfigMTSMaxServers, oraDbSysEntry=oraDbSysEntry, oraDbConfigDbBlockBuffers=oraDbConfigDbBlockBuffers, oraDbConfigOptimizerMode=oraDbConfigOptimizerMode, oraDbSysTableFetchRowid=oraDbSysTableFetchRowid, oraDbConfigSortAreaRetainedSize=oraDbConfigSortAreaRetainedSize, oraDbDataFileSizeAllocated=oraDbDataFileSizeAllocated, oraDbTablespaceTable=oraDbTablespaceTable, oraDbLibraryCacheEntry=oraDbLibraryCacheEntry, oraDbSysUserCommits=oraDbSysUserCommits, oraDbLibraryCacheSumGetHits=oraDbLibraryCacheSumGetHits, oraDbLibraryCacheNameSpace=oraDbLibraryCacheNameSpace, oraDbSGATable=oraDbSGATable, oraDbDataFileDiskWrittenBlocks=oraDbDataFileDiskWrittenBlocks, oraDbSysTableScanBlocks=oraDbSysTableScanBlocks, oraDbConfigEntry=oraDbConfigEntry, oraDbDataFileTable=oraDbDataFileTable, oraDbConfigLogBuffer=oraDbConfigLogBuffer, oraDbLibraryCacheReloads=oraDbLibraryCacheReloads, oraDbConfigDistRecoveryConnectHold=oraDbConfigDistRecoveryConnectHold, oraDbConfigSerializable=oraDbConfigSerializable, oraDbSysSortsMemory=oraDbSysSortsMemory, oraDbDataFileDiskReadTimeTicks=oraDbDataFileDiskReadTimeTicks, oraDbLibraryCacheSumPinHits=oraDbLibraryCacheSumPinHits, oraDbConfigMTSServers=oraDbConfigMTSServers, oraDbTablespaceSizeUsed=oraDbTablespaceSizeUsed, oraDbDataFileEntry=oraDbDataFileEntry, oraDbSysFreeBufferRequested=oraDbSysFreeBufferRequested, oraDbLibraryCacheIndex=oraDbLibraryCacheIndex, oraDbConfigMaxRollbackSegments=oraDbConfigMaxRollbackSegments, oraDbSysPhysReads=oraDbSysPhysReads, oraDbSysTableScansLong=oraDbSysTableScansLong, oraDbSysParseCount=oraDbSysParseCount, oraDbConfigTransactionsPerRollback=oraDbConfigTransactionsPerRollback, oraDbLibraryCacheSumPins=oraDbLibraryCacheSumPins, oraDbSysPhysWrites=oraDbSysPhysWrites, oraDbConfigSharedPool=oraDbConfigSharedPool, oraDbObjects=oraDbObjects, oraDbSysRedoEntries=oraDbSysRedoEntries, oraDbMIB=oraDbMIB, oraDbDataFileDiskReadBlocks=oraDbDataFileDiskReadBlocks, TruthValue=TruthValue, oraDbSysFreeBufferInspected=oraDbSysFreeBufferInspected, oraDbLibraryCacheSumTable=oraDbLibraryCacheSumTable, oraDbConfigDbFileSimWrites=oraDbConfigDbFileSimWrites, oraDbSysWriteRequests=oraDbSysWriteRequests, oraDbConfigLogArchiveBufferSize=oraDbConfigLogArchiveBufferSize, oraDbDataFileName=oraDbDataFileName, oracle=oracle, oraDbConfigOpenLinks=oraDbConfigOpenLinks, oraDbSGADatabaseBuffers=oraDbSGADatabaseBuffers, oraDbSGAFixedSize=oraDbSGAFixedSize, oraDbConfigDbBlockCkptBatch=oraDbConfigDbBlockCkptBatch, oraDbConfigTransactions=oraDbConfigTransactions, oraDbLibraryCacheInvalidations=oraDbLibraryCacheInvalidations, oraDbLibraryCacheSumInvalidations=oraDbLibraryCacheSumInvalidations, oraDbLibraryCachePins=oraDbLibraryCachePins, oraDbSGAEntry=oraDbSGAEntry, oraDbLibraryCachePinHits=oraDbLibraryCachePinHits, oraDbLibraryCacheTable=oraDbLibraryCacheTable, oraDbConfigDistLockTimeout=oraDbConfigDistLockTimeout, DateAndTime=DateAndTime, oraDbTablespaceLargestAvailableChunk=oraDbTablespaceLargestAvailableChunk, oraDbTablespaceSizeAllocated=oraDbTablespaceSizeAllocated, oraDbTablespaceState=oraDbTablespaceState, oraDbConfigDbBlockSize=oraDbConfigDbBlockSize, oraDbTablespaceName=oraDbTablespaceName, oraDbConfigProcesses=oraDbConfigProcesses, oraDbConfigDbMultiBlockReadCount=oraDbConfigDbMultiBlockReadCount, oraDbSysRedoLogSpaceRequests=oraDbSysRedoLogSpaceRequests, oraDbSysUserCalls=oraDbSysUserCalls, oraDbDataFileIndex=oraDbDataFileIndex, oraDbConfigLogFiles=oraDbConfigLogFiles, oraDbDataFileDiskWrites=oraDbDataFileDiskWrites, oraDbConfigLogArchiveBuffers=oraDbConfigLogArchiveBuffers, oraDbSysDbBlockChanges=oraDbSysDbBlockChanges, oraDbConfigOpenCursors=oraDbConfigOpenCursors, oraDbConfigLogCheckpointTimeout=oraDbConfigLogCheckpointTimeout, oraDbLibraryCacheSumEntry=oraDbLibraryCacheSumEntry, oraDbTablespaceEntry=oraDbTablespaceEntry, oraDbLibraryCacheGetHits=oraDbLibraryCacheGetHits, oraDbSysTableScanRows=oraDbSysTableScanRows, oraDbSysTableFetchContinuedRow=oraDbSysTableFetchContinuedRow, oraDbSysDbBlockGets=oraDbSysDbBlockGets, oraDbSGAVariableSize=oraDbSGAVariableSize, oraDbConfigTable=oraDbConfigTable, oraDbTablespaceIndex=oraDbTablespaceIndex, oraDbSysSortsRows=oraDbSysSortsRows, oraDbConfigSessions=oraDbConfigSessions, oraDbDataFileDiskWriteTimeTicks=oraDbDataFileDiskWriteTimeTicks, oraDbConfigDistTransactions=oraDbConfigDistTransactions, oraDbConfigLogCheckpointInterval=oraDbConfigLogCheckpointInterval, oraDbLibraryCacheSumGets=oraDbLibraryCacheSumGets, oraDbSysConsistentGets=oraDbSysConsistentGets, oraDbSysConsistentChanges=oraDbSysConsistentChanges)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, single_value_constraint, constraints_intersection, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint')
(rdbms_db_index,) = mibBuilder.importSymbols('RDBMS-MIB', 'rdbmsDbIndex')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, unsigned32, mib_identifier, experimental, iso, integer32, time_ticks, gauge32, bits, module_identity, object_identity, counter32, counter64, enterprises) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'Unsigned32', 'MibIdentifier', 'experimental', 'iso', 'Integer32', 'TimeTicks', 'Gauge32', 'Bits', 'ModuleIdentity', 'ObjectIdentity', 'Counter32', 'Counter64', 'enterprises')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
class Dateandtime(OctetString):
subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 11)
class Truthvalue(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('true', 1), ('false', 2))
oracle = mib_identifier((1, 3, 6, 1, 4, 1, 111))
ora_db_mib = mib_identifier((1, 3, 6, 1, 4, 1, 111, 4))
ora_db_objects = mib_identifier((1, 3, 6, 1, 4, 1, 111, 4, 1))
ora_db_sys_table = mib_table((1, 3, 6, 1, 4, 1, 111, 4, 1, 1))
if mibBuilder.loadTexts:
oraDbSysTable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysTable.setDescription('Oracle-specific performance information global to a database.')
ora_db_sys_entry = mib_table_row((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1)).setIndexNames((0, 'RDBMS-MIB', 'rdbmsDbIndex'))
if mibBuilder.loadTexts:
oraDbSysEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysEntry.setDescription('Selected info from the v$sysstat table on instance performance. Variables are included here because they have been found particularly useful in tuning an Oracle instance. In many cases, the variable should only be considered in conjunction with other variables, often as a ratio. Frequently, hints on these are given in the descriptions, but Oracle tuning documentation should always be consulted, particularly the Oracle University course on tuning V7 applications.')
ora_db_sys_consistent_changes = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysConsistentChanges.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysConsistentChanges.setDescription("the 'consistent changes' parameter from v$sysstat")
ora_db_sys_consistent_gets = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysConsistentGets.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysConsistentGets.setDescription("the 'consistent gets' parameter from v$sysstat")
ora_db_sys_db_block_changes = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysDbBlockChanges.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysDbBlockChanges.setDescription("the 'Db block changes' parameter from v$sysstat")
ora_db_sys_db_block_gets = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysDbBlockGets.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysDbBlockGets.setDescription("the 'db block gets' parameter from v$sysstat")
ora_db_sys_free_buffer_inspected = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysFreeBufferInspected.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysFreeBufferInspected.setDescription("the 'free buffer inspected' parameter from v$sysstat")
ora_db_sys_free_buffer_requested = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysFreeBufferRequested.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysFreeBufferRequested.setDescription("the 'free buffer requested' parameter from v$sysstat")
ora_db_sys_parse_count = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysParseCount.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysParseCount.setDescription("the 'parse count' parameter from v$sysstat")
ora_db_sys_phys_reads = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysPhysReads.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysPhysReads.setDescription("the 'physical reads' parameter from v$sysstat")
ora_db_sys_phys_writes = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysPhysWrites.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysPhysWrites.setDescription("the 'physical writes' parameter from v$sysstat")
ora_db_sys_redo_entries = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysRedoEntries.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysRedoEntries.setDescription("the 'redo entries' parameter from v$sysstat")
ora_db_sys_redo_log_space_requests = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysRedoLogSpaceRequests.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysRedoLogSpaceRequests.setDescription("the 'redo log space requests' parameter from v$sysstat")
ora_db_sys_redo_sync_writes = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysRedoSyncWrites.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysRedoSyncWrites.setDescription("the 'redo synch writes' parameter from v$sysstat")
ora_db_sys_sorts_disk = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysSortsDisk.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysSortsDisk.setDescription("the 'sorts (disk)' parameter from v$sysstat")
ora_db_sys_sorts_memory = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 14), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysSortsMemory.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysSortsMemory.setDescription("the 'sorts (memory)' parameter from v$sysstat")
ora_db_sys_sorts_rows = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 15), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysSortsRows.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysSortsRows.setDescription("the 'sorts (rows)' parameter from v$sysstat")
ora_db_sys_table_fetch_rowid = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 16), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysTableFetchRowid.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysTableFetchRowid.setDescription("the 'table fetch by rowid' parameter from v$sysstat")
ora_db_sys_table_fetch_continued_row = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 17), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysTableFetchContinuedRow.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysTableFetchContinuedRow.setDescription("the 'table fetch continued row' parameter from v$sysstat")
ora_db_sys_table_scan_blocks = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 18), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysTableScanBlocks.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysTableScanBlocks.setDescription("the 'table scan blocks gotten' parameter from v$sysstat")
ora_db_sys_table_scan_rows = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 19), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysTableScanRows.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysTableScanRows.setDescription("the 'table scan rows gotten' parameter from v$sysstat")
ora_db_sys_table_scans_long = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysTableScansLong.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysTableScansLong.setDescription("the 'table scans (long tables)' parameter from v$sysstat")
ora_db_sys_table_scans_short = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 21), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysTableScansShort.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysTableScansShort.setDescription("the 'table scans (short tables)' parameter from v$sysstat")
ora_db_sys_user_calls = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 22), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysUserCalls.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysUserCalls.setDescription("the 'user calls' parameter from v$sysstat")
ora_db_sys_user_commits = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 23), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysUserCommits.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysUserCommits.setDescription("the 'user commits' parameter from v$sysstat")
ora_db_sys_user_rollbacks = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 24), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysUserRollbacks.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysUserRollbacks.setDescription("the 'user rollbacks' parameter from v$sysstat")
ora_db_sys_write_requests = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 1, 1, 25), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSysWriteRequests.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSysWriteRequests.setDescription("the 'write requests' parameter from v$sysstat")
ora_db_tablespace_table = mib_table((1, 3, 6, 1, 4, 1, 111, 4, 1, 2))
if mibBuilder.loadTexts:
oraDbTablespaceTable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceTable.setDescription('Information on tablespaces within an Oracle database.')
ora_db_tablespace_entry = mib_table_row((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1)).setIndexNames((0, 'RDBMS-MIB', 'rdbmsDbIndex'), (0, 'ORADB-MIB', 'oraDbTablespaceIndex'))
if mibBuilder.loadTexts:
oraDbTablespaceEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceEntry.setDescription('Information for each tablespace within an Oracle database.')
ora_db_tablespace_index = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbTablespaceIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceIndex.setDescription('A numeric index, unique among tablespaces within a single Oracle database.')
ora_db_tablespace_name = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbTablespaceName.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceName.setDescription('The name of this tablespace.')
ora_db_tablespace_size_allocated = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbTablespaceSizeAllocated.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceSizeAllocated.setDescription('The amount of disk space, in kilobytes, allocated for this tablespace. This is the sum of the sizes of the data files associated with the tablespace.')
ora_db_tablespace_size_used = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbTablespaceSizeUsed.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceSizeUsed.setDescription('The amount of disk space, in kilobytes, which is actually in use for storing data.')
ora_db_tablespace_state = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('online', 1), ('offline', 2), ('invalid', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbTablespaceState.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceState.setDescription('The current accessibility of this tablespace. If a tablespace is offline(2), then SQL statements cannot reference objects contained in the tablespace. An invalid(3) tablespace is one that has been dropped.')
ora_db_tablespace_largest_available_chunk = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbTablespaceLargestAvailableChunk.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbTablespaceLargestAvailableChunk.setDescription('The size, in kilobytes, of the largest contiguous set of free data blocks in the tablespace.')
ora_db_data_file_table = mib_table((1, 3, 6, 1, 4, 1, 111, 4, 1, 3))
if mibBuilder.loadTexts:
oraDbDataFileTable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileTable.setDescription('Information on data files within an Oracle database.')
ora_db_data_file_entry = mib_table_row((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1)).setIndexNames((0, 'RDBMS-MIB', 'rdbmsDbIndex'), (0, 'ORADB-MIB', 'oraDbDataFileIndex'))
if mibBuilder.loadTexts:
oraDbDataFileEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileEntry.setDescription('Information for each data file within an Oracle database.')
ora_db_data_file_index = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileIndex.setDescription('A numeric index, unique among data files associated with a single tablespace.')
ora_db_data_file_name = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileName.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileName.setDescription('The fully-qualified name of this datafile.')
ora_db_data_file_size_allocated = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2147483648, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileSizeAllocated.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileSizeAllocated.setDescription('The allocated size, in kilobytes, of this data file.')
ora_db_data_file_disk_reads = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileDiskReads.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileDiskReads.setDescription('The total number of reads issued against this data file since startup.')
ora_db_data_file_disk_writes = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileDiskWrites.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileDiskWrites.setDescription('The total number of writes issued against this data file since startup.')
ora_db_data_file_disk_read_blocks = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileDiskReadBlocks.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileDiskReadBlocks.setDescription('The total number of physical blocks read from this data file since startup.')
ora_db_data_file_disk_written_blocks = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileDiskWrittenBlocks.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileDiskWrittenBlocks.setDescription('The total number of physical blocks written to this data file since startup.')
ora_db_data_file_disk_read_time_ticks = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileDiskReadTimeTicks.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileDiskReadTimeTicks.setDescription('The time spent reading from this data file since startup IF the database parameter TIMED_STATISTICS is TRUE. If TIMED_STATISTICS is FALSE, then the value will be zero.')
ora_db_data_file_disk_write_time_ticks = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 3, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbDataFileDiskWriteTimeTicks.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbDataFileDiskWriteTimeTicks.setDescription('The time spent writing to this data file since startup IF the database parameter TIMED_STATISTICS is TRUE. If TIMED_STATISTICS is FALSE, then the value will be zero.')
ora_db_library_cache_table = mib_table((1, 3, 6, 1, 4, 1, 111, 4, 1, 4))
if mibBuilder.loadTexts:
oraDbLibraryCacheTable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheTable.setDescription('Information on libraryCache performance.')
ora_db_library_cache_entry = mib_table_row((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1)).setIndexNames((0, 'RDBMS-MIB', 'rdbmsDbIndex'), (0, 'ORADB-MIB', 'oraDbLibraryCacheIndex'))
if mibBuilder.loadTexts:
oraDbLibraryCacheEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheEntry.setDescription('LibraryCache information for each Oracle database.')
ora_db_library_cache_index = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheIndex.setDescription('A unique integer for each row of the table.')
ora_db_library_cache_name_space = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheNameSpace.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheNameSpace.setDescription('The namespace of the v$librarycache table that this row relates to.')
ora_db_library_cache_gets = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheGets.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheGets.setDescription('Number of times the system requests handles to library objects in this namespace.')
ora_db_library_cache_get_hits = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheGetHits.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheGetHits.setDescription('Number of times the handles are already allocated in the cache.')
ora_db_library_cache_pins = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCachePins.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCachePins.setDescription('Number of times the system issues pin requests for objects in the cache in order to access them.')
ora_db_library_cache_pin_hits = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCachePinHits.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCachePinHits.setDescription('Number of times the objects the system is pinning are already allocated and initialized in the cache.')
ora_db_library_cache_reloads = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheReloads.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheReloads.setDescription('Number of times the library objects have to be reinitialized and reloaded with data because they have been aged out or invalidated')
ora_db_library_cache_invalidations = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 4, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheInvalidations.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheInvalidations.setDescription('Number of times that non-persistent library objects (like shared SQL areas) have been invalidated.')
ora_db_library_cache_sum_table = mib_table((1, 3, 6, 1, 4, 1, 111, 4, 1, 5))
if mibBuilder.loadTexts:
oraDbLibraryCacheSumTable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumTable.setDescription('Information on library cache performance, summed over all library caches in a single database instance.')
ora_db_library_cache_sum_entry = mib_table_row((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1)).setIndexNames((0, 'RDBMS-MIB', 'rdbmsDbIndex'))
if mibBuilder.loadTexts:
oraDbLibraryCacheSumEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumEntry.setDescription('LibraryCache information, summed over all library caches, for each Oracle database.')
ora_db_library_cache_sum_gets = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumGets.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumGets.setDescription('Number of times the system requests handles to library objects, summed over all library caches in the instance.')
ora_db_library_cache_sum_get_hits = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumGetHits.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumGetHits.setDescription('Number of times the handles are already allocated in the cache, summed over all library caches in the instance.')
ora_db_library_cache_sum_pins = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumPins.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumPins.setDescription('Number of times the system issues pin requests for objects in a cache in order to access them, summed over all library caches in the instance.')
ora_db_library_cache_sum_pin_hits = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumPinHits.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumPinHits.setDescription('Number of times the objects the system is pinning are already allocated and initialized in a cache, summed over all library caches in the instance.')
ora_db_library_cache_sum_reloads = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumReloads.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumReloads.setDescription('Number of times the library objects have to be reinitialized and reloaded with data because they have been aged out or invalidated, summed over all library caches in the instance.')
ora_db_library_cache_sum_invalidations = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 5, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumInvalidations.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbLibraryCacheSumInvalidations.setDescription('Number of times that non-persistent library objects (like shared SQL areas) have been invalidated, summed over all library caches in the instance.')
ora_db_sga_table = mib_table((1, 3, 6, 1, 4, 1, 111, 4, 1, 6))
if mibBuilder.loadTexts:
oraDbSGATable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSGATable.setDescription('Summary information on the System Global Area')
ora_db_sga_entry = mib_table_row((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1)).setIndexNames((0, 'RDBMS-MIB', 'rdbmsDbIndex'))
if mibBuilder.loadTexts:
oraDbSGAEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSGAEntry.setDescription('A single entry from the v$sga table')
ora_db_sga_fixed_size = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSGAFixedSize.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSGAFixedSize.setDescription('')
ora_db_sga_variable_size = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSGAVariableSize.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSGAVariableSize.setDescription('')
ora_db_sga_database_buffers = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSGADatabaseBuffers.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSGADatabaseBuffers.setDescription('')
ora_db_sga_redo_buffers = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 6, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbSGARedoBuffers.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbSGARedoBuffers.setDescription('')
ora_db_config_table = mib_table((1, 3, 6, 1, 4, 1, 111, 4, 1, 7))
if mibBuilder.loadTexts:
oraDbConfigTable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigTable.setDescription('Oracle-specific configuration information global to a database.')
ora_db_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1)).setIndexNames((0, 'RDBMS-MIB', 'rdbmsDbIndex'))
if mibBuilder.loadTexts:
oraDbConfigEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigEntry.setDescription("Oracle-specific configuration information. This table only lists a few init.ora parameters that are particularly relevant to the task of monitoring database performance. By giving them easy-to-use, fixed object-ids, we make it easier to graph them along with the dynamic performance values that they affect. A complete list of parameters can be found in the Internet standard MIB 'Config' objects.")
ora_db_config_db_block_buffers = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDbBlockBuffers.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDbBlockBuffers.setDescription('The DB_BLOCK_BUFFERS parameter from the init.ora file ')
ora_db_config_db_block_ckpt_batch = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDbBlockCkptBatch.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDbBlockCkptBatch.setDescription('The DB_BLOCK_CHECKPOINT_BATCH parameter from the init.ora file ')
ora_db_config_db_block_size = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDbBlockSize.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDbBlockSize.setDescription('The DB_BLOCK_SIZE parameter from the init.ora file ')
ora_db_config_db_file_sim_writes = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDbFileSimWrites.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDbFileSimWrites.setDescription('The DB_FILE_SIMULTANEOUS_WRITES parameter from the init.ora file ')
ora_db_config_db_multi_block_read_count = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDbMultiBlockReadCount.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDbMultiBlockReadCount.setDescription('The DB_MULTIBLOCK_READ_COUNT parameter from the init.ora file ')
ora_db_config_dist_lock_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDistLockTimeout.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDistLockTimeout.setDescription('The DISTRIBUTED_LOCK_TIMEOUT parameter from the init.ora file ')
ora_db_config_dist_recovery_connect_hold = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDistRecoveryConnectHold.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDistRecoveryConnectHold.setDescription('The DISTRIBUTED_RECOVERY_CONNECT_HOLD parameter from the init.ora file ')
ora_db_config_dist_transactions = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigDistTransactions.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigDistTransactions.setDescription('The DISTRIBUTED_TRANSACTIONS parameter from the init.ora file ')
ora_db_config_log_archive_buffer_size = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigLogArchiveBufferSize.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigLogArchiveBufferSize.setDescription('The LOG_ARCHIVE_BUFFER_SIZE parameter from the init.ora file ')
ora_db_config_log_archive_buffers = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigLogArchiveBuffers.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigLogArchiveBuffers.setDescription('The LOG_ARCHIVE_BUFFERS parameter from the init.ora file ')
ora_db_config_log_buffer = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigLogBuffer.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigLogBuffer.setDescription('The LOG_BUFFER parameter from the init.ora file ')
ora_db_config_log_checkpoint_interval = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigLogCheckpointInterval.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigLogCheckpointInterval.setDescription('The LOG_CHECKPOINT_INTERVAL parameter from the init.ora file ')
ora_db_config_log_checkpoint_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigLogCheckpointTimeout.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigLogCheckpointTimeout.setDescription('The LOG_CHECKPOINT_TIMEOUT parameter from the init.ora file ')
ora_db_config_log_files = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigLogFiles.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigLogFiles.setDescription('The LOG_FILES parameter from the init.ora file ')
ora_db_config_max_rollback_segments = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigMaxRollbackSegments.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigMaxRollbackSegments.setDescription('The MAX_ROLLBACK_SEGMENTS parameter from the init.ora file ')
ora_db_config_mts_max_dispatchers = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigMTSMaxDispatchers.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigMTSMaxDispatchers.setDescription('The MTS_MAX_DISPATCHERS parameter from the init.ora file ')
ora_db_config_mts_max_servers = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 17), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigMTSMaxServers.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigMTSMaxServers.setDescription('The MTS_MAX_SERVERS parameter from the init.ora file ')
ora_db_config_mts_servers = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigMTSServers.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigMTSServers.setDescription('The MTS_SERVERS parameter from the init.ora file ')
ora_db_config_open_cursors = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigOpenCursors.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigOpenCursors.setDescription('The OPEN_CURSORS parameter from the init.ora file ')
ora_db_config_open_links = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 20), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigOpenLinks.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigOpenLinks.setDescription('The OPEN_LINKS parameter from the init.ora file ')
ora_db_config_optimizer_mode = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 21), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigOptimizerMode.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigOptimizerMode.setDescription('The OPTIMIZER_MODE parameter from the init.ora file ')
ora_db_config_processes = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 22), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigProcesses.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigProcesses.setDescription('The PROCESSES parameter from the init.ora file ')
ora_db_config_serializable = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 23), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigSerializable.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigSerializable.setDescription('The SERIALIZABLE parameter from the init.ora file ')
ora_db_config_sessions = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 24), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigSessions.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigSessions.setDescription('The SESSIONS parameter from the init.ora file ')
ora_db_config_shared_pool = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 25), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigSharedPool.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigSharedPool.setDescription('The SHARED_POOL parameter from the init.ora file ')
ora_db_config_sort_area_size = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 26), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigSortAreaSize.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigSortAreaSize.setDescription('The SORT_AREA_SIZE parameter from the init.ora file ')
ora_db_config_sort_area_retained_size = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 27), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigSortAreaRetainedSize.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigSortAreaRetainedSize.setDescription('The SORT_AREA_RETAINED_SIZE parameter from the init.ora file ')
ora_db_config_transactions = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 28), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigTransactions.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigTransactions.setDescription('The TRANSACTIONS parameter from the init.ora file ')
ora_db_config_transactions_per_rollback = mib_table_column((1, 3, 6, 1, 4, 1, 111, 4, 1, 7, 1, 29), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
oraDbConfigTransactionsPerRollback.setStatus('mandatory')
if mibBuilder.loadTexts:
oraDbConfigTransactionsPerRollback.setDescription('The TRANSACTIONS_PER_ROLLBACK parameter from the init.ora file ')
mibBuilder.exportSymbols('ORADB-MIB', oraDbSysUserRollbacks=oraDbSysUserRollbacks, oraDbSysRedoSyncWrites=oraDbSysRedoSyncWrites, oraDbDataFileDiskReads=oraDbDataFileDiskReads, oraDbConfigSortAreaSize=oraDbConfigSortAreaSize, oraDbLibraryCacheGets=oraDbLibraryCacheGets, oraDbSysTable=oraDbSysTable, oraDbSysTableScansShort=oraDbSysTableScansShort, oraDbSGARedoBuffers=oraDbSGARedoBuffers, oraDbSysSortsDisk=oraDbSysSortsDisk, oraDbLibraryCacheSumReloads=oraDbLibraryCacheSumReloads, oraDbConfigMTSMaxDispatchers=oraDbConfigMTSMaxDispatchers, oraDbConfigMTSMaxServers=oraDbConfigMTSMaxServers, oraDbSysEntry=oraDbSysEntry, oraDbConfigDbBlockBuffers=oraDbConfigDbBlockBuffers, oraDbConfigOptimizerMode=oraDbConfigOptimizerMode, oraDbSysTableFetchRowid=oraDbSysTableFetchRowid, oraDbConfigSortAreaRetainedSize=oraDbConfigSortAreaRetainedSize, oraDbDataFileSizeAllocated=oraDbDataFileSizeAllocated, oraDbTablespaceTable=oraDbTablespaceTable, oraDbLibraryCacheEntry=oraDbLibraryCacheEntry, oraDbSysUserCommits=oraDbSysUserCommits, oraDbLibraryCacheSumGetHits=oraDbLibraryCacheSumGetHits, oraDbLibraryCacheNameSpace=oraDbLibraryCacheNameSpace, oraDbSGATable=oraDbSGATable, oraDbDataFileDiskWrittenBlocks=oraDbDataFileDiskWrittenBlocks, oraDbSysTableScanBlocks=oraDbSysTableScanBlocks, oraDbConfigEntry=oraDbConfigEntry, oraDbDataFileTable=oraDbDataFileTable, oraDbConfigLogBuffer=oraDbConfigLogBuffer, oraDbLibraryCacheReloads=oraDbLibraryCacheReloads, oraDbConfigDistRecoveryConnectHold=oraDbConfigDistRecoveryConnectHold, oraDbConfigSerializable=oraDbConfigSerializable, oraDbSysSortsMemory=oraDbSysSortsMemory, oraDbDataFileDiskReadTimeTicks=oraDbDataFileDiskReadTimeTicks, oraDbLibraryCacheSumPinHits=oraDbLibraryCacheSumPinHits, oraDbConfigMTSServers=oraDbConfigMTSServers, oraDbTablespaceSizeUsed=oraDbTablespaceSizeUsed, oraDbDataFileEntry=oraDbDataFileEntry, oraDbSysFreeBufferRequested=oraDbSysFreeBufferRequested, oraDbLibraryCacheIndex=oraDbLibraryCacheIndex, oraDbConfigMaxRollbackSegments=oraDbConfigMaxRollbackSegments, oraDbSysPhysReads=oraDbSysPhysReads, oraDbSysTableScansLong=oraDbSysTableScansLong, oraDbSysParseCount=oraDbSysParseCount, oraDbConfigTransactionsPerRollback=oraDbConfigTransactionsPerRollback, oraDbLibraryCacheSumPins=oraDbLibraryCacheSumPins, oraDbSysPhysWrites=oraDbSysPhysWrites, oraDbConfigSharedPool=oraDbConfigSharedPool, oraDbObjects=oraDbObjects, oraDbSysRedoEntries=oraDbSysRedoEntries, oraDbMIB=oraDbMIB, oraDbDataFileDiskReadBlocks=oraDbDataFileDiskReadBlocks, TruthValue=TruthValue, oraDbSysFreeBufferInspected=oraDbSysFreeBufferInspected, oraDbLibraryCacheSumTable=oraDbLibraryCacheSumTable, oraDbConfigDbFileSimWrites=oraDbConfigDbFileSimWrites, oraDbSysWriteRequests=oraDbSysWriteRequests, oraDbConfigLogArchiveBufferSize=oraDbConfigLogArchiveBufferSize, oraDbDataFileName=oraDbDataFileName, oracle=oracle, oraDbConfigOpenLinks=oraDbConfigOpenLinks, oraDbSGADatabaseBuffers=oraDbSGADatabaseBuffers, oraDbSGAFixedSize=oraDbSGAFixedSize, oraDbConfigDbBlockCkptBatch=oraDbConfigDbBlockCkptBatch, oraDbConfigTransactions=oraDbConfigTransactions, oraDbLibraryCacheInvalidations=oraDbLibraryCacheInvalidations, oraDbLibraryCacheSumInvalidations=oraDbLibraryCacheSumInvalidations, oraDbLibraryCachePins=oraDbLibraryCachePins, oraDbSGAEntry=oraDbSGAEntry, oraDbLibraryCachePinHits=oraDbLibraryCachePinHits, oraDbLibraryCacheTable=oraDbLibraryCacheTable, oraDbConfigDistLockTimeout=oraDbConfigDistLockTimeout, DateAndTime=DateAndTime, oraDbTablespaceLargestAvailableChunk=oraDbTablespaceLargestAvailableChunk, oraDbTablespaceSizeAllocated=oraDbTablespaceSizeAllocated, oraDbTablespaceState=oraDbTablespaceState, oraDbConfigDbBlockSize=oraDbConfigDbBlockSize, oraDbTablespaceName=oraDbTablespaceName, oraDbConfigProcesses=oraDbConfigProcesses, oraDbConfigDbMultiBlockReadCount=oraDbConfigDbMultiBlockReadCount, oraDbSysRedoLogSpaceRequests=oraDbSysRedoLogSpaceRequests, oraDbSysUserCalls=oraDbSysUserCalls, oraDbDataFileIndex=oraDbDataFileIndex, oraDbConfigLogFiles=oraDbConfigLogFiles, oraDbDataFileDiskWrites=oraDbDataFileDiskWrites, oraDbConfigLogArchiveBuffers=oraDbConfigLogArchiveBuffers, oraDbSysDbBlockChanges=oraDbSysDbBlockChanges, oraDbConfigOpenCursors=oraDbConfigOpenCursors, oraDbConfigLogCheckpointTimeout=oraDbConfigLogCheckpointTimeout, oraDbLibraryCacheSumEntry=oraDbLibraryCacheSumEntry, oraDbTablespaceEntry=oraDbTablespaceEntry, oraDbLibraryCacheGetHits=oraDbLibraryCacheGetHits, oraDbSysTableScanRows=oraDbSysTableScanRows, oraDbSysTableFetchContinuedRow=oraDbSysTableFetchContinuedRow, oraDbSysDbBlockGets=oraDbSysDbBlockGets, oraDbSGAVariableSize=oraDbSGAVariableSize, oraDbConfigTable=oraDbConfigTable, oraDbTablespaceIndex=oraDbTablespaceIndex, oraDbSysSortsRows=oraDbSysSortsRows, oraDbConfigSessions=oraDbConfigSessions, oraDbDataFileDiskWriteTimeTicks=oraDbDataFileDiskWriteTimeTicks, oraDbConfigDistTransactions=oraDbConfigDistTransactions, oraDbConfigLogCheckpointInterval=oraDbConfigLogCheckpointInterval, oraDbLibraryCacheSumGets=oraDbLibraryCacheSumGets, oraDbSysConsistentGets=oraDbSysConsistentGets, oraDbSysConsistentChanges=oraDbSysConsistentChanges) |
text = ('this some is sample some text')
x=text.split()
word='this'
l={}
for i in set(x):
if i in l.keys():
l.update({i:x.count(i)})
else:
l[i]=1
print(l)
| text = 'this some is sample some text'
x = text.split()
word = 'this'
l = {}
for i in set(x):
if i in l.keys():
l.update({i: x.count(i)})
else:
l[i] = 1
print(l) |
# This is to demonstrate user input.
name = input('hello! what is your name? >')
print('Welcome', name)
| name = input('hello! what is your name? >')
print('Welcome', name) |
class ChineseFont:
def __init__(self, file):
# open data file
self.__db_file = open(file, 'rb')
self.__load_map()
def get_font_size(self):
return self.__font_size
def is_exist(self, key):
return key in self.__map
def get_font_count(self):
return self.__font_count
# get bit map
def get_bit_map(self, key):
if not self.is_exist(key):
return bytearray()
sort = self.__map[key]
self.__db_file.seek(2 + 4 + int((self.__font_size * self.__font_size * self.__font_count) / 8) * sort)
return self.__db_file.read(int((self.__font_size * self.__font_size) / 8))
def close(self):
self.__db_file.close()
def __load_map(self):
# font_size
font_size_byte = self.__db_file.read(2)
self.__font_size = int.from_bytes(font_size_byte, 'big')
# font_count
font_count_byte = self.__db_file.read(4)
self.__font_count = int.from_bytes(font_count_byte, 'big')
# seek
self.__db_file.seek(int((self.__font_size * self.__font_size * self.__font_count) / 8) + 4 + 2)
# load map
self.__map = {}
while True:
key_len = self.__db_file.read(1)
if key_len == b'':
break
if(key_len[0] == 1):
key = self.__db_file.read(1)
else:
key = self.__db_file.read(3)
data = self.__db_file.read(4)
self.__map[key.decode('utf-8')] = int.from_bytes(data, 'big')
| class Chinesefont:
def __init__(self, file):
self.__db_file = open(file, 'rb')
self.__load_map()
def get_font_size(self):
return self.__font_size
def is_exist(self, key):
return key in self.__map
def get_font_count(self):
return self.__font_count
def get_bit_map(self, key):
if not self.is_exist(key):
return bytearray()
sort = self.__map[key]
self.__db_file.seek(2 + 4 + int(self.__font_size * self.__font_size * self.__font_count / 8) * sort)
return self.__db_file.read(int(self.__font_size * self.__font_size / 8))
def close(self):
self.__db_file.close()
def __load_map(self):
font_size_byte = self.__db_file.read(2)
self.__font_size = int.from_bytes(font_size_byte, 'big')
font_count_byte = self.__db_file.read(4)
self.__font_count = int.from_bytes(font_count_byte, 'big')
self.__db_file.seek(int(self.__font_size * self.__font_size * self.__font_count / 8) + 4 + 2)
self.__map = {}
while True:
key_len = self.__db_file.read(1)
if key_len == b'':
break
if key_len[0] == 1:
key = self.__db_file.read(1)
else:
key = self.__db_file.read(3)
data = self.__db_file.read(4)
self.__map[key.decode('utf-8')] = int.from_bytes(data, 'big') |
#armstrong in interval
def arms(a,b):
for i in range(a,b+1):
j=i
c=[]
while(j>0):
x=j%10
c.append(x)
j=j/10
#print(c)
sum=0
for x in range(0,len(c)):
sum=sum+(c[x]*c[x]*c[x])
#print(sum)
if(sum==i):
print(i)
a=input("enter a")
b=input("enter b")
arms(a,b)
| def arms(a, b):
for i in range(a, b + 1):
j = i
c = []
while j > 0:
x = j % 10
c.append(x)
j = j / 10
sum = 0
for x in range(0, len(c)):
sum = sum + c[x] * c[x] * c[x]
if sum == i:
print(i)
a = input('enter a')
b = input('enter b')
arms(a, b) |
class MatrixR:
def __init__(self, rows, columns):
self.m = rows
self.n =columns
self.A = [[0 for y in range(self.n)] for x in range(self.m)]
def add(self, i, j, q):
self.A[i][j] *= 0
self.A[i][j] += q
def __add__(self, B):
if (self.m != B.m) or (self.n != B.n):
print("\n\nDimension Error\n\n\n")
return
else:
C = MatrixR(self.m, self.n)
for i in range(0, self.m):
for j in range(0, self.n):
C.A[i][j] = self.A[i][j] + B.A[i][j]
return C
def __sub__(self, B):
if (self.m != B.m) or (self.n != B.n):
print("\n\nDimension Error\n\n\n")
return
else:
C = MatrixR(self.m, self.n)
for i in range(0, self.m):
for j in range(0, self.n):
C.A[i][j] = self.A[i][j] - B.A[i][j]
return C
def __mul__(self, B):
if self.n != B.m:
print("\n\nDimension Error\n")
return
else:
C = MatrixR(self.m, B.n)
for i in range(0, C.m):
for j in range(0, C.n):
for k in range(0, self.n):
C.A[i][j] += (self.A[i][k] * B.A[k][j])
return C
| class Matrixr:
def __init__(self, rows, columns):
self.m = rows
self.n = columns
self.A = [[0 for y in range(self.n)] for x in range(self.m)]
def add(self, i, j, q):
self.A[i][j] *= 0
self.A[i][j] += q
def __add__(self, B):
if self.m != B.m or self.n != B.n:
print('\n\nDimension Error\n\n\n')
return
else:
c = matrix_r(self.m, self.n)
for i in range(0, self.m):
for j in range(0, self.n):
C.A[i][j] = self.A[i][j] + B.A[i][j]
return C
def __sub__(self, B):
if self.m != B.m or self.n != B.n:
print('\n\nDimension Error\n\n\n')
return
else:
c = matrix_r(self.m, self.n)
for i in range(0, self.m):
for j in range(0, self.n):
C.A[i][j] = self.A[i][j] - B.A[i][j]
return C
def __mul__(self, B):
if self.n != B.m:
print('\n\nDimension Error\n')
return
else:
c = matrix_r(self.m, B.n)
for i in range(0, C.m):
for j in range(0, C.n):
for k in range(0, self.n):
C.A[i][j] += self.A[i][k] * B.A[k][j]
return C |
#isPalin
def isPali(s):
s = s.lower()
if (s == s[::-1]):
print("True")
else:
print("False")
s = "madAm"
isPali(s)
| def is_pali(s):
s = s.lower()
if s == s[::-1]:
print('True')
else:
print('False')
s = 'madAm'
is_pali(s) |
my_zen_settings = {
'html': {
'abbreviations': {
'jq': '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>',
'demo': '<div id="demo"></div>'
}
}
} | my_zen_settings = {'html': {'abbreviations': {'jq': '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>', 'demo': '<div id="demo"></div>'}}} |
# Write a program to check a given number is even or odd
x = float(input("Enter Value:-"))
if(x%2==0):
print("this ",x," is even number")
else:
print("this ",x," is odd number")
| x = float(input('Enter Value:-'))
if x % 2 == 0:
print('this ', x, ' is even number')
else:
print('this ', x, ' is odd number') |
'''
This directory contains a minimal BSDL file parser that
needs to be extended in order to be very useful.
It also contains a data directory that has manufacturer's
codes and known ID codes and instruction register capture
codes for several parts.
Finally, it contains a lookup utility/module for device
identification, using the data in the database.
The tools to maintain this directory are in ../../tools/bsdl
'''
| """
This directory contains a minimal BSDL file parser that
needs to be extended in order to be very useful.
It also contains a data directory that has manufacturer's
codes and known ID codes and instruction register capture
codes for several parts.
Finally, it contains a lookup utility/module for device
identification, using the data in the database.
The tools to maintain this directory are in ../../tools/bsdl
""" |
# 1. Delivery guy scanned the code and put the package to bin,
# Locker system can help to find the available bin for the suitable
# bin with the suitable size
# 2. Once LockerSystem get the package stored in the bin,
# system will send the notification to user, which includes the
# barcode or PIN code
# 3. User input the barcode and Pincode and bin door open. User
# pick up the package
# 4. If the package is stored for over 1 day, penalty fee will be
# requested based on the day is stored. User have to pay after they
# scanned the barCode/Pin code and before the bin code open.
class LockerSystem(object):
def __init__(self, bins):
self.__bins = bins # List[Bin]
self.__availableBins # HashMap<Size, List[Bin]>
self.__overdueFee # float
def HandlePutRequest(self, account, package): #Account, Package, return Notification
self.__findBin(package)
self.__putPackage(bin, package)
self.__sendNotification(package)
pass
def __findBin(self, package): #return Bin
pass
def __putPackage(self, bin, package, timestamp): # return void
pass
def __sendNotification(self, package): #void
pass
def getPackage(self, Code, timestamp): # return package
pass
def payOverdue(self, Code, package, bin): # return boolean
pass
def __calculateOverdueFee(self, timestamp, bin): #return
pass
def __opendoor(self):
pass
def __closedoor(self):
pass
def __clearBin(self):
pass
class Account(object):
def __init__(self, username, password):
self.__username = username #string
self.__password = password #string
class Bin(object):
def __init__(self, size):
self.__size = size # Size[ENUM]
self.__isAvailable # boolean
self.__package # package
def setAvailable(self): #void
pass
def getAvailable(self): #boolean
pass
def putPackage(self, package): #input Package, return void
pass
def pickUpPackage(self):
pass
class Package(object):
def __init__(self, size):
self.__size #size
self.__ownerPhoneNumber # string
def getSize(self):
pass
def getPhoneNumber(self):
pass
class Notification(object):
def __init__(self, phoneNumber, barCode, pinCode):
self.__barCode = barCode #barCode
self.__pinCode = pinCode #binCode
self.__phoneNumber #stirng
def getBarCode(self): #return BarCode
pass
def getPinCode(self): #return PinCode
pass
class Code(object):
def __init__(self):
self.__code #string
def scanCode():
pass
class BarCode(Code):
def __init__(self):
super().__init__()
class PinCode(Code):
def __init__(self):
super().__init__()
class Payment(object):
def __init__(self, paymentRequestId):
self.__paymentRequestId #integer
self.__Paid #boolean
def Pay(self): #return void
pass
def getPayStatus(self): # return boolean
pass
class Size(enumerate):
small, medium, large = 1, 2, 3
class NotEnoughBinException(Exception):
pass
class OccupiedBinExcpetion(Exception):
pass
class InvalidCode(Exception):
pass
class EmptyBin(Exception):
pass
| class Lockersystem(object):
def __init__(self, bins):
self.__bins = bins
self.__availableBins
self.__overdueFee
def handle_put_request(self, account, package):
self.__findBin(package)
self.__putPackage(bin, package)
self.__sendNotification(package)
pass
def __find_bin(self, package):
pass
def __put_package(self, bin, package, timestamp):
pass
def __send_notification(self, package):
pass
def get_package(self, Code, timestamp):
pass
def pay_overdue(self, Code, package, bin):
pass
def __calculate_overdue_fee(self, timestamp, bin):
pass
def __opendoor(self):
pass
def __closedoor(self):
pass
def __clear_bin(self):
pass
class Account(object):
def __init__(self, username, password):
self.__username = username
self.__password = password
class Bin(object):
def __init__(self, size):
self.__size = size
self.__isAvailable
self.__package
def set_available(self):
pass
def get_available(self):
pass
def put_package(self, package):
pass
def pick_up_package(self):
pass
class Package(object):
def __init__(self, size):
self.__size
self.__ownerPhoneNumber
def get_size(self):
pass
def get_phone_number(self):
pass
class Notification(object):
def __init__(self, phoneNumber, barCode, pinCode):
self.__barCode = barCode
self.__pinCode = pinCode
self.__phoneNumber
def get_bar_code(self):
pass
def get_pin_code(self):
pass
class Code(object):
def __init__(self):
self.__code
def scan_code():
pass
class Barcode(Code):
def __init__(self):
super().__init__()
class Pincode(Code):
def __init__(self):
super().__init__()
class Payment(object):
def __init__(self, paymentRequestId):
self.__paymentRequestId
self.__Paid
def pay(self):
pass
def get_pay_status(self):
pass
class Size(enumerate):
(small, medium, large) = (1, 2, 3)
class Notenoughbinexception(Exception):
pass
class Occupiedbinexcpetion(Exception):
pass
class Invalidcode(Exception):
pass
class Emptybin(Exception):
pass |
def pr(s,*argv,**argp):
'''Print directly to stdout with no delay
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016.'''
print(s,*argv,**argp)
sys.stdout.flush()
def progress(n,N,steps=100):
'''Show progress - how many percent of total progress is made. n-current index and N-total count.
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016.'''
if (n % (N//steps)==0):
print('{}'.format(100*n//N), end=' ')
sys.stdout.flush()
if (n==N-1):
print('100% done.')
sys.stdout.flush()
def get_str(X,precision=2):
'''
General string representation of lists,sets,tuples,np.ndarray,dicts,iterables with given precision for each floating point number.
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016.'''
sFormatString = '{{:.{}f}}'.format(precision)
lsElements = [sFormatString.format(Element) for Element in X]
if isinstance(X,tuple):
sOpen = '('
sClose = ')'
elif isinstance(X,set):
sOpen = 'set('
sClose = ')'
elif isinstance(X,list):
sOpen = '['
sClose = ']'
elif isinstance(X,np.ndarray):
sOpen = 'ndarray('
sClose = ')'
elif isinstance(X,dict):
sOpen = '{'
sClose = '}'
else:
sOpen = 'iterable('
sClose = ')'
sMiddle = ','.join(lsElements) + ','
sMiddle=sMiddle.replace('.'+'0'*precision+',',',') # replace all non-informative zeros
sResult = sOpen+sMiddle[:-1]+sClose
return sResult
def print_time(prefix='Execution time: '):
'''Prints current time.
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016.'''
print(time.strftime(prefix+"%Y-%m-%d %H:%M:%S", time.localtime())) | def pr(s, *argv, **argp):
"""Print directly to stdout with no delay
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016."""
print(s, *argv, **argp)
sys.stdout.flush()
def progress(n, N, steps=100):
"""Show progress - how many percent of total progress is made. n-current index and N-total count.
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016."""
if n % (N // steps) == 0:
print('{}'.format(100 * n // N), end=' ')
sys.stdout.flush()
if n == N - 1:
print('100% done.')
sys.stdout.flush()
def get_str(X, precision=2):
"""
General string representation of lists,sets,tuples,np.ndarray,dicts,iterables with given precision for each floating point number.
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016."""
s_format_string = '{{:.{}f}}'.format(precision)
ls_elements = [sFormatString.format(Element) for element in X]
if isinstance(X, tuple):
s_open = '('
s_close = ')'
elif isinstance(X, set):
s_open = 'set('
s_close = ')'
elif isinstance(X, list):
s_open = '['
s_close = ']'
elif isinstance(X, np.ndarray):
s_open = 'ndarray('
s_close = ')'
elif isinstance(X, dict):
s_open = '{'
s_close = '}'
else:
s_open = 'iterable('
s_close = ')'
s_middle = ','.join(lsElements) + ','
s_middle = sMiddle.replace('.' + '0' * precision + ',', ',')
s_result = sOpen + sMiddle[:-1] + sClose
return sResult
def print_time(prefix='Execution time: '):
"""Prints current time.
Author: Victor Kitov (v.v.kitov@yandex.ru), 03.2016."""
print(time.strftime(prefix + '%Y-%m-%d %H:%M:%S', time.localtime())) |
#
# @lc app=leetcode.cn id=378 lang=python3
#
# [378] kth-smallest-element-in-a-sorted-matrix
#
None
# @lc code=end | None |
# our prime list is empty here
primes = []
def is_prime(x):
a = True
for i in primes:
if x % i == 0:
a = False
break
if i > int(x ** 0.5):
break
if a:
primes.append(x)
return a
# this loop simply runs the fxn to add newer primes
for i in range(2, 9999):
is_prime(i)
primes2 = []
for prime in primes:
if prime > 1000:
primes2.append(prime)
def getDigits(x):
digits = []
while x > 0:
digits.append(x % 10)
x = x // 10
return digits
def permutate(x):
digits = getDigits(x)
perms = []
for d1 in digits:
for d2 in digits:
if d2 != d1:
for d3 in digits:
if d3 not in [d1, d2]:
for d4 in digits:
if d4 not in [d1, d2, d3]:
n = d1*1000 + d2*100 + d3*10 + d4
perms.append(n)
return perms
def areEqualspaced(n1, n2, n3):
if n1 - n2 == n2 - n3 or n2 - n3 == n3 - n1 or n3 - n1 == n1 - n2:
return True
else:
return False
for prime in primes2:
permPrimes = []
for perm in permutate(prime):
if perm in primes2:
permPrimes.append(perm)
if len(permPrimes) >= 3:
for perm in permPrimes:
for perm2 in permPrimes:
if perm2 != perm:
for perm3 in permPrimes:
if areEqualspaced(perm, perm2, perm3):
print(perm, perm2, perm3)
print("Digits of 1234 are : ", getDigits(1234))
print("Permutations of 1234 are : ", permutate(1234))
| primes = []
def is_prime(x):
a = True
for i in primes:
if x % i == 0:
a = False
break
if i > int(x ** 0.5):
break
if a:
primes.append(x)
return a
for i in range(2, 9999):
is_prime(i)
primes2 = []
for prime in primes:
if prime > 1000:
primes2.append(prime)
def get_digits(x):
digits = []
while x > 0:
digits.append(x % 10)
x = x // 10
return digits
def permutate(x):
digits = get_digits(x)
perms = []
for d1 in digits:
for d2 in digits:
if d2 != d1:
for d3 in digits:
if d3 not in [d1, d2]:
for d4 in digits:
if d4 not in [d1, d2, d3]:
n = d1 * 1000 + d2 * 100 + d3 * 10 + d4
perms.append(n)
return perms
def are_equalspaced(n1, n2, n3):
if n1 - n2 == n2 - n3 or n2 - n3 == n3 - n1 or n3 - n1 == n1 - n2:
return True
else:
return False
for prime in primes2:
perm_primes = []
for perm in permutate(prime):
if perm in primes2:
permPrimes.append(perm)
if len(permPrimes) >= 3:
for perm in permPrimes:
for perm2 in permPrimes:
if perm2 != perm:
for perm3 in permPrimes:
if are_equalspaced(perm, perm2, perm3):
print(perm, perm2, perm3)
print('Digits of 1234 are : ', get_digits(1234))
print('Permutations of 1234 are : ', permutate(1234)) |
# Generic Models, Of New Class which makes the subclasses of type type
class Model(object):
# Generic Class from which models will inherit from
def __init__(self, item=None, item_id=0, list_of_items=None):
self.item = item
self.item_id = item_id
self.list_of_items = list_of_items
def get_specific_item(self):
# Return specific item based on class that was called
if self.item_id >= 1 and len(self.list_of_items) >= 1:
list_item = [item for item in self.list_of_items if item['id'] == self.item_id]
if len(list_item) > 0:
return list_item[0]
return 'Doesnt Exist'
return 'Invalid Id'
def get_all_items_in_list(self):
# Returns list of items for class that was called
return self.list_of_items
def remove_item(self):
if self.item_id >= 1:
# Remove if id matches
del_item = [item for item in self.list_of_items if item['id'] == self.item_id]
if len(del_item) == 0:
return 'Doesnt Exist'
# Return empty list
return self.list_of_items.remove(del_item[0])
# Incorrect id such as -1
return 'Invalid Id'
def generate_id(self):
# id unique
if not len(self.list_of_items) > 0:
user_id = len(self.list_of_items) + 1
return user_id
return self.list_of_items[-1]['id'] + 1
| class Model(object):
def __init__(self, item=None, item_id=0, list_of_items=None):
self.item = item
self.item_id = item_id
self.list_of_items = list_of_items
def get_specific_item(self):
if self.item_id >= 1 and len(self.list_of_items) >= 1:
list_item = [item for item in self.list_of_items if item['id'] == self.item_id]
if len(list_item) > 0:
return list_item[0]
return 'Doesnt Exist'
return 'Invalid Id'
def get_all_items_in_list(self):
return self.list_of_items
def remove_item(self):
if self.item_id >= 1:
del_item = [item for item in self.list_of_items if item['id'] == self.item_id]
if len(del_item) == 0:
return 'Doesnt Exist'
return self.list_of_items.remove(del_item[0])
return 'Invalid Id'
def generate_id(self):
if not len(self.list_of_items) > 0:
user_id = len(self.list_of_items) + 1
return user_id
return self.list_of_items[-1]['id'] + 1 |
def get_value_counts_for_column(data, col_name):
counts_df = data.groupBy(col_name).count().orderBy('count', ascending=False)
return counts_df.toPandas()
def create_vocab(data, col_name, cutoff=5, unk_token=True, none_token=True):
val_counts = get_value_counts_for_column(data, col_name)
val_counts.columns = [f"{col_name}_token", "count"]
final_vocab_df = val_counts[val_counts['count'] >= cutoff].copy()
if unk_token & none_token:
token_list = ["[UNK]"] + ["[NONE]"] + list(final_vocab_df[f"{col_name}_token"])
elif unk_token:
token_list = ["[UNK]"] + list(final_vocab_df[f"{col_name}_token"])
elif none_token:
token_list = ["[NONE]"] + list(final_vocab_df[f"{col_name}_token"])
else:
token_list = list(final_vocab_df[f"{col_name}_token"])
index_list = list(range(1, len(token_list)+1))
final_vocab = dict(zip(token_list, index_list))
return final_vocab
| def get_value_counts_for_column(data, col_name):
counts_df = data.groupBy(col_name).count().orderBy('count', ascending=False)
return counts_df.toPandas()
def create_vocab(data, col_name, cutoff=5, unk_token=True, none_token=True):
val_counts = get_value_counts_for_column(data, col_name)
val_counts.columns = [f'{col_name}_token', 'count']
final_vocab_df = val_counts[val_counts['count'] >= cutoff].copy()
if unk_token & none_token:
token_list = ['[UNK]'] + ['[NONE]'] + list(final_vocab_df[f'{col_name}_token'])
elif unk_token:
token_list = ['[UNK]'] + list(final_vocab_df[f'{col_name}_token'])
elif none_token:
token_list = ['[NONE]'] + list(final_vocab_df[f'{col_name}_token'])
else:
token_list = list(final_vocab_df[f'{col_name}_token'])
index_list = list(range(1, len(token_list) + 1))
final_vocab = dict(zip(token_list, index_list))
return final_vocab |
# Credits: https://github.com/sriinampudi
class Solution:
def xorOperation(self, n: int, start: int) -> int:
nums =[]
c = start
for i in range (0,n):
nums.append(start+(2*i))
if(i>0):
c = c ^ nums[i]
return(c)
''' or
class Solution:
def xorOperation(self, n: int, start: int) -> int:
c = start
d = 0
for i in range (1,n):
d = start+(2*i)
c = c ^ d
return(c)
'''
| class Solution:
def xor_operation(self, n: int, start: int) -> int:
nums = []
c = start
for i in range(0, n):
nums.append(start + 2 * i)
if i > 0:
c = c ^ nums[i]
return c
' or\nclass Solution:\n def xorOperation(self, n: int, start: int) -> int:\n c = start\n d = 0\n for i in range (1,n):\n d = start+(2*i)\n c = c ^ d\n \n return(c)\n' |
class Constants:
inactive = "."
active = "#"
def read_data(file_path,part2,debug=True):
file = open(file_path, "r")
data = []
for line in file:
if not line.rstrip():
continue
row = []
for cube in line.rstrip():
if cube == Constants.inactive:
row.append(False)
else:
row.append(True)
data.append(row)
file.close()
data = [data]
if part2:
data = [data]
if debug:
print_4d(data)
elif debug:
print_3d(data)
return data
def print_4d(data,part2=False):
w_idx = 0
for wslice in data:
z_idx = 0
for zslice in wslice:
print("Z-INDEX {0}, W-INDEX {1}:".format(z_idx,w_idx))
for row in zslice:
for col in row:
char = Constants.active if col else Constants.inactive
print(char + " ",end="")
print()
z_idx += 1
w_idx += 1
print()
def print_3d(data,part2=False):
z_idx = 0
for zslice in data:
print("Z-INDEX {0}:".format(z_idx))
for row in zslice:
for col in row:
char = Constants.active if col else Constants.inactive
print(char + " ",end="")
print()
z_idx += 1
print()
def count_active(data,part2=False):
if part2:
return count_active_4d(data)
count = 0
for z in range(len(data)):
for y in range(len(data[z])):
for x in range(len(data[z][y])):
count += 1 if data[z][y][x] else 0
return count
def count_active_4d(data,part2=False):
count = 0
for w in range(len(data)):
for z in range(len(data[w])):
for y in range(len(data[w][z])):
for x in range(len(data[w][z][y])):
count += 1 if data[w][z][y][x] else 0
return count
def count_active_neighbors_4d(data, w, z, y, x):
active_neighbors = 0
w_lower = -1 if w > 0 else 0
w_upper = 1 if w < len(data)-1 else 0
z_lower = -1 if z > 0 else 0
z_upper = 1 if z < len(data[w])-1 else 0
y_lower = -1 if y > 0 else 0
y_upper = 1 if y < len(data[w][z])-1 else 0
x_lower = -1 if x > 0 else 0
x_upper = 1 if x < len(data[w][z][y])-1 else 0
for w_delta in range(w_lower,w_upper+1):
for z_delta in range(z_lower,z_upper+1):
for y_delta in range(y_lower, y_upper+1):
for x_delta in range(x_lower,x_upper+1):
x2 = x + x_delta
y2 = y + y_delta
z2 = z + z_delta
w2 = w + w_delta
if (w == w2 and x == x2 and y == y2 and z == z2):
continue
if data[w2][z2][y2][x2]:
active_neighbors += 1
return active_neighbors
def count_active_neighbors(data, z, y, x,debug=False):
active_neighbors = 0
z_lower = -1 if z > 0 else 0
z_upper = 1 if z < len(data)-1 else 0
y_lower = -1 if y > 0 else 0
y_upper = 1 if y < len(data[z])-1 else 0
x_lower = -1 if x > 0 else 0
x_upper = 1 if x < len(data[z][y])-1 else 0
for z_delta in range(z_lower,z_upper+1):
for y_delta in range(y_lower, y_upper+1):
for x_delta in range(x_lower,x_upper+1):
x2 = x + x_delta
y2 = y + y_delta
z2 = z + z_delta
if (x == x2 and y == y2 and z == z2):
continue
if data[z2][y2][x2]:
active_neighbors += 1
return active_neighbors
def expand_space_2(curr_data):
next_data = []
for i in range(len(curr_data)+2):
next_data_wslice = []
for j in range(len(curr_data[0])+2):
next_data_zslice = []
for k in range(len(curr_data[0][0])+2):
next_data_row = [False for l in range(len(curr_data[0][0][0])+2)]
next_data_zslice.append(next_data_row)
next_data_wslice.append(next_data_zslice)
next_data.append(next_data_wslice)
# overwrite middle ones with curr_data
for w in range(len(curr_data)):
for z in range(len(curr_data[w])):
for y in range(len(curr_data[w][z])):
for x in range(len(curr_data[w][z][y])):
next_data[w+1][z+1][y+1][x+1] = curr_data[w][z][y][x]
return next_data
def expand_space(curr_data,part2=False):
if part2:
return expand_space_2(curr_data)
next_data = []
for i in range(len(curr_data)+2):
next_data_zslice = []
for j in range(len(curr_data[0])+2):
next_data_row = [False for k in range(len(curr_data[0][0])+2)]
next_data_zslice.append(next_data_row)
next_data.append(next_data_zslice)
# overwrite middle ones with curr_data
for z in range(len(curr_data)):
for y in range(len(curr_data[z])):
for x in range(len(curr_data[z][y])):
next_data[z+1][y+1][x+1] = curr_data[z][y][x]
return next_data
def execute_cycle(curr_data,part2=False,debug=False):
old_data = expand_space(curr_data,part2)
new_data = expand_space(curr_data,part2)
if part2:
for w in range(len(old_data)):
for z in range(len(old_data[w])):
for y in range(len(old_data[w][z])):
for x in range(len(old_data[w][z][y])):
cube = old_data[w][z][y][x]
active_neighbors = count_active_neighbors_4d(old_data, w, z, y, x)
if ((cube and
(active_neighbors < 2 or
active_neighbors > 3))
or
(not cube and
active_neighbors == 3)):
new_data[w][z][y][x] = not cube
else:
for z in range(len(old_data)):
for y in range(len(old_data[z])):
for x in range(len(old_data[z][y])):
cube = old_data[z][y][x]
active_neighbors = count_active_neighbors(old_data, z, y, x)
if ((cube and
(active_neighbors < 2 or
active_neighbors > 3))
or
(not cube and
active_neighbors == 3)):
new_data[z][y][x] = not cube
if debug:
print("OLD DATA:")
if part2:
print_4d(old_data)
else:
print_3d(old_data)
print("\nNEW DATA:")
if part2:
print_4d(new_data)
else:
print_3d(new_data)
return new_data
def calculate(data,part2=False,debug=False):
for i in range(6):
print("CYCLE {0}".format(i))
data = execute_cycle(data,part2,debug)
count = count_active(data,part2)
part = "2" if part2 else "1"
print("Part {0}: {1} active cubes\n\n".format(part,count))
return
def run_program(test=False, debug=False):
file_path = "solutions\day17\day17.txt"
if test:
file_path = "solutions\day17\day17_test.txt"
data = read_data(file_path, False, debug)
calculate(data, False, debug)
data = read_data(file_path, True, debug)
calculate(data, True, debug)
# run_program(True, False)
run_program() | class Constants:
inactive = '.'
active = '#'
def read_data(file_path, part2, debug=True):
file = open(file_path, 'r')
data = []
for line in file:
if not line.rstrip():
continue
row = []
for cube in line.rstrip():
if cube == Constants.inactive:
row.append(False)
else:
row.append(True)
data.append(row)
file.close()
data = [data]
if part2:
data = [data]
if debug:
print_4d(data)
elif debug:
print_3d(data)
return data
def print_4d(data, part2=False):
w_idx = 0
for wslice in data:
z_idx = 0
for zslice in wslice:
print('Z-INDEX {0}, W-INDEX {1}:'.format(z_idx, w_idx))
for row in zslice:
for col in row:
char = Constants.active if col else Constants.inactive
print(char + ' ', end='')
print()
z_idx += 1
w_idx += 1
print()
def print_3d(data, part2=False):
z_idx = 0
for zslice in data:
print('Z-INDEX {0}:'.format(z_idx))
for row in zslice:
for col in row:
char = Constants.active if col else Constants.inactive
print(char + ' ', end='')
print()
z_idx += 1
print()
def count_active(data, part2=False):
if part2:
return count_active_4d(data)
count = 0
for z in range(len(data)):
for y in range(len(data[z])):
for x in range(len(data[z][y])):
count += 1 if data[z][y][x] else 0
return count
def count_active_4d(data, part2=False):
count = 0
for w in range(len(data)):
for z in range(len(data[w])):
for y in range(len(data[w][z])):
for x in range(len(data[w][z][y])):
count += 1 if data[w][z][y][x] else 0
return count
def count_active_neighbors_4d(data, w, z, y, x):
active_neighbors = 0
w_lower = -1 if w > 0 else 0
w_upper = 1 if w < len(data) - 1 else 0
z_lower = -1 if z > 0 else 0
z_upper = 1 if z < len(data[w]) - 1 else 0
y_lower = -1 if y > 0 else 0
y_upper = 1 if y < len(data[w][z]) - 1 else 0
x_lower = -1 if x > 0 else 0
x_upper = 1 if x < len(data[w][z][y]) - 1 else 0
for w_delta in range(w_lower, w_upper + 1):
for z_delta in range(z_lower, z_upper + 1):
for y_delta in range(y_lower, y_upper + 1):
for x_delta in range(x_lower, x_upper + 1):
x2 = x + x_delta
y2 = y + y_delta
z2 = z + z_delta
w2 = w + w_delta
if w == w2 and x == x2 and (y == y2) and (z == z2):
continue
if data[w2][z2][y2][x2]:
active_neighbors += 1
return active_neighbors
def count_active_neighbors(data, z, y, x, debug=False):
active_neighbors = 0
z_lower = -1 if z > 0 else 0
z_upper = 1 if z < len(data) - 1 else 0
y_lower = -1 if y > 0 else 0
y_upper = 1 if y < len(data[z]) - 1 else 0
x_lower = -1 if x > 0 else 0
x_upper = 1 if x < len(data[z][y]) - 1 else 0
for z_delta in range(z_lower, z_upper + 1):
for y_delta in range(y_lower, y_upper + 1):
for x_delta in range(x_lower, x_upper + 1):
x2 = x + x_delta
y2 = y + y_delta
z2 = z + z_delta
if x == x2 and y == y2 and (z == z2):
continue
if data[z2][y2][x2]:
active_neighbors += 1
return active_neighbors
def expand_space_2(curr_data):
next_data = []
for i in range(len(curr_data) + 2):
next_data_wslice = []
for j in range(len(curr_data[0]) + 2):
next_data_zslice = []
for k in range(len(curr_data[0][0]) + 2):
next_data_row = [False for l in range(len(curr_data[0][0][0]) + 2)]
next_data_zslice.append(next_data_row)
next_data_wslice.append(next_data_zslice)
next_data.append(next_data_wslice)
for w in range(len(curr_data)):
for z in range(len(curr_data[w])):
for y in range(len(curr_data[w][z])):
for x in range(len(curr_data[w][z][y])):
next_data[w + 1][z + 1][y + 1][x + 1] = curr_data[w][z][y][x]
return next_data
def expand_space(curr_data, part2=False):
if part2:
return expand_space_2(curr_data)
next_data = []
for i in range(len(curr_data) + 2):
next_data_zslice = []
for j in range(len(curr_data[0]) + 2):
next_data_row = [False for k in range(len(curr_data[0][0]) + 2)]
next_data_zslice.append(next_data_row)
next_data.append(next_data_zslice)
for z in range(len(curr_data)):
for y in range(len(curr_data[z])):
for x in range(len(curr_data[z][y])):
next_data[z + 1][y + 1][x + 1] = curr_data[z][y][x]
return next_data
def execute_cycle(curr_data, part2=False, debug=False):
old_data = expand_space(curr_data, part2)
new_data = expand_space(curr_data, part2)
if part2:
for w in range(len(old_data)):
for z in range(len(old_data[w])):
for y in range(len(old_data[w][z])):
for x in range(len(old_data[w][z][y])):
cube = old_data[w][z][y][x]
active_neighbors = count_active_neighbors_4d(old_data, w, z, y, x)
if cube and (active_neighbors < 2 or active_neighbors > 3) or (not cube and active_neighbors == 3):
new_data[w][z][y][x] = not cube
else:
for z in range(len(old_data)):
for y in range(len(old_data[z])):
for x in range(len(old_data[z][y])):
cube = old_data[z][y][x]
active_neighbors = count_active_neighbors(old_data, z, y, x)
if cube and (active_neighbors < 2 or active_neighbors > 3) or (not cube and active_neighbors == 3):
new_data[z][y][x] = not cube
if debug:
print('OLD DATA:')
if part2:
print_4d(old_data)
else:
print_3d(old_data)
print('\nNEW DATA:')
if part2:
print_4d(new_data)
else:
print_3d(new_data)
return new_data
def calculate(data, part2=False, debug=False):
for i in range(6):
print('CYCLE {0}'.format(i))
data = execute_cycle(data, part2, debug)
count = count_active(data, part2)
part = '2' if part2 else '1'
print('Part {0}: {1} active cubes\n\n'.format(part, count))
return
def run_program(test=False, debug=False):
file_path = 'solutions\\day17\\day17.txt'
if test:
file_path = 'solutions\\day17\\day17_test.txt'
data = read_data(file_path, False, debug)
calculate(data, False, debug)
data = read_data(file_path, True, debug)
calculate(data, True, debug)
run_program() |
# Rearrange an array so that arr[i] becomes arr[arr[i]] with O(1) extra space
# Given an array arr[] of size n where every element is in range from 0 to n-1.
# Rearrange the given array so that arr[i] becomes arr[arr[i]].
# This should be done with O(1) extra space.
# Examples:
# Input: arr[] = {3, 2, 0, 1}
# Output: arr[] = {1, 0, 3, 2}
# Explanation:
# In the given array
# arr[arr[0]] is 1 so arr[0] in output array is 1
# arr[arr[1]] is 0 so arr[1] in output array is 0
# arr[arr[2]] is 3 so arr[2] in output array is 3
# arr[arr[3]] is 2 so arr[3] in output array is 2
# Input: arr[] = {4, 0, 2, 1, 3}
# Output: arr[] = {3, 4, 2, 0, 1}
# Explanation:
# arr[arr[0]] is 3 so arr[0] in output array is 3
# arr[arr[1]] is 4 so arr[1] in output array is 4
# arr[arr[2]] is 2 so arr[2] in output array is 2
# arr[arr[3]] is 0 so arr[3] in output array is 0
# arr[arr[4]] is 1 so arr[4] in output array is 1
# Input: arr[] = {0, 1, 2, 3}
# Output: arr[] = {0, 1, 2, 3}
# Explanation:
# arr[arr[0]] is 0 so arr[0] in output array is 0
# arr[arr[1]] is 1 so arr[1] in output array is 1
# arr[arr[2]] is 2 so arr[2] in output array is 2
# arr[arr[3]] is 3 so arr[3] in output array is 3
def rearrangeArray(arr, n):
# First step: Increase all values
# by (arr[arr[i]] % n) * n
for i in range(0, n):
arr[i] += (arr[arr[i]] % n) * n
print(i, ':', arr)
# Second Step: Divide all values
# by n
for i in range(0, n):
arr[i] = int(arr[i] / n)
print(i, ':', arr)
def printArr(arr, n):
for i in range(0, n):
print(arr[i], end=" ")
print("")
if __name__ == "__main__":
arr = [3, 2, 0, 1]
n = len(arr)
print("Given array is")
printArr(arr, n)
rearrangeArray(arr, n)
print("Modified array is")
printArr(arr, n)
| def rearrange_array(arr, n):
for i in range(0, n):
arr[i] += arr[arr[i]] % n * n
print(i, ':', arr)
for i in range(0, n):
arr[i] = int(arr[i] / n)
print(i, ':', arr)
def print_arr(arr, n):
for i in range(0, n):
print(arr[i], end=' ')
print('')
if __name__ == '__main__':
arr = [3, 2, 0, 1]
n = len(arr)
print('Given array is')
print_arr(arr, n)
rearrange_array(arr, n)
print('Modified array is')
print_arr(arr, n) |
def fixFilter(params, filter):
q={}
for f in filter:
if type(filter[f]) is list:
for i in range(len(filter[f])):
q['filter[{}][{}][{}]'.format(f, i, 'key')] = filter[f][i]['key']
q['filter[{}][{}][{}]'.format(f, i, 'value')] = filter[f][i]['value']
else:
q['filter[{}]'.format(f, 'value')] = filter[f]
params.pop('filter', None)
params.update(q)
return params | def fix_filter(params, filter):
q = {}
for f in filter:
if type(filter[f]) is list:
for i in range(len(filter[f])):
q['filter[{}][{}][{}]'.format(f, i, 'key')] = filter[f][i]['key']
q['filter[{}][{}][{}]'.format(f, i, 'value')] = filter[f][i]['value']
else:
q['filter[{}]'.format(f, 'value')] = filter[f]
params.pop('filter', None)
params.update(q)
return params |
petar_budget = float(input())
video_cards = int(input())
processors = int(input())
ram = int(input())
video_cards_price = video_cards * 250
one_processors_price = video_cards_price * 0.35
processors_price = processors * one_processors_price
one_ram_price = video_cards_price * 0.10
ram_price = one_ram_price * ram
total_price = video_cards_price + processors_price + ram_price
discount = total_price * 0.15
if video_cards > processors:
total_price = total_price - discount
if petar_budget >= total_price:
print(f"You have {petar_budget - total_price:.2f} leva left!")
elif total_price > petar_budget:
print(f"Not enough money! You need {total_price - petar_budget:.2f} leva more!") | petar_budget = float(input())
video_cards = int(input())
processors = int(input())
ram = int(input())
video_cards_price = video_cards * 250
one_processors_price = video_cards_price * 0.35
processors_price = processors * one_processors_price
one_ram_price = video_cards_price * 0.1
ram_price = one_ram_price * ram
total_price = video_cards_price + processors_price + ram_price
discount = total_price * 0.15
if video_cards > processors:
total_price = total_price - discount
if petar_budget >= total_price:
print(f'You have {petar_budget - total_price:.2f} leva left!')
elif total_price > petar_budget:
print(f'Not enough money! You need {total_price - petar_budget:.2f} leva more!') |
#Number class used to store a number and a number which shows a cumulative sum of each numbers divisors from 1 to number
class Number:
def __init__(self, number, cumulativeSum):
self.number = number
self.cumulativeSum = cumulativeSum
def get_number(self):
return self.number
#finds sum of all viable divisors of number n
def findSumOfDivisors(n):
sum = 0
for x in range(2, int(n)):
z = n / x #temporary result of division
if z == int(z):
sum = sum + z
return sum
#finds cumulative sum of divisors for numbers 1 to Number.number
def findCumulativeSumOfDivisors(Number):
for x in range(0, Number.number + 1):
Number.cumulativeSum = Number.cumulativeSum + findSumOfDivisors(x)
print("Cumulative sum of divisors of number n: " + str(Number.number) + " is: " + str(Number.cumulativeSum))
return Number
#reads data from file into integer array
def readIntoArray(fileName):
array = []
with open('data.txt') as f:
for line in f: # read all lines
array.append(int(line))
return array
#finds results for all integers in array
def findResults(array):
numberArray = []
for x in array:
temp = Number(x, 0)
temp = findCumulativeSumOfDivisors(temp)
numberArray.append(temp)
array = readIntoArray("data.txt")
findResults(array) | class Number:
def __init__(self, number, cumulativeSum):
self.number = number
self.cumulativeSum = cumulativeSum
def get_number(self):
return self.number
def find_sum_of_divisors(n):
sum = 0
for x in range(2, int(n)):
z = n / x
if z == int(z):
sum = sum + z
return sum
def find_cumulative_sum_of_divisors(Number):
for x in range(0, Number.number + 1):
Number.cumulativeSum = Number.cumulativeSum + find_sum_of_divisors(x)
print('Cumulative sum of divisors of number n: ' + str(Number.number) + ' is: ' + str(Number.cumulativeSum))
return Number
def read_into_array(fileName):
array = []
with open('data.txt') as f:
for line in f:
array.append(int(line))
return array
def find_results(array):
number_array = []
for x in array:
temp = number(x, 0)
temp = find_cumulative_sum_of_divisors(temp)
numberArray.append(temp)
array = read_into_array('data.txt')
find_results(array) |
class Lyric:
def __init__(self, content, artist=None, album=None, title=None):
self._content = content
self._artist = artist
self._album = album
self._title = title
def __repr__(self):
artist = self._artist or 'Unnamed'
title = self._title or 'Untitled'
return f'<Lyric "{artist} - {title}">'
def __str__(self):
return self._content
def __len__(self):
return self._content.count('\n') + 1
def show(self, *args):
if len(args) == 0 or args[0] > len(self):
print(self)
else:
lines = self._content.split()
for line in lines[:args[0]]:
print(line)
@property
def artist(self):
return self._artist
@property
def album(self):
return self._album
@property
def title(self):
return self._title
def store(self):
with open(f'{self._artist} - {self._title}', 'w') as f:
f.write(self._content)
class LyricList(list):
def store(self):
for lyric in self:
lyric.store()
| class Lyric:
def __init__(self, content, artist=None, album=None, title=None):
self._content = content
self._artist = artist
self._album = album
self._title = title
def __repr__(self):
artist = self._artist or 'Unnamed'
title = self._title or 'Untitled'
return f'<Lyric "{artist} - {title}">'
def __str__(self):
return self._content
def __len__(self):
return self._content.count('\n') + 1
def show(self, *args):
if len(args) == 0 or args[0] > len(self):
print(self)
else:
lines = self._content.split()
for line in lines[:args[0]]:
print(line)
@property
def artist(self):
return self._artist
@property
def album(self):
return self._album
@property
def title(self):
return self._title
def store(self):
with open(f'{self._artist} - {self._title}', 'w') as f:
f.write(self._content)
class Lyriclist(list):
def store(self):
for lyric in self:
lyric.store() |
### WHILE LOOPS ###
'''
As a programmer, there will be times where you want your
program to do the same thing over and over again. Before,
when we made our game, we did that by letting our 'main()'
function call itself whenever we wanted to repeat a task.
This worked well for our purposes at the time, but for most
cases there is a better way for repeating tasks.
NOTE: The concept of repreating a task by calling a function
from within itself is called 'recursion'
The concept we are discussing is loops. There are two main
types of loops. The first one is called the 'while' loop.
A 'while' loop executes a block of code as long as a boolean
condition is True. That code will execute forever until that
condition is False. Say we wanted to count from 0 to 10.
Let's see how we can do this with a while loop.
'''
num = 0
while(num < 11):
print(num)
num += 1
# A second way to show some different ideas on how to
# solve the problem. Compare!
num2 = 0
while num2 <= 10:
print(num2)
num2+=1
'''
The while loop can do a lot more than just count. Let's
use the 'input()' function we learned before to control a
while loop.
'''
while(input("Say hi: ") != "hi"):
print("That isn't 'hi' :(")
'''
We see that the loop doesn't always need a pre-existing
condition to work, and that the condition inside is always
tested. That means that in this case the 'input()' function
is called every time the while loop iterates, including
the first time. As soon as the condition is no longer true,
it exits.
'''
### FOR LOOPS ###
'''
A while loop can do a lot more than count, and even then
we don't always want to create a variable for a number to
be counted. For those reasons alone, a different kind of
loop exists called a 'for loop'. A for loop creates a
variable that exists only within the loop and removes
itself from the program after the loop ends. Let's try
counting to 10 again.
'''
for i in range(11):
print(i)
# NOTE: the variable name 'i' can be anything, but it is
# generally accepted that 'i' be used in the case
# that the variable doesn't need any other name.
# Feel free to name the variable anything you want!
'''
Let's disect this code. Notice the new keyword 'range()'.
'range()' is only used in for loops and just tells the
loop how we count. In this case we gave it one number, 11.
Just like before it started at 0 and went to only 10. That
is because counting always starts at 0 when programming.
The reason it never reaches 11 is because there are only
11 total numbers, and if the loop starts at 0, then it will
only reach 10. This may not make sense, but if you learn other
languages in the future you will see why this is the way it is.
So why create a whole new keyword such as 'range()' for this?
'range()' actually has room for one to three parameters. If you
use one parameter, by defualt that is the "stop" value. It will
count to this value and then stop. If you use two parameters, the
second one becomes the "stop" and the first one becomes the "start".
The for loop will start at the "start" and stop at the "stop" minus
one.
'''
for i in range(5, 11):
print(i)
'''
There is one more parameter you can use. If you include a third
parameter, it will be the "step" parameter. By default, it is one
which is why the for loop always counts by one. If you needed
your loop to count by a different number, such as 5, you would
include that as your third parameter.
'''
for i in range(0, 11, 5):
print(i)
# NOTE: Zero is still included
# Second NOTE: Code that comes after a loop will not be executed
# until that loop is complete
'''
Let's take what we have learned here and make a small program.
The program is to help people who do not know how to count. It
let's them enter a positive number, and will count to that number.
It will also let them quit the program.
'''
# Set an initial value
num = -1
# Exit only if they enter a 0
while num != 0:
# Tell them to enter their number
num = int(input("Enter a positive number, or 0 to quit: "))
''' Since we are counting to the number they enter, tell
it to stop at the number plus one'''
for i in range(0, num+1):
print(i)
# A pleasant message when they are done playing
print("Thank you! Goodbye!")
# No challenges for this one, I encourage you to think of
# and add your own features!
'''
Later on, we will discuss for loops further as they have other
uses than just counting.
'''
| """
As a programmer, there will be times where you want your
program to do the same thing over and over again. Before,
when we made our game, we did that by letting our 'main()'
function call itself whenever we wanted to repeat a task.
This worked well for our purposes at the time, but for most
cases there is a better way for repeating tasks.
NOTE: The concept of repreating a task by calling a function
from within itself is called 'recursion'
The concept we are discussing is loops. There are two main
types of loops. The first one is called the 'while' loop.
A 'while' loop executes a block of code as long as a boolean
condition is True. That code will execute forever until that
condition is False. Say we wanted to count from 0 to 10.
Let's see how we can do this with a while loop.
"""
num = 0
while num < 11:
print(num)
num += 1
num2 = 0
while num2 <= 10:
print(num2)
num2 += 1
"\nThe while loop can do a lot more than just count. Let's\nuse the 'input()' function we learned before to control a\nwhile loop.\n"
while input('Say hi: ') != 'hi':
print("That isn't 'hi' :(")
"\nWe see that the loop doesn't always need a pre-existing\ncondition to work, and that the condition inside is always\ntested. That means that in this case the 'input()' function\nis called every time the while loop iterates, including\nthe first time. As soon as the condition is no longer true,\nit exits.\n"
"\nA while loop can do a lot more than count, and even then\nwe don't always want to create a variable for a number to\nbe counted. For those reasons alone, a different kind of\nloop exists called a 'for loop'. A for loop creates a\nvariable that exists only within the loop and removes\nitself from the program after the loop ends. Let's try\ncounting to 10 again.\n"
for i in range(11):
print(i)
'\nLet\'s disect this code. Notice the new keyword \'range()\'.\n\'range()\' is only used in for loops and just tells the\nloop how we count. In this case we gave it one number, 11.\nJust like before it started at 0 and went to only 10. That\nis because counting always starts at 0 when programming.\nThe reason it never reaches 11 is because there are only\n11 total numbers, and if the loop starts at 0, then it will\nonly reach 10. This may not make sense, but if you learn other\nlanguages in the future you will see why this is the way it is.\n\nSo why create a whole new keyword such as \'range()\' for this?\n\'range()\' actually has room for one to three parameters. If you\nuse one parameter, by defualt that is the "stop" value. It will\ncount to this value and then stop. If you use two parameters, the\nsecond one becomes the "stop" and the first one becomes the "start".\nThe for loop will start at the "start" and stop at the "stop" minus\none.\n'
for i in range(5, 11):
print(i)
'\nThere is one more parameter you can use. If you include a third\nparameter, it will be the "step" parameter. By default, it is one\nwhich is why the for loop always counts by one. If you needed\nyour loop to count by a different number, such as 5, you would\ninclude that as your third parameter.\n'
for i in range(0, 11, 5):
print(i)
"\nLet's take what we have learned here and make a small program.\nThe program is to help people who do not know how to count. It\nlet's them enter a positive number, and will count to that number.\nIt will also let them quit the program.\n"
num = -1
while num != 0:
num = int(input('Enter a positive number, or 0 to quit: '))
' Since we are counting to the number they enter, tell\n\t\tit to stop at the number plus one'
for i in range(0, num + 1):
print(i)
print('Thank you! Goodbye!')
'\nLater on, we will discuss for loops further as they have other\nuses than just counting.\n' |
def counting_sticks(sticks): # Function defined accepts a list
while len(sticks) > 0: # While loop to print results till size of all sticks become zero
print(len(sticks)) # Printing the len of list or number of sticks in the list
minimum = min(sticks) # variable assigned for the least size of sticks
for i in range(len(sticks)): # for loop to iterate and
sticks[i] -= minimum # subtract the minimum length from all the sticks
while 0 in sticks: # if the size of a stick becomes zero we have to remove it
del sticks[sticks.index(0)] # deleting the 0 element from the list
n = input() # Size of an array (length)
stick = list(map(int, input().split())) # List of size of sticks
counting_sticks(stick) # calling the function to print the results
| def counting_sticks(sticks):
while len(sticks) > 0:
print(len(sticks))
minimum = min(sticks)
for i in range(len(sticks)):
sticks[i] -= minimum
while 0 in sticks:
del sticks[sticks.index(0)]
n = input()
stick = list(map(int, input().split()))
counting_sticks(stick) |
def heap_sort(list):
for start in range((len(list)- 2)//2, -1, -1):
sift_down(list, start, len(list)-1)
for end in range(len(list) - 1, 0, -1):
list[0], list[end] = list[end], list[0]
sift_down(list, 0, end - 1)
return list
def sift_down(lst, n, i):
root = n
while True:
child = 2 * root + 1
if child > i:
break
if child + 1<= i and lst[child] < lst[child + 1]:
child += 1
if lst[root] < lst[child]:
lst[root], lst[child] = lst[child], lst[root]
root = child
else:
break
lst = [2, 6, 5, 4, 3, 8, 1, 9, 7]
print(heap_sort(lst)) | def heap_sort(list):
for start in range((len(list) - 2) // 2, -1, -1):
sift_down(list, start, len(list) - 1)
for end in range(len(list) - 1, 0, -1):
(list[0], list[end]) = (list[end], list[0])
sift_down(list, 0, end - 1)
return list
def sift_down(lst, n, i):
root = n
while True:
child = 2 * root + 1
if child > i:
break
if child + 1 <= i and lst[child] < lst[child + 1]:
child += 1
if lst[root] < lst[child]:
(lst[root], lst[child]) = (lst[child], lst[root])
root = child
else:
break
lst = [2, 6, 5, 4, 3, 8, 1, 9, 7]
print(heap_sort(lst)) |
# Configuration for PureScrape
# Member's login information
EMAIL = ""
PIN = ""
# Path to database
sqlite_path = 'pure_db.sqlite3'
| email = ''
pin = ''
sqlite_path = 'pure_db.sqlite3' |
#Logical and, or, not
#and - both the condition should be true
exp=10
age=45
if(exp>=10 and age>=45):
print("Eligible to work")
else:
print("Not Eligible")
#or - any one condition should be true
x=10
print(x>5 or x<5)
#not - returns false if the value is true and vice versa
x="True"
print(not(x)) | exp = 10
age = 45
if exp >= 10 and age >= 45:
print('Eligible to work')
else:
print('Not Eligible')
x = 10
print(x > 5 or x < 5)
x = 'True'
print(not x) |
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'libwebm.gypi',
],
'targets': [
{
'target_name': 'libwebm',
'type': 'static_library',
'sources': [
'<@(libwebm_sources)'
],
'defines!': [
# This macro is declared in common.gypi which causes warning when
# compiling mkvmuxerutil.cpp which also defines it.
'_CRT_RAND_S',
],
'msvs_disabled_warnings': [ 4267 ],
}, # target libwebm
]
}
| {'includes': ['libwebm.gypi'], 'targets': [{'target_name': 'libwebm', 'type': 'static_library', 'sources': ['<@(libwebm_sources)'], 'defines!': ['_CRT_RAND_S'], 'msvs_disabled_warnings': [4267]}]} |
#! python3
# __author__ = "YangJiaHao"
# date: 2018/12/26
def number_of1(n):
count = 0
while(n):
count += 1
n = (n-1) & n
return count
if __name__ == '__main__':
res = number_of1(-1)
print(res)
| def number_of1(n):
count = 0
while n:
count += 1
n = n - 1 & n
return count
if __name__ == '__main__':
res = number_of1(-1)
print(res) |
class MarkPrice:
def __init__(self):
self.symbol = ""
self.markPrice = 0.0
self.lastFundingRate = 0.0
self.nextFundingTime = 0
self.time = 0
@staticmethod
def json_parse(json_data):
result = MarkPrice()
result.symbol = json_data.get_string("symbol")
result.markPrice = json_data.get_float("markPrice")
result.lastFundingRate = json_data.get_float("lastFundingRate")
result.nextFundingTime = json_data.get_int("nextFundingTime")
result.time = json_data.get_int("time")
return result
| class Markprice:
def __init__(self):
self.symbol = ''
self.markPrice = 0.0
self.lastFundingRate = 0.0
self.nextFundingTime = 0
self.time = 0
@staticmethod
def json_parse(json_data):
result = mark_price()
result.symbol = json_data.get_string('symbol')
result.markPrice = json_data.get_float('markPrice')
result.lastFundingRate = json_data.get_float('lastFundingRate')
result.nextFundingTime = json_data.get_int('nextFundingTime')
result.time = json_data.get_int('time')
return result |
class Solution:
def __init__(self):
self.max_num = 0
def XXX(self, root: TreeNode) -> int:
if root is None: return 0
l = self.XXX(root.left)
r = self.XXX(root.right)
self.max_num = max (max(l, r)+1, self.max_num)
return self.max_num
| class Solution:
def __init__(self):
self.max_num = 0
def xxx(self, root: TreeNode) -> int:
if root is None:
return 0
l = self.XXX(root.left)
r = self.XXX(root.right)
self.max_num = max(max(l, r) + 1, self.max_num)
return self.max_num |
# Solution ID: 52181021
def closest_zero(street, empty_pose_value='0'):
street_length = len(street)
zeros = [
index
for (index, number) in enumerate(street)
if number == empty_pose_value
]
result = [0] * street_length
# Before first zero
first_zero = zeros[0]
for number in range(first_zero):
result[number] = first_zero - number
# Between first and last zeros (if any)
left_zero = first_zero
for right_zero in zeros[1:]:
for number in range(left_zero + 1, right_zero):
result[number] = min(number - left_zero, right_zero - number)
left_zero = right_zero
# After last zero
last_zero = zeros[-1]
for number in range(last_zero + 1, street_length):
result[number] = number - last_zero
return result
if __name__ == '__main__':
input()
print(*closest_zero(street=input().split(' ')))
| def closest_zero(street, empty_pose_value='0'):
street_length = len(street)
zeros = [index for (index, number) in enumerate(street) if number == empty_pose_value]
result = [0] * street_length
first_zero = zeros[0]
for number in range(first_zero):
result[number] = first_zero - number
left_zero = first_zero
for right_zero in zeros[1:]:
for number in range(left_zero + 1, right_zero):
result[number] = min(number - left_zero, right_zero - number)
left_zero = right_zero
last_zero = zeros[-1]
for number in range(last_zero + 1, street_length):
result[number] = number - last_zero
return result
if __name__ == '__main__':
input()
print(*closest_zero(street=input().split(' '))) |
def Sieve(N):
result = []
arr = [True] * 100
for i in range(2, int(N**(1/2.0))):
if arr[i] == True:
for j in range(i + i, N, i):
arr[j] = False
for i in range(N):
if arr[i] == True and i != 0 and i != 1:
result.append(i)
print(result)
Sieve(100)
| def sieve(N):
result = []
arr = [True] * 100
for i in range(2, int(N ** (1 / 2.0))):
if arr[i] == True:
for j in range(i + i, N, i):
arr[j] = False
for i in range(N):
if arr[i] == True and i != 0 and (i != 1):
result.append(i)
print(result)
sieve(100) |
sso_params = {
"cootek.authorize": "https://idcsso.corp.cootek.com/adfs/oauth2/authorize/",
"cootek.token": "https://idcsso.corp.cootek.com/adfs/oauth2/token",
"cootek.logout": "https://idcsso.corp.cootek.com/adfs/oauth2/logout",
"cootek.client-id": "a6e7edae-e3b8-43fd-92bc-f6208368b8be",
"cootek.client-secret": "E4wjVfZeN_YoUA16GvyrV5SmwC7oplmsY20p24ru",
}
authorize_params = {
"response_type": "code",
"client_id": "a6e7edae-e3b8-43fd-92bc-f6208368b8be",
"redirect_uri": "https://tensorflow.cootekos.com/index",
}
token_params = {
"grant_type": "authorization_code",
"code": "",
"client_id": "a6e7edae-e3b8-43fd-92bc-f6208368b8be",
"redirect_uri": "https://tensorflow.cootekos.com/index",
"client_secret": "E4wjVfZeN_YoUA16GvyrV5SmwC7oplmsY20p24ru",
}
logout_params = {
"client_id": "a6e7edae-e3b8-43fd-92bc-f6208368b8be",
} | sso_params = {'cootek.authorize': 'https://idcsso.corp.cootek.com/adfs/oauth2/authorize/', 'cootek.token': 'https://idcsso.corp.cootek.com/adfs/oauth2/token', 'cootek.logout': 'https://idcsso.corp.cootek.com/adfs/oauth2/logout', 'cootek.client-id': 'a6e7edae-e3b8-43fd-92bc-f6208368b8be', 'cootek.client-secret': 'E4wjVfZeN_YoUA16GvyrV5SmwC7oplmsY20p24ru'}
authorize_params = {'response_type': 'code', 'client_id': 'a6e7edae-e3b8-43fd-92bc-f6208368b8be', 'redirect_uri': 'https://tensorflow.cootekos.com/index'}
token_params = {'grant_type': 'authorization_code', 'code': '', 'client_id': 'a6e7edae-e3b8-43fd-92bc-f6208368b8be', 'redirect_uri': 'https://tensorflow.cootekos.com/index', 'client_secret': 'E4wjVfZeN_YoUA16GvyrV5SmwC7oplmsY20p24ru'}
logout_params = {'client_id': 'a6e7edae-e3b8-43fd-92bc-f6208368b8be'} |
class Match(object):
def __init__(self, data):
self._data = data
self._players = {}
self._playersname = {}
self._processPlayers()
def _processPlayers(self):
try:
for identities in self._data["participantIdentities"]:
self._players[identities["participantId"]] = identities["player"]
self._playersname[identities["player"]["summonerName"]] = identities["participantId"]
except:
return
winnerTeamId = None
for team in self._data["teams"]:
if team["win"] == "Win":
winnerTeamId = team["teamId"]
for participant in self._data["participants"]:
participantId = participant["participantId"]
self._players[participantId]["teamId"] = participant["teamId"]
if participant["teamId"] == winnerTeamId:
self._players[participantId]["win"] = True
else:
self._players[participantId]["win"] = False
def getPlayerWin(self, playerName):
playerName = playerName.decode("latin1")
return self._players[self._playersname[playerName]]["win"] if playerName in self._playersname else None
def getTeamPlayers(self, playerName):
playerName = playerName.decode("latin1")
if playerName not in self._playersname:
return []
teamId = self._players[self._playersname[playerName]]["teamId"]
teamPlayers = []
for player in self._players.values():
if player["teamId"] == teamId and player["summonerName"] != playerName:
teamPlayers.append(player["summonerName"])
return teamPlayers
class Matchs(list):
def __init__(self, player):
self.player = player
def stats(self):
lastTeamMates = []
winDuo = 0
gameDuo = 0
winSolo = 0
gameSolo = 0
first = True
for match in self:
players = match.getTeamPlayers(self.player)
duo = False
for player in players:
if player is not self.player:
if player in lastTeamMates:
duo = True
gameDuo += 1
if match.getPlayerWin(self.player):
winDuo += 1
break
if not duo:
gameSolo += 1
if match.getPlayerWin(self.player):
winSolo += 1
lastTeamMates = players
return {
"winDuo": winDuo,
"gameDuo": gameDuo,
"winSolo": winSolo,
"gameSolo": gameSolo
} | class Match(object):
def __init__(self, data):
self._data = data
self._players = {}
self._playersname = {}
self._processPlayers()
def _process_players(self):
try:
for identities in self._data['participantIdentities']:
self._players[identities['participantId']] = identities['player']
self._playersname[identities['player']['summonerName']] = identities['participantId']
except:
return
winner_team_id = None
for team in self._data['teams']:
if team['win'] == 'Win':
winner_team_id = team['teamId']
for participant in self._data['participants']:
participant_id = participant['participantId']
self._players[participantId]['teamId'] = participant['teamId']
if participant['teamId'] == winnerTeamId:
self._players[participantId]['win'] = True
else:
self._players[participantId]['win'] = False
def get_player_win(self, playerName):
player_name = playerName.decode('latin1')
return self._players[self._playersname[playerName]]['win'] if playerName in self._playersname else None
def get_team_players(self, playerName):
player_name = playerName.decode('latin1')
if playerName not in self._playersname:
return []
team_id = self._players[self._playersname[playerName]]['teamId']
team_players = []
for player in self._players.values():
if player['teamId'] == teamId and player['summonerName'] != playerName:
teamPlayers.append(player['summonerName'])
return teamPlayers
class Matchs(list):
def __init__(self, player):
self.player = player
def stats(self):
last_team_mates = []
win_duo = 0
game_duo = 0
win_solo = 0
game_solo = 0
first = True
for match in self:
players = match.getTeamPlayers(self.player)
duo = False
for player in players:
if player is not self.player:
if player in lastTeamMates:
duo = True
game_duo += 1
if match.getPlayerWin(self.player):
win_duo += 1
break
if not duo:
game_solo += 1
if match.getPlayerWin(self.player):
win_solo += 1
last_team_mates = players
return {'winDuo': winDuo, 'gameDuo': gameDuo, 'winSolo': winSolo, 'gameSolo': gameSolo} |
# -*- coding: utf-8 -*-
description = 'setup for the shutter'
group = 'lowlevel'
includes = ['sps']
tangohost = 'phys.spheres.frm2'
shutter = 'tango://%s:10000/spheres/profibus/' % tangohost
devices = dict(
shutter = device('nicos_mlz.spheres.devices.shutter.ShutterCluster',
description = 'Display whether all the shutters leading to the sample '
'are open',
tangodevice = shutter + 'instrumentshutter',
upstream = ['upstream_shut1', 'upstream_shut2', 'upstream_shut3'],
chains = ['housing_chain1', 'housing_chain2', 'housing_chain_stairs'],
door = 'door_closed_locked',
mapping = {'open': 1,
'closed': 0},
attachedmapping = {'closed': 0,
'open': 1},
timeout = 5,
shutterstatemapping = {
0b000: 'closed: DNS, fast and 6-fold',
0b001: 'closed: DNS and fast',
0b010: 'closed: DNS and 6-fold',
0b011: 'closed: DNS',
0b100: 'closed: fast and 6-fold',
0b101: 'closed: fast',
0b110: 'closed: 6-fold',
},
chainstatemapping = {
0b001: 'chain1 open',
0b010: 'chain2 open',
0b011: 'open chains: 1 and 2',
0b100: 'chain_stairs open',
0b101: 'open chains: 1 and stairs ',
0b110: 'open chains: 2 and stairs',
0b111: 'all chains open',
}
),
)
| description = 'setup for the shutter'
group = 'lowlevel'
includes = ['sps']
tangohost = 'phys.spheres.frm2'
shutter = 'tango://%s:10000/spheres/profibus/' % tangohost
devices = dict(shutter=device('nicos_mlz.spheres.devices.shutter.ShutterCluster', description='Display whether all the shutters leading to the sample are open', tangodevice=shutter + 'instrumentshutter', upstream=['upstream_shut1', 'upstream_shut2', 'upstream_shut3'], chains=['housing_chain1', 'housing_chain2', 'housing_chain_stairs'], door='door_closed_locked', mapping={'open': 1, 'closed': 0}, attachedmapping={'closed': 0, 'open': 1}, timeout=5, shutterstatemapping={0: 'closed: DNS, fast and 6-fold', 1: 'closed: DNS and fast', 2: 'closed: DNS and 6-fold', 3: 'closed: DNS', 4: 'closed: fast and 6-fold', 5: 'closed: fast', 6: 'closed: 6-fold'}, chainstatemapping={1: 'chain1 open', 2: 'chain2 open', 3: 'open chains: 1 and 2', 4: 'chain_stairs open', 5: 'open chains: 1 and stairs ', 6: 'open chains: 2 and stairs', 7: 'all chains open'})) |
def _pipe(f, g):
def inner(*arguments):
return g(f(*arguments))
return inner
| def _pipe(f, g):
def inner(*arguments):
return g(f(*arguments))
return inner |
anna = {'name': 'Anna',
'age': 35,
'cats':True,
'beard': False,
'hair_color': 'pink'}
ryan = dict(anna)
ryan['beard'] = True
ryan['hair_color'] = 'Brown'
ryan['name'] = 'Ryan'
ryan['cats'] = 'Nope!'
print(ryan)
print(anna)
class Person(object):
def __init__(
self, name, age, cats, beard,
hair_color=None, works_at_google=True):
self.name = name
self.age = age
self.cats = cats
self.beard = beard
self.hair_color = hair_color
self.googler = works_at_google
self.hungry = True
self.kids = []
def eat(self, food):
print('OMNOMNOMNOM I AM EATING {food}'.format(food=food))
self.hungry = False
def __str__(self):
anna_string = 'Name: {n}, Age: {a}, Cats:{c}'.format(
n=self.name, a=self.age, c=self.cats)
return anna_string
def give_birth(self):
new_person = Person('..........')
self.kids.append(new_person)
anna = Person(
name='Anna',
age=35,
cats=True,
beard=False,
hair_color='pink')
max = Person(
name='Max',
age=90,
cats=False,
beard=True,
hair_color='pink')
print(anna.name)
print('Anna is hungry: {h}'.format(h=anna.hungry))
# anna.hungry = False
anna.eat('banana')
print('Anna is hungry: {h}'.format(h=anna.hungry))
print(max.name)
print('Max is hungry: {h}'.format(h=max.hungry))
| anna = {'name': 'Anna', 'age': 35, 'cats': True, 'beard': False, 'hair_color': 'pink'}
ryan = dict(anna)
ryan['beard'] = True
ryan['hair_color'] = 'Brown'
ryan['name'] = 'Ryan'
ryan['cats'] = 'Nope!'
print(ryan)
print(anna)
class Person(object):
def __init__(self, name, age, cats, beard, hair_color=None, works_at_google=True):
self.name = name
self.age = age
self.cats = cats
self.beard = beard
self.hair_color = hair_color
self.googler = works_at_google
self.hungry = True
self.kids = []
def eat(self, food):
print('OMNOMNOMNOM I AM EATING {food}'.format(food=food))
self.hungry = False
def __str__(self):
anna_string = 'Name: {n}, Age: {a}, Cats:{c}'.format(n=self.name, a=self.age, c=self.cats)
return anna_string
def give_birth(self):
new_person = person('..........')
self.kids.append(new_person)
anna = person(name='Anna', age=35, cats=True, beard=False, hair_color='pink')
max = person(name='Max', age=90, cats=False, beard=True, hair_color='pink')
print(anna.name)
print('Anna is hungry: {h}'.format(h=anna.hungry))
anna.eat('banana')
print('Anna is hungry: {h}'.format(h=anna.hungry))
print(max.name)
print('Max is hungry: {h}'.format(h=max.hungry)) |
# PCB.py
#
#
# Author: Neha Karanjkar
# Date: 18 Oct 2017
class PCB:
creation_timestamp=0.0
def __init__(self, type_ID, serial_ID, creation_timestamp=0.0):
#A PCB has the following attributes:
self.type_ID=type_ID # type (used to infer dimensions, num of components etc)
self.serial_ID=serial_ID # a unique identifier for each PCB instance
self.creation_timestamp=creation_timestamp
def __str__(self):
return"PCB <type_ID="+str(self.type_ID)+", serial_ID="+str(self.serial_ID)+">"
| class Pcb:
creation_timestamp = 0.0
def __init__(self, type_ID, serial_ID, creation_timestamp=0.0):
self.type_ID = type_ID
self.serial_ID = serial_ID
self.creation_timestamp = creation_timestamp
def __str__(self):
return 'PCB <type_ID=' + str(self.type_ID) + ', serial_ID=' + str(self.serial_ID) + '>' |
x = object()
y = object()
x_list = [x] * 10
y_list = [y] * 10
big_list = x_list + y_list
print("x_list contains %d objects" % len(x_list))
print("y_list contains %d objects" % len(y_list))
print("big_list contains %d objects" % len(big_list))
if x_list.count(x) == 10 and y_list.count(y) == 10:
print("Almost there...")
if big_list.count(x) == 10 and big_list.count(y) == 10:
print("Great!")
| x = object()
y = object()
x_list = [x] * 10
y_list = [y] * 10
big_list = x_list + y_list
print('x_list contains %d objects' % len(x_list))
print('y_list contains %d objects' % len(y_list))
print('big_list contains %d objects' % len(big_list))
if x_list.count(x) == 10 and y_list.count(y) == 10:
print('Almost there...')
if big_list.count(x) == 10 and big_list.count(y) == 10:
print('Great!') |
#-*- coding:utf-8 -*-
class NoSuchClient(RuntimeError):
def __init__(self, arg):
self.args = (arg,) | class Nosuchclient(RuntimeError):
def __init__(self, arg):
self.args = (arg,) |
with open("FBres") as f:
raw = f.read()
res = raw.split("\\' \\'")
lst = []
for i, r in enumerate(res):
if i == 0 or i == len(res) - 1:
r = r.replace("\\'", "")
if i % 2 == 0:
dic = {}
if r != "_separator_":
resx, resy, aspect = r.split()
resx, resy, aspect = int(resx), int(resy), float(aspect)
dic["resx"] = resx
dic["resy"] = resy
dic["aspect"] = aspect
else:
dic["resx"] = None
dic["resy"] = None
dic["aspect"] = None
else:
if r != "---------":
dic["name"] = r
dic["isSeparator"] = False
else:
dic["name"] = None
dic["isSeparator"] = True
lst.append(dic)
| with open('FBres') as f:
raw = f.read()
res = raw.split("\\' \\'")
lst = []
for (i, r) in enumerate(res):
if i == 0 or i == len(res) - 1:
r = r.replace("\\'", '')
if i % 2 == 0:
dic = {}
if r != '_separator_':
(resx, resy, aspect) = r.split()
(resx, resy, aspect) = (int(resx), int(resy), float(aspect))
dic['resx'] = resx
dic['resy'] = resy
dic['aspect'] = aspect
else:
dic['resx'] = None
dic['resy'] = None
dic['aspect'] = None
else:
if r != '---------':
dic['name'] = r
dic['isSeparator'] = False
else:
dic['name'] = None
dic['isSeparator'] = True
lst.append(dic) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.