content stringlengths 7 1.05M |
|---|
class Solution:
def minMoves(self, nums: List[int]) -> int:
"""
First, the method of decreasing 1 instead of adding 1 for n-1 elements is brilliant. But, when I was doing the contest, I was dumb, so dumb to think outside the box. And this is how I tackled it using just math logic.
First, traverse the array, get the sum and the minimum value. If every element is equal, then min*(len) should equal to sum. This part is easy to understand. So, if they are not equal, what should we do? we should keep adding 1 to the array for k times until min*(len)==sum. Then we have:
len*(min+k)=sum+k*(len-1). ==> k=sum-min*len;
http://buttercola.blogspot.com/2019/05/leetcode-453-minimum-moves-to-equal.html#:~:text=May%2023%2C%202019-,Leetcode%20453%3A%20Minimum%20Moves%20to%20Equal%20Array%20Elements,n%20%2D%201%20elements%20by%201.&text=Solution%3A,n%2D1%20elements%20is%20brilliant.
"""
# len*(min+k)=sum+k*(len-1). ==> k=sum-min*len
return sum(nums) - min(nums) * len(nums)
|
CLI_ACTION_LOGIN = 'login'
CLI_ACTION_UPLOAD = 'upload'
CLI_ACTION_CONFIG = 'config'
CLI_DEFAULT_API_ADDRESS = 'http://localhost:8080/api'
CLI_DEFAULT_API_USERNAME = 'admin'
CLI_DEFAULT_API_PASSWORD = 'admin'
CLI_DEFAULT_CONFIG_ROOT_DIR = '.crawlab'
CLI_DEFAULT_CONFIG_CLI_DIR = 'cli'
CLI_DEFAULT_CONFIG_FILE_NAME = 'config.json'
CLI_DEFAULT_CONFIG_KEY_USERNAME = 'username'
CLI_DEFAULT_CONFIG_KEY_PASSWORD = 'password'
CLI_DEFAULT_CONFIG_KEY_API_ADDRESS = 'api_address'
CLI_DEFAULT_CONFIG_KEY_TOKEN = 'token'
CLI_DEFAULT_UPLOAD_IGNORE_PATTERNS = [
r'^.git/',
r'\.pyc$',
r'__pycache__/',
r'.DS_Store',
r'\.idea/'
]
CLI_DEFAULT_UPLOAD_SPIDER_MODE = 'random'
|
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016-2019 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
"""Default configuration of Invenio-SIPStore module."""
SIPSTORE_DEFAULT_AGENT_JSONSCHEMA = 'sipstore/agent-v1.0.0.json'
"""Default JSON schema for extra SIP agent information.
For more examples, you can have a look at Zenodo's config:
https://github.com/zenodo/zenodo/tree/master/zenodo/modules/sipstore/jsonschemas/sipstore
"""
SIPSTORE_DEFAULT_BAGIT_JSONSCHEMA = 'sipstore/bagit-v1.0.0.json'
"""Default JSON schema for BagIt archiver."""
SIPSTORE_AGENT_JSONSCHEMA_ENABLED = True
"""Enable SIP agent validation by default."""
SIPSTORE_AGENT_FACTORY = 'invenio_sipstore.api.SIP._build_agent_info'
"""Factory to build the agent, stored for the information about the SIP."""
SIPSTORE_AGENT_TAGS_FACTORY = \
'invenio_sipstore.archivers.BagItArchiver._generate_agent_tags'
"""Factory to build agent information tags."""
SIPSTORE_FILEPATH_MAX_LEN = 1024
"""Max filepath length."""
SIPSTORE_FILE_STORAGE_FACTORY = \
'invenio_files_rest.storage.pyfs.pyfs_storage_factory'
"""Archived file storage factory."""
SIPSTORE_ARCHIVER_DIRECTORY_BUILDER = \
'invenio_sipstore.archivers.utils.default_archive_directory_builder'
"""Builder for archived SIPs."""
SIPSTORE_ARCHIVER_SIPMETADATA_NAME_FORMATTER = \
'invenio_sipstore.archivers.utils.default_sipmetadata_name_formatter'
"""Filename formatter for archived SIPMetadata."""
SIPSTORE_ARCHIVER_SIPFILE_NAME_FORMATTER = \
'invenio_sipstore.archivers.utils.default_sipfile_name_formatter'
"""Filename formatter for the archived SIPFile."""
SIPSTORE_ARCHIVER_LOCATION_NAME = 'archive'
"""Name of the invenio_files_rest.models.Location object, which will specify
to the archive location in its URI."""
SIPSTORE_BAGIT_TAGS = [
('Source-Organization', 'European Organization for Nuclear Research'),
('Organization-Address', 'CERN, CH-1211 Geneva 23, Switzerland'),
('Bagging-Date', None), # Autogenerated
('Payload-Oxum', None), # Autogenerated
('External-Identifier', None), # Autogenerated
('External-Description', 'BagIt archive of SIP.'),
]
"""Default list of BagIt tags that will be written."""
|
# This file is part of datacube-ows, part of the Open Data Cube project.
# See https://opendatacube.org for more information.
#
# Copyright (c) 2017-2021 OWS Contributors
# SPDX-License-Identifier: Apache-2.0
mixed_3 = {
"test": 2634,
"subtest": {
"include": "tests.cfg.simple.doesnt_exist",
"type": "python"
}
}
|
numerator,denominator = input().split()
first_defect = int(input())
#probability of machine produces a defective product
p = int(numerator) / int(denominator)
q = 1- p
n = first_defect
#Applying to equation ( qn-1 . p)
ans = pow(q,n-1) * p
print(round(ans,3))
|
def link_content(url, rel, content_type):
return f"<{url}>; rel=\"{rel}\"; type=\"{content_type}\""
def get_string_or_evaluate(string_or_func, *args, **kwargs):
if not string_or_func:
return None
if isinstance(string_or_func, str):
return string_or_func
return string_or_func(*args, **kwargs)
|
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def mergeTrees(self, t1: TreeNode, t2: TreeNode) -> TreeNode:
if t1==None:
return t2
if t2==None:
return t1
t1.val+=t2.val
t1.left=self.mergeTrees(t1.left,t2.left)
t1.right=self.mergeTrees(t1.right,t2.right)
return t1
|
def is_end(history, pieces_per_player):
heads = []
player_pieces = {}
first_move = True
for e, *d in history:
if e.name == 'MOVE':
player, piece, head = d
if first_move:
heads = list(piece)
first_move = False
else:
heads[head] = piece[piece[0] == heads[head]]
player_pieces[player] = player_pieces.get(player, 0) + 1
return any([pieces_per_player - x <= 2 for x in player_pieces.values()])
def parse_bool(value):
if isinstance(value, bool):
return value
if isinstance(value, str):
return value.lower() in ("yes", "true", "t", "1")
raise TypeError("`value` should be bool or str")
|
# --- Depois de refatorar ---
def is_decreasing(i, j, k):
return i > j and j > k
def is_increasing(i, j, k):
return i < j and j < k
def main(soldiers):
count = 0
for i in range(len(soldiers)):
for j in range(i+1,len(soldiers)):
for k in range(j+1,len(soldiers)):
if is_decreasing(soldiers[i],soldiers[j],soldiers[k]) or is_increasing(soldiers[i],soldiers[j],soldiers[k]):
count += 1
return count
# if soldiers[1] == 1:
# return 0
# if soldiers[0] == 2:
# return 3
# return 4
#for i in range(len(soldiers)) |
SERVERSIDE_TABLE_COLUMNS = [
{
"data_name": "tweetID",
"column_name": "Tweet ID",
"default": 0,
"order": 1,
"searchable": True
},
{
"data_name": "tweetCreator",
"column_name": "Profile Name",
"default": 0,
"order": 2,
"searchable": True
},
{
"data_name": "tweetTextCount",
"column_name": "Word Count",
"default": 0,
"order": 3,
"searchable": False
},
{
"data_name": "creatorFollowers",
"column_name": "Follower Count",
"default": 0,
"order": 4,
"searchable": False
},
{
"data_name": "location",
"column_name": "Location",
"default": 0,
"order": 5,
"searchable": True
},
{
"data_name": "dateCreated",
"column_name": "Time",
"default": 0,
"order": 6,
"searchable": True
},
{
"data_name": "tweetLikes",
"column_name": "Likes",
"default": 0,
"order": 7,
"searchable": False
},
{
"data_name": "tweetRe",
"column_name": "Retweets",
"default": 0,
"order": 8,
"searchable": False
}
]
|
patches = [
{
"op": "move",
"from": "/PropertyTypes/AWS::GroundStation::Config.FrequencyBandwidth",
"path": "/PropertyTypes/AWS::GroundStation::Config.Bandwidth",
},
{
"op": "replace",
"path": "/PropertyTypes/AWS::GroundStation::Config.SpectrumConfig/Properties/Bandwidth/Type",
"value": "Bandwidth",
},
{
"op": "replace",
"path": "/PropertyTypes/AWS::GroundStation::Config.AntennaUplinkConfig/Properties/SpectrumConfig/Type",
"value": "SpectrumConfig",
},
{
"op": "remove",
"path": "/PropertyTypes/AWS::GroundStation::Config.UplinkSpectrumConfig",
},
]
|
existing_text = "There is existing text in this file."
known_good_ascii = """My Checklist
A. First section
* A.1 A1sum: First A line
* A.2 A2sum: Second A line
B. Second section
* B.1 B1sum: First B line
* B.2 B2sum: Second B line
Data Science Ethics Checklist generated with deon (http://deon.drivendata.org)."""
known_good_markdown = """# My Checklist
[](http://deon.drivendata.org/)
## A. First section
- [ ] **A.1 A1sum**: First A line
- [ ] **A.2 A2sum**: Second A line
## B. Second section
- [ ] **B.1 B1sum**: First B line
- [ ] **B.2 B2sum**: Second B line
*Data Science Ethics Checklist generated with [deon](http://deon.drivendata.org).*"""
known_good_rst = """My Checklist
============
.. image:: https://img.shields.io/badge/ethics%20checklist-deon-brightgreen.svg?style=popout-square
:target: http://deon.drivendata.org
A. First section
---------
* [ ] **A.1 A1sum**: First A line
* [ ] **A.2 A2sum**: Second A line
B. Second section
---------
* [ ] **B.1 B1sum**: First B line
* [ ] **B.2 B2sum**: Second B line
*Data Science Ethics Checklist generated with* `deon <http://deon.drivendata.org>`_."""
known_good_jupyter = {
"nbformat": 4,
"nbformat_minor": 2,
"metadata": {},
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# My Checklist\n",
"\n",
"[](http://deon.drivendata.org/)\n",
"\n",
"## A. First section\n",
" - [ ] **A.1 A1sum**: First A line\n",
" - [ ] **A.2 A2sum**: Second A line\n",
"\n",
"## B. Second section\n",
" - [ ] **B.1 B1sum**: First B line\n",
" - [ ] **B.2 B2sum**: Second B line\n",
"\n",
"*Data Science Ethics Checklist generated with [deon](http://deon.drivendata.org).*"
"\n",
],
}
],
}
known_good_jupyter_multicell = {
"nbformat": 4,
"nbformat_minor": 2,
"metadata": {},
"cells": [
{"cell_type": "markdown", "metadata": {}, "source": ["# My Checklist"]},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"[](http://deon.drivendata.org/)",
],
},
{"cell_type": "markdown", "metadata": {}, "source": ["## A. First section"]},
{
"cell_type": "markdown",
"metadata": {},
"source": [" - [ ] **A.1 A1sum**: First A line"],
},
{
"cell_type": "markdown",
"metadata": {},
"source": [" - [ ] **A.2 A2sum**: Second A line"],
},
{"cell_type": "markdown", "metadata": {}, "source": ["## B. Second section"]},
{
"cell_type": "markdown",
"metadata": {},
"source": [" - [ ] **B.1 B1sum**: First B line"],
},
{
"cell_type": "markdown",
"metadata": {},
"source": [" - [ ] **B.2 B2sum**: Second B line"],
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"*Data Science Ethics Checklist generated with [deon](http://deon.drivendata.org).*",
],
},
],
}
known_good_html = """<html>
<body>
<h1>
My Checklist
</h1>
<br/>
<br/>
<a href="http://deon.drivendata.org/">
<img alt="Deon badge" src="https://img.shields.io/badge/ethics%20checklist-deon-brightgreen.svg?style=popout-square"/>
</a>
<br/>
<br/>
<h2>
A. First section
</h2>
<hr/>
<ul>
<li>
<input type="checkbox"/>
<strong>
A.1 A1sum:
</strong>
First A line
</li>
<li>
<input type="checkbox"/>
<strong>
A.2 A2sum:
</strong>
Second A line
</li>
</ul>
<br/>
<h2>
B. Second section
</h2>
<hr/>
<ul>
<li>
<input type="checkbox"/>
<strong>
B.1 B1sum:
</strong>
First B line
</li>
<li>
<input type="checkbox"/>
<strong>
B.2 B2sum:
</strong>
Second B line
</li>
</ul>
<br/>
<br/>
<em>
Data Science Ethics Checklist generated with
<a href="http://deon.drivendata.org">
deon.
</a>
</em>
</body>
</html>
"""
existing_text_html = """<html>
<body>
There is existing text in this file.
</body>
</html>
"""
known_good_inserted_html = """<html>
<body>
There is existing text in this file.
<h1>
My Checklist
</h1>
<br/>
<br/>
<a href="http://deon.drivendata.org/">
<img alt="Deon badge" src="https://img.shields.io/badge/ethics%20checklist-deon-brightgreen.svg?style=popout-square"/>
</a>
<br/>
<br/>
<h2>
A. First section
</h2>
<hr/>
<ul>
<li>
<input type="checkbox"/>
<strong>
A.1 A1sum:
</strong>
First A line
</li>
<li>
<input type="checkbox"/>
<strong>
A.2 A2sum:
</strong>
Second A line
</li>
</ul>
<br/>
<h2>
B. Second section
</h2>
<hr/>
<ul>
<li>
<input type="checkbox"/>
<strong>
B.1 B1sum:
</strong>
First B line
</li>
<li>
<input type="checkbox"/>
<strong>
B.2 B2sum:
</strong>
Second B line
</li>
</ul>
<br/>
<br/>
<em>
Data Science Ethics Checklist generated with
<a href="http://deon.drivendata.org">
deon.
</a>
</em>
</body>
</html>
"""
|
height = int(input())
x = 1
for i in range(1,height+1):
for j in range(1,height+1):
if((j <= x or j > height-x) and j <= height//2):
print(i,end=" ")
elif((j <= x or j > height-x) and j > height//2):
print(i,end=" ")
else:
print(end=" ")
if(i <= height//2):
x += 1
else :
x -= 1
print()
# Sample Input :- 7
# Output :-
# 1 1
# 2 2 2 2
# 3 3 3 3 3 3
# 4 4 4 4 4 4 4
# 5 5 5 5 5 5
# 6 6 6 6
# 7 7
|
IN = 'ga.txt'
OUT = 'ga.dat'
with open(IN, 'r') as f, open(OUT, 'w') as g:
f.readline()
for line in f.readlines():
sol = int(line.split(',')[1])
if sol >= 13:
g.write(line.split(',')[2])
else:
print(line) |
# Printing out in python
print("Hello World!")
# Command Terminal
# python --version
# Commenting and Docstring
""" DocString for Python """
# Find out the type
x = 1
y = 2.8
z = 1j
a = 12E4
b = -87.7e100
print(type(x)) # Int
print(type(y)) # Float
print(type(z)) # Complex
print(type(a)) # Float
print(type(b)) # Float
# Casting into Into Integer or String
casting_into_numbers = int("3")
casting_into_string = str(3)
print(type(casting_into_numbers))
print(type(casting_into_string))
|
s = 'cafcafé'
print(len(s))
s_utf = s.encode('utf-8')
print(s_utf)
cafe = bytes(s, encoding='utf-8')
print(cafe[0])
print(cafe[::1]) # slices gives bytes of bytes
for i in cafe:
print(i)
cafe_arr = bytearray(cafe)
print(cafe_arr)
# The first
# thing to know is that there are two basic built-in types for binary sequences: the immutable
# bytes type introduced in Python 3 and the mutable bytearray, added in
bfh = bytes.fromhex('32 4A CE A9')
print(bfh)
|
class Skills_Placement(object):
def __init__(self, skills_placement):
self.skills_placement = skills_placement |
L = -np.ones(T) * (min_error_controlgain-0.3)
s_closed_loop, a_closed_loop = lds.dynamics_closedloop(D, B, L)
with plt.xkcd():
fig = plt.figure(figsize=(8, 6))
plot_vs_time(s_closed_loop,'Closed Loop','b',goal)
plt.title('Closed Loop State Evolution with Under-Ambitious Control Gain')
plt.show()
|
class BaseEventRule(object):
rules = dict()
functions = []
name = ''
@property
def expression(self):
raise NotImplementedError
class RateEventRule(BaseEventRule):
UNIT_MINIUTES = 'minutes'
UNIT_HOURS = 'hours'
UNIT_DAYS = 'days'
def __init__(self, name, value, unit='minutes'):
if not isinstance(value, int):
raise TypeError('Parameter "value" must be type of "int", not "%s"' % str(type(value)))
units = [getattr(self, key) for key in dir(self) if key.startswith('UNIT_')]
if unit not in units:
raise ValueError('Parameter "unit" must be one of %s' % ','.join(units))
self.name = name
self.value = value
self.unit = unit
@property
def expression(self):
return 'rate(%d %s)' % (self.value, self.unit)
class TimeEventRule(BaseEventRule):
def __init__(self, name, pattern):
if not isinstance(pattern, basestring):
raise TypeError('Parameter "expression" must be type of "string", not "%s"' % str(type(pattern)))
self.name = name
self.pattern = pattern
@property
def expression(self):
return 'cron(%s)' % self.pattern
|
# Adding two number provided by user input
num1 = input("First Number: ")
num2 = input("\nSecond Number: ")
#adding two number
sum = float(num1) + float(num2)
#display the sum
print("The sum of {0} and {1} is {2}".format(num1, num2, sum)) |
meatPrice = 4.00
meatTax = 0.03 * meatPrice
milkPrice = 2.00
milkTax = 0.03 * milkPrice
print(meatTax + meatPrice + milkTax + milkPrice)
|
'''
Arrival of the General
'''
n = int(input())
soldiers = list(map(int, input().split(' ')))
maxs = max(soldiers)
mins = min(soldiers)
posi_max = soldiers.index(maxs)
soldiers.reverse()
posi_min = n-1 - soldiers.index(mins)
if posi_max > posi_min:
swap = (posi_max - 0) + (n - 1 - (posi_min + 1))
else:
swap = (posi_max - 0) + (n - 1 - posi_min)
print(swap) |
###faça um programa que leia a largura e a altura de uma parede em metros, calceule a sua area
### e a quantidade de tinta necessaria para pinta-la, sabendo q cada litro de tinta pinta uma area de 2m²
###para calcular a area de uma parede, basta multiplicar a LARGURA pela altura da parede
largura = float(input('Digite a largura da parede(m)'))
altura = float(input('Digite a altura da parede(m)'))
area_da_parede = largura*altura
print(f'\033[4;35;47mA area da parede é {area_da_parede:.2f}\033[m')
tinta = 2
tinta_necessaria = area_da_parede/tinta
print(f'\033[1;35;47mSerá necessario {tinta_necessaria:.2f} litros de tinta\033[m')
###utilizando a f' para formatar e ':.2f' para adicionar apenas dois pontos decimais a variavel
|
class lazy_property():
"""Defines a property whose value will be computed only once and as needed.
This can only be used on instance methods.
"""
def __init__(self, func):
self._func = func
def __get__(self, obj_self, cls):
value = self._func(obj_self)
setattr(obj_self, self._func.__name__, value)
return value
|
languages = ['en', 'de', 'fr']
vocab_dirs = ['data/Multi30K_DE/', 'data/Multi30K_DE/', 'data/Multi30K_FR/']
for language, vocab_dir in zip(languages, vocab_dirs):
with open('data/AmbiguousCOCO/test_2017_mscoco.lc.norm.tok.'+language, 'r') as f:
coco = [line.strip() for line in f.readlines()]
with open(vocab_dir + 'vocab.'+language, 'r') as f:
en_vocab = [(line.strip(), len(line)) for i, line in enumerate(f.readlines())]
unk = '[unk]'
en_vocab += [(unk, -1)]
en_vocab = dict(en_vocab)
def get_bpe_segment(token):
for l in range(len(token)-2 if token.endswith('@@') else len(token)):
word2id = en_vocab.get(token[l:], -1)
if word2id != -1:
bpe = []
bpe.append(token[l:])
if l != 0:
bpe.extend(get_bpe_segment(token[:l]+'@@'))
return bpe
return [token]
with open('data/AmbiguousCOCO/test.norm.tok.lc.10000bpe.'+language, 'w') as f:
for line in coco:
tokens = line.split()
bpe_tokens = []
for token in tokens:
if token in en_vocab.keys():
bpe = token
else:
bpe = get_bpe_segment(token)
bpe.reverse()
bpe = ' '.join(bpe)
bpe_tokens.append(bpe)
f.write(' '.join(bpe_tokens)+'\n')
|
def table_maker(*rows):
"""Generates an aligned table. Modified from https://github.com/salt-die/Table-Maker"""
rows = list(rows)
# Pad the length of items in each column
lengths = tuple(map(len, rows[0]))
for i, row in enumerate(rows):
for j, (item, length) in enumerate(zip(row, lengths)):
rows[i][j] = f'{item:^{length}}'
# Make separators
horizontals = tuple("â" * (length + 2) for length in lengths)
top, title, bottom = (f'{l}{m.join(horizontals)}{r}' for l, m, r in ('ââ¬â', 'ââŒâ€', 'ââŽâ'))
table = [f'â {" â ".join(row)} â' for row in rows]
table.insert(0, top)
table.insert(2, title)
table.append(bottom)
table = '\n'.join(table)
return table |
expected_output = {
"tag": {
"1": {
"level": {
1: {
"hosts": {
"R1-asr1k-43": {
"metric": 33554428,
"interface": {
"Gi0/1/4": {
"next_hop": "R3-asr1k-53",
"snpa": "c014.fe84.b306"
}
}
},
"R3-asr1k-53": {
"metric": 16777214,
"interface": {
"Gi0/1/4": {
"next_hop": "R3-asr1k-53",
"snpa": "c014.fe84.b306"
}
}
},
"R5-asr1k-11": {},
"R6-asr1k-20": {
"metric": 16777214,
"interface": {
"Gi0/0/2": {
"next_hop": "R6-asr1k-20",
"snpa": "3c57.31c1.fb32"
},
"Gi0/0/3": {
"next_hop": "R6-asr1k-20",
"snpa": "3c57.31c1.fb33"
}
}
}
},
"flex_algo": 129
},
2: {
"hosts": {
"R1-asr1k-43": {
"metric": 33554428,
"interface": {
"Gi0/1/4": {
"next_hop": "R3-asr1k-53",
"snpa": "c014.fe84.b306"
}
}
},
"R3-asr1k-53": {
"metric": 16777214,
"interface": {
"Gi0/1/4": {
"next_hop": "R3-asr1k-53",
"snpa": "c014.fe84.b306"
}
}
},
"R5-asr1k-11": {},
"R6-asr1k-20": {
"metric": 16777214,
"interface": {
"Gi0/0/2": {
"next_hop": "R6-asr1k-20",
"snpa": "3c57.31c1.fb32"
},
"Gi0/0/3": {
"next_hop": "R6-asr1k-20",
"snpa": "3c57.31c1.fb33"
}
}
}
},
"flex_algo": 129
}
}
}
}
} |
type_of_fire = input().split("#")
water_amount = int(input())
effort = 0
total_fire = 0
print(f"Cells:")
for i in type_of_fire:
cell = i.split(" ")
if water_amount <= 0:
break
if 0 < int(cell[2]) <= 50 and cell[0] == "Low":
if int(cell[2]) > water_amount:
continue
else:
water_amount -= int(cell[2])
effort += (int(cell[2]) / 4)
total_fire += int(cell[2])
print(f" - {cell[2]}")
elif 50 < int(cell[2]) <= 80 and cell[0] == "Medium":
if int(cell[2]) > water_amount:
continue
else:
water_amount -= int(cell[2])
effort += (int(cell[2]) / 4)
total_fire += int(cell[2])
print(f" - {cell[2]}")
elif 80 < int(cell[2]) <= 125 and cell[0] == "High":
if int(cell[2]) > water_amount:
continue
else:
water_amount -= int(cell[2])
effort += (int(cell[2]) / 4)
total_fire += int(cell[2])
print(f" - {cell[2]}")
print(f"Effort: {effort:.2f}\nTotal Fire: {total_fire}") |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def person(name, age, **kwargs):
print(name, age, kwargs)
def product(*args):
r = 1
for v in args:
r *= v
return r
if __name__ == '__main__':
extra = {'city': 'Beijing', 'job': 'Engineer'}
person('Jack', 24, city=extra['city'], job=extra['job'])
print('product(1, 2, 3):', product(1, 2, 3))
|
#!/usr/bin/python
# Filename: ex_celsisu_to_fahrenheit_v1.py
celsius = 20
fahrenheit = (celsius * 9 / 5) + 32
print(fahrenheit)
|
TRANSACTION_LEARN = 'learn'
TRANSACTION_PREDICT = 'predict'
TRANSACTION_NORMAL_SELECT = 'normal_select'
TRANSACTION_NORMAL_MODIFY = 'normal_modify'
TRANSACTION_BAD_QUERY = 'bad_query'
TRANSACTION_DROP_MODEL ='drop_model'
STOP_TRAINING = 'stop_training'
KILL_TRAINING = 'kill_training'
KEY_NO_GROUP_BY = 'ALL_ROWS_NO_GROUP_BY'
class DATA_SUBTYPES:
# Numeric
INT = 'Int'
FLOAT = 'Float'
BINARY = 'Binary' # Should we have this ?
# DATETIME
DATE = 'Date' # YYYY-MM-DD
TIMESTAMP = 'Timestamp' # YYYY-MM-DD hh:mm:ss or 1852362464
# CATEGORICAL
SINGLE = 'Binary Category'
MULTIPLE = 'Category'
# FILE_PATH
IMAGE = 'Image'
VIDEO = 'Video'
AUDIO = 'Audio'
# URL
# How do we detect the tpye here... maybe setup async download for random sample an stats ?
# SEQUENTIAL
TEXT = 'Text'
ARRAY = 'Array' # Do we even want to support arrays / structs / nested ... etc ?
class DATA_TYPES:
NUMERIC = 'Numeric'
DATE = 'Date'
CATEGORICAL = 'Categorical'
FILE_PATH = 'File Path'
URL = 'Url'
SEQUENTIAL = 'Sequential'
class DATA_TYPES_SUBTYPES:
subtypes = {
DATA_TYPES.NUMERIC: (DATA_SUBTYPES.INT, DATA_SUBTYPES.FLOAT, DATA_SUBTYPES.BINARY)
,DATA_TYPES.DATE:(DATA_SUBTYPES.DATE, DATA_SUBTYPES.TIMESTAMP)
,DATA_TYPES.CATEGORICAL:(DATA_SUBTYPES.SINGLE, DATA_SUBTYPES.MULTIPLE)
,DATA_TYPES.FILE_PATH:(DATA_SUBTYPES.IMAGE, DATA_SUBTYPES.VIDEO, DATA_SUBTYPES.AUDIO)
,DATA_TYPES.URL:()
,DATA_TYPES.SEQUENTIAL:(DATA_SUBTYPES.TEXT, DATA_SUBTYPES.ARRAY)
}
class ORDER_BY_KEYS:
COLUMN = 0
ASCENDING_VALUE = 1
PHASE_DATA_EXTRACTOR = 1
PHASE_STATS_GENERATOR = 2
PHASE_MODEL_INTERFACE = 3
PHASE_MODEL_ANALYZER = 4
MODEL_STATUS_TRAINED = "Trained"
MODEL_STATUS_PREPARING = "Preparing"
MODEL_STATUS_DATA_ANALYSIS = "Data Analysis"
MODEL_STATUS_TRAINING= "Training"
MODEL_STATUS_ANALYZING = "Analyzing"
MODEL_STATUS_ERROR = "Error"
WORD_SEPARATORS = [',', "\t", ' ']
DEBUG_LOG_LEVEL = 10
INFO_LOG_LEVEL = 20
WARNING_LOG_LEVEL = 30
ERROR_LOG_LEVEL = 40
NO_LOGS_LOG_LEVEL = 50
|
choices = ["rock", "paper", "scissors"]
player_lives = 3
computer_lives = 3
total_lives = 3
player = False; |
path = os.getcwd()
csv_files = []
for i in csv_folders:
csv_files.append(glob.glob(os.path.join(f'{i}', "*.csv")))
#speed (max, min, avg, median), distance travelled (max, min, avg, median), time travelled per trip (max, min, avg, median)
def data(file):
for i in range(len(file)):
d = [dist(i)[0] for i in drive(file[i])]
sp = [dist(i)[1] for i in drive(file[i])]
t = [dist(i)[2] for i in drive(file[i])]
details = [str(i), max(sp), min(sp), mean(sp), median(sp), max(d), min(d), mean(d), median(d), sum(d), max(t), min(t), mean(t), median(t), sum(t)]
df.loc[len(df)] = details
return df
def data_per_driver(file):
distance = []
for i in range(1, len(file)):
distance.append(((file.x[i]-file.x[i-1])**2 + (file.y[i]-file.y[i-1])**2)**0.5)
return [sum(distance)/1000, sum(distance)*18/(len(file)*5), len(file)/3600]
#df = data(csv_files)
#new_csv = csv_files
portion1 = new_csv[0:50]
new_csv = new_csv[50:]
print(len(new_csv), len(csv_files))
res = pd.DataFrame(columns = ['turno', 'tripDuration', 'tripDistance', 'activeDriving', 'stopDuration', 'stopNo', 'speed', 'jerkCount', 'maxAngVel', 'maxAcc',
'maxJerk', 'medianSpeed', 'medianAcc', 'avgAngleChange', 'meanSpeed', 'meanAcc', 'urban', 'highway', 'speedingUrban',
'speedingHighway'])
res = pd.read_csv('final.csv')
del res['Unnamed: 0']
p1 = join(portion4, 50)
p2 = join(portion5, 36)
#p3 = join(portion3, 50)
res = pd.concat([res, p1, p2], axis=0)
|
__name__ = "__main__"
def bar():
print("bar")
print("before __name__ guard")
if __name__ == "__main__":
bar()
print("after __name__ guard") |
__all__ = ["user"]
for _import in __all__:
__import__(__package__ + "." + _import)
|
class Solution:
def removeDuplicates(self, nums: List[int]) -> int:
count = 1
while count < len(nums):
if nums[count] == nums[count - 1]:
nums.remove(nums[count])
else:
count += 1
return len(nums)
|
def hello(name='World'):
if not isinstance(name, str):
raise Exception("ValueError: name should be of type str")
return 'Hello, {}!'.format(name) |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2014, Mingze
# Author: Mingze (mxu@microstrategy.com)
class cmd:
ATT_ErrorRsp = 'ATT_ErrorRsp',
ATT_ExchangeMTUReq = 'ATT_ExchangeMTUReq',
ATT_ExchangeMTURsp = 'ATT_ExchangeMTURsp',
ATT_FindInfoReq = 'ATT_FindInfoReq',
ATT_FindInfoRsp = 'ATT_FindInfoRsp',
ATT_FindByTypeValueReq = 'ATT_FindByTypeValueReq',
ATT_FindByTypeValueRsp = 'ATT_FindByTypeValueRsp',
ATT_FindByTypeReq = 'ATT_FindByTypeReq',
ATT_FindByTypeRsp = 'ATT_FindByTypeRsp',
ATT_ReadReq = 'ATT_ReadReq',
ATT_ReadRsp = 'ATT_ReadRsp',
ATT_ReadBlobReq = 'ATT_ReadBlobReq',
ATT_ReadBlobRsp = 'ATT_ReadBlobRsp',
ATT_ReadByGrpTypeReq = 'ATT_ReadByGrpTypeReq',
ATT_ReadByGrpTypeRsp = 'ATT_ReadByGrpTypeRsp',
ATT_WriteReq = 'ATT_WriteReq',
ATT_WriteRsp = 'ATT_WriteRsp',
ATT_PrepareWriteReq = 'ATT_PrepareWriteReq',
ATT_PrepareWriteRsp = 'ATT_PrepareWriteRsp',
ATT_ExecuteWriteReq = 'ATT_ExecuteWriteReq',
ATT_ExecuteWriteRsp = 'ATT_ExecuteWriteRsp',
ATT_HandleValueNotification = 'ATT_HandleValueNotification',
ATT_HandleValueIndication = 'ATT_HandleValueIndication',
ATT_HandleValueConfirmation = 'ATT_HandleValueConfirmation',
GATT_DiscPrimaryServiceByUUID = 'GATT_DiscPrimaryServiceByUUID',
GATT_DiscCharsByUUID = 'GATT_DiscCharsByUUID',
GATT_ReadCharValue = 'GATT_ReadCharValue',
GATT_WriteCharValue = 'GATT_WriteCharValue',
GATT_ReadMultipleCharValues = 'GATT_ReadMultipleCharValues',
GATT_ReadMultipleCharValues = 'GATT_WriteCharValue',
GATT_WriteLongCharValue = 'GATT_WriteLongCharValue',
GATT_DiscAllChars = 'GATT_DiscAllChars',
GATT_ReadUsingCharUUID = 'GATT_ReadUsingCharUUID',
GATT_AddService = 'GATT_AddService',
GATT_DelService = 'GATT_DelService',
GATT_AddAttribute = 'GATT_AddAttribute',
GAP_DeviceInit = 'GAP_DeviceInit',
GAP_ConfigureDeviceAddr = 'GAP_ConfigureDeviceAddr',
GATT_DeviceDiscoveryRequest = 'GATT_DeviceDiscoveryRequest',
GATT_DeviceDiscoveryCancel = 'GATT_DeviceDiscoveryCancel',
GAP_MakeDiscoverable = 'GAP_MakeDiscoverable',
GAP_UpdateAdvertisingData = 'GAP_UpdateAdvertisingData',
GAP_EndDiscoverable = 'GAP_EndDiscoverable',
GAP_EstablishLinkRequest = 'GAP_EstablishLinkRequest',
GAP_TerminateLinkRequest = 'GAP_TerminateLinkRequest',
GAP_UpdateLinkParamReq = 'GAP_UpdateLinkParamReq',
GAP_SetParam = 'GAP_SetParam',
GAP_GetParam = 'GAP_GetParam',
HTIL_Reset = 'HTIL_Reset'
class event:
HCI_LE_ExtEvent = 'HCI_LE_ExtEvent'
ATT_ErrorRsp = 'ATT_ErrorRsp',
ATT_ExchangeMTUReq = 'ATT_ExchangeMTUReq',
ATT_ExchangeMTURsp = 'ATT_ExchangeMTURsp',
ATT_FindInfoReq = 'ATT_FindInfoReq',
ATT_FindInfoRsp = 'ATT_FindInfoRsp',
ATT_FindByTypeValueReq = 'ATT_FindByTypeValueReq',
ATT_FindByTypeValueRsp = 'ATT_FindByTypeValueRsp',
ATT_ReadByTypeReq = 'ATT_ReadByTypeReq',
ATT_ReadByTypeRsp = 'ATT_ReadByTypeRsp',
ATT_ReadReq = 'ATT_ReadReq',
ATT_ReadRsp = 'ATT_ReadRsp',
ATT_ReadBlobReq = 'ATT_ReadBlobReq',
ATT_ReadBlobRsp = 'ATT_ReadBlobRsp',
ATT_ReadMultiReq = 'ATT_ReadMultiReq',
ATT_ReadMultiRsp = 'ATT_ReadMultiRsp',
ATT_ReadByGrpTypeReq = 'ATT_ReadByGrpTypeReq',
ATT_ReadByGrpTypeRsp = 'ATT_ReadByGrpTypeRsp',
ATT_WriteReq = 'ATT_WriteReq',
ATT_WriteRsp = 'ATT_WriteRsp',
ATT_PrepareWriteReq = 'ATT_PrepareWriteReq',
ATT_PrepareWriteRsp = 'ATT_PrepareWriteRsp',
ATT_ExecuteWriteReq = 'ATT_ExecuteWriteReq',
ATT_ExecuteWriteRsp = 'ATT_ExecuteWriteRsp',
ATT_HandleValueNotification = 'ATT_HandleValueNotification',
ATT_HandleValueIndication = 'ATT_HandleValueIndication',
ATT_HandleValueConfirmation = 'ATT_HandleValueConfirmation',
GATT_ClientCharCfgUpdated = 'GATT_ClientCharCfgUpdated',
GATT_DiscCharsByUUID = 'GATT_DiscCharsByUUID',
GAP_DeviceInitDone = 'GAP_DeviceInitDone',
GAP_DeviceDiscoveryDone = 'GAP_DeviceDiscoveryDone',
GAP_AdvertDataUpdateDone = 'GAP_AdvertDataUpdateDone',
GAP_MakeDiscoverableDone = 'GAP_MakeDiscoverableDone',
GAP_EndDiscoverableDone = 'GAP_EndDiscoverableDone',
GAP_LinkEstablished = 'GAP_LinkEstablished',
GAP_LinkTerminated = 'GAP_LinkTerminated',
GAP_LinkParamUpdate = 'GAP_LinkParamUpdate',
GAP_DeviceInformation = 'GAP_DeviceInformation',
GAP_HCI_ExtensionCommandStatus = 'GAP_HCI_ExtensionCommandStatus',
opcodes = {
"fd01":cmd.ATT_ErrorRsp,
"fd02":cmd.ATT_ExchangeMTUReq,
"fd03":cmd.ATT_ExchangeMTURsp,
"fd04":cmd.ATT_FindInfoReq,
"fd05":cmd.ATT_FindInfoRsp,
"fd06":cmd.ATT_FindByTypeValueReq,
"fd07":cmd.ATT_FindByTypeValueRsp,
"fd08":cmd.ATT_FindByTypeReq,
"fd09":cmd.ATT_FindByTypeRsp,
"fd0a":cmd.ATT_ReadReq,
"fd0b":cmd.ATT_ReadRsp,
"fd0c":cmd.ATT_ReadBlobReq,
"fd0d":cmd.ATT_ReadBlobRsp,
"fd10":cmd.ATT_ReadByGrpTypeReq,
"fd11":cmd.ATT_ReadByGrpTypeRsp,
"fd12":cmd.ATT_WriteReq,
"fd13":cmd.ATT_WriteRsp,
"fd16":cmd.ATT_PrepareWriteReq,
"fd17":cmd.ATT_PrepareWriteRsp,
"fd18":cmd.ATT_ExecuteWriteReq,
"fd19":cmd.ATT_ExecuteWriteRsp,
"fd1b":cmd.ATT_HandleValueNotification,
"fd1d":cmd.ATT_HandleValueIndication,
"fd1e":cmd.ATT_HandleValueConfirmation,
"fd86":cmd.GATT_DiscPrimaryServiceByUUID,
"fd88":cmd.GATT_DiscCharsByUUID,
"fd8a":cmd.GATT_ReadCharValue,
"fd8e":cmd.GATT_ReadMultipleCharValues,
"fd92":cmd.GATT_WriteCharValue,
"fd96":cmd.GATT_WriteLongCharValue,
"fdb2":cmd.GATT_DiscAllChars,
"fdb4":cmd.GATT_ReadUsingCharUUID,
"fdfc":cmd.GATT_AddService,
"fdfd":cmd.GATT_DelService,
"fdfe":cmd.GATT_AddAttribute,
"fe00":cmd.GAP_DeviceInit,
"fe03":cmd.GAP_ConfigureDeviceAddr,
"fe04":cmd.GATT_DeviceDiscoveryRequest,
"fe05":cmd.GATT_DeviceDiscoveryCancel,
"fe06":cmd.GAP_MakeDiscoverable,
"fe07":cmd.GAP_UpdateAdvertisingData,
"fe08":cmd.GAP_EndDiscoverable,
"fe09":cmd.GAP_EstablishLinkRequest,
"fe0a":cmd.GAP_TerminateLinkRequest,
"fe11":cmd.GAP_UpdateLinkParamReq,
"fe30":cmd.GAP_SetParam,
"fe31":cmd.GAP_GetParam,
"fe80":cmd.HTIL_Reset,
}
hci_cmds = {
"fd01":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'req_opcode', 'len':1, 'default':'\x00'},
{'name':'handle', 'len':2, 'default':'\x00\x00'},
{'name':'error_code', 'len':1, 'default':'\x00'}],
"fd02":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'client_rx_mtu','len':2, 'default':'\x00\x87'}],
"fd03":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'server_rx_mtu','len':2, 'default':'\x00\x87'}],
"fd04":
[{'name':'conn_handle', 'len':2, 'default':'\xff\xfe'},
{'name':'start_handle','len':2, 'default':'\x00\x01'},
{'name':'end_handle', 'len':2, 'default':'\xff\xff'}],
"fd09":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'data_length', 'len':1, 'default':None},
{'name':'value', 'len':None, 'default':None}],
"fd0c":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'handle', 'len':2, 'default':'\x00\x00'},
{'name':'offset', 'len':2, 'default':'\x00\x00'}],
"fd0d":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'value', 'len':None, 'default':None}],
"fd10":
[{'name':'conn_handle', 'len':2, 'default':'\xff\xfe'},
{'name':'start_handle','len':2, 'default':'\x00\x01'},
{'name':'end_handle', 'len':2, 'default':'\xff\xff'},
{'name':'group_type', 'len':None, 'default':'\x00\x28'}], #by default it's service
"fd11":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'data_length', 'len':1, 'default':None},
{'name':'value', 'len':None, 'default':'\x00\x00'}],
"fd13":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'}],
"fd1b":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'authenticated', 'len':1, 'default':'\x00'},
{'name':'handle', 'len':2, 'default':'\xfe\xff'},
{'name':'value', 'len':None, 'default':None}],
"fd1d":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'authenticated', 'len':1, 'default':'\x00'},
{'name':'handle', 'len':2, 'default':'\xfe\xff'},
{'name':'value', 'len':None, 'default':None}],
"fd1e":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'}],
"fd86":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'value', 'len':None, 'default':None}],
"fd88":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'start_handle','len':2, 'default':'\x01\x00'},
{'name':'end_handle', 'len':2, 'default':'\xfe\xff'},
{'name':'type', 'len':None, 'default':None}],
"fd8a":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'handle', 'len':2, 'default':None}],
"fd8c":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'handle', 'len':2, 'default':'\x00\x00'},
{'name':'offset', 'len':2, 'default':'\x00\x00'},
{'name':'type', 'len':1, 'default':'\x00'}],
"fd8e":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'handles', 'len':None, 'default':None}],
"fd92":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'handle', 'len':2, 'default':None},
{'name':'value', 'len':None, 'default':None}],
"fd96":
[{'name':'handle', 'len':2, 'default':'\x00\x00'},
{'name':'offset', 'len':1, 'default':None},
{'name':'value', 'len':None, 'default':None}],
"fdb2":
[{'name':'start_handle','len':2, 'default':'\x00\x00'},
{'name':'end_handle', 'len':2, 'default':'\xff\xff'}],
"fdb4":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'start_handle','len':2, 'default':'\x01\x00'},
{'name':'end_handle', 'len':2, 'default':'\xff\xff'},
{'name':'read_type', 'len':2, 'default':None}],
"fdfc":
[{'name':'uuid', 'len':2, 'default':'\x28\x00'},
{'name':'numAttrs', 'len':2, 'default':'\x00\x01'}],
"fdfd":
[{'name':'handle', 'len':2, 'default':'\x00\x01'}],
"fdfe":
[{'name':'uuid', 'len':None, 'default':'\x00\0x00'},
{'name':'permissions', 'len':1, 'default':'\x03'}],
"fe00":
[{'name':'profile_role','len':1, 'default':'\x08'},
{'name':'max_scan_rsps','len':1, 'default':'\xa0'},
{'name':'irk', 'len':16, 'default':'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'},
{'name':'csrk', 'len':16, 'default':'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'},
{'name':'sign_counter','len':4, 'default':'\x01\x00\x00\x00'}],
"fe03":
[{'name':'addr_type', 'len':1, 'default':None},
{'name':'addr', 'len':6, 'default':None}],
"fe04":
[{'name':'mode', 'len':1, 'default':None},
{'name':'active_scan', 'len':1, 'default':'\x01'},
{'name':'white_list', 'len':1, 'default':'\x00'}],
"fe05":
[],
"fe06":
[{'name':'event_type', 'len':1, 'default':'\x00'},
{'name':'init_addr_type', 'len':1, 'default':'\x00'},
{'name':'init_addrs', 'len':6, 'default':'\x00\x00\x00\x00\x00\x00'},
{'name':'channel_map', 'len':1, 'default':'\x07'},
{'name':'filter_policy','len':1, 'default':'\x00'}],
"fe07":
[{'name':'ad_type', 'len':1, 'default':'\x01'},
{'name':'data_length', 'len':1, 'default':None},
{'name':'advert_data', 'len':None, 'default':'\x02\x01\x07'}],
"fe08":
[],
"fe09":
[{'name':'high_duty_cycle','len':1, 'default':'\x00'},
{'name':'white_list', 'len':1, 'default':'\x00'},
{'name':'addr_type_peer','len':1, 'default':'\x00'},
{'name':'peer_addr', 'len':6, 'default':None}],
"fe0a":
[{'name':'conn_handle', 'len':2, 'default':'\x00\x00'},
{'name':'disconnect_reason', 'len':1, 'default':'\x13'}],
"fe30":
[{'name':'param_id', 'len':1, 'default':None},
{'name':'param_value', 'len':2, 'default':None}],
"fe31":
[{'name':'param_id', 'len':1, 'default':None}],
"fe80":
[{'name':'reset_type', 'len':1, 'default':'\x01'}],
"0c03":
[],
}
hci_events = {"ff":
{'name':event.HCI_LE_ExtEvent,
'structure':
[{'name':'ext_event', 'len':None}]},
}
ext_events= {"0501":
{'name':event.ATT_ErrorRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'req_op_code', 'len':1},
{'name':'handle', 'len':2},
{'name':'error_code', 'len':1}]},
"0502":
{'name':event.ATT_ExchangeMTUReq,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'client_rx_mtu','len':2}]},
"0503":
{'name':event.ATT_ExchangeMTURsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'server_rx_mtu','len':2}]},
"0504":
{'name':event.ATT_FindInfoReq,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'start_handle','len':2},
{'name':'end_handle', 'len':2}]},
"0505":
{'name':event.ATT_FindInfoRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'format', 'len':1},
{'name':'results', 'len':None}],
'parsing':
[('results', lambda ble, original:
ble._parse_find_info_results(original['results'], original['format']))]},
"0506":
{'name':event.ATT_FindByTypeValueReq,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'start_handle','len':2},
{'name':'end_handle', 'len':2}]},
"0507":
{'name':event.ATT_FindByTypeValueRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'start_handle','len':2},
{'name':'end_handle', 'len':2},
{'name':'value', 'len':None}]},
"0508":
{'name':event.ATT_ReadByTypeReq,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'start_handle','len':2},
{'name':'end_handle', 'len':2},
{'name':'type', 'len':None}]},
"0509":
{'name':event.ATT_ReadByTypeRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'length', 'len':1},
{'name':'handle', 'len':2},
{'name':'value', 'len':None}]},
"050b":
{'name':event.ATT_ReadRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'value', 'len':None}]},
"050c":
{'name':event.ATT_ReadBlobReq,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'handle', 'len':2},
{'name':'offset', 'len':2}]},
"050d":
{'name':event.ATT_ReadBlobRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'value', 'len':None}]},
"050f":
{'name':event.ATT_ReadMultiRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'results', 'len':None}]},
"0510":
{'name':event.ATT_ReadByGrpTypeReq,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'start_handle','len':2},
{'name':'end_handle', 'len':2},
{'name':'group_type', 'len':2}]},
"0511":
{'name':event.ATT_ReadByGrpTypeRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1}]},
"0512":
{'name':event.ATT_WriteReq,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'signature', 'len':1},
{'name':'command', 'len':1},
{'name':'handle', 'len':2},
{'name':'value', 'len':None}]},
"0513":
{'name':event.ATT_WriteRsp,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1}]},
"051b":
{'name':event.ATT_HandleValueNotification,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'handle', 'len':2},
{'name':'values', 'len':None}]},
"051d":
{'name':event.ATT_HandleValueIndication,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'handle', 'len':2},
{'name':'values', 'len':None}]},
"051e":
{'name':event.ATT_HandleValueConfirmation,
'structure':
[{'name':'conn_handle', 'len':2}]},
"0580":
{'name':event.GATT_ClientCharCfgUpdated,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'pdu_len', 'len':1},
{'name':'attr_handle', 'len':2},
{'name':'value', 'len':1}]},
"0600":
{'name':event.GAP_DeviceInitDone,
'structure':
[{'name':'dev_addr', 'len':6},
{'name':'data_pkt_len','len':2},
{'name':'num_data_pkts','len':1},
{'name':'irk', 'len':16},
{'name':'csrk', 'len':16}]},
"0601":
{'name':event.GAP_DeviceDiscoveryDone,
'structure':
[{'name':'num_devs', 'len':1},
{'name':'devices', 'len':None}],
'parsing':
[('devices', lambda ble, original:
ble._parse_devices(original['devices']))]},
"0602":
{'name':event.GAP_AdvertDataUpdateDone,
'structure':
[{'name':'ad_type', 'len':1}]},
"0603":
{'name':event.GAP_MakeDiscoverableDone,
'structure':
[]},
"0604":
{'name':event.GAP_EndDiscoverableDone,
'structure':
[]},
"0605":
{'name':event.GAP_LinkEstablished,
'structure':
[{'name':'dev_addr_type','len':1},
{'name':'dev_addr', 'len':6},
{'name':'conn_handle', 'len':2},
{'name':'conn_interval','len':2},
{'name':'conn_latency','len':2},
{'name':'conn_timeout','len':2},
{'name':'clock_accuracy','len':1}]},
"0606":
{'name':event.GAP_LinkTerminated,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'value', 'len':None}]},
"0607":
{'name':event.GAP_LinkParamUpdate,
'structure':
[{'name':'conn_handle', 'len':2},
{'name':'conn_interval', 'len':2},
{'name':'conn_latency', 'len':2},
{'name':'conn_timeout', 'len':2}]},
"060d":
{'name':event.GAP_DeviceInformation,
'structure':
[{'name':'event_type', 'len':1},
{'name':'addr_type', 'len':1},
{'name':'addr', 'len':6},
{'name':'rssi', 'len':1},
{'name':'data_len', 'len':1},
{'name':'data_field', 'len':None}]},
"067f":
{'name':event.GAP_HCI_ExtensionCommandStatus,
'structure':
[{'name':'op_code', 'len':2},
{'name':'data_len', 'len':1},
{'name':'param_value', 'len':None}],
'parsing':
[('op_code', lambda ble, original:
ble._parse_opcodes(original['op_code']))]},
} |
# Time - O (N) | Space O(N)
def tournamentWinner(competitions, results):
points = {}
for comp in range(len(competitions)):
if results[comp] == 1:
if competitions[comp][0] not in points:
points[competitions[comp][0]] = 3
else:
points[competitions[comp][0]] = points[competitions[comp][0]] + 3
else:
if competitions[comp][1] not in points:
points[competitions[comp][1]] = 3
else:
points[competitions[comp][1]] = points[competitions[comp][1]] + 3
winner = ""
maxPoints = -1
for key in points:
if points[key] > maxPoints:
winner = key
maxPoints = points[key]
return winner |
# Game Properties
WIDTH = 600
HEIGHT = 600
FPS = 30
# Game Colours
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
RED = (255, 0, 0)
YELLOW = (255, 255, 0) |
class MailException(Exception):
pass
|
# def alias(alias_var):
#
# @property
# def func(cls):
# return getattr(cls, alias_var)
#
# return func
# we get bonus 1 for free!
# def alias(alias_var, write=False):
#
# def getter(cls):
# return getattr(cls, alias_var)
#
# def setter(cls, value):
# if write is True:
# setattr(cls, alias_var, value)
# else:
# raise AttributeError("can't set attribute")
#
# return property(getter, setter)
class Alias:
def __init__(self, alias_var, write=False):
self.alias_var, self.write = alias_var, write
def __get__(self, instance, owner):
if instance is None:
return getattr(owner, self.alias_var)
else:
return getattr(instance, self.alias_var)
def __set__(self, instance, value):
if self.write is True:
setattr(instance, self.alias_var, value)
else:
raise AttributeError("can't set attribute")
alias = Alias
|
products = [
{
'_id': "1",
'name': "Airpods Wireless Bluetooth Headphones",
'image': "/images/airpods.jpg",
'description':
"Bluetooth technology lets you connect it with compatible devices wirelessly High-quality AAC audio offers immersive listening experience Built-in microphone allows you to take calls while working",
'brand': "Apple",
'category': "Electronics",
'price': 89.99,
'countInStock': 10,
'rating': 4.5,
'numReviews': 12,
},
{
'_id': "2",
'name': "iPhone 11 Pro 256GB Memory",
'image': "/images/phone.jpg",
'description':
"Introducing the iPhone 11 Pro. A transformative triple-camera system that adds tons of capability without complexity. An unprecedented leap in battery life",
'brand': "Apple",
'category': "Electronics",
'price': 599.99,
'countInStock': 7,
'rating': 4.0,
'numReviews': 8,
},
{
'_id': "3",
'name': "Cannon EOS 80D DSLR Camera",
'image': "/images/camera.jpg",
'description':
"Characterized by versatile imaging specs, the Canon EOS 80D further clarifies itself using a pair of robust focusing systems and an intuitive design",
'brand': "Cannon",
'category': "Electronics",
'price': 929.99,
'countInStock': 5,
'rating': 3,
'numReviews': 12,
},
{
'_id': "4",
'name': "Sony Playstation 4 Pro White Version",
'image': "/images/playstation.jpg",
'description':
"The ultimate home entertainment center starts with PlayStation. Whether you are into gaming, HD movies, television, music",
'brand': "Sony",
'category': "Electronics",
'price': 399.99,
'countInStock': 11,
'rating': 5,
'numReviews': 12,
},
{
'_id': "5",
'name': "Logitech G-Series Gaming Mouse",
'image': "/images/mouse.jpg",
'description':
"Get a better handle on your games with this Logitech LIGHTSYNC gaming mouse. The six programmable buttons allow customization for a smooth playing experience",
'brand': "Logitech",
'category': "Electronics",
'price': 49.99,
'countInStock': 7,
'rating': 3.5,
'numReviews': 10,
},
{
'_id': "6",
'name': "Amazon Echo Dot 3rd Generation",
'image': "/images/alexa.jpg",
'description':
"Meet Echo Dot - Our most popular smart speaker with a fabric design. It is our most compact smart speaker that fits perfectly into small space",
'brand': "Amazon",
'category': "Electronics",
'price': 29.99,
'countInStock': 0,
'rating': 4,
'numReviews': 12,
},
] |
"""
Defines the Singleton metaclass available through :class:`objecttools.Singleton`
"""
__all__ = ('Singleton',)
class Singleton(type):
"""A metaclass for defining singletons"""
def __new__(mcs, name, bases, dict):
"""
Create a new :class:`Singleton` instance
:param name: Name of the new class
:type name: str
:param bases: Base classes of the new class
:type bases: Tuple[type, ...]
:param dict: Attributes of the new class
:type dict: Dict[Str, Any]
:return: A new class of type Singleton
:rtype: Singleton
"""
return super(Singleton, mcs).__new__(mcs, name, bases, dict)
def __init__(cls, name, bases, dict):
"""
Instantiate a :class:`Singleton` class
:param name: Name of the new class
:type name: str
:param bases: Base classes of the new class
:type bases: Tuple[type, ...]
:param dict: Attributes of the new class
:type dict: Dict[Str, Any]
:return: None
:rtype: NoneType
"""
super(Singleton, cls).__init__(name, bases, dict)
old_new = cls.__new__
__init__ = cls.__init__
this_cls = cls
def __new__(cls=None):
self = old_new(this_cls)
__init__(self)
this_cls.__self__ = self
def __new__(cls=None):
return self
this_cls.__new__ = staticmethod(__new__)
return self
cls.__new__ = staticmethod(__new__)
@classmethod
def create(mcs, name, dict=None, object_name=None):
"""
Create a new :class:`Singleton` class
:param name: Name of the new class (Used in its __repr__ if no object_name)
:type name: str
:param dict: Optional dictionary of the classes' attributes
:type dict: Optional[Dict[str, Any]]
:param object_name: Name of an instance of the singleton. Used in __repr__.
:type object_name: Optional[str]
:return: A new Singleton instance
:rtype: Singleton
"""
if dict is None:
dict = {}
_repr = name + '()' if object_name is None else object_name
def __repr__(self=None):
return _repr
dict.setdefault('__repr__', __repr__)
return mcs(name, (object,), dict)
@classmethod
def as_decorator(mcs, cls):
"""
Use :class:`Singleton` as a decorator for Python 2/3 compatibility::
@Singleton.as_decorator
class SingletonType(object):
def __repr__(self):
return 'singleton'
singleton = SingletonType()
:param cls: Class to become a singleton
:type cls: type
:return: The new singleton
:rtype: Singleton
"""
return mcs(cls.__name__, cls.__bases__, cls.__dict__.copy())
def __repr__(cls):
return cls.__name__
|
class Diff:
"""
A list of Models which can be propagated from parent to child node
an operation associated.
This structure is necessary because of
the access permissions/kv/kvcomp
propagation from parent to child nodes i.e. if some access/kv/kvcomp(es)
is (are) applied to a node - it will affect (update, insert, delete)
all its descendents.
"""
DELETE = -1
UPDATE = 0
ADD = 1 # accesses in the list will be added
REPLACE = 2
def __init__(self, operation, instances_set=[]):
self._op = operation
if len(instances_set) == 0:
self._set = set()
else:
self._set = instances_set
@property
def operation(self):
return self._op
def add(self, instance):
self._set.add(instance)
def __len__(self):
return len(self._set)
def __iter__(self):
return iter(self._set)
def first(self):
if len(self) > 0:
return list(self._set)[0]
return None
def pop(self):
return self._set.pop()
def is_update(self):
return self.operation == self.UPDATE
def is_add(self):
return self.operation == self.ADD
def is_delete(self):
return self.operation == self.DELETE
def is_replace(self):
return self.operation == self.REPLACE
def __str__(self):
op_name = {
self.DELETE: "delete",
self.UPDATE: "update",
self.ADD: "add",
self.REPLACE: "replace"
}
inst_list = [
str(inst) for inst in self._set
]
op = op_name[self._op]
return f"Diff({op}, {inst_list})"
def __repr__(self):
return self.__str__()
|
"""455. Assign Cookies"""
class Solution(object):
def findContentChildren(self, g, s):
"""
:type g: List[int]
:type s: List[int]
:rtype: int
"""
g.sort()
s.sort()
cookie = 0
child = 0
while cookie <= len(s)-1 and child <= len(g)-1:
if s[cookie] >= g[child]:
child += 1
cookie += 1
return child
|
_base_ = [
'../_base_/models/stylegan/stylegan3_base.py',
'../_base_/datasets/unconditional_imgs_flip_lanczos_resize_256x256.py',
'../_base_/default_runtime.py'
]
synthesis_cfg = {
'type': 'SynthesisNetwork',
'channel_base': 16384,
'channel_max': 512,
'magnitude_ema_beta': 0.999
}
r1_gamma = 2. # set by user
d_reg_interval = 16
model = dict(
type='StaticUnconditionalGAN',
generator=dict(out_size=256, img_channels=3, synthesis_cfg=synthesis_cfg),
discriminator=dict(in_size=256, channel_multiplier=1),
gan_loss=dict(type='GANLoss', gan_type='wgan-logistic-ns'),
disc_auxiliary_loss=dict(loss_weight=r1_gamma / 2.0 * d_reg_interval))
imgs_root = 'data/ffhq/images'
data = dict(
samples_per_gpu=4,
train=dict(dataset=dict(imgs_root=imgs_root)),
val=dict(imgs_root=imgs_root))
ema_half_life = 10. # G_smoothing_kimg
custom_hooks = [
dict(
type='VisualizeUnconditionalSamples',
output_dir='training_samples',
interval=5000),
dict(
type='ExponentialMovingAverageHook',
module_keys=('generator_ema', ),
interp_mode='lerp',
interval=1,
start_iter=0,
momentum_policy='rampup',
momentum_cfg=dict(
ema_kimg=10, ema_rampup=0.05, batch_size=32, eps=1e-8),
priority='VERY_HIGH')
]
inception_pkl = 'work_dirs/inception_pkl/ffhq-lanczos-256x256.pkl'
metrics = dict(
fid50k=dict(
type='FID',
num_images=50000,
inception_pkl=inception_pkl,
inception_args=dict(type='StyleGAN'),
bgr2rgb=True))
inception_path = None
evaluation = dict(
type='GenerativeEvalHook',
interval=10000,
metrics=dict(
type='FID',
num_images=50000,
inception_pkl=inception_pkl,
inception_args=dict(type='StyleGAN', inception_path=inception_path),
bgr2rgb=True),
sample_kwargs=dict(sample_model='ema'))
checkpoint_config = dict(interval=10000, by_epoch=False, max_keep_ckpts=30)
lr_config = None
total_iters = 800002
|
test_data = """11111
19991
19191
19991
11111"""
sample_data = """5483143223
2745854711
5264556173
6141336146
6357385478
4167524645
2176841721
6882881134
4846848554
5283751526"""
class bcolors:
WARNING = '\033[93m'
ENDC = '\033[0m'
# Converts the multi-line string into a 2D array
def listify_input(data):
ret = []
for line in data.splitlines():
row = []
for char in list(line):
row.append(int(char))
ret.append(row)
return ret
# Print out the array with some style
def print_octopi(octopi, flashed = None):
for y in range(len(octopi)):
line = ''
for x in range(len(octopi[y])):
if flashed is not None and flashed[y][x]:
print(f'{bcolors.WARNING}{octopi[y][x]}{bcolors.ENDC}', end='')
else:
print(f'{octopi[y][x]}', end='')
print()
print()
# This handles what constitutes as a step for the puzzle
# and it returns the array, the flashes array, and the number
# of flashes that occured in the step
def do_step(octopi):
flashed = []
num_flashes = 0
# First, the energy level of each octopus increases by 1.
# and build the flashed array to track whether an octopus
# has already flashed
for y in range(len(octopi)):
flashed_row = []
for x in range(len(octopi[y])):
flashed_row.append(False)
octopi[y][x] += 1
flashed.append(flashed_row)
# Then, any octopus with an energy level greater than 9 flashes.
# This increases the energy level of all adjacent octopuses by 1,
# including octopuses that are diagonally adjacent. If this causes
# an octopus to have an energy level greater than 9, it also flashes.
# This process continues as long as new octopuses keep having their
# energy level increased beyond 9. (An octopus can only flash at
# most once per step.)
while True:
new_flashes = 0
for y in range(len(octopi)):
for x in range(len(octopi[y])):
# An octopus can only flash once, so only count the instant it's over 9
if octopi[y][x] > 9 and not flashed[y][x]:
octopi[y][x] = 0
flashed[y][x] = True
new_flashes += 1
for flashy in [y - 1, y, y + 1]:
for flashx in [x - 1, x, x + 1]:
if flashy >= 0 and flashy < len(octopi) and flashx >= 0 and flashx < len(octopi[y]) and not flashed[flashy][flashx]:
octopi[flashy][flashx] += 1
if new_flashes == 0:
break
else:
num_flashes += new_flashes
return octopi, flashed, num_flashes
def partOne(data, num_steps):
octopi = listify_input(data)
total_flashes = 0
for step in range(num_steps):
print(f'Step {step + 1}:')
octopi, flashed, num_flashes = do_step(octopi)
print_octopi(octopi, flashed)
# Accumulate flashes
total_flashes += num_flashes
return total_flashes
# Find the first step where all the octopi flash at once
def partTwo(data):
octopi = listify_input(data)
# This is the number of flashes we'd have if all the octopi flashed at once
target_num_flashes = len(octopi) * len(octopi[0])
step = 0
while True:
step += 1
octopi, flashed, num_flashes = do_step(octopi)
if num_flashes == target_num_flashes:
return step
# Import the data file into a list of lists of four elements reprenting x1,y1,x2,y2
values = ''
with open ('day-11.txt', 'r') as f:
values = f.read()
print('Problem 1 Test: {}'.format(partOne(test_data, 2)))
print('Problem 1 Sample Pt 1 Value (Target 204): {}'.format(partOne(sample_data, 10)))
print('Problem 1 Sample Pt 2 Value (Target 1656): {}'.format(partOne(sample_data, 100)))
print('Problem 1 Solution: {}'.format(partOne(values, 100)))
print('Problem 2 Sample Value (Target 195): {}'.format(partTwo(sample_data)))
print('Problem 2 Solution: {}'.format(partTwo(values)))
|
# Definition for a binary tree node.
class TreeNode:
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Solution:
def sumEvenGrandparent(self, root: TreeNode) -> int:
if not root:
return 0
if root.val % 2 == 0:
if root.left is not None:
root.left.has_even_parent = True
if root.right is not None:
root.right.has_even_parent = True
if hasattr(root, "has_even_parent"):
if root.left is not None:
root.left.has_even_grand_parent = True
if root.right is not None:
root.right.has_even_grand_parent = True
value = 0
if hasattr(root, "has_even_grand_parent"):
value = root.val
return value + self.sumEvenGrandparent(root.left) + self.sumEvenGrandparent(root.right)
|
###################EXERCICIO 79 ########################
########### CURSO DE PYTOHN MUNDO 3 ####################
########### PROF. GUANABARA ############################
numero = list()
while True:
n = int(input('Digite um valor : '))
if n not in numero:
numero.append(n)
print('Valor adicionado com sucesso !!!')
else:
print('Valor Duplicado não adicionado : ')
r = str(input('Quer continuar ? '))
if r in 'Nn':
break
print('=='*30)
numero.sort()
print(f'Você digitou os valores {numero}')
print('=='*30) |
#
# Constants, shared by all scenes
#
# Scene keys (any unique values):
SCENE_A = 'scene A'
SCENE_B = 'scene B'
SCENE_C = 'scene C'
# Message ID's (any unique values):
SEND_MESSAGE = 'send message'
GET_DATA = 'get data'
WHITE = (255, 255, 255)
GRAYA = (50, 50, 50)
GRAYB = (100, 100, 100)
GRAYC = (150, 150, 150)
|
# Copyright 2014 Mirantis, Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"""Common constants that can be used all over the manilaclient."""
# These are used for providing desired sorting params with list requests
SORT_DIR_VALUES = ('asc', 'desc')
SHARE_SORT_KEY_VALUES = (
'id', 'status', 'size', 'host', 'share_proto',
'export_location', 'availability_zone',
'user_id', 'project_id',
'created_at', 'updated_at',
'display_name', 'name',
'share_type_id', 'share_type',
'share_network_id', 'share_network',
'snapshot_id', 'snapshot',
)
SNAPSHOT_SORT_KEY_VALUES = (
'id',
'status',
'size',
'share_id',
'user_id',
'project_id',
'progress',
'name',
'display_name',
)
CONSISTENCY_GROUP_SORT_KEY_VALUES = (
'id',
'name',
'status',
'host',
'user_id',
'project_id',
'created_at',
'source_cgsnapshot_id',
)
CG_SNAPSHOT_SORT_KEY_VALUES = (
'id',
'name',
'status',
'host',
'user_id',
'project_id',
'created_at',
)
CG_SNAPSHOT_MEMBERS_SORT_KEY_VALUES = (
'id',
'name',
'created_at',
'size',
'share_protocol',
'project_id',
'share_type_id',
'cgsnapshot_id',
)
EXPERIMENTAL_HTTP_HEADER = 'X-OpenStack-Manila-API-Experimental'
V1_SERVICE_TYPE = 'share'
V2_SERVICE_TYPE = 'sharev2'
SERVICE_TYPES = {'1': V1_SERVICE_TYPE, '2': V2_SERVICE_TYPE}
|
# Time: O(n * 2^n)
# Space: O(2^n)
class Solution(object):
# @return a string
def countAndSay(self, n):
seq = "1"
for i in xrange(n - 1):
seq = self.getNext(seq)
return seq
def getNext(self, seq):
i, next_seq = 0, ""
while i < len(seq):
cnt = 1
while i < len(seq) - 1 and seq[i] == seq[i + 1]:
cnt += 1
i += 1
next_seq += str(cnt) + seq[i]
i += 1
return next_seq
|
a = [2, 3, 4, 7]
b = a # Aqui troca nas duaas listas.
b[2] = 8
print('Lista A:', a)
print('Lista B:', b)
print()
print()
a = [2, 3, 4, 7]
b = a[:] # Aqui troca só na lista B.
b[2] = 8
print('Lista A:', a)
print('Lista B:', b)
|
# Beat annotations
normal_beat = ('N', 'Normal beat (displayed as "·" by the PhysioBank ATM, LightWAVE, pschart, and psfd)')
left_bundle_branch_block_beat = ('L', 'Left bundle branch block beat')
right_bundle_branch_block_beat = ('R', 'Right bundle branch block beat')
bundle_branch_block_beat_unspecified = ('B', 'Bundle branch block beat (unspecified)')
atrial_premature_beat = ('A', 'Atrial premature beat')
aberrated_atrial_premature_beat = ('a', 'Aberrated atrial premature beat')
nodal_junctional_premature_beat = ('J', 'Nodal (junctional) premature beat')
supraventricular_premature_or_ectopic_beat_atrial_or_nodal = ('S', 'Supraventricular premature or ectopic beat (atrial or nodal)')
premature_ventricular_contraction = ('V', 'Premature ventricular contraction')
r_on_t_premature_ventricular_contraction = ('r', 'R-on-T premature ventricular contraction')
fusion_of_ventricular_and_normal_beat = ('F', 'Fusion of ventricular and normal beat')
atrial_escape_beat = ('e', 'Atrial escape beat')
nodal_junctional_escape_beat = ('j', 'Nodal (junctional) escape beat')
supraventricular_escape_beat_atrial_or_nodal = ('n', 'Supraventricular escape beat (atrial or nodal)')
ventricular_escape_beat = ('E', 'Ventricular escape beat')
paced_beat = ('/', 'Paced beat')
fusion_of_paced_and_normal_beat = ('f', 'Fusion of paced and normal beat')
unclassifiable_beat = ('Q', 'Unclassifiable beat')
beat_not_classified_during_learning = ('?', 'Beat not classified during learning')
beat_annotations = [normal_beat, left_bundle_branch_block_beat,
right_bundle_branch_block_beat,
bundle_branch_block_beat_unspecified,
atrial_premature_beat, aberrated_atrial_premature_beat,
nodal_junctional_premature_beat,
supraventricular_premature_or_ectopic_beat_atrial_or_nodal,
premature_ventricular_contraction,
r_on_t_premature_ventricular_contraction,
fusion_of_ventricular_and_normal_beat, atrial_escape_beat,
nodal_junctional_escape_beat,
supraventricular_escape_beat_atrial_or_nodal,
ventricular_escape_beat, paced_beat,
fusion_of_paced_and_normal_beat, unclassifiable_beat,
beat_not_classified_during_learning]
# Non-beat annotations
start_of_ventricular_flutter_fibrillation = ('[', 'Start of ventricular flutter/fibrillation')
ventricular_flutter_wave = ('!', 'Ventricular flutter wave')
end_of_ventricular_flutter_fibrillation = (']', 'End of ventricular flutter/fibrillation')
non_conducted_p_wave_blocked_apc = ('x', 'Non-conducted P-wave (blocked APC)')
waveform_onset = ('(', 'Waveform onset')
waveform_end = (')', 'Waveform end')
peak_of_p_wave = ('p', 'Peak of P-wave')
peak_of_t_wave = ('t', 'Peak of T-wave')
peak_of_u_wave = ('u', 'Peak of U-wave')
pq_junction = ('`', 'PQ junction')
j_point = ('\'', 'J-point')
non_captured_pacemaker_artifact = ('^', '(Non-captured) pacemaker artifact')
isolated_qrs_like_artifact = ('|', 'Isolated QRS-like artifact')
change_in_signal_quality = ('~', 'Change in signal quality')
rhythm_change = ('+', 'Rhythm change')
st_segment_change = ('s', 'ST segment change')
t_wave_change = ('T', 'T-wave change')
systole = ('*', 'Systole')
diastole = ('D', 'Diastole')
measurement_annotation = ('=', 'Measurement annotation')
comment_annotation = ('"', 'Comment annotation')
link_to_external_data = ('@', 'Link to external data')
non_beat_annotations = [start_of_ventricular_flutter_fibrillation,
ventricular_flutter_wave,
end_of_ventricular_flutter_fibrillation,
non_conducted_p_wave_blocked_apc, waveform_onset,
waveform_end, peak_of_p_wave, peak_of_t_wave,
peak_of_u_wave, pq_junction, j_point,
non_captured_pacemaker_artifact,
isolated_qrs_like_artifact, change_in_signal_quality,
rhythm_change, st_segment_change, t_wave_change,
systole, diastole, measurement_annotation,
comment_annotation, link_to_external_data]
annotation_definitions = dict(beat_annotations + non_beat_annotations)
|
"""
kb_observer.py
Copyright 2015 Andres Riancho
This file is part of w3af, http://w3af.org/ .
w3af is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
w3af is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with w3af; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
"""
class KBObserver(object):
"""
When you want to listen to KB changes the best way is to create a KBObserver
instance and call kb.add_observer(kb_observer). Then, the KB will call the
methods in this instance to notify you about the changes.
This is a base implementation that you should extend in order to provide
real features. For now we just define the methods with a no-op
implementation.
Note that the methods in this class are named just like the ones in
KnowledgeBase which trigger the calls.
"""
def append(self, location_a, location_b, value, ignore_type=False):
pass
def add_url(self, url):
pass
def update(self, old_info, new_info):
pass
|
def checkWalletState(cli, totalIds, isAbbr, isCrypto):
if cli._activeWallet:
assert len(cli._activeWallet.idsToSigners) == totalIds
if totalIds > 0:
activeSigner = cli._activeWallet.idsToSigners[
cli._activeWallet.defaultId]
if isAbbr:
assert activeSigner.verkey.startswith("~"), \
"verkey {} doesn't look like abbreviated verkey".\
format(activeSigner.verkey)
assert cli._activeWallet.defaultId != activeSigner.verkey, \
"new DID should not be equal to abbreviated verkey"
if isCrypto:
assert not activeSigner.verkey.startswith("~"), \
"verkey {} doesn't look like cryptographic verkey". \
format(activeSigner.verkey)
assert cli._activeWallet.defaultId == activeSigner.verkey, \
"new DID should be equal to verkey"
def getTotalIds(cli):
if cli._activeWallet:
return len(cli._activeWallet.idsToSigners)
else:
return 0
def testNewIdWithIncorrectSeed(be, do, aliceCLI):
totalIds = getTotalIds(aliceCLI)
be(aliceCLI)
# Seed not of length 32 or 64
do("new DID with seed aaaaaaaaaaa",
expect=["Seed needs to be 32 or 64 characters (if hex) long"])
checkWalletState(aliceCLI, totalIds=totalIds, isAbbr=False, isCrypto=False)
# Seed of length 64 but not hex
do("new DID with seed "
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
expect=["Seed needs to be 32 or 64 characters (if hex) long"])
checkWalletState(aliceCLI, totalIds=totalIds, isAbbr=False,
isCrypto=False)
# Seed of length 64 and hex
do("new DID with seed "
"2af3d062450c942be50ee766ce2571a6c75c0aca0de322293e7e9f116959c9c3",
expect=["Current DID set to"])
checkWalletState(aliceCLI, totalIds=totalIds + 1, isAbbr=False,
isCrypto=False)
def testNewIdIsNotInvalidCommand(be, do, aliceCLI):
totalIds = getTotalIds(aliceCLI)
be(aliceCLI)
do("new DID", not_expect=["Invalid command"])
checkWalletState(aliceCLI, totalIds=totalIds +
1, isAbbr=False, isCrypto=False)
def testNewId(be, do, aliceCLI):
totalIds = getTotalIds(aliceCLI)
be(aliceCLI)
do("new DID",
expect=["Current DID set to"])
checkWalletState(aliceCLI, totalIds=totalIds +
1, isAbbr=False, isCrypto=False)
|
__copyright__ = 'Copyright (C) 2019, Nokia'
class InteractiveSessionError(Exception):
"""Base class for exceptions raised by :class:`.InteractiveSession`
and by :class:`.InteractiveSession` shells inherited from
:class:`.shells.shell.Shell`.
"""
|
expected_output = {
"instance": {
"0": {
"level": {
"L2": {
"interfaces": {
"To-GENIE01R07-LAG-7": {
"system_id": {
"0691.58ff.79a2": {
"hold_time": 22,
"hostname": "GENIE01R07",
"ipv4_adj_sid": "Label 524213",
"ipv4_neighbor": "10.11.97.22",
"ipv6_neighbor": "::",
"l_circ_typ": "L2",
"last_restart_at": "Never",
"max_hold": 30,
"mt_enabled": "No",
"nbr_sys_typ": "L2",
"number_of_restarts": 0,
"priority": 0,
"restart_support": "Disabled",
"restart_supressed": "Disabled",
"restart_status": "Not currently being helped",
"snpa": "00:23:3e:ff:a6:27",
"state": "Up",
"topology": "Unicast",
"up_time": "58d 03:24:48",
}
}
},
"To-GENIE04XR1-LAG-4": {
"system_id": {
"0670.70ff.b258": {
"hold_time": 23,
"hostname": "GENIE04XR1",
"ipv4_adj_sid": "Label 524127",
"ipv4_neighbor": "10.11.79.245",
"ipv6_neighbor": "::",
"l_circ_typ": "L2",
"last_restart_at": "Never",
"max_hold": 30,
"mt_enabled": "No",
"nbr_sys_typ": "L2",
"number_of_restarts": 0,
"priority": 0,
"restart_support": "Disabled",
"restart_supressed": "Disabled",
"restart_status": "Not currently being helped",
"snpa": "84:26:2b:ff:e9:9e",
"state": "Up",
"topology": "Unicast",
"up_time": "36d 23:21:57",
}
}
},
"To-GENIE03R07-LAG-9": {
"system_id": {
"0691.58ff.79aa": {
"hold_time": 22,
"hostname": "GENIE03R07",
"ipv4_adj_sid": "Label 524214",
"ipv4_neighbor": "10.11.79.242",
"ipv6_neighbor": "::",
"l_circ_typ": "L2",
"last_restart_at": "Never",
"max_hold": 30,
"mt_enabled": "No",
"nbr_sys_typ": "L2",
"number_of_restarts": 0,
"priority": 0,
"restart_support": "Disabled",
"restart_supressed": "Disabled",
"restart_status": "Not currently being helped",
"snpa": "00:23:3e:ff:bc:27",
"state": "Up",
"topology": "Unicast",
"up_time": "58d 03:24:48",
}
}
},
}
}
}
},
"1": {
"level": {
"L2": {
"interfaces": {
"To-GENIE01R07-LAG-7": {
"system_id": {
"0691.58ff.79a2": {
"hold_time": 22,
"hostname": "GENIE01R07",
"ipv4_adj_sid": "Label 524213",
"ipv4_neighbor": "10.11.97.22",
"ipv6_neighbor": "::",
"l_circ_typ": "L2",
"last_restart_at": "Never",
"max_hold": 30,
"mt_enabled": "No",
"nbr_sys_typ": "L2",
"number_of_restarts": 0,
"priority": 0,
"restart_support": "Disabled",
"restart_supressed": "Disabled",
"restart_status": "Not currently being helped",
"snpa": "00:23:3e:ff:a6:27",
"state": "Up",
"topology": "Unicast",
"up_time": "58d 03:24:48",
}
}
}
}
}
}
},
}
}
|
s = str(input("묞ì"))
for i in range(0,len(s)) :
for j in range(0, i+1) :
print("%s" % s[j], end="")
print("")
|
def countWays(m_jumps, steps):
variants = []
for a in range(steps, 1, -1):
var = [1] * a
if sum(var) == steps:
variants.append(' - '.join(str(x) for x in var))
continue
if m_jumps > 1:
for c in range(0, a):
print(var)
var2 = var[:]
for b in range(2, m_jumps + 1):
var2[c] = b
print('C', c, var2)
if sum(var2) == steps and var2 not in variants:
print('C', c, 'ADDED')
variants.append(' - '.join(str(x) for x in var2))
break
elif c + 1 != a:
for d in range(c + 1, a):
var3 = var2[:]
for e in range(2, m_jumps + 1):
var3[d] = e
print('D', d, var3)
if sum(var3) == steps and var3 not in variants:
print('D', d, 'ADDED')
variants.append(' - '.join(str(x) for x in var3))
break
else:
break
print('ÐПлОÑеÑÑвП ваÑОаМÑПв: ', len(variants))
print('ÐÑе вПзЌПжМÑе ваÑОаМÑÑ: \n', '\n'.join(variants))
countWays(3,8)
#ÐеÑвÑй паÑаЌеÑÑ - K, вÑПÑПй - N |
def dummy(environ, start_response):
start_response('200 OK', [])
yield [b'dummy']
|
# program to convert temperature from celcius to farenheit
x = float(input("Enter the temperature in celcius: "))
f = (x * 9 / 5) + 32
print(f"Temperaturn in farenheit: {f}")
|
letters = "python"
print(letters[0:3]) # 3êžìê¹ì§ ì¶ë ¥ : ìžë±ì±
license_plate = "24ê° 2210"
print(license_plate[4:])
print(license_plate[-4:])
string ="íì§íì§íì§"
print(string[0:6:2]) # í êžì 걎ëë°êž°
print(string[::2]) # ììë¶í° ëê¹ì§ 2ì© ìŠê°
string ="PYTHON"
print(string[::-1]) # ë€ì§êž° NOHTYP
phone_number = "010-1111-2222" # íìŽí ì ê±°
a = phone_number.replace("-", "") # aë³ìì ìë¡ ìì±
print(a)
print(phone_number) # ìµìŽ ì ì¥ë ì€ížë§
url = "http://sharebook.kr" #ë©ëªšëЬì urlê°ì ë°ìžë©
a = url.split(".")
print(a)
# lang ="python"
# lang[0] = 'P' # ë묞ì ë³í
# print(lang) # ì€ë¥ê° ëë¯ë¡ ë€ë¥ž ë°©ììŒë¡
string = "abcdef2a354a32a"
a = string.replace('a', "A") # aë ë€ë¥ž ë©ëªšëЬ ìì
print(a)
string = "abcd"
a = string.replace('b','B') # ë³ê²œë 묞ììŽ ì ê· ë°ìžë©
print(string)
print(a) # ìë¡ ë°ìžë©í 묞ììŽ
|
# https://stepik.org/lesson/5047/step/3?unit=1086
# Sample Input 1:
# 5.0
# 0.0
# mod
# Sample Output 1:
# ÐелеМОе Ма 0!
# Sample Input 2:
# -12.0
# -8.0
# *
# Sample Output 2:
# 96.0
# Sample Input 3:
# 5.0
# 10.0
# /
# Sample Output 3:
# 0.5
a = float(input())
b = float(input())
op = input()
if op == '+':
print(a + b)
elif op == '-':
print(a - b)
elif op == '/':
if b == 0:
print('ÐелеМОе Ма 0!')
else:
print(a / b)
elif op == '*':
print(a * b)
elif op == 'mod':
if b == 0:
print('ÐелеМОе Ма 0!')
else:
print(a % b)
elif op == 'pow':
print(a ** b)
elif op == 'div':
if b == 0:
print('ÐелеМОе Ма 0!')
else:
print(a // b)
|
map_out = {
r'\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{1,6}(-|\+)\d{2}' : 'YYYY-MM-DD HH:MM:SS.FFFFFF-TZ'
, r'\d{2}:\d{2}:\d{2}.\d{1,6}' : 'HH:MM:SS.FFFFFF'
, r'\d{4}-\d{2}-\d{2}' : 'YYYY-MM-DD'}
test_cases = [
test_case(
cmd=('yb_chunk_dml_by_integer_yyyymmdd.py @{argsdir}/yb_chunk_dml_by_integer_yyyymmdd__args1 '
'--execute_chunk_dml')
, exit_code=0
, stdout="""-- Running DML chunking.
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Starting YYYYMMDD Integer Date Chunking, first calculating date group counts
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Build Chunk DMLs
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 1, Rows: 166582, Range 20200101 <= col19 < 20200111
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 2, Rows: 100018, Range 20200111 <= col19 < 20200902
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 3, Rows: 101800, Range 20200902 <= col19 < 20210426
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 4, Rows: 100376, Range 20210426 <= col19 < 20211215
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 5, Rows: 100212, Range 20211215 <= col19 < 20220727
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 6, Rows: 100988, Range 20220727 <= col19 < 20230415
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 7, Rows: 102860, Range 20230415 <= col19 < 20240222
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 8, Rows: 100266, Range 20240222 <= col19 < 20250401
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 9, Rows: 100036, Range 20250401 <= col19 < 20320311
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 10, Rows: 26862, Range 20320311 <= col19 < 20420307
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Chunk: 11, Rows: 0, col19 IS NULL
--YYYY-MM-DD HH:MM:SS.FFFFFF-TZ: Completed YYYYMMDD Integer Date Chunked DML
--Total Rows : 1000000
--IS NULL Rows : 0
--Running total check: PASSED
--Duration : HH:MM:SS.FFFFFF
--Overhead duration : HH:MM:SS.FFFFFF
--Total Chunks : 11
--Min chunk size : 100000
--Largest chunk size : 166582
--Average chunk size : 90909
-- Completed DML chunking."""
, stderr=''
, map_out=map_out)
, test_case(
cmd=('yb_chunk_dml_by_integer_yyyymmdd.py @{argsdir}/yb_chunk_dml_by_integer_yyyymmdd__args1 '
'--print_chunk_dml --null_chunk_off --verbose_chunk_off')
, exit_code=0
, stdout="""-- Running DML chunking.
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 1, size: 166582) >>>*/ 20200101 <= col19 AND col19 < 20200111 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 2, size: 100018) >>>*/ 20200111 <= col19 AND col19 < 20200902 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 3, size: 101800) >>>*/ 20200902 <= col19 AND col19 < 20210426 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 4, size: 100376) >>>*/ 20210426 <= col19 AND col19 < 20211215 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 5, size: 100212) >>>*/ 20211215 <= col19 AND col19 < 20220727 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 6, size: 100988) >>>*/ 20220727 <= col19 AND col19 < 20230415 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 7, size: 102860) >>>*/ 20230415 <= col19 AND col19 < 20240222 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 8, size: 100266) >>>*/ 20240222 <= col19 AND col19 < 20250401 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 9, size: 100036) >>>*/ 20250401 <= col19 AND col19 < 20320311 /*<<< chunk_clause */;
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 10, size: 26862) >>>*/ 20320311 <= col19 AND col19 < 20420307 /*<<< chunk_clause */;
-- Completed DML chunking."""
, stderr='')
, test_case(
cmd=('yb_chunk_dml_by_integer_yyyymmdd.py @{argsdir}/yb_chunk_dml_by_integer_yyyymmdd__args1 '
'--print_chunk_dml')
, exit_code=0
, stdout="""-- Running DML chunking.
--2020-08-22 23:04:57.77992-06: Starting YYYYMMDD Integer Date Chunking, first calculating date group counts
--2020-08-22 23:04:58.202254-06: Build Chunk DMLs
--2020-08-22 23:04:58.202609-06: Chunk: 1, Rows: 166582, Range 20200101 <= col19 < 20200111
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 1, size: 166582) >>>*/ 20200101 <= col19 AND col19 < 20200111 /*<<< chunk_clause */;
--2020-08-22 23:04:58.203502-06: Chunk: 2, Rows: 100018, Range 20200111 <= col19 < 20200902
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 2, size: 100018) >>>*/ 20200111 <= col19 AND col19 < 20200902 /*<<< chunk_clause */;
--2020-08-22 23:04:58.203782-06: Chunk: 3, Rows: 101800, Range 20200902 <= col19 < 20210426
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 3, size: 101800) >>>*/ 20200902 <= col19 AND col19 < 20210426 /*<<< chunk_clause */;
--2020-08-22 23:04:58.204023-06: Chunk: 4, Rows: 100376, Range 20210426 <= col19 < 20211215
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 4, size: 100376) >>>*/ 20210426 <= col19 AND col19 < 20211215 /*<<< chunk_clause */;
--2020-08-22 23:04:58.204269-06: Chunk: 5, Rows: 100212, Range 20211215 <= col19 < 20220727
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 5, size: 100212) >>>*/ 20211215 <= col19 AND col19 < 20220727 /*<<< chunk_clause */;
--2020-08-22 23:04:58.204521-06: Chunk: 6, Rows: 100988, Range 20220727 <= col19 < 20230415
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 6, size: 100988) >>>*/ 20220727 <= col19 AND col19 < 20230415 /*<<< chunk_clause */;
--2020-08-22 23:04:58.204862-06: Chunk: 7, Rows: 102860, Range 20230415 <= col19 < 20240222
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 7, size: 102860) >>>*/ 20230415 <= col19 AND col19 < 20240222 /*<<< chunk_clause */;
--2020-08-22 23:04:58.205211-06: Chunk: 8, Rows: 100266, Range 20240222 <= col19 < 20250401
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 8, size: 100266) >>>*/ 20240222 <= col19 AND col19 < 20250401 /*<<< chunk_clause */;
--2020-08-22 23:04:58.207026-06: Chunk: 9, Rows: 100036, Range 20250401 <= col19 < 20320311
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 9, size: 100036) >>>*/ 20250401 <= col19 AND col19 < 20320311 /*<<< chunk_clause */;
--2020-08-22 23:04:58.207984-06: Chunk: 10, Rows: 26862, Range 20320311 <= col19 < 20420307
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE /* chunk_clause(chunk: 10, size: 26862) >>>*/ 20320311 <= col19 AND col19 < 20420307 /*<<< chunk_clause */;
--2020-08-22 23:04:58.208485-06: Chunk: 11, Rows: 0, col19 IS NULL
INSERT INTO new_chunked_table SELECT * FROM {db1}.dev.data_types_t WHERE col19 IS NULL;
--2020-08-22 23:04:58.208789-06: Completed YYYYMMDD Integer Date Chunked DML
--Total Rows : 1000000
--IS NULL Rows : 0
--Running total check: PASSED
--Duration : 00:00:00.430099
--Overhead duration : 00:00:00.430176
--Total Chunks : 11
--Min chunk size : 100000
--Largest chunk size : 166582
--Average chunk size : 90909
-- Completed DML chunking."""
, stderr=''
, map_out=map_out)
] |
# all negative numbers
#
'''
èŸå
¥äžäžªæŽåæ°ç»ïŒæ°ç»éææ£æ°ä¹æèŽæ°ãæ°ç»äžçäžäžªæè¿ç»å€äžªæŽæ°ç»æäžäžªåæ°ç»ãæ±ææåæ°ç»çåçæå€§åŒã
èŠæ±æ¶éŽå€æåºŠäžºO(n)ã
æ§è¡çšæ¶ :68 ms, åšææ Python3 æäº€äžå»èŽ¥äº95.41%ççšæ·
å
åæ¶è :17.2 MB, åšææ Python3 æäº€äžå»èŽ¥äº100.00%ççšæ·
'''
class Solution:
def maxSubArray(self, nums: List[int]) -> int:
if nums==[]:
return None
result = 0
temp = 0
negCount = 0
for i in range(len(nums)):
if nums[i]<0:
negCount+=1
if result<=0: # ignore negative numbers at first
continue
else: # reult > 0
if nums[i]+temp<0: # maintain former temp
temp = 0
else:
temp = nums[i]+temp
else:
if result==temp:
result+=nums[i]
temp = result
else:
temp = temp+nums[i]
if temp>result:
result = temp
else:
continue
#print("i:",i,"result:",result,"temp:",temp)
if negCount==len(nums):# all negative numbers
return max(nums)
else:
return result
|
# todo 2. Nome ao contrario em maisculas. Faça um programa que permita ao usuario digitar o seu nome e em seguida mostre o nome do usuario de trás para frente utilizando somente letras maiusculas. Dica: lembre-se que ao informar o nome o usuario pode digitar letras maiusculas ou minusculas.
nome = str(input('Insira seu nome: ')).strip().upper()
print(nome[::-1])
|
# Please see __init__.py in this folder for documentation
stain_color_map = {
'hematoxylin': [0.65, 0.70, 0.29],
'eosin': [0.07, 0.99, 0.11],
'dab': [0.27, 0.57, 0.78],
'null': [0.0, 0.0, 0.0]
}
|
class Zipper:
@staticmethod
def from_tree(tree):
return Zipper(dict(tree), [])
def __init__(self, tree, ancestors):
self.tree = tree
self.ancestors = ancestors
def value(self):
return self.tree['value']
def set_value(self, value):
self.tree['value'] = value
return self
def left(self):
if self.tree['left'] is None:
return None
return Zipper(self.tree['left'], self.ancestors + [self.tree])
def set_left(self, tree):
self.tree['left'] = tree
return self
def right(self):
if self.tree['right'] is None:
return None
return Zipper(self.tree['right'], self.ancestors + [self.tree])
def set_right(self, tree):
self.tree['right'] = tree
return self
def up(self):
return Zipper(self.ancestors[-1], self.ancestors[:-1])
def to_tree(self):
if any(self.ancestors):
return self.ancestors[0]
return self.tree
|
def randomData(val):
data = []
random = [1, 4, 6, 10, 13]
for i in range(len(val)):
if i in random:
data.append(val[i])
return data
|
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2010 Doug Hellmann. All rights reserved.
#
"""Telling doctest to ignore extra whitespace in test data.
"""
#end_pymotw_header
def my_function(a, b):
"""Returns a * b.
>>> my_function(['A', 'B'], 3) #doctest: +NORMALIZE_WHITESPACE
['A', 'B',
'A', 'B',
'A', 'B',]
This does not match because of the extra space after the [ in
the list.
>>> my_function(['A', 'B'], 2) #doctest: +NORMALIZE_WHITESPACE
[ 'A', 'B',
'A', 'B', ]
"""
return a * b
|
"""Represents a contract.
This merges the Contract and ContractDetails classes from the Java API into a
single class.
"""
class Contract:
"""Represents a single contract.
Attributes not specified in the constructor:
local_symbol -- local exchange symbol
primary_exch -- listing exchange
min_tick -- minimum price tick
long_name -- long name of the contract
industry -- industry classification
category -- industry category
subcategory -- industry subcategory
...
"""
def __init__(self, sec_type='', symbol='', currency='', exchange=''):
"""Initialize a new instance of a Contract.
Keyword arguments:
sec_type -- security type ('STK', 'CASH', 'OPT', etc.)
symbol -- symbol of the underlying asset
currency -- currency
exchange -- order destination ('SMART', 'IDEALPRO', etc.)
"""
# Passed parameters
self.sec_type = sec_type
self.symbol = symbol
self.currency = currency
self.exchange = exchange
# Basic contract
self.local_symbol = ''
self.con_id = 0
self.expiry = ''
self.strike = 0
self.right = ''
self.multiplier = ''
self.primary_exch = ''
self.include_expired = False
self.sec_id_type = ''
self.sec_id = ''
# Combos
self.combo_legs_descrip = ''
self.combo_legs = []
# Delta neutral
self.under_comp = None
self.under_type = None
#
# Contract details
#
self.market_name = ''
self.trading_class = ''
self.min_tick = 0
self.price_magnifier = ''
self.order_types = ''
self.valid_exchanges = ''
self.under_con_id = 0
self.long_name = ''
self.contract_month = ''
self.industry = ''
self.category = ''
self.subcategory = ''
self.time_zone_id = ''
self.trading_hours = ''
self.liquid_hours = ''
# Bond values
self.cusip = ''
self.ratings = ''
self.desc_append = ''
self.bond_type = ''
self.coupon_type = ''
self.callable = False
self.putable = False
self.coupon = 0
self.convertible = False
self.maturity = ''
self.issue_date = ''
self.next_option_date = ''
self.next_option_type = ''
self.next_option_partial = False
self.notes = ''
def __lt__(self, other):
"""Return True if this object is strictly less than the specified
object; False, otherwise.
Keyword arguments:
other -- Contract to compare to this Contract
"""
return self.local_symbol < other.local_symbol
|
class Solution:
def findDuplicate(self, nums):
n = len(nums)
temp = [0] * n
for i in nums:
temp[i] += 1
if temp[i] > 1:
return i
b = Solution()
print(b.findDuplicate([1,3,4,2,2])) |
# Questão 1159 - Soma de Pares Consecutivos
# Link da questão - https://www.urionlinejudge.com.br/judge/pt/problems/view/1159
eh_zero = True # Flag para indicar se o ultimo numero encontrado é zero
while eh_par: # Enquanto encontrar numeros pares...
numero = int(input()) # Pega um numero da entrada
if numero != 0: # Se o numero é
soma = 0
for i in range(numero, numero+10): # Soma todos os números pares entre n e n+10
if i % 2 == 0:
soma += i
print(soma)
else:
eh_zero = False # Caso seja zero, o loop deve parar
# Somamos dentro do intervalo determinado pelo for (entre n e n+10), pois queremos
# encontrar os 5 proximos numeros pares depois da nossa entrada, assim, como numeros
# pares alternam dois a dois em uma sequencia ordenada, temos a certeza de que em um
# intervalo de 10 numeros teremos exatamente 5 pares. |
"""This module provides mechanisms to use signal handlers in Python.
Functions:
alarm() -- cause SIGALRM after a specified time [Unix only]
setitimer() -- cause a signal (described below) after a specified
float time and the timer may restart then [Unix only]
getitimer() -- get current value of timer [Unix only]
signal() -- set the action for a given signal
getsignal() -- get the signal action for a given signal
pause() -- wait until a signal arrives [Unix only]
default_int_handler() -- default SIGINT handler
signal constants:
SIG_DFL -- used to refer to the system default handler
SIG_IGN -- used to ignore the signal
NSIG -- number of defined signals
SIGINT, SIGTERM, etc. -- signal numbers
itimer constants:
ITIMER_REAL -- decrements in real time, and delivers SIGALRM upon
expiration
ITIMER_VIRTUAL -- decrements only when the process is executing,
and delivers SIGVTALRM upon expiration
ITIMER_PROF -- decrements both when the process is executing and
when the system is executing on behalf of the process.
Coupled with ITIMER_VIRTUAL, this timer is usually
used to profile the time spent by the application
in user and kernel space. SIGPROF is delivered upon
expiration.
*** IMPORTANT NOTICE ***
A signal handler function is called with two arguments:
the first is the signal number, the second is the interrupted stack frame."""
CTRL_BREAK_EVENT=1
CTRL_C_EVENT=0
NSIG=23
SIGABRT=22
SIGBREAK=21
SIGFPE=8
SIGILL=4
SIGINT=2
SIGSEGV=11
SIGTERM=15
SIG_DFL=0
SIG_IGN=1
def signal(signalnum, handler) :
pass
|
"""
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers.
Note:
All numbers will be positive integers.
The solution set must not contain duplicate combinations.
Example 1:
Input: k = 3, n = 7
Output: [[1,2,4]]
Example 2:
Input: k = 3, n = 9
Output: [[1,2,6], [1,3,5], [2,3,4]]
"""
class Solution(object):
def combinationSum3(self, k, n):
"""
:type k: int
:type n: int
:rtype: List[List[int]]
"""
"""
Method: DFS
@params: nums, target, index, arr_current_res
"""
def dfs(nums, target, index, arr_current, res):
if target < 0:
return None
elif target == 0 and len(arr_current[1]) == k:
res.append(arr_current[1])
return None
else:
for i in range(index, len(nums)):
if i not in arr_current[0]:
arr_current_update = [arr_current[0] + [i], arr_current[1] + [nums[i]]]
dfs(nums, target - nums[i], i, arr_current_update, res)
res = []
target = n
candidates = range(1, 10)
dfs(candidates, target, 0, [[], []], res)
res_res = []
for ele in res:
if sorted(ele) not in res_res:
res_res.append(sorted(ele))
return res_res |
#!/usr/bin/env python
timeout = 20
GuardarEnDB = True
pagina_login = 'https://auth.afip.gob.ar/contribuyente_/login.xhtml'
pagina_generar_comprobantes = 'https://serviciosjava2.afip.gob.ar/rcel/jsp/menu_ppal.jsp'
pagina_princpal_arba = 'http://www.arba.gov.ar/Gestionar/Gestionar_Default.asp'
unidades_medida = " unidades"
pto_venta = '1'
#tipo_comprobante = '2'
tipo_comprobante_txt = 'Factura C'
conceptos = '2' #SERVICIOS
destinos_nombres = {'1' : 'Para juan',
'2' : 'Para pepito',
'3' : 'Para fulano'}
# CUIT's de los receptores:
destinos = {'1' : 'cuit1',
'2' : 'cuit2',
'3' : 'cuit3'}
condiciones = {'1' : '4',
'2' : '4',
'3' : '1'}
#1 = iva resp inscr
#4 = Sujeto Exento
cuits_nm = {'cuit1' : 'empresa 1',
'cuit2' : 'cliente 1',
'cuit2' : 'cleinte 2'}
cuits = {'1': 'cuit1',
'2': 'cuit2',
'3': 'cuit3'}
montos = {'1' : '10000',
'2' : '20000',
'3' : '30000'}
detalles = {'1' : 'Por servicios informáticos...',
'2' : 'Mantenimiento DB y...',
'3' : 'Servicios De Informática ...'}
selecc = '\n0: +++ Generar todas las Facturas +++ \n'
for destino in destinos_nombres:
selecc += destino+": " + destinos_nombres.get(destino)+"\n"
|
"""
Fenwick tree.
You are given an array of length 24, where each element represents the number of new subscribers during the corresponding hour.
Implement a data structure that efficiently supports the following:
update (hour, value): increment the element at index hour by value.
query(start, end) retrieve the numbner of subscribers that have signed up between start and end (inclusive).
You can assume that all values get cleared at the end of the day, and that you will not be asked for start and end values
that wrap around midnight.
"""
class Subscribers1():
"""
naive O(N) solution.
"""
def __init__(self, nums):
self.counter = {index : value for index, value in enumerate(nums)}
def update(self, hour, value):
self.counter[hour] += value
def query(self, start, end):
values = [self.counter[index] for index in range(start, end + 1)]
return sum( values )
class BIT:
def __init__(self, nums):
# Prepend a zero to our array to use lowest set bit trick.
self.tree = [0 for _ in range(len(nums) + 1)]
for i, num in enumerate(nums):
self.update(i + 1, num)
def update(self, index, value):
while index < len(self.tree):
self.tree[index] += value
index += index & -index
def query(self, index):
total = 0
while index > 0:
total += self.tree[index]
index -= index & -index
return total
class Subscribers2:
"""
O(log n) solution
"""
def __init__(self, nums):
self.bit = BIT(nums)
self.nums = nums
def update(self, hour, value):
self.bit.update(hour, value - self.nums[hour])
self.nums[hour] = value
def query(self, start, end):
# Shift start and end indices forward as our array is 1-based.
return self.bit.query(end + 1) - self.bit.query(start) |
class ConnectorDomainType(Enum,IComparable,IFormattable,IConvertible):
"""
Enumeration of connector domain types
enum ConnectorDomainType,values: CableTrayConduit (4),Electrical (2),Hvac (1),Piping (3),StructuralAnalytical (5),Undefined (0)
"""
def __eq__(self,*args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self,*args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self,*args):
pass
def __gt__(self,*args):
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __le__(self,*args):
pass
def __lt__(self,*args):
pass
def __ne__(self,*args):
pass
def __reduce_ex__(self,*args):
pass
def __str__(self,*args):
pass
CableTrayConduit=None
Electrical=None
Hvac=None
Piping=None
StructuralAnalytical=None
Undefined=None
value__=None
|
n,l,k=map(int,input().split())
oo=[]
for i in range(n):
x,y=map(int,input().split())
t=0
if l>=x: t=100
if l>=y: t+=40
if t>0: oo.append(t)
oo.sort(reverse=True)
print(sum(oo[:k])) |
# Copyright (C) 2011 OpenStack Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Base model for keystone internal services
Unless marked otherwise, all fields are strings.
"""
class Model(dict):
"""Base model class."""
def __hash__(self):
return self['id'].__hash__()
@property
def known_keys(cls):
return cls.required_keys + cls.optional_keys
class Token(Model):
"""Token object.
Required keys:
id
expires (datetime)
Optional keys:
user
project
metadata
"""
required_keys = ('id', 'expires')
optional_keys = ('extra',)
class Service(Model):
"""Service object.
Required keys:
id
type
name
Optional keys:
"""
required_keys = ('id', 'type', 'name')
optional_keys = tuple()
class Endpoint(Model):
"""Endpoint object
Required keys:
id
region
service_id
Optional keys:
internalurl
publicurl
adminurl
"""
required_keys = ('id', 'region', 'service_id')
optional_keys = ('internalurl', 'publicurl', 'adminurl')
class User(Model):
"""User object.
Required keys:
id
name
domain_id
Optional keys:
password
description
email
enabled (bool, default True)
"""
required_keys = ('id', 'name', 'domain_id')
optional_keys = ('password', 'description', 'email', 'enabled')
class Group(Model):
"""Group object.
Required keys:
id
name
domain_id
Optional keys:
description
"""
required_keys = ('id', 'name', 'domain_id')
optional_keys = ('description',)
class Project(Model):
"""Project object.
Required keys:
id
name
domain_id
Optional Keys:
description
enabled (bool, default True)
"""
required_keys = ('id', 'name', 'domain_id')
optional_keys = ('description', 'enabled')
class Role(Model):
"""Role object.
Required keys:
id
name
"""
required_keys = ('id', 'name', 'domain_id')
optional_keys = ('description', 'extra')
class Domain(Model):
"""Domain object.
Required keys:
id
name
Optional keys:
description
enabled (bool, default True)
"""
required_keys = ('id', 'name')
optional_keys = ('description', 'enabled')
|
# encoding: utf-8
"""
@version: v1.0
@author: Richard
@license: Apache Licence
@contact: billions.richard@qq.com
@site:
@software: PyCharm
@time: 2019/10/4 17:07
"""
class Solution:
def rob(self, nums: list) -> int:
if not nums:
return 0
num_len = len(nums)
if num_len <= 2:
return max(nums)
dp = [nums[0], nums[1], nums[0] + nums[2]]
for i in range(3, num_len):
dp_i= max(dp[i-2], dp[i-3]) + nums[i]
dp.append(dp_i)
return max(dp[-1], dp[-2])
|
def findClosestValueInBst(tree, target):
currentNode = tree
closest = tree.value
while currentNode is not None:
if abs(target-currentNode.value) < abs(target-closest):
closest = currentNode.value
if target<currentNode.value:
currentNode = currentNode.left
elif target>currentNode.value:
currentNode = currentNode.right
else:
break
return closest
# This is the class of the input tree. Do not edit.
class BST:
def __init__(self, value):
self.value = value
self.left = None
self.right = None
|
def is_pangram(text, alphabet='abcdefghijklmnopqrstuvwxyz'):
return set(alphabet) <= set(text.lower())
a_lv = 'aÄbcÄdeÄfgÄ£hiÄ«jkÄ·lÄŒmnÅoprsÅ¡tuÅ«vzÅŸ'
print(is_pangram('TfÅ«, Äeh, dÅŸungÄŒos blÄ«kšķ, zvaÅÄ£im jÄcÄrp!', alphabet=a_lv))
print(is_pangram('TfÅ«, Äeh, dÅŸungÄŒos , zvaÅÄ£im jÄcÄrp!', alphabet=a_lv))
print(is_pangram("The five boxing wizards jump quickly"))
print(is_pangram("Not a pangram"))
|
class CircularBufferAdaptor:
def __init__(self, l: list):
self._buffer = l
self._buffer_len = len(self._buffer)
def __getitem__(self, index: int):
return self._buffer[self._get_index(index)]
def _get_index(self, index: int):
return index % self._buffer_len
def from_offset(self, offset: int):
for i in range(self._buffer_len):
yield self[i + offset]
|
_base_ = [
'../_base_/models/retinanet_r50_fpn_icdar2021.py',
'../_base_/datasets/icdar2021_detection.py',
'../_base_/schedules/schedule_2x.py', '../_base_/default_runtime.py'
]
# optimizer
optimizer = dict(type='SGD', lr=0.01, momentum=0.9, weight_decay=0.0001)
# data = dict(
# samples_per_gpu=1,
# workers_per_gpu=2)
|
FORMAT_VERSION = 131
NEW_FLOAT_EXT = 70 # [Float64:IEEE float]
BIT_BINARY_EXT = 77 # [UInt32:Len, UInt8:Bits, Len:Data]
SMALL_INTEGER_EXT = 97 # [UInt8:Int]
INTEGER_EXT = 98 # [Int32:Int]
FLOAT_EXT = 99 # [31:Float String] Float in string format (formatted "%.20e", sscanf "%lf"). Superseded by NEW_FLOAT_EXT
ATOM_EXT = 100 # 100 [UInt16:Len, Len:AtomName] max Len is 255
REFERENCE_EXT = 101 # 101 [atom:Node, UInt32:ID, UInt8:Creation]
PORT_EXT = 102 # [atom:Node, UInt32:ID, UInt8:Creation]
PID_EXT = 103 # [atom:Node, UInt32:ID, UInt32:Serial, UInt8:Creation]
SMALL_TUPLE_EXT = 104 # [UInt8:Arity, N:Elements]
LARGE_TUPLE_EXT = 105 # [UInt32:Arity, N:Elements]
NIL_EXT = 106 # empty list
STRING_EXT = 107 # [UInt32:Len, Len:Characters]
LIST_EXT = 108 # [UInt32:Len, Elements, Tail]
BINARY_EXT = 109 # [UInt32:Len, Len:Data]
SMALL_BIG_EXT = 110 # [UInt8:n, UInt8:Sign, n:nums]
LARGE_BIG_EXT = 111 # [UInt32:n, UInt8:Sign, n:nums]
NEW_FUN_EXT = 112 # [UInt32:Size, UInt8:Arity, 16*Uint6-MD5:Uniq, UInt32:Index, UInt32:NumFree, atom:Module, int:OldIndex, int:OldUniq, pid:Pid, NunFree*ext:FreeVars]
EXPORT_EXT = 113 # [atom:Module, atom:Function, smallint:Arity]
NEW_REFERENCE_EXT = 114 # [UInt16:Len, atom:Node, UInt8:Creation, Len*UInt32:ID]
SMALL_ATOM_EXT = 115 # [UInt8:Len, Len:AtomName]
FUN_EXT = 117 # [UInt4:NumFree, pid:Pid, atom:Module, int:Index, int:Uniq, NumFree*ext:FreeVars]
COMPRESSED = 80 # [UInt4:UncompressedSize, N:ZlibCompressedData]
MAP_EXT = 116 # [Uint64:Arity,N:K-V]
ATOM_UTF8_EXT = 118
SMALL_ATOM_UTF8_EXT = 119
|
# SPDX-License-Identifier: GPL-2.0
"""
Ask new choice values when they become visible.
If new choice values are added with new dependency, and they become
visible during user configuration, oldconfig should recognize them
as (NEW), and ask the user for choice.
Related Linux commit: 5d09598d488f081e3be23f885ed65cbbe2d073b5
"""
def test(conf):
assert conf.oldconfig('config', 'y') == 0
assert conf.stdout_contains('expected_stdout')
|
DEFAULT_FORMAT = {
'users': {
'meta': {
'last_id': '0'
}
},
'rooms': {
'meta': {
'last_id': '0'
}
},
'messages': {
'meta': {
'last_id': '0'
}
}
}
|
# Dicionarios são compostos por chaves e valores
# dict()
pessoas = {'nome': 'Bruno',
'sexo': 'M',
'idade': 22}
print(f'O {pessoas["nome"]} tem {pessoas["idade"]} anos.')
print(pessoas.keys()) # Retorna as chaves
print(pessoas.values()) # Retorna os valores
print(pessoas.items()) # Retorna as chaves e os valores
print()
for v in pessoas.values(): # Retorna os valores
print(f'Valor(values): {v}')
for k in pessoas.keys(): # Retorna as chaves
print(f'Chaves(keys): {k}')
print()
for k, v in pessoas.items(): # Retorna as keys e values
print(f'Keys: {k}\nValues: {v}')
print()
# Para apagar
del pessoas['sexo'] # Deleta a chave
pessoas['nome'] = 'Alessandra' # Altera o valor
pessoas['peso'] = 47 # Adiciona a chave peso atribuindo um valor
print(pessoas.items())
|
DEBUG = True
SERVER_NAME = 'localhost:8000'
SECRET_KEY = 'insecurekeyfordev'
# SQLAlchemy.
db_uri = 'postgresql://flaskwallet:walletpassword@postgres:5432/flaskwallet'
SQLALCHEMY_DATABASE_URI = db_uri
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
protocol_version = 1
last_refresh_time = 0
cert = None
data_path = None
config = None
proxy = None
session = None
socks5_server = None
last_api_error = ""
quota_list = {}
quota = 0
server_host = ""
server_port = 0
balance = 0
|
"""
# Sample code to perform I/O:
name = input() # Reading input from STDIN
print('Hi, %s.' % name) # Writing output to STDOUT
# Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail
"""
# Write your code here
s = input().strip()
temp = s
if len(set(s)) > 1:
while s == temp[::-1]:
temp = temp[:-1]
print(len(temp))
else:
print(0)
|
"""
Given a sorted integer array without duplicates,
return the summary of its ranges.
For example, given [0, 1, 2, 4, 5, 7], return [(0, 2), (4, 5), (7, 7)].
"""
"""
williamfzc
åå¹¶åºéŽ
"""
def summarize_ranges(array):
"""
:type array: List[int]
:rtype: List[]
"""
res = []
if len(array) == 1:
return [str(array[0])]
i = 0
while i < len(array):
num = array[i]
while i + 1 < len(array) and array[i + 1] - array[i] == 1:
i += 1
if array[i] != num:
res.append((num, array[i]))
else:
res.append((num, num))
i += 1
return res
|
class RomajiWord:
__slots__ = ("hiragana", "katakana")
def __init__(self, hiragana, katakana):
self.hiragana = hiragana
self.katakana = katakana
romajitable = [
[" ", "ã»", "ã»"],
[",", "ã", "ã"],
["-", "ãŒ", "ãŒ"],
[".", "ã", "ã"],
["\\ ", " ", " "],
["\\,", ",", ","],
["\\.", ".", "."],
["\\[", "[", "["],
["\\\\", "\\", "\\"],
["\\]", "]", "]"],
["a", "ã", "ã¢"],
["aa", "ãã", "ã¢ãŒ"],
["b", "ã¶", "ã"],
["ba", "ã°", "ã"],
["bb", "ã£ã¶", "ãã"],
["bba", "ã£ã°", "ãã"],
["bbaa", "ã£ã°ã", "ãããŒ"],
["bbe", "ã£ã¹", "ãã"],
["bbee", "ã£ã¹ã", "ãããŒ"],
["bbi", "ã£ã³", "ãã"],
["bbii", "ã£ã³ã", "ãããŒ"],
["bbo", "ã£ãŒ", "ãã"],
["bboo", "ã£ãŒã", "ãããŒ"],
["bbou", "ã£ãŒã", "ãããŒ"],
["bbu", "ã£ã¶", "ãã"],
["bbuu", "ã£ã¶ã", "ãããŒ"],
["bbya", "ã£ã³ã", "ããã£"],
["bbyaa", "ã£ã³ãã", "ããã£ãŒ"],
["bbye", "ã£ã³ã", "ããã§"],
["bbyee", "ã£ã³ãã", "ããã§ãŒ"],
["bbyi", "ã£ã³ã", "ããã£"],
["bbyii", "ã£ã³ãã", "ããã£ãŒ"],
["bbyo", "ã£ã³ã", "ããã§"],
["bbyoo", "ã£ã³ãã", "ããã§ãŒ"],
["bbyou", "ã£ã³ãã", "ããã§ãŒ"],
["bbyu", "ã£ã³ã
", "ããã¥"],
["bbyuu", "ã£ã³ã
ã", "ããã¥ãŒ"],
["bbyâ", "ã£ã³ãã", "ããã£ãŒ"],
["bbyê", "ã£ã³ãã", "ããã§ãŒ"],
["bbyî", "ã£ã³ãã", "ããã£ãŒ"],
["bbyÃŽ", "ã£ã³ãã", "ããã§ãŒ"],
["bbyû", "ã£ã³ã
ã", "ããã¥ãŒ"],
["bbyÄ", "ã£ã³ãã", "ããã£ãŒ"],
["bbyÄ", "ã£ã³ãã", "ããã§ãŒ"],
["bbyÄ«", "ã£ã³ãã", "ããã£ãŒ"],
["bbyÅ", "ã£ã³ãã", "ããã§ãŒ"],
["bbyÅ«", "ã£ã³ã
ã", "ããã¥ãŒ"],
["bbâ", "ã£ã°ã", "ãããŒ"],
["bbê", "ã£ã¹ã", "ãããŒ"],
["bbî", "ã£ã³ã", "ãããŒ"],
["bbÃŽ", "ã£ãŒã", "ãããŒ"],
["bbû", "ã£ã¶ã", "ãããŒ"],
["bbÄ", "ã£ã°ã", "ãããŒ"],
["bbÄ", "ã£ã¹ã", "ãããŒ"],
["bbÄ«", "ã£ã³ã", "ãããŒ"],
["bbÅ", "ã£ãŒã", "ãããŒ"],
["bbÅ«", "ã£ã¶ã", "ãããŒ"],
["be", "ã¹", "ã"],
["bee", "ã¹ã", "ããŒ"],
["bi", "ã³", "ã"],
["bii", "ã³ã", "ããŒ"],
["bo", "ãŒ", "ã"],
["boo", "ãŒã", "ããŒ"],
["bou", "ãŒã", "ããŒ"],
["bu", "ã¶", "ã"],
["buu", "ã¶ã", "ããŒ"],
["bya", "ã³ã", "ãã£"],
["byaa", "ã³ãã", "ãã£ãŒ"],
["bye", "ã³ã", "ãã§"],
["byee", "ã³ãã", "ãã§ãŒ"],
["byi", "ã³ã", "ãã£"],
["byii", "ã³ãã", "ãã£ãŒ"],
["byo", "ã³ã", "ãã§"],
["byoo", "ã³ãã", "ãã§ãŒ"],
["byou", "ã³ãã", "ãã§ãŒ"],
["byu", "ã³ã
", "ãã¥"],
["byuu", "ã³ã
ã", "ãã¥ãŒ"],
["byâ", "ã³ãã", "ãã£ãŒ"],
["byê", "ã³ãã", "ãã§ãŒ"],
["byî", "ã³ãã", "ãã£ãŒ"],
["byÃŽ", "ã³ãã", "ãã§ãŒ"],
["byû", "ã³ã
ã", "ãã¥ãŒ"],
["byÄ", "ã³ãã", "ãã£ãŒ"],
["byÄ", "ã³ãã", "ãã§ãŒ"],
["byÄ«", "ã³ãã", "ãã£ãŒ"],
["byÅ", "ã³ãã", "ãã§ãŒ"],
["byÅ«", "ã³ã
ã", "ãã¥ãŒ"],
["bâ", "ã°ã", "ããŒ"],
["bê", "ã¹ã", "ããŒ"],
["bî", "ã³ã", "ããŒ"],
["bÃŽ", "ãŒã", "ããŒ"],
["bû", "ã¶ã", "ããŒ"],
["bÄ", "ã°ã", "ããŒ"],
["bÄ", "ã¹ã", "ããŒ"],
["bÄ«", "ã³ã", "ããŒ"],
["bÅ", "ãŒã", "ããŒ"],
["bÅ«", "ã¶ã", "ããŒ"],
["c", "ã", "ã¯"],
["cc", "ã£ã", "ãã¯"],
["ccha", "ã£ã¡ã", "ããã£"],
["cchaa", "ã£ã¡ãã", "ããã£ãŒ"],
["cche", "ã£ã¡ã", "ããã§"],
["cchee", "ã£ã¡ãã", "ããã§ãš"],
["cchi", "ã£ã¡", "ãã"],
["cchii", "ã£ã¡ã", "ãããŒ"],
["ccho", "ã£ã¡ã", "ããã§"],
["cchoo", "ã£ã¡ãã", "ããã§ãŒ"],
["cchou", "ã£ã¡ãã", "ããã§ãŒ"],
["cchu", "ã£ã¡ã
", "ããã¥"],
["cchuu", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["cchâ", "ã£ã¡ãã", "ããã£ãŒ"],
["cchê", "ã£ã¡ãã", "ããã§ãš"],
["cchî", "ã£ã¡ã", "ãããŒ"],
["cchÃŽ", "ã£ã¡ãã", "ããã§ãŒ"],
["cchû", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["cchÄ", "ã£ã¡ãã", "ããã£ãŒ"],
["cchÄ", "ã£ã¡ãã", "ããã§ãš"],
["cchÄ«", "ã£ã¡ã", "ãããŒ"],
["cchÅ", "ã£ã¡ãã", "ããã§ãŒ"],
["cchÅ«", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["cha", "ã¡ã", "ãã£"],
["chaa", "ã¡ãã", "ãã£ãŒ"],
["che", "ã¡ã", "ãã§"],
["chee", "ã¡ãã", "ãã§ãš"],
["chi", "ã¡", "ã"],
["chii", "ã¡ã", "ããŒ"],
["cho", "ã¡ã", "ãã§"],
["choo", "ã¡ãã", "ãã§ãŒ"],
["chou", "ã¡ãã", "ãã§ãŒ"],
["chu", "ã¡ã
", "ãã¥"],
["chuu", "ã¡ã
ã", "ãã¥ãŒ"],
["châ", "ã¡ãã", "ãã£ãŒ"],
["chê", "ã¡ãã", "ãã§ãš"],
["chî", "ã¡ã", "ããŒ"],
["chÃŽ", "ã¡ãã", "ãã§ãŒ"],
["chû", "ã¡ã
ã", "ãã¥ãŒ"],
["chÄ", "ã¡ãã", "ãã£ãŒ"],
["chÄ", "ã¡ãã", "ãã§ãš"],
["chÄ«", "ã¡ã", "ããŒ"],
["chÅ", "ã¡ãã", "ãã§ãŒ"],
["chÅ«", "ã¡ã
ã", "ãã¥ãŒ"],
["ck", "ã£ã", "ãã¯"],
["cka", "ã£ã", "ãã«"],
["ckaa", "ã£ãã", "ãã«ãŒ"],
["cke", "ã£ã", "ãã±"],
["ckee", "ã£ãã", "ãã±ãŒ"],
["cki", "ã£ã", "ãã"],
["ckii", "ã£ãã", "ãããŒ"],
["cko", "ã£ã", "ãã³"],
["ckoo", "ã£ãã", "ãã³ãŒ"],
["ckou", "ã£ãã", "ãã³ãŒ"],
["cku", "ã£ã", "ãã¯"],
["ckuu", "ã£ãã", "ãã¯ãŒ"],
["ckwa", "ã£ãã", "ãã¯ã¡"],
["ckwaa", "ã£ããã", "ãã¯ã¡ãŒ"],
["ckwe", "ã£ãã", "ãã¯ã§"],
["ckwee", "ã£ããã", "ãã¯ã§ãŒ"],
["ckwi", "ã£ãã", "ãã¯ã£"],
["ckwii", "ã£ããã", "ãã¯ã£ãŒ"],
["ckwo", "ã£ãã", "ãã¯ã©"],
["ckwoo", "ã£ããã", "ãã¯ã©ãŒ"],
["ckwou", "ã£ããã", "ãã¯ã©ãŒ"],
["ckwu", "ã£ãã
", "ãã¯ã¥"],
["ckwuu", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["ckwâ", "ã£ããã", "ãã¯ã¡ãŒ"],
["ckwê", "ã£ããã", "ãã¯ã§ãŒ"],
["ckwî", "ã£ããã", "ãã¯ã£ãŒ"],
["ckwÃŽ", "ã£ããã", "ãã¯ã©ãŒ"],
["ckwû", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["ckwÄ", "ã£ããã", "ãã¯ã¡ãŒ"],
["ckwÄ", "ã£ããã", "ãã¯ã§ãŒ"],
["ckwÄ«", "ã£ããã", "ãã¯ã£ãŒ"],
["ckwÅ", "ã£ããã", "ãã¯ã©ãŒ"],
["ckwÅ«", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["ckya", "ã£ãã", "ããã£"],
["ckyaa", "ã£ããã", "ããã£ãŒ"],
["ckye", "ã£ãã", "ããã§"],
["ckyee", "ã£ããã", "ããã§ãŒ"],
["ckyi", "ã£ãã", "ããã£"],
["ckyii", "ã£ããã", "ããã£ãŒ"],
["ckyo", "ã£ãã", "ããã§"],
["ckyoo", "ã£ããã", "ããã§ãŒ"],
["ckyou", "ã£ããã", "ããã§ãŒ"],
["ckyu", "ã£ãã
", "ããã¥"],
["ckyuu", "ã£ãã
ã", "ããã¥ãŒ"],
["ckyâ", "ã£ããã", "ããã£ãŒ"],
["ckyê", "ã£ããã", "ããã§ãŒ"],
["ckyî", "ã£ããã", "ããã£ãŒ"],
["ckyÃŽ", "ã£ããã", "ããã§ãŒ"],
["ckyû", "ã£ãã
ã", "ããã¥ãŒ"],
["ckyÄ", "ã£ããã", "ããã£ãŒ"],
["ckyÄ", "ã£ããã", "ããã§ãŒ"],
["ckyÄ«", "ã£ããã", "ããã£ãŒ"],
["ckyÅ", "ã£ããã", "ããã§ãŒ"],
["ckyÅ«", "ã£ãã
ã", "ããã¥ãŒ"],
["ckâ", "ã£ãã", "ãã«ãŒ"],
["ckê", "ã£ãã", "ãã±ãŒ"],
["ckî", "ã£ãã", "ãããŒ"],
["ckÃŽ", "ã£ãã", "ãã³ãŒ"],
["ckû", "ã£ãã", "ãã¯ãŒ"],
["ckÄ", "ã£ãã", "ãã«ãŒ"],
["ckÄ", "ã£ãã", "ãã±ãŒ"],
["ckÄ«", "ã£ãã", "ãããŒ"],
["ckÅ", "ã£ãã", "ãã³ãŒ"],
["ckÅ«", "ã£ãã", "ãã¯ãŒ"],
["d", "ã©", "ã"],
["da", "ã ", "ã"],
["daa", "ã ã", "ããŒ"],
["dd", "ã£ã©", "ãã"],
["dda", "ã£ã ", "ãã"],
["ddaa", "ã£ã ã", "ãããŒ"],
["dde", "ã£ã§", "ãã"],
["ddee", "ã£ã§ã", "ãããŒ"],
["ddja", "ã£ã¢ã", "ããã£"],
["ddjaa", "ã£ã¢ãã", "ããã£ãŒ"],
["ddje", "ã£ã¢ã", "ããã§"],
["ddjee", "ã£ã¢ãã", "ããã§ãŒ"],
["ddji", "ã£ã¢", "ãã"],
["ddjii", "ã£ã¢ã", "ãããŒ"],
["ddjo", "ã£ã¢ã", "ããã§"],
["ddjoo", "ã£ã¢ãã", "ããã§ãŒ"],
["ddjou", "ã£ã¢ãã", "ããã§ãŒ"],
["ddju", "ã£ã¢ã
", "ããã¥"],
["ddjuu", "ã£ã¢ã
ã", "ããã¥ãŒ"],
["ddjâ", "ã£ã¢ãã", "ããã£ãŒ"],
["ddjê", "ã£ã¢ãã", "ããã§ãŒ"],
["ddjî", "ã£ã¢ã", "ãããŒ"],
["ddjÃŽ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddjû", "ã£ã¢ã
ã", "ããã¥ãŒ"],
["ddjÄ", "ã£ã¢ãã", "ããã£ãŒ"],
["ddjÄ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddjÄ«", "ã£ã¢ã", "ãããŒ"],
["ddjÅ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddjÅ«", "ã£ã¢ã
ã", "ããã¥ãŒ"],
["ddo", "ã£ã©", "ãã"],
["ddoo", "ã£ã©ã", "ãããŒ"],
["ddou", "ã£ã©ã", "ãããŒ"],
["ddya", "ã£ã¢ã", "ããã£"],
["ddyaa", "ã£ã¢ãã", "ããã£ãŒ"],
["ddye", "ã£ã¢ã", "ããã§"],
["ddyee", "ã£ã¢ãã", "ããã§ãŒ"],
["ddyi", "ã£ã¢", "ãã"],
["ddyii", "ã£ã¢ã", "ãããŒ"],
["ddyo", "ã£ã¢ã", "ããã§"],
["ddyoo", "ã£ã¢ãã", "ããã§ãŒ"],
["ddyou", "ã£ã¢ãã", "ããã§ãŒ"],
["ddyu", "ã£ã¢ã
", "ããã¥"],
["ddyuu", "ã£ã¢ã
ã", "ããã¥ãŒ"],
["ddyâ", "ã£ã¢ãã", "ããã£ãŒ"],
["ddyê", "ã£ã¢ãã", "ããã§ãŒ"],
["ddyî", "ã£ã¢ã", "ãããŒ"],
["ddyÃŽ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddyû", "ã£ã¢ã
ã", "ããã¥ãŒ"],
["ddyÄ", "ã£ã¢ãã", "ããã£ãŒ"],
["ddyÄ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddyÄ«", "ã£ã¢ã", "ãããŒ"],
["ddyÅ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddyÅ«", "ã£ã¢ã
ã", "ããã¥ãŒ"],
["ddza", "ã£ã¢ã", "ã£ã¢ã"],
["ddzaa", "ã£ã¢ãã", "ã£ã¢ããŒ"],
["ddze", "ã£ã¢ã", "ããã§"],
["ddzee", "ã£ã¢ãã", "ããã§ãŒ"],
["ddzi", "ã£ã¢", "ãã"],
["ddzii", "ã£ã¢ã", "ãããŒ"],
["ddzo", "ã£ã¢ã", "ããã§"],
["ddzoo", "ã£ã¢ãã", "ããã§ãŒ"],
["ddzou", "ã£ã¢ãã", "ããã§ãŒ"],
["ddzu", "ã£ã¥", "ãã
"],
["ddzuu", "ã£ã¥ã", "ãã
ãŒ"],
["ddzâ", "ã£ã¢ãã", "ã£ã¢ããŒ"],
["ddzê", "ã£ã¢ãã", "ããã§ãŒ"],
["ddzî", "ã£ã¢ã", "ãããŒ"],
["ddzÃŽ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddzû", "ã£ã¥ã", "ãã
ãŒ"],
["ddzÄ", "ã£ã¢ãã", "ã£ã¢ããŒ"],
["ddzÄ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddzÄ«", "ã£ã¢ã", "ãããŒ"],
["ddzÅ", "ã£ã¢ãã", "ããã§ãŒ"],
["ddzÅ«", "ã£ã¥ã", "ãã
ãŒ"],
["ddâ", "ã£ã ã", "ãããŒ"],
["ddê", "ã£ã§ã", "ãããŒ"],
["ddÃŽ", "ã£ã©ã", "ãããŒ"],
["ddÄ", "ã£ã ã", "ãããŒ"],
["ddÄ", "ã£ã§ã", "ãããŒ"],
["ddÅ", "ã£ã©ã", "ãããŒ"],
["de", "ã§", "ã"],
["dee", "ã§ã", "ããŒ"],
["di", "ã§ã", "ãã£"],
["dii", "ã§ãã", "ãã£ãŒ"],
["dja", "ã¢ã", "ãã£"],
["djaa", "ã¢ãã", "ãã£ã¢"],
["dje", "ã¢ã", "ãã§"],
["djee", "ã¢ãã", "ãã§ãŒ"],
["dji", "ã¢", "ã"],
["djii", "ã¢ã", "ããŒ"],
["djo", "ã¢ã", "ãã§"],
["djoo", "ã¢ãã", "ãã§ãŒ"],
["djou", "ã¢ãã", "ãã§ãŒ"],
["dju", "ã¢ã
", "ãã¥"],
["djuu", "ã¢ã
ã", "ãã¥ãŒ"],
["djâ", "ã¢ãã", "ãã£ã¢"],
["djê", "ã¢ãã", "ãã§ãŒ"],
["djî", "ã¢ã", "ããŒ"],
["djÃŽ", "ã¢ãã", "ãã§ãŒ"],
["djû", "ã¢ã
ã", "ãã¥ãŒ"],
["djÄ", "ã¢ãã", "ãã£ã¢"],
["djÄ", "ã¢ãã", "ãã§ãŒ"],
["djÄ«", "ã¢ã", "ããŒ"],
["djÅ", "ã¢ãã", "ãã§ãŒ"],
["djÅ«", "ã¢ã
ã", "ãã¥ãŒ"],
["do", "ã©", "ã"],
["doo", "ã©ã", "ããŒ"],
["dou", "ã©ã", "ããŒ"],
["du", "ã©ã
", "ãã¥"],
["duu", "ã©ã
ã", "ãã¥ãŒ"],
["dya", "ã¢ã", "ãã£"],
["dyaa", "ã¢ãã", "ãã£ã¢"],
["dye", "ã¢ã", "ãã§"],
["dyee", "ã¢ãã", "ãã§ãŒ"],
["dyi", "ã¢", "ã"],
["dyii", "ã¢ã", "ããŒ"],
["dyo", "ã¢ã", "ãã§"],
["dyoo", "ã¢ãã", "ãã§ãŒ"],
["dyou", "ã¢ãã", "ãã§ãŒ"],
["dyu", "ã¢ã
", "ãã¥"],
["dyuu", "ã¢ã
ã", "ãã¥ãŒ"],
["dyâ", "ã¢ãã", "ãã£ã¢"],
["dyê", "ã¢ãã", "ãã§ãŒ"],
["dyî", "ã¢ã", "ããŒ"],
["dyÃŽ", "ã¢ãã", "ãã§ãŒ"],
["dyû", "ã¢ã
ã", "ãã¥ãŒ"],
["dyÄ", "ã¢ãã", "ãã£ã¢"],
["dyÄ", "ã¢ãã", "ãã§ãŒ"],
["dyÄ«", "ã¢ã", "ããŒ"],
["dyÅ", "ã¢ãã", "ãã§ãŒ"],
["dyÅ«", "ã¢ã
ã", "ãã¥ãŒ"],
["dza", "ã¢ã", "ãã£"],
["dzaa", "ã¢ãã", "ãã£ã¢"],
["dze", "ã¢ã", "ãã§"],
["dzee", "ã¢ãã", "ãã§ãŒ"],
["dzi", "ã¢", "ã"],
["dzii", "ã¢ã", "ããŒ"],
["dzo", "ã¢ã", "ãã§"],
["dzoo", "ã¢ãã", "ãã§ãŒ"],
["dzou", "ã¢ãã", "ãã§ãŒ"],
["dzu", "ã¥", "ã
"],
["dzuu", "ã¥ã", "ã
ãŒ"],
["dzâ", "ã¢ãã", "ãã£ã¢"],
["dzê", "ã¢ãã", "ãã§ãŒ"],
["dzî", "ã¢ã", "ããŒ"],
["dzÃŽ", "ã¢ãã", "ãã§ãŒ"],
["dzû", "ã¥ã", "ã
ãŒ"],
["dzÄ", "ã¢ãã", "ãã£ã¢"],
["dzÄ", "ã¢ãã", "ãã§ãŒ"],
["dzÄ«", "ã¢ã", "ããŒ"],
["dzÅ", "ã¢ãã", "ãã§ãŒ"],
["dzÅ«", "ã¥ã", "ã
ãŒ"],
["dâ", "ã ã", "ããŒ"],
["dê", "ã§ã", "ããŒ"],
["dî", "ã§ãã", "ãã£ãŒ"],
["dÃŽ", "ã©ã", "ããŒ"],
["dû", "ã©ã
ã", "ãã¥ãŒ"],
["dÄ", "ã ã", "ããŒ"],
["dÄ", "ã§ã", "ããŒ"],
["dÄ«", "ã§ãã", "ãã£ãŒ"],
["dÅ", "ã©ã", "ããŒ"],
["dÅ«", "ã©ã
ã", "ãã¥ãŒ"],
["e", "ã", "ãš"],
["ee", "ãã", "ãšãŒ"],
["f", "ãµ", "ã"],
["fa", "ãµã", "ãã¡"],
["faa", "ãµãã", "ãã¡ãŒ"],
["fe", "ãµã", "ãã§"],
["fee", "ãµãã", "ãã§ãŒ"],
["ff", "ã£ãµ", "ãã"],
["ffa", "ã£ãµã", "ããã¡"],
["ffaa", "ã£ãµãã", "ããã¡ãŒ"],
["ffe", "ã£ãµã", "ããã§"],
["ffee", "ã£ãµãã", "ããã§ãŒ"],
["ffi", "ã£ãµã", "ããã£"],
["ffii", "ã£ãµãã", "ããã£ãŒ"],
["ffo", "ã£ãµã", "ããã©"],
["ffoo", "ã£ãµãã", "ããã©ãŒ"],
["ffou", "ã£ãµãã", "ããã©ãŒ"],
["ffu", "ã£ãµ", "ãã"],
["ffuu", "ã£ãµã", "ãããŒ"],
["ffya", "ã£ãµã", "ããã£"],
["ffyaa", "ã£ãµãã", "ããã£ãŒ"],
["ffye", "ã£ãµã", "ããã§"],
["ffyee", "ã£ãµãã", "ããã§ãŒ"],
["ffyi", "ã£ãµã", "ããã£"],
["ffyii", "ã£ãµãã", "ããã£ãŒ"],
["ffyo", "ã£ãµã", "ããã§"],
["ffyoo", "ã£ãµãã", "ããã§ãŒ"],
["ffyou", "ã£ãµãã", "ããã§ãŒ"],
["ffyu", "ã£ãµã
", "ããã¥"],
["ffyuu", "ã£ãµã
ã", "ããã¥ãŒ"],
["ffyâ", "ã£ãµãã", "ããã£ãŒ"],
["ffyê", "ã£ãµãã", "ããã§ãŒ"],
["ffyî", "ã£ãµãã", "ããã£ãŒ"],
["ffyÃŽ", "ã£ãµãã", "ããã§ãŒ"],
["ffyû", "ã£ãµã
ã", "ããã¥ãŒ"],
["ffyÄ", "ã£ãµãã", "ããã£ãŒ"],
["ffyÄ", "ã£ãµãã", "ããã§ãŒ"],
["ffyÄ«", "ã£ãµãã", "ããã£ãŒ"],
["ffyÅ", "ã£ãµãã", "ããã§ãŒ"],
["ffyÅ«", "ã£ãµã
ã", "ããã¥ãŒ"],
["ffâ", "ã£ãµãã", "ããã¡ãŒ"],
["ffê", "ã£ãµãã", "ããã§ãŒ"],
["ffî", "ã£ãµãã", "ããã£ãŒ"],
["ffÃŽ", "ã£ãµãã", "ããã©ãŒ"],
["ffû", "ã£ãµã", "ãããŒ"],
["ffÄ", "ã£ãµãã", "ããã¡ãŒ"],
["ffÄ", "ã£ãµãã", "ããã§ãŒ"],
["ffÄ«", "ã£ãµãã", "ããã£ãŒ"],
["ffÅ", "ã£ãµãã", "ããã©ãŒ"],
["ffÅ«", "ã£ãµã", "ãããŒ"],
["fi", "ãµã", "ãã£"],
["fii", "ãµãã", "ãã£ãŒ"],
["fo", "ãµã", "ãã©"],
["foo", "ãµãã", "ãã©ãŒ"],
["fou", "ãµãã", "ãã©ãŒ"],
["fu", "ãµ", "ã"],
["fuu", "ãµã", "ããŒ"],
["fya", "ãµã", "ãã£"],
["fyaa", "ãµãã", "ãã£ãŒ"],
["fye", "ãµã", "ãã§"],
["fyee", "ãµãã", "ãã§ãŒ"],
["fyi", "ãµã", "ãã£"],
["fyii", "ãµãã", "ãã£ãŒ"],
["fyo", "ãµã", "ãã§"],
["fyoo", "ãµãã", "ãã§ãŒ"],
["fyou", "ãµãã", "ãã§ãŒ"],
["fyu", "ãµã
", "ãã¥"],
["fyuu", "ãµã
ã", "ãã¥ãŒ"],
["fyâ", "ãµãã", "ãã£ãŒ"],
["fyê", "ãµãã", "ãã§ãŒ"],
["fyî", "ãµãã", "ãã£ãŒ"],
["fyÃŽ", "ãµãã", "ãã§ãŒ"],
["fyû", "ãµã
ã", "ãã¥ãŒ"],
["fyÄ", "ãµãã", "ãã£ãŒ"],
["fyÄ", "ãµãã", "ãã§ãŒ"],
["fyÄ«", "ãµãã", "ãã£ãŒ"],
["fyÅ", "ãµãã", "ãã§ãŒ"],
["fyÅ«", "ãµã
ã", "ãã¥ãŒ"],
["fâ", "ãµãã", "ãã¡ãŒ"],
["fê", "ãµãã", "ãã§ãŒ"],
["fî", "ãµãã", "ãã£ãŒ"],
["fÃŽ", "ãµãã", "ãã©ãŒ"],
["fû", "ãµã", "ããŒ"],
["fÄ", "ãµãã", "ãã¡ãŒ"],
["fÄ", "ãµãã", "ãã§ãŒ"],
["fÄ«", "ãµãã", "ãã£ãŒ"],
["fÅ", "ãµãã", "ãã©ãŒ"],
["fÅ«", "ãµã", "ããŒ"],
["g", "ã", "ã°"],
["ga", "ã", "ã¬"],
["gaa", "ãã", "ã¬ãŒ"],
["ge", "ã", "ã²"],
["gee", "ãã", "ã²ãŒ"],
["gg", "ã£ã", "ãã°"],
["gga", "ã£ã", "ãã¬"],
["ggaa", "ã£ãã", "ãã¬ãŒ"],
["gge", "ã£ã", "ãã²"],
["ggee", "ã£ãã", "ãã²ãŒ"],
["ggi", "ã£ã", "ãã®"],
["ggii", "ã£ãã", "ãã®ãŒ"],
["ggo", "ã£ã", "ããŽ"],
["ggoo", "ã£ãã", "ããŽãŒ"],
["ggou", "ã£ãã", "ããŽãŒ"],
["ggu", "ã£ã", "ãã°"],
["gguu", "ã£ãã", "ãã°ãŒ"],
["ggwa", "ã£ãã", "ãã°ã¡"],
["ggwaa", "ã£ããã", "ãã°ã¡ãŒ"],
["ggwe", "ã£ãã", "ãã°ã§"],
["ggwee", "ã£ããã", "ãã°ã§ãŒ"],
["ggwi", "ã£ãã", "ãã°ã£"],
["ggwii", "ã£ããã", "ãã°ã£ãŒ"],
["ggwo", "ã£ãã", "ãã°ã©"],
["ggwoo", "ã£ããã", "ãã°ã©ãŒ"],
["ggwou", "ã£ããã", "ãã°ã©ãŒ"],
["ggwu", "ã£ãã
", "ãã°ã¥"],
["ggwuu", "ã£ãã
ã", "ãã°ã¥ãŒ"],
["ggwâ", "ã£ããã", "ãã°ã¡ãŒ"],
["ggwê", "ã£ããã", "ãã°ã§ãŒ"],
["ggwî", "ã£ããã", "ãã°ã£ãŒ"],
["ggwÃŽ", "ã£ããã", "ãã°ã©ãŒ"],
["ggwû", "ã£ãã
ã", "ãã°ã¥ãŒ"],
["ggwÄ", "ã£ããã", "ãã°ã¡ãŒ"],
["ggwÄ", "ã£ããã", "ãã°ã§ãŒ"],
["ggwÄ«", "ã£ããã", "ãã°ã£ãŒ"],
["ggwÅ", "ã£ããã", "ãã°ã©ãŒ"],
["ggwÅ«", "ã£ãã
ã", "ãã°ã¥ãŒ"],
["ggya", "ã£ãã", "ãã®ã£"],
["ggyaa", "ã£ããã", "ãã®ã£ãŒ"],
["ggye", "ã£ãã", "ãã®ã§"],
["ggyee", "ã£ããã", "ãã®ã§ãŒ"],
["ggyi", "ã£ãã", "ãã®ã£"],
["ggyii", "ã£ããã", "ãã®ã£ãŒ"],
["ggyo", "ã£ãã", "ãã®ã§"],
["ggyoo", "ã£ããã", "ãã®ã§ãŒ"],
["ggyou", "ã£ããã", "ãã®ã§ãŒ"],
["ggyu", "ã£ãã
", "ãã®ã¥"],
["ggyuu", "ã£ãã
ã", "ãã®ã¥ãŒ"],
["ggyâ", "ã£ããã", "ãã®ã£ãŒ"],
["ggyê", "ã£ããã", "ãã®ã§ãŒ"],
["ggyî", "ã£ããã", "ãã®ã£ãŒ"],
["ggyÃŽ", "ã£ããã", "ãã®ã§ãŒ"],
["ggyû", "ã£ãã
ã", "ãã®ã¥ãŒ"],
["ggyÄ", "ã£ããã", "ãã®ã£ãŒ"],
["ggyÄ", "ã£ããã", "ãã®ã§ãŒ"],
["ggyÄ«", "ã£ããã", "ãã®ã£ãŒ"],
["ggyÅ", "ã£ããã", "ãã®ã§ãŒ"],
["ggyÅ«", "ã£ãã
ã", "ãã®ã¥ãŒ"],
["ggâ", "ã£ãã", "ãã¬ãŒ"],
["ggê", "ã£ãã", "ãã²ãŒ"],
["ggî", "ã£ãã", "ãã®ãŒ"],
["ggÃŽ", "ã£ãã", "ããŽãŒ"],
["ggû", "ã£ãã", "ãã°ãŒ"],
["ggÄ", "ã£ãã", "ãã¬ãŒ"],
["ggÄ", "ã£ãã", "ãã²ãŒ"],
["ggÄ«", "ã£ãã", "ãã®ãŒ"],
["ggÅ", "ã£ãã", "ããŽãŒ"],
["ggÅ«", "ã£ãã", "ãã°ãŒ"],
["gi", "ã", "ã®"],
["gii", "ãã", "ã®ãŒ"],
["go", "ã", "ãŽ"],
["goo", "ãã", "ãŽãŒ"],
["gou", "ãã", "ãŽãŒ"],
["gu", "ã", "ã°"],
["guu", "ãã", "ã°ãŒ"],
["gwa", "ãã", "ã°ã¡"],
["gwaa", "ããã", "ã°ã¡ãŒ"],
["gwe", "ãã", "ã°ã§"],
["gwee", "ããã", "ã°ã§ãŒ"],
["gwi", "ãã", "ã°ã£"],
["gwii", "ããã", "ã°ã£ãŒ"],
["gwo", "ãã", "ã°ã©"],
["gwoo", "ããã", "ã°ã©ãŒ"],
["gwou", "ããã", "ã°ã©ãŒ"],
["gwu", "ãã
", "ã°ã¥"],
["gwuu", "ãã
ã", "ã°ã¥ãŒ"],
["gwâ", "ããã", "ã°ã¡ãŒ"],
["gwê", "ããã", "ã°ã§ãŒ"],
["gwî", "ããã", "ã°ã£ãŒ"],
["gwÃŽ", "ããã", "ã°ã©ãŒ"],
["gwû", "ãã
ã", "ã°ã¥ãŒ"],
["gwÄ", "ããã", "ã°ã¡ãŒ"],
["gwÄ", "ããã", "ã°ã§ãŒ"],
["gwÄ«", "ããã", "ã°ã£ãŒ"],
["gwÅ", "ããã", "ã°ã©ãŒ"],
["gwÅ«", "ãã
ã", "ã°ã¥ãŒ"],
["gya", "ãã", "ã®ã£"],
["gyaa", "ããã", "ã®ã£ãŒ"],
["gye", "ãã", "ã®ã§"],
["gyee", "ããã", "ã®ã§ãŒ"],
["gyi", "ãã", "ã®ã£"],
["gyii", "ããã", "ã®ã£ãŒ"],
["gyo", "ãã", "ã®ã§"],
["gyoo", "ããã", "ã®ã§ãŒ"],
["gyou", "ããã", "ã®ã§ãŒ"],
["gyu", "ãã
", "ã®ã¥"],
["gyuu", "ãã
ã", "ã®ã¥ãŒ"],
["gyâ", "ããã", "ã®ã£ãŒ"],
["gyê", "ããã", "ã®ã§ãŒ"],
["gyî", "ããã", "ã®ã£ãŒ"],
["gyÃŽ", "ããã", "ã®ã§ãŒ"],
["gyû", "ãã
ã", "ã®ã¥ãŒ"],
["gyÄ", "ããã", "ã®ã£ãŒ"],
["gyÄ", "ããã", "ã®ã§ãŒ"],
["gyÄ«", "ããã", "ã®ã£ãŒ"],
["gyÅ", "ããã", "ã®ã§ãŒ"],
["gyÅ«", "ãã
ã", "ã®ã¥ãŒ"],
["gâ", "ãã", "ã¬ãŒ"],
["gê", "ãã", "ã²ãŒ"],
["gî", "ãã", "ã®ãŒ"],
["gÃŽ", "ãã", "ãŽãŒ"],
["gû", "ãã", "ã°ãŒ"],
["gÄ", "ãã", "ã¬ãŒ"],
["gÄ", "ãã", "ã²ãŒ"],
["gÄ«", "ãã", "ã®ãŒ"],
["gÅ", "ãã", "ãŽãŒ"],
["gÅ«", "ãã", "ã°ãŒ"],
["h", "ã»", "ã"],
["ha", "ã¯", "ã"],
["haa", "ã¯ã", "ããŒ"],
["he", "ãž", "ã"],
["hee", "ãžã", "ããŒ"],
["hh", "ã£ã»", "ãã"],
["hha", "ã£ã¯", "ãã"],
["hhaa", "ã£ã¯ã", "ãããŒ"],
["hhe", "ã£ãž", "ãã"],
["hhee", "ã£ãžã", "ãããŒ"],
["hhi", "ã£ã²", "ãã"],
["hhii", "ã£ã²ã", "ãããŒ"],
["hho", "ã£ã»", "ãã"],
["hhoo", "ã£ã»ã", "ãããŒ"],
["hhou", "ã£ã»ã", "ãããŒ"],
["hhu", "ã£ãµ", "ãã"],
["hhuu", "ã£ãµã", "ãããŒ"],
["hhya", "ã£ã²ã", "ããã£"],
["hhyaa", "ã£ã²ãã", "ããã£ãŒ"],
["hhye", "ã£ã²ã", "ããã§"],
["hhyee", "ã£ã²ãã", "ããã§ãŒ"],
["hhyi", "ã£ã²ã", "ããã£"],
["hhyii", "ã£ã²ãã", "ããã£ãŒ"],
["hhyo", "ã£ã²ã", "ããã§"],
["hhyoo", "ã£ã²ãã", "ããã§ãŒ"],
["hhyou", "ã£ã²ãã", "ããã§ãŒ"],
["hhyu", "ã£ã²ã
", "ããã¥"],
["hhyuu", "ã£ã²ã
ã", "ããã¥ãŒ"],
["hhyâ", "ã£ã²ãã", "ããã£ãŒ"],
["hhyê", "ã£ã²ãã", "ããã§ãŒ"],
["hhyî", "ã£ã²ãã", "ããã£ãŒ"],
["hhyÃŽ", "ã£ã²ãã", "ããã§ãŒ"],
["hhyû", "ã£ã²ã
ã", "ããã¥ãŒ"],
["hhyÄ", "ã£ã²ãã", "ããã£ãŒ"],
["hhyÄ", "ã£ã²ãã", "ããã§ãŒ"],
["hhyÄ«", "ã£ã²ãã", "ããã£ãŒ"],
["hhyÅ", "ã£ã²ãã", "ããã§ãŒ"],
["hhyÅ«", "ã£ã²ã
ã", "ããã¥ãŒ"],
["hhâ", "ã£ã¯ã", "ãããŒ"],
["hhê", "ã£ãžã", "ãããŒ"],
["hhî", "ã£ã²ã", "ãããŒ"],
["hhÃŽ", "ã£ã»ã", "ãããŒ"],
["hhû", "ã£ãµã", "ãããŒ"],
["hhÄ", "ã£ã¯ã", "ãããŒ"],
["hhÄ", "ã£ãžã", "ãããŒ"],
["hhÄ«", "ã£ã²ã", "ãããŒ"],
["hhÅ", "ã£ã»ã", "ãããŒ"],
["hhÅ«", "ã£ãµã", "ãããŒ"],
["hi", "ã²", "ã"],
["hii", "ã²ã", "ããŒ"],
["ho", "ã»", "ã"],
["hoo", "ã»ã", "ããŒ"],
["hou", "ã»ã", "ããŒ"],
["hu", "ãµ", "ã"],
["huu", "ãµã", "ããŒ"],
["hya", "ã²ã", "ãã£"],
["hyaa", "ã²ãã", "ãã£ãŒ"],
["hye", "ã²ã", "ãã§"],
["hyee", "ã²ãã", "ãã§ãŒ"],
["hyi", "ã²ã", "ãã£"],
["hyii", "ã²ãã", "ãã£ãŒ"],
["hyo", "ã²ã", "ãã§"],
["hyoo", "ã²ãã", "ãã§ãŒ"],
["hyou", "ã²ãã", "ãã§ãŒ"],
["hyu", "ã²ã
", "ãã¥"],
["hyuu", "ã²ã
ã", "ãã¥ãŒ"],
["hyâ", "ã²ãã", "ãã£ãŒ"],
["hyê", "ã²ãã", "ãã§ãŒ"],
["hyî", "ã²ãã", "ãã£ãŒ"],
["hyÃŽ", "ã²ãã", "ãã§ãŒ"],
["hyû", "ã²ã
ã", "ãã¥ãŒ"],
["hyÄ", "ã²ãã", "ãã£ãŒ"],
["hyÄ", "ã²ãã", "ãã§ãŒ"],
["hyÄ«", "ã²ãã", "ãã£ãŒ"],
["hyÅ", "ã²ãã", "ãã§ãŒ"],
["hyÅ«", "ã²ã
ã", "ãã¥ãŒ"],
["hâ", "ã¯ã", "ããŒ"],
["hê", "ãžã", "ããŒ"],
["hî", "ã²ã", "ããŒ"],
["hÃŽ", "ã»ã", "ããŒ"],
["hû", "ãµã", "ããŒ"],
["hÄ", "ã¯ã", "ããŒ"],
["hÄ", "ãžã", "ããŒ"],
["hÄ«", "ã²ã", "ããŒ"],
["hÅ", "ã»ã", "ããŒ"],
["hÅ«", "ãµã", "ããŒ"],
["i", "ã", "ã€"],
["ii", "ãã", "ã€ã€"],
["j", "ã", "ãž"],
["ja", "ãã", "ãžã£"],
["jaa", "ããã", "ãžã£ãŒ"],
["je", "ãã", "ãžã§"],
["jee", "ããã", "ãžã§ãŒ"],
["ji", "ã", "ãž"],
["jii", "ãã", "ãžãŒ"],
["jj", "ã£ã", "ããž"],
["jja", "ã£ãã", "ããžã£"],
["jjaa", "ã£ããã", "ããžã£ãŒ"],
["jje", "ã£ãã", "ããžã§"],
["jjee", "ã£ããã", "ããžã§ãŒ"],
["jji", "ã£ã", "ããž"],
["jjii", "ã£ãã", "ããžãŒ"],
["jjo", "ã£ãã", "ããžã§"],
["jjoo", "ã£ããã", "ããžã§ãŒ"],
["jjou", "ã£ããã", "ããžã§ãŒ"],
["jju", "ã£ãã
", "ããžã¥"],
["jjuu", "ã£ãã
ã", "ããžã¥ãŒ"],
["jjya", "ã£ãã", "ããžã£"],
["jjyaa", "ã£ããã", "ããžã£ãŒ"],
["jjye", "ã£ãã", "ããžã§"],
["jjyee", "ã£ããã", "ããžã§ãŒ"],
["jjyi", "ã£ãã", "ããžã£"],
["jjyii", "ã£ããã", "ããžã£ãŒ"],
["jjyo", "ã£ãã", "ããžã§"],
["jjyoo", "ã£ããã", "ããžã§ãŒ"],
["jjyou", "ã£ããã", "ããžã§ãŒ"],
["jjyu", "ã£ãã
", "ããžã¥"],
["jjyuu", "ã£ãã
ã", "ããžã¥ãŒ"],
["jjyâ", "ã£ããã", "ããžã£ãŒ"],
["jjyê", "ã£ããã", "ããžã§ãŒ"],
["jjyî", "ã£ããã", "ããžã£ãŒ"],
["jjyÃŽ", "ã£ããã", "ããžã§ãŒ"],
["jjyû", "ã£ãã
ã", "ããžã¥ãŒ"],
["jjyÄ", "ã£ããã", "ããžã£ãŒ"],
["jjyÄ", "ã£ããã", "ããžã§ãŒ"],
["jjyÄ«", "ã£ããã", "ããžã£ãŒ"],
["jjyÅ", "ã£ããã", "ããžã§ãŒ"],
["jjyÅ«", "ã£ãã
ã", "ããžã¥ãŒ"],
["jjâ", "ã£ããã", "ããžã£ãŒ"],
["jjê", "ã£ããã", "ããžã§ãŒ"],
["jjî", "ã£ãã", "ããžãŒ"],
["jjÃŽ", "ã£ããã", "ããžã§ãŒ"],
["jjû", "ã£ãã
ã", "ããžã¥ãŒ"],
["jjÄ", "ã£ããã", "ããžã£ãŒ"],
["jjÄ", "ã£ããã", "ããžã§ãŒ"],
["jjÄ«", "ã£ãã", "ããžãŒ"],
["jjÅ", "ã£ããã", "ããžã§ãŒ"],
["jjÅ«", "ã£ãã
ã", "ããžã¥ãŒ"],
["jo", "ãã", "ãžã§"],
["joo", "ããã", "ãžã§ãŒ"],
["jou", "ããã", "ãžã§ãŒ"],
["ju", "ãã
", "ãžã¥"],
["juu", "ãã
ã", "ãžã¥ãŒ"],
["jya", "ãã", "ãžã£"],
["jyaa", "ããã", "ãžã£ãŒ"],
["jye", "ãã", "ãžã§"],
["jyee", "ããã", "ãžã§ãŒ"],
["jyi", "ãã", "ãžã£"],
["jyii", "ããã", "ãžã£ãŒ"],
["jyo", "ãã", "ãžã§"],
["jyoo", "ããã", "ãžã§ãŒ"],
["jyou", "ããã", "ãžã§ãŒ"],
["jyu", "ãã
", "ãžã¥"],
["jyuu", "ãã
ã", "ãžã¥ãŒ"],
["jyâ", "ããã", "ãžã£ãŒ"],
["jyê", "ããã", "ãžã§ãŒ"],
["jyî", "ããã", "ãžã£ãŒ"],
["jyÃŽ", "ããã", "ãžã§ãŒ"],
["jyû", "ãã
ã", "ãžã¥ãŒ"],
["jyÄ", "ããã", "ãžã£ãŒ"],
["jyÄ", "ããã", "ãžã§ãŒ"],
["jyÄ«", "ããã", "ãžã£ãŒ"],
["jyÅ", "ããã", "ãžã§ãŒ"],
["jyÅ«", "ãã
ã", "ãžã¥ãŒ"],
["jâ", "ããã", "ãžã£ãŒ"],
["jê", "ããã", "ãžã§ãŒ"],
["jî", "ãã", "ãžãŒ"],
["jÃŽ", "ããã", "ãžã§ãŒ"],
["jû", "ãã
ã", "ãžã¥ãŒ"],
["jÄ", "ããã", "ãžã£ãŒ"],
["jÄ", "ããã", "ãžã§ãŒ"],
["jÄ«", "ãã", "ãžãŒ"],
["jÅ", "ããã", "ãžã§ãŒ"],
["jÅ«", "ãã
ã", "ãžã¥ãŒ"],
["k", "ã", "ã¯"],
["ka", "ã", "ã«"],
["kaa", "ãã", "ã«ãŒ"],
["ke", "ã", "ã±"],
["kee", "ãã", "ã±ãŒ"],
["ki", "ã", "ã"],
["kii", "ãã", "ããŒ"],
["kk", "ã£ã", "ãã¯"],
["kka", "ã£ã", "ãã«"],
["kkaa", "ã£ãã", "ãã«ãŒ"],
["kke", "ã£ã", "ãã±"],
["kkee", "ã£ãã", "ãã±ãŒ"],
["kki", "ã£ã", "ãã"],
["kkii", "ã£ãã", "ãããŒ"],
["kko", "ã£ã", "ãã³"],
["kkoo", "ã£ãã", "ãã³ãŒ"],
["kkou", "ã£ãã", "ãã³ãŒ"],
["kku", "ã£ã", "ãã¯"],
["kkuu", "ã£ãã", "ãã¯ãŒ"],
["kkwa", "ã£ãã", "ãã¯ã¡"],
["kkwaa", "ã£ããã", "ãã¯ã¡ãŒ"],
["kkwe", "ã£ãã", "ãã¯ã§"],
["kkwee", "ã£ããã", "ãã¯ã§ãŒ"],
["kkwi", "ã£ãã", "ãã¯ã£"],
["kkwii", "ã£ããã", "ãã¯ã£ãŒ"],
["kkwo", "ã£ãã", "ãã¯ã©"],
["kkwoo", "ã£ããã", "ãã¯ã©ãŒ"],
["kkwou", "ã£ããã", "ãã¯ã©ãŒ"],
["kkwu", "ã£ãã
", "ãã¯ã¥"],
["kkwuu", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["kkwâ", "ã£ããã", "ãã¯ã¡ãŒ"],
["kkwê", "ã£ããã", "ãã¯ã§ãŒ"],
["kkwî", "ã£ããã", "ãã¯ã£ãŒ"],
["kkwÃŽ", "ã£ããã", "ãã¯ã©ãŒ"],
["kkwû", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["kkwÄ", "ã£ããã", "ãã¯ã¡ãŒ"],
["kkwÄ", "ã£ããã", "ãã¯ã§ãŒ"],
["kkwÄ«", "ã£ããã", "ãã¯ã£ãŒ"],
["kkwÅ", "ã£ããã", "ãã¯ã©ãŒ"],
["kkwÅ«", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["kkya", "ã£ãã", "ããã£"],
["kkyaa", "ã£ããã", "ããã£ãŒ"],
["kkye", "ã£ãã", "ããã§"],
["kkyee", "ã£ããã", "ããã§ãŒ"],
["kkyi", "ã£ãã", "ããã£"],
["kkyii", "ã£ããã", "ããã£ãŒ"],
["kkyo", "ã£ãã", "ããã§"],
["kkyoo", "ã£ããã", "ããã§ãŒ"],
["kkyou", "ã£ããã", "ããã§ãŒ"],
["kkyu", "ã£ãã
", "ããã¥"],
["kkyuu", "ã£ãã
ã", "ããã¥ãŒ"],
["kkyâ", "ã£ããã", "ããã£ãŒ"],
["kkyê", "ã£ããã", "ããã§ãŒ"],
["kkyî", "ã£ããã", "ããã£ãŒ"],
["kkyÃŽ", "ã£ããã", "ããã§ãŒ"],
["kkyû", "ã£ãã
ã", "ããã¥ãŒ"],
["kkyÄ", "ã£ããã", "ããã£ãŒ"],
["kkyÄ", "ã£ããã", "ããã§ãŒ"],
["kkyÄ«", "ã£ããã", "ããã£ãŒ"],
["kkyÅ", "ã£ããã", "ããã§ãŒ"],
["kkyÅ«", "ã£ãã
ã", "ããã¥ãŒ"],
["kkâ", "ã£ãã", "ãã«ãŒ"],
["kkê", "ã£ãã", "ãã±ãŒ"],
["kkî", "ã£ãã", "ãããŒ"],
["kkÃŽ", "ã£ãã", "ãã³ãŒ"],
["kkû", "ã£ãã", "ãã¯ãŒ"],
["kkÄ", "ã£ãã", "ãã«ãŒ"],
["kkÄ", "ã£ãã", "ãã±ãŒ"],
["kkÄ«", "ã£ãã", "ãããŒ"],
["kkÅ", "ã£ãã", "ãã³ãŒ"],
["kkÅ«", "ã£ãã", "ãã¯ãŒ"],
["ko", "ã", "ã³"],
["koo", "ãã", "ã³ãŒ"],
["kou", "ãã", "ã³ãŒ"],
["kqu", "ã£ãã
", "ãã¯ã¥"],
["kqua", "ã£ãã", "ãã¯ã¡"],
["kquaa", "ã£ããã", "ãã¯ã¡ãŒ"],
["kque", "ã£ãã", "ãã¯ã§"],
["kquee", "ã£ããã", "ãã¯ã§ãŒ"],
["kqui", "ã£ãã", "ãã¯ã£"],
["kquii", "ã£ããã", "ãã¯ã£ãŒ"],
["kquo", "ã£ãã", "ãã¯ã©"],
["kquoo", "ã£ããã", "ãã¯ã©ãŒ"],
["kquou", "ã£ããã", "ãã¯ã©ãŒ"],
["kquu", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["kquâ", "ã£ããã", "ãã¯ã¡ãŒ"],
["kquê", "ã£ããã", "ãã¯ã§ãŒ"],
["kquî", "ã£ããã", "ãã¯ã£ãŒ"],
["kquÃŽ", "ã£ããã", "ãã¯ã©ãŒ"],
["kquÄ", "ã£ããã", "ãã¯ã¡ãŒ"],
["kquÄ", "ã£ããã", "ãã¯ã§ãŒ"],
["kquÄ«", "ã£ããã", "ãã¯ã£ãŒ"],
["kquÅ", "ã£ããã", "ãã¯ã©ãŒ"],
["kqû", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["kqÅ«", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["ku", "ã", "ã¯"],
["kuu", "ãã", "ã¯ãŒ"],
["kwa", "ãã", "ã¯ã¡"],
["kwaa", "ããã", "ã¯ã¡ãŒ"],
["kwe", "ãã", "ã¯ã§"],
["kwee", "ããã", "ã¯ã§ãŒ"],
["kwi", "ãã", "ã¯ã£"],
["kwii", "ããã", "ã¯ã£ãŒ"],
["kwo", "ãã", "ã¯ã©"],
["kwoo", "ããã", "ã¯ã©ãŒ"],
["kwou", "ããã", "ã¯ã©ãŒ"],
["kwu", "ãã
", "ã¯ã¥"],
["kwuu", "ãã
ã", "ã¯ã¥ãŒ"],
["kwâ", "ããã", "ã¯ã¡ãŒ"],
["kwê", "ããã", "ã¯ã§ãŒ"],
["kwî", "ããã", "ã¯ã£ãŒ"],
["kwÃŽ", "ããã", "ã¯ã©ãŒ"],
["kwû", "ãã
ã", "ã¯ã¥ãŒ"],
["kwÄ", "ããã", "ã¯ã¡ãŒ"],
["kwÄ", "ããã", "ã¯ã§ãŒ"],
["kwÄ«", "ããã", "ã¯ã£ãŒ"],
["kwÅ", "ããã", "ã¯ã©ãŒ"],
["kwÅ«", "ãã
ã", "ã¯ã¥ãŒ"],
["kya", "ãã", "ãã£"],
["kyaa", "ããã", "ãã£ãŒ"],
["kye", "ãã", "ãã§"],
["kyee", "ããã", "ãã§ãŒ"],
["kyi", "ãã", "ãã£"],
["kyii", "ããã", "ãã£ãŒ"],
["kyo", "ãã", "ãã§"],
["kyoo", "ããã", "ãã§ãŒ"],
["kyou", "ããã", "ãã§ãŒ"],
["kyu", "ãã
", "ãã¥"],
["kyuu", "ãã
ã", "ãã¥ãŒ"],
["kyâ", "ããã", "ãã£ãŒ"],
["kyê", "ããã", "ãã§ãŒ"],
["kyî", "ããã", "ãã£ãŒ"],
["kyÃŽ", "ããã", "ãã§ãŒ"],
["kyû", "ãã
ã", "ãã¥ãŒ"],
["kyÄ", "ããã", "ãã£ãŒ"],
["kyÄ", "ããã", "ãã§ãŒ"],
["kyÄ«", "ããã", "ãã£ãŒ"],
["kyÅ", "ããã", "ãã§ãŒ"],
["kyÅ«", "ãã
ã", "ãã¥ãŒ"],
["kâ", "ãã", "ã«ãŒ"],
["kê", "ãã", "ã±ãŒ"],
["kî", "ãã", "ããŒ"],
["kÃŽ", "ãã", "ã³ãŒ"],
["kû", "ãã", "ã¯ãŒ"],
["kÄ", "ãã", "ã«ãŒ"],
["kÄ", "ãã", "ã±ãŒ"],
["kÄ«", "ãã", "ããŒ"],
["kÅ", "ãã", "ã³ãŒ"],
["kÅ«", "ãã", "ã¯ãŒ"],
["l", "ã", "ã«"],
["la", "ã", "ã©"],
["laa", "ãã", "ã©ãŒ"],
["le", "ã", "ã¬"],
["lee", "ãã", "ã¬ãŒ"],
["li", "ã", "ãª"],
["lii", "ãã", "ãªãŒ"],
["ll", "ã£ã", "ãã«"],
["lla", "ã£ã", "ãã©"],
["llaa", "ã£ãã", "ãã©ãŒ"],
["lle", "ã£ã", "ãã¬"],
["llee", "ã£ãã", "ãã¬ãŒ"],
["lli", "ã£ã", "ããª"],
["llii", "ã£ãã", "ããªãŒ"],
["llo", "ã£ã", "ãã"],
["lloo", "ã£ãã", "ãããŒ"],
["llou", "ã£ãã", "ãããŒ"],
["llu", "ã£ã", "ãã«"],
["lluu", "ã£ãã", "ãã«ãŒ"],
["llya", "ã£ãã", "ãã©ã€"],
["llyaa", "ã£ããã", "ãã©ã€ãŒ"],
["llye", "ã£ãã", "ããªã§"],
["llyee", "ã£ããã", "ããªã§ãŒ"],
["llyi", "ã£ãã", "ããªã£"],
["llyii", "ã£ããã", "ããªã£ãŒ"],
["llyo", "ã£ãã", "ããªã§"],
["llyoo", "ã£ããã", "ããªã§ãŒ"],
["llyou", "ã£ããã", "ããªã§ãŒ"],
["llyu", "ã£ãã
", "ããªã¥"],
["llyuu", "ã£ãã
ã", "ããªã¥ãŒ"],
["llyâ", "ã£ããã", "ãã©ã€ãŒ"],
["llyê", "ã£ããã", "ããªã§ãŒ"],
["llyî", "ã£ããã", "ããªã£ãŒ"],
["llyÃŽ", "ã£ããã", "ããªã§ãŒ"],
["llyû", "ã£ãã
ã", "ããªã¥ãŒ"],
["llyÄ", "ã£ããã", "ãã©ã€ãŒ"],
["llyÄ", "ã£ããã", "ããªã§ãŒ"],
["llyÄ«", "ã£ããã", "ããªã£ãŒ"],
["llyÅ", "ã£ããã", "ããªã§ãŒ"],
["llyÅ«", "ã£ãã
ã", "ããªã¥ãŒ"],
["llâ", "ã£ãã", "ãã©ãŒ"],
["llê", "ã£ãã", "ãã¬ãŒ"],
["llî", "ã£ãã", "ããªãŒ"],
["llÃŽ", "ã£ãã", "ãããŒ"],
["llû", "ã£ãã", "ãã«ãŒ"],
["llÄ", "ã£ãã", "ãã©ãŒ"],
["llÄ", "ã£ãã", "ãã¬ãŒ"],
["llÄ«", "ã£ãã", "ããªãŒ"],
["llÅ", "ã£ãã", "ãããŒ"],
["llÅ«", "ã£ãã", "ãã«ãŒ"],
["lo", "ã", "ã"],
["loo", "ãã", "ããŒ"],
["lou", "ãã", "ããŒ"],
["lu", "ã", "ã«"],
["luu", "ãã", "ã«ãŒ"],
["lya", "ãã", "ã©ã€"],
["lyaa", "ããã", "ã©ã€ãŒ"],
["lye", "ãã", "ãªã§"],
["lyee", "ããã", "ãªã§ãŒ"],
["lyi", "ãã", "ãªã£"],
["lyii", "ããã", "ãªã£ãŒ"],
["lyo", "ãã", "ãªã§"],
["lyoo", "ããã", "ãªã§ãŒ"],
["lyou", "ããã", "ãªã§ãŒ"],
["lyu", "ãã
", "ãªã¥"],
["lyuu", "ãã
ã", "ãªã¥ãŒ"],
["lyâ", "ããã", "ã©ã€ãŒ"],
["lyê", "ããã", "ãªã§ãŒ"],
["lyî", "ããã", "ãªã£ãŒ"],
["lyÃŽ", "ããã", "ãªã§ãŒ"],
["lyû", "ãã
ã", "ãªã¥ãŒ"],
["lyÄ", "ããã", "ã©ã€ãŒ"],
["lyÄ", "ããã", "ãªã§ãŒ"],
["lyÄ«", "ããã", "ãªã£ãŒ"],
["lyÅ", "ããã", "ãªã§ãŒ"],
["lyÅ«", "ãã
ã", "ãªã¥ãŒ"],
["lâ", "ãã", "ã©ãŒ"],
["lê", "ãã", "ã¬ãŒ"],
["lî", "ãã", "ãªãŒ"],
["lÃŽ", "ãã", "ããŒ"],
["lû", "ãã", "ã«ãŒ"],
["lÄ", "ãã", "ã©ãŒ"],
["lÄ", "ãã", "ã¬ãŒ"],
["lÄ«", "ãã", "ãªãŒ"],
["lÅ", "ãã", "ããŒ"],
["lÅ«", "ãã", "ã«ãŒ"],
["m", "ã", "ã "],
["ma", "ãŸ", "ã"],
["maa", "ãŸã", "ããŒ"],
["mb", "ãã¶", "ã³ã"],
["mba", "ãã°", "ã³ã"],
["mbe", "ãã¹", "ã³ã"],
["mbee", "ãã¹ã", "ã³ããŒ"],
["mbi", "ãã³", "ã³ã"],
["mbii", "ãã³ã", "ã³ããŒ"],
["mbo", "ããŒ", "ã³ã"],
["mboo", "ããŒã", "ã³ããŒ"],
["mbou", "ããŒã", "ã³ããŒ"],
["mbu", "ãã¶", "ã³ã"],
["mbuu", "ãã¶ã", "ã³ããŒ"],
["mbya", "ãã³ã", "ã³ãã£"],
["mbyaa", "ãã³ãã", "ã³ãã£ãŒ"],
["mbye", "ãã³ã", "ã³ãã§"],
["mbyee", "ãã³ãã", "ã³ãã§ãŒ"],
["mbyi", "ãã³ã", "ã³ãã£"],
["mbyii", "ãã³ãã", "ã³ãã£ãŒ"],
["mbyo", "ãã³ã", "ã³ãã§"],
["mbyoo", "ãã³ãã", "ã³ãã§ãŒ"],
["mbyou", "ãã³ãã", "ã³ãã§ãŒ"],
["mbyu", "ãã³ã
", "ã³ãã¥"],
["mbyuu", "ãã³ã
ã", "ã³ãã¥ãŒ"],
["mbyâ", "ãã³ãã", "ã³ãã£ãŒ"],
["mbyê", "ãã³ãã", "ã³ãã§ãŒ"],
["mbyî", "ãã³ãã", "ã³ãã£ãŒ"],
["mbyÃŽ", "ãã³ãã", "ã³ãã§ãŒ"],
["mbyû", "ãã³ã
ã", "ã³ãã¥ãŒ"],
["mbyÄ", "ãã³ãã", "ã³ãã£ãŒ"],
["mbyÄ", "ãã³ãã", "ã³ãã§ãŒ"],
["mbyÄ«", "ãã³ãã", "ã³ãã£ãŒ"],
["mbyÅ", "ãã³ãã", "ã³ãã§ãŒ"],
["mbyÅ«", "ãã³ã
ã", "ã³ãã¥ãŒ"],
["mbâ", "ãã°ã", "ã³ããŒ"],
["mbê", "ãã¹ã", "ã³ããŒ"],
["mbî", "ãã³ã", "ã³ããŒ"],
["mbÃŽ", "ããŒã", "ã³ããŒ"],
["mbû", "ãã¶ã", "ã³ããŒ"],
["mbÄ", "ãã°ã", "ã³ããŒ"],
["mbÄ", "ãã¹ã", "ã³ããŒ"],
["mbÄ«", "ãã³ã", "ã³ããŒ"],
["mbÅ", "ããŒã", "ã³ããŒ"],
["mbÅ«", "ãã¶ã", "ã³ããŒ"],
["me", "ã", "ã¡"],
["mee", "ãã", "ã¡ãŒ"],
["mi", "ã¿", "ã"],
["mii", "ã¿ã", "ããŒ"],
["mm", "ãã", "ã³ã "],
["mma", "ããŸ", "ã³ã"],
["mmaa", "ããŸã", "ã³ããŒ"],
["mme", "ãã", "ã³ã¡"],
["mmee", "ããã", "ã³ã¡ãŒ"],
["mmi", "ãã¿", "ã³ã"],
["mmii", "ãã¿ã", "ã³ããŒ"],
["mmo", "ãã", "ã³ã¢"],
["mmoo", "ããã", "ã³ã¢ãŒ"],
["mmou", "ããã", "ã³ã¢ãŒ"],
["mmu", "ãã", "ã³ã "],
["mmuu", "ããã", "ã³ã ãŒ"],
["mmya", "ãã¿ã", "ã³ãã£"],
["mmyaa", "ãã¿ãã", "ã³ãã£ãŒ"],
["mmye", "ãã¿ã", "ã³ãã§"],
["mmyee", "ãã¿ãã", "ã³ãã§ãŒ"],
["mmyi", "ãã¿ã", "ã³ãã£"],
["mmyii", "ãã¿ãã", "ã³ãã£ãŒ"],
["mmyo", "ãã¿ã", "ã³ãã§"],
["mmyoo", "ãã¿ãã", "ã³ãã§ãŒ"],
["mmyou", "ãã¿ãã", "ã³ãã§ãŒ"],
["mmyu", "ãã¿ã
", "ã³ãã¥"],
["mmyuu", "ãã¿ã
ã", "ã³ãã¥ãŒ"],
["mmyâ", "ãã¿ãã", "ã³ãã£ãŒ"],
["mmyê", "ãã¿ãã", "ã³ãã§ãŒ"],
["mmyî", "ãã¿ãã", "ã³ãã£ãŒ"],
["mmyÃŽ", "ãã¿ãã", "ã³ãã§ãŒ"],
["mmyû", "ãã¿ã
ã", "ã³ãã¥ãŒ"],
["mmyÄ", "ãã¿ãã", "ã³ãã£ãŒ"],
["mmyÄ", "ãã¿ãã", "ã³ãã§ãŒ"],
["mmyÄ«", "ãã¿ãã", "ã³ãã£ãŒ"],
["mmyÅ", "ãã¿ãã", "ã³ãã§ãŒ"],
["mmyÅ«", "ãã¿ã
ã", "ã³ãã¥ãŒ"],
["mmâ", "ããŸã", "ã³ããŒ"],
["mmê", "ããã", "ã³ã¡ãŒ"],
["mmî", "ãã¿ã", "ã³ããŒ"],
["mmÃŽ", "ããã", "ã³ã¢ãŒ"],
["mmû", "ããã", "ã³ã ãŒ"],
["mmÄ", "ããŸã", "ã³ããŒ"],
["mmÄ", "ããã", "ã³ã¡ãŒ"],
["mmÄ«", "ãã¿ã", "ã³ããŒ"],
["mmÅ", "ããã", "ã³ã¢ãŒ"],
["mmÅ«", "ããã", "ã³ã ãŒ"],
["mo", "ã", "ã¢"],
["moo", "ãã", "ã¢ãŒ"],
["mou", "ãã", "ã¢ãŒ"],
["mp", "ãã·", "ã³ã"],
["mpa", "ãã±", "ã³ã"],
["mpaa", "ãã±ã", "ã³ããŒ"],
["mpe", "ããº", "ã³ã"],
["mpee", "ããºã", "ã³ããŒ"],
["mpi", "ããŽ", "ã³ã"],
["mpii", "ããŽã", "ã³ããŒ"],
["mpo", "ããœ", "ã³ã"],
["mpoo", "ããœã", "ã³ããŒ"],
["mpou", "ããœã", "ã³ããŒ"],
["mpu", "ãã·", "ã³ã"],
["mpuu", "ãã·ã", "ã³ããŒ"],
["mpya", "ããŽã", "ã³ãã£"],
["mpyaa", "ããŽãã", "ã³ãã£ãŒ"],
["mpye", "ããŽã", "ã³ãã§"],
["mpyee", "ããŽãã", "ã³ãã§ãŒ"],
["mpyi", "ããŽã", "ã³ãã£"],
["mpyii", "ããŽãã", "ã³ãã£ãŒ"],
["mpyo", "ããŽã", "ã³ãã§"],
["mpyoo", "ããŽãã", "ã³ãã§ãŒ"],
["mpyou", "ããŽãã", "ã³ãã§ãŒ"],
["mpyu", "ããŽã
", "ã³ãã¥"],
["mpyuu", "ããŽã
ã", "ã³ãã¥ãŒ"],
["mpyâ", "ããŽãã", "ã³ãã£ãŒ"],
["mpyê", "ããŽãã", "ã³ãã§ãŒ"],
["mpyî", "ããŽãã", "ã³ãã£ãŒ"],
["mpyÃŽ", "ããŽãã", "ã³ãã§ãŒ"],
["mpyû", "ããŽã
ã", "ã³ãã¥ãŒ"],
["mpyÄ", "ããŽãã", "ã³ãã£ãŒ"],
["mpyÄ", "ããŽãã", "ã³ãã§ãŒ"],
["mpyÄ«", "ããŽãã", "ã³ãã£ãŒ"],
["mpyÅ", "ããŽãã", "ã³ãã§ãŒ"],
["mpyÅ«", "ããŽã
ã", "ã³ãã¥ãŒ"],
["mpâ", "ãã±ã", "ã³ããŒ"],
["mpê", "ããºã", "ã³ããŒ"],
["mpî", "ããŽã", "ã³ããŒ"],
["mpÃŽ", "ããœã", "ã³ããŒ"],
["mpû", "ãã·ã", "ã³ããŒ"],
["mpÄ", "ãã±ã", "ã³ããŒ"],
["mpÄ", "ããºã", "ã³ããŒ"],
["mpÄ«", "ããŽã", "ã³ããŒ"],
["mpÅ", "ããœã", "ã³ããŒ"],
["mpÅ«", "ãã·ã", "ã³ããŒ"],
["mu", "ã", "ã "],
["muu", "ãã", "ã ãŒ"],
["mya", "ã¿ã", "ãã£"],
["myaa", "ã¿ãã", "ãã£ãŒ"],
["mye", "ã¿ã", "ãã§"],
["myee", "ã¿ãã", "ãã§ãŒ"],
["myi", "ã¿ã", "ãã£"],
["myii", "ã¿ãã", "ãã£ãŒ"],
["myo", "ã¿ã", "ãã§"],
["myoo", "ã¿ãã", "ãã§ãŒ"],
["myou", "ã¿ãã", "ãã§ãŒ"],
["myu", "ã¿ã
", "ãã¥"],
["myuu", "ã¿ã
ã", "ãã¥ãŒ"],
["myâ", "ã¿ãã", "ãã£ãŒ"],
["myê", "ã¿ãã", "ãã§ãŒ"],
["myî", "ã¿ãã", "ãã£ãŒ"],
["myÃŽ", "ã¿ãã", "ãã§ãŒ"],
["myû", "ã¿ã
ã", "ãã¥ãŒ"],
["myÄ", "ã¿ãã", "ãã£ãŒ"],
["myÄ", "ã¿ãã", "ãã§ãŒ"],
["myÄ«", "ã¿ãã", "ãã£ãŒ"],
["myÅ", "ã¿ãã", "ãã§ãŒ"],
["myÅ«", "ã¿ã
ã", "ãã¥ãŒ"],
["mâ", "ãŸã", "ããŒ"],
["mê", "ãã", "ã¡ãŒ"],
["mî", "ã¿ã", "ããŒ"],
["mÃŽ", "ãã", "ã¢ãŒ"],
["mû", "ãã", "ã ãŒ"],
["mÄ", "ãŸã", "ããŒ"],
["mÄ", "ãã", "ã¡ãŒ"],
["mÄ«", "ã¿ã", "ããŒ"],
["mÅ", "ãã", "ã¢ãŒ"],
["mÅ«", "ãã", "ã ãŒ"],
["n", "ã", "ã³"],
["n'", "ã", "ã³"],
["na", "ãª", "ã"],
["naa", "ãªã", "ããŒ"],
["ne", "ã", "ã"],
["nee", "ãã", "ããŒ"],
["ni", "ã«", "ã"],
["nii", "ã«ã", "ããŒ"],
["no", "ã®", "ã"],
["noo", "ã®ã", "ããŒ"],
["nou", "ã®ã", "ããŒ"],
["nu", "ã¬", "ã"],
["nuu", "ã¬ã", "ããŒ"],
["nya", "ã«ã", "ãã£"],
["nyaa", "ã«ãã", "ãã£ãŒ"],
["nye", "ã«ã", "ãã§"],
["nyee", "ã«ãã", "ãã§ãŒ"],
["nyi", "ã«ã", "ãã£"],
["nyii", "ã«ãã", "ãã£ãŒ"],
["nyo", "ã«ã", "ãã§"],
["nyoo", "ã«ãã", "ãã§ãŒ"],
["nyou", "ã«ãã", "ãã§ãŒ"],
["nyu", "ã«ã
", "ãã¥"],
["nyuu", "ã«ã
ã", "ãã¥ãŒ"],
["nyâ", "ã«ãã", "ãã£ãŒ"],
["nyê", "ã«ãã", "ãã§ãŒ"],
["nyî", "ã«ãã", "ãã£ãŒ"],
["nyÃŽ", "ã«ãã", "ãã§ãŒ"],
["nyû", "ã«ã
ã", "ãã¥ãŒ"],
["nyÄ", "ã«ãã", "ãã£ãŒ"],
["nyÄ", "ã«ãã", "ãã§ãŒ"],
["nyÄ«", "ã«ãã", "ãã£ãŒ"],
["nyÅ", "ã«ãã", "ãã§ãŒ"],
["nyÅ«", "ã«ã
ã", "ãã¥ãŒ"],
["nâ", "ãªã", "ããŒ"],
["nê", "ãã", "ããŒ"],
["nî", "ã«ã", "ããŒ"],
["nÃŽ", "ã®ã", "ããŒ"],
["nû", "ã¬ã", "ããŒ"],
["nÄ", "ãªã", "ããŒ"],
["nÄ", "ãã", "ããŒ"],
["nÄ«", "ã«ã", "ããŒ"],
["nÅ", "ã®ã", "ããŒ"],
["nÅ«", "ã¬ã", "ããŒ"],
["o", "ã", "ãª"],
["oo", "ãã", "ãªãŒ"],
["ou", "ãã", "ãªãŒ"],
["p", "ã·", "ã"],
["pa", "ã±", "ã"],
["paa", "ã±ã", "ããŒ"],
["pe", "ãº", "ã"],
["pee", "ãºã", "ããŒ"],
["pi", "ãŽ", "ã"],
["pii", "ãŽã", "ããŒ"],
["po", "ãœ", "ã"],
["poo", "ãœã", "ããŒ"],
["pou", "ãœã", "ããŒ"],
["pp", "ã£ã·", "ãã"],
["ppa", "ã£ã±", "ãã"],
["ppaa", "ã£ã±ã", "ãããŒ"],
["ppe", "ã£ãº", "ãã"],
["ppee", "ã£ãºã", "ãããŒ"],
["ppi", "ã£ãŽ", "ãã"],
["ppii", "ã£ãŽã", "ãããŒ"],
["ppo", "ã£ãœ", "ãã"],
["ppoo", "ã£ãœã", "ãããŒ"],
["ppou", "ã£ãœã", "ãããŒ"],
["ppu", "ã£ã·", "ãã"],
["ppuu", "ã£ã·ã", "ãããŒ"],
["ppya", "ã£ãŽã", "ããã£"],
["ppyaa", "ã£ãŽãã", "ããã£ãŒ"],
["ppye", "ã£ãŽã", "ããã§"],
["ppyee", "ã£ãŽãã", "ããã§ãŒ"],
["ppyi", "ã£ãŽã", "ããã£"],
["ppyii", "ã£ãŽãã", "ããã£ãŒ"],
["ppyo", "ã£ãŽã", "ããã§"],
["ppyoo", "ã£ãŽãã", "ããã§ãŒ"],
["ppyou", "ã£ãŽãã", "ããã§ãŒ"],
["ppyu", "ã£ãŽã
", "ããã¥"],
["ppyuu", "ã£ãŽã
ã", "ããã¥ãŒ"],
["ppyâ", "ã£ãŽãã", "ããã£ãŒ"],
["ppyê", "ã£ãŽãã", "ããã§ãŒ"],
["ppyî", "ã£ãŽãã", "ããã£ãŒ"],
["ppyÃŽ", "ã£ãŽãã", "ããã§ãŒ"],
["ppyû", "ã£ãŽã
ã", "ããã¥ãŒ"],
["ppyÄ", "ã£ãŽãã", "ããã£ãŒ"],
["ppyÄ", "ã£ãŽãã", "ããã§ãŒ"],
["ppyÄ«", "ã£ãŽãã", "ããã£ãŒ"],
["ppyÅ", "ã£ãŽãã", "ããã§ãŒ"],
["ppyÅ«", "ã£ãŽã
ã", "ããã¥ãŒ"],
["ppâ", "ã£ã±ã", "ãããŒ"],
["ppê", "ã£ãºã", "ãããŒ"],
["ppî", "ã£ãŽã", "ãããŒ"],
["ppÃŽ", "ã£ãœã", "ãããŒ"],
["ppû", "ã£ã·ã", "ãããŒ"],
["ppÄ", "ã£ã±ã", "ãããŒ"],
["ppÄ", "ã£ãºã", "ãããŒ"],
["ppÄ«", "ã£ãŽã", "ãããŒ"],
["ppÅ", "ã£ãœã", "ãããŒ"],
["ppÅ«", "ã£ã·ã", "ãããŒ"],
["pu", "ã·", "ã"],
["puu", "ã·ã", "ããŒ"],
["pya", "ãŽã", "ãã£"],
["pyaa", "ãŽãã", "ãã£ãŒ"],
["pye", "ãŽã", "ãã§"],
["pyee", "ãŽãã", "ãã§ãŒ"],
["pyi", "ãŽã", "ãã£"],
["pyii", "ãŽãã", "ãã£ãŒ"],
["pyo", "ãŽã", "ãã§"],
["pyoo", "ãŽãã", "ãã§ãŒ"],
["pyou", "ãŽãã", "ãã§ãŒ"],
["pyu", "ãŽã
", "ãã¥"],
["pyuu", "ãŽã
ã", "ãã¥ãŒ"],
["pyâ", "ãŽãã", "ãã£ãŒ"],
["pyê", "ãŽãã", "ãã§ãŒ"],
["pyî", "ãŽãã", "ãã£ãŒ"],
["pyÃŽ", "ãŽãã", "ãã§ãŒ"],
["pyû", "ãŽã
ã", "ãã¥ãŒ"],
["pyÄ", "ãŽãã", "ãã£ãŒ"],
["pyÄ", "ãŽãã", "ãã§ãŒ"],
["pyÄ«", "ãŽãã", "ãã£ãŒ"],
["pyÅ", "ãŽãã", "ãã§ãŒ"],
["pyÅ«", "ãŽã
ã", "ãã¥ãŒ"],
["pâ", "ã±ã", "ããŒ"],
["pê", "ãºã", "ããŒ"],
["pî", "ãŽã", "ããŒ"],
["pÃŽ", "ãœã", "ããŒ"],
["pû", "ã·ã", "ããŒ"],
["pÄ", "ã±ã", "ããŒ"],
["pÄ", "ãºã", "ããŒ"],
["pÄ«", "ãŽã", "ããŒ"],
["pÅ", "ãœã", "ããŒ"],
["pÅ«", "ã·ã", "ããŒ"],
["q", "ã", "ã¯"],
["qqu", "ã£ãã
", "ãã¯ã¥"],
["qqua", "ã£ãã", "ãã¯ã¡"],
["qquaa", "ã£ããã", "ãã¯ã¡ãŒ"],
["qque", "ã£ãã", "ãã¯ã§"],
["qquee", "ã£ããã", "ãã¯ã§ãŒ"],
["qqui", "ã£ãã", "ãã¯ã£"],
["qquii", "ã£ããã", "ãã¯ã£ãŒ"],
["qquo", "ã£ãã", "ãã¯ã©"],
["qquoo", "ã£ããã", "ãã¯ã©ãŒ"],
["qquou", "ã£ããã", "ãã¯ã©ãŒ"],
["qquu", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["qquâ", "ã£ããã", "ãã¯ã¡ãŒ"],
["qquê", "ã£ããã", "ãã¯ã§ãŒ"],
["qquî", "ã£ããã", "ãã¯ã£ãŒ"],
["qquÃŽ", "ã£ããã", "ãã¯ã©ãŒ"],
["qquÄ", "ã£ããã", "ãã¯ã¡ãŒ"],
["qquÄ", "ã£ããã", "ãã¯ã§ãŒ"],
["qquÄ«", "ã£ããã", "ãã¯ã£ãŒ"],
["qquÅ", "ã£ããã", "ãã¯ã©ãŒ"],
["qqû", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["qqÅ«", "ã£ãã
ã", "ãã¯ã¥ãŒ"],
["qu", "ãã
", "ã¯ã¥"],
["qua", "ãã", "ã¯ã¡"],
["quaa", "ããã", "ã¯ã¡ãŒ"],
["que", "ãã", "ã¯ã§"],
["quee", "ããã", "ã¯ã§ãŒ"],
["qui", "ãã", "ã¯ã£"],
["quii", "ããã", "ã¯ã£ãŒ"],
["quo", "ãã", "ã¯ã©"],
["quoo", "ããã", "ã¯ã©ãŒ"],
["quou", "ããã", "ã¯ã©ãŒ"],
["quu", "ãã
ã", "ã¯ã¥ãŒ"],
["quâ", "ããã", "ã¯ã¡ãŒ"],
["quê", "ããã", "ã¯ã§ãŒ"],
["quî", "ããã", "ã¯ã£ãŒ"],
["quÃŽ", "ããã", "ã¯ã©ãŒ"],
["quÄ", "ããã", "ã¯ã¡ãŒ"],
["quÄ", "ããã", "ã¯ã§ãŒ"],
["quÄ«", "ããã", "ã¯ã£ãŒ"],
["quÅ", "ããã", "ã¯ã©ãŒ"],
["qû", "ãã
ã", "ã¯ã¥ãŒ"],
["qÅ«", "ãã
ã", "ã¯ã¥ãŒ"],
["r", "ã", "ã«"],
["ra", "ã", "ã©"],
["raa", "ãã", "ã©ãŒ"],
["re", "ã", "ã¬"],
["ree", "ãã", "ã¬ãŒ"],
["ri", "ã", "ãª"],
["rii", "ãã", "ãªãŒ"],
["rl", "ã£ã", "ãã«"],
["rla", "ã£ã", "ãã©"],
["rlaa", "ã£ãã", "ãã©ãŒ"],
["rle", "ã£ã", "ãã¬"],
["rlee", "ã£ãã", "ãã¬ãŒ"],
["rli", "ã£ã", "ããª"],
["rlii", "ã£ãã", "ããªãŒ"],
["rlo", "ã£ã", "ãã"],
["rloo", "ã£ãã", "ãããŒ"],
["rlou", "ã£ãã", "ãããŒ"],
["rlu", "ã£ã", "ãã«"],
["rluu", "ã£ãã", "ãã«ãŒ"],
["rlya", "ã£ãã", "ããªã£"],
["rlyaa", "ã£ããã", "ããªã£ãŒ"],
["rlye", "ã£ãã", "ããªã§"],
["rlyee", "ã£ããã", "ããªã§ãŒ"],
["rlyi", "ã£ãã", "ããªã£"],
["rlyii", "ã£ããã", "ããªã£ãŒ"],
["rlyo", "ã£ãã", "ããªã§"],
["rlyoo", "ã£ããã", "ããªã§ãŒ"],
["rlyou", "ã£ããã", "ããªã§ãŒ"],
["rlyu", "ã£ãã
", "ããªã¥"],
["rlyuu", "ã£ãã
ã", "ããªã¥ãŒ"],
["rlyâ", "ã£ããã", "ããªã£ãŒ"],
["rlyê", "ã£ããã", "ããªã§ãŒ"],
["rlyî", "ã£ããã", "ããªã£ãŒ"],
["rlyÃŽ", "ã£ããã", "ããªã§ãŒ"],
["rlyû", "ã£ãã
ã", "ããªã¥ãŒ"],
["rlyÄ", "ã£ããã", "ããªã£ãŒ"],
["rlyÄ", "ã£ããã", "ããªã§ãŒ"],
["rlyÄ«", "ã£ããã", "ããªã£ãŒ"],
["rlyÅ", "ã£ããã", "ããªã§ãŒ"],
["rlyÅ«", "ã£ãã
ã", "ããªã¥ãŒ"],
["rlâ", "ã£ãã", "ãã©ãŒ"],
["rlê", "ã£ãã", "ãã¬ãŒ"],
["rlî", "ã£ãã", "ããªãŒ"],
["rlÃŽ", "ã£ãã", "ãããŒ"],
["rlû", "ã£ãã", "ãã«ãŒ"],
["rlÄ", "ã£ãã", "ãã©ãŒ"],
["rlÄ", "ã£ãã", "ãã¬ãŒ"],
["rlÄ«", "ã£ãã", "ããªãŒ"],
["rlÅ", "ã£ãã", "ãããŒ"],
["rlÅ«", "ã£ãã", "ãã«ãŒ"],
["ro", "ã", "ã"],
["roo", "ãã", "ããŒ"],
["rou", "ãã", "ããŒ"],
["rr", "ã£ã", "ãã«"],
["rra", "ã£ã", "ãã©"],
["rraa", "ã£ãã", "ãã©ãŒ"],
["rre", "ã£ã", "ãã¬"],
["rree", "ã£ãã", "ãã¬ãŒ"],
["rri", "ã£ã", "ããª"],
["rrii", "ã£ãã", "ããªãŒ"],
["rro", "ã£ã", "ãã"],
["rroo", "ã£ãã", "ãããŒ"],
["rrou", "ã£ãã", "ãããŒ"],
["rru", "ã£ã", "ãã«"],
["rruu", "ã£ãã", "ãã«ãŒ"],
["rrya", "ã£ãã", "ããªã£"],
["rryaa", "ã£ããã", "ããªã£ãŒ"],
["rrye", "ã£ãã", "ããªã§"],
["rryee", "ã£ããã", "ããªã§ãŒ"],
["rryi", "ã£ãã", "ããªã£"],
["rryii", "ã£ããã", "ããªã£ãŒ"],
["rryo", "ã£ãã", "ããªã§"],
["rryoo", "ã£ããã", "ããªã§ãŒ"],
["rryou", "ã£ããã", "ããªã§ãŒ"],
["rryu", "ã£ãã
", "ããªã¥"],
["rryuu", "ã£ãã
ã", "ããªã¥ãŒ"],
["rryâ", "ã£ããã", "ãã©ã€ãŒ"],
["rryê", "ã£ããã", "ããªã§ãŒ"],
["rryî", "ã£ããã", "ããªã£ãŒ"],
["rryÃŽ", "ã£ããã", "ããªã§ãŒ"],
["rryû", "ã£ãã
ã", "ããªã¥ãŒ"],
["rryÄ", "ã£ããã", "ããªã£ãŒ"],
["rryÄ", "ã£ããã", "ããªã§ãŒ"],
["rryÄ«", "ã£ããã", "ããªã£ãŒ"],
["rryÅ", "ã£ããã", "ããªã§ãŒ"],
["rryÅ«", "ã£ãã
ã", "ããªã¥ãŒ"],
["rrâ", "ã£ãã", "ãã©ãŒ"],
["rrê", "ã£ãã", "ãã¬ãŒ"],
["rrî", "ã£ãã", "ããªãŒ"],
["rrÃŽ", "ã£ãã", "ãããŒ"],
["rrû", "ã£ãã", "ãã«ãŒ"],
["rrÄ", "ã£ãã", "ãã©ãŒ"],
["rrÄ", "ã£ãã", "ãã¬ãŒ"],
["rrÄ«", "ã£ãã", "ããªãŒ"],
["rrÅ", "ã£ãã", "ãããŒ"],
["rrÅ«", "ã£ãã", "ãã«ãŒ"],
["ru", "ã", "ã«"],
["ruu", "ãã", "ã«ãŒ"],
["rya", "ãã", "ãªã£"],
["ryaa", "ããã", "ãªã£ãŒ"],
["rye", "ãã", "ãªã§"],
["ryee", "ããã", "ãªã§ãŒ"],
["ryi", "ãã", "ãªã£"],
["ryii", "ããã", "ãªã£ãŒ"],
["ryo", "ãã", "ãªã§"],
["ryoo", "ããã", "ãªã§ãŒ"],
["ryou", "ããã", "ãªã§ãŒ"],
["ryu", "ãã
", "ãªã¥"],
["ryuu", "ãã
ã", "ãªã¥ãŒ"],
["ryâ", "ããã", "ãªã£ãŒ"],
["ryê", "ããã", "ãªã§ãŒ"],
["ryî", "ããã", "ãªã£ãŒ"],
["ryÃŽ", "ããã", "ãªã§ãŒ"],
["ryû", "ãã
ã", "ãªã¥ãŒ"],
["ryÄ", "ããã", "ãªã£ãŒ"],
["ryÄ", "ããã", "ãªã§ãŒ"],
["ryÄ«", "ããã", "ãªã£ãŒ"],
["ryÅ", "ããã", "ãªã§ãŒ"],
["ryÅ«", "ãã
ã", "ãªã¥ãŒ"],
["râ", "ãã", "ã©ãŒ"],
["rê", "ãã", "ã¬ãŒ"],
["rî", "ãã", "ãªãŒ"],
["rÃŽ", "ãã", "ããŒ"],
["rû", "ãã", "ã«ãŒ"],
["rÄ", "ãã", "ã©ãŒ"],
["rÄ", "ãã", "ã¬ãŒ"],
["rÄ«", "ãã", "ãªãŒ"],
["rÅ", "ãã", "ããŒ"],
["rÅ«", "ãã", "ã«ãŒ"],
["s", "ã", "ã¹"],
["s'a", "ãã", "ã¹ã¡"],
["s'aa", "ããã", "ã¹ã¡ãŒ"],
["s'e", "ãã", "ã¹ã§"],
["s'ee", "ããã", "ã¹ã§ãŒ"],
["s'i", "ãã", "ã¹ã£"],
["s'ii", "ããã", "ã¹ã£ãŒ"],
["s'o", "ãã", "ã¹ã©"],
["s'oo", "ããã", "ã¹ã©ãŒ"],
["s'ou", "ããã", "ã¹ã©ãŒ"],
["s'u", "ãã
", "ã¹ã¥"],
["s'uu", "ãã
ã", "ã¹ã¥ãŒ"],
["s'â", "ããã", "ã¹ã¡ãŒ"],
["s'ê", "ããã", "ã¹ã§ãŒ"],
["s'î", "ããã", "ã¹ã£ãŒ"],
["s'ÃŽ", "ããã", "ã¹ã©ãŒ"],
["s'û", "ãã
ã", "ã¹ã¥ãŒ"],
["s'Ä", "ããã", "ã¹ã¡ãŒ"],
["s'Ä", "ããã", "ã¹ã§ãŒ"],
["s'Ä«", "ããã", "ã¹ã£ãŒ"],
["s'Å", "ããã", "ã¹ã©ãŒ"],
["s'Å«", "ãã
ã", "ã¹ã¥ãŒ"],
["sa", "ã", "ãµ"],
["saa", "ãã", "ãµãŒ"],
["se", "ã", "ã»"],
["see", "ãã", "ã»ãŒ"],
["sha", "ãã", "ã·ã£"],
["shaa", "ããã", "ã·ã£ãŒ"],
["she", "ãã", "ã·ã§"],
["shee", "ããã", "ã·ã§ãŒ"],
["shi", "ã", "ã·"],
["shii", "ãã", "ã·ãŒ"],
["sho", "ãã", "ã·ã§"],
["shoo", "ããã", "ã·ã§ãŒ"],
["shou", "ããã", "ã·ã§ãŒ"],
["shu", "ãã
", "ã·ã¥"],
["shuu", "ãã
ã", "ã·ã¥ãŒ"],
["shâ", "ããã", "ã·ã£ãŒ"],
["shê", "ããã", "ã·ã§ãŒ"],
["shî", "ãã", "ã·ãŒ"],
["shÃŽ", "ããã", "ã·ã§ãŒ"],
["shû", "ãã
ã", "ã·ã¥ãŒ"],
["shÄ", "ããã", "ã·ã£ãŒ"],
["shÄ", "ããã", "ã·ã§ãŒ"],
["shÄ«", "ãã", "ã·ãŒ"],
["shÅ", "ããã", "ã·ã§ãŒ"],
["shÅ«", "ãã
ã", "ã·ã¥ãŒ"],
["si", "ã", "ã·"],
["sii", "ãã", "ã·ãŒ"],
["so", "ã", "ãœ"],
["soo", "ãã", "ãœãŒ"],
["sou", "ãã", "ãœãŒ"],
["ss", "ã£ã", "ãã¹"],
["ss'a", "ã£ãã", "ãã¹ã¡"],
["ss'aa", "ã£ããã", "ãã¹ã¡ãŒ"],
["ss'e", "ã£ãã", "ãã¹ã§"],
["ss'ee", "ã£ããã", "ãã¹ã§ãŒ"],
["ss'i", "ã£ãã", "ãã¹ã"],
["ss'ii", "ã£ããã", "ãã¹ããŒ"],
["ss'o", "ã£ãã", "ãã¹ã©"],
["ss'oo", "ã£ããã", "ãã¹ã©ãŒ"],
["ss'ou", "ã£ããã", "ãã¹ã©ãŒ"],
["ss'u", "ã£ãã
", "ãã¹ã¥"],
["ss'uu", "ã£ãã
ã", "ãã¹ã¥ãŒ"],
["ss'â", "ã£ããã", "ãã¹ã¡ãŒ"],
["ss'ê", "ã£ããã", "ãã¹ã§ãŒ"],
["ss'î", "ã£ããã", "ãã¹ããŒ"],
["ss'ÃŽ", "ã£ããã", "ãã¹ã©ãŒ"],
["ss'û", "ã£ãã
ã", "ãã¹ã¥ãŒ"],
["ss'Ä", "ã£ããã", "ãã¹ã¡ãŒ"],
["ss'Ä", "ã£ããã", "ãã¹ã§ãŒ"],
["ss'Ä«", "ã£ããã", "ãã¹ããŒ"],
["ss'Å", "ã£ããã", "ãã¹ã©ãŒ"],
["ss'Å«", "ã£ãã
ã", "ãã¹ã¥ãŒ"],
["ssa", "ã£ã", "ããµ"],
["ssaa", "ã£ãã", "ããµãŒ"],
["sse", "ã£ã", "ãã»"],
["ssee", "ã£ãã", "ãã»ãŒ"],
["ssha", "ã£ãã", "ãã·ã£"],
["sshaa", "ã£ããã", "ãã·ã£ãŒ"],
["sshe", "ã£ãã", "ãã·ã§"],
["sshee", "ã£ããã", "ãã·ã§ãŒ"],
["sshi", "ã£ã", "ãã·"],
["sshii", "ã£ãã", "ãã·ãŒ"],
["ssho", "ã£ãã", "ãã·ã§"],
["sshoo", "ã£ããã", "ãã·ã§ãŒ"],
["sshou", "ã£ããã", "ãã·ã§ãŒ"],
["sshu", "ã£ãã
", "ãã·ã¥"],
["sshuu", "ã£ãã
ã", "ãã·ã¥ãŒ"],
["sshâ", "ã£ããã", "ãã·ã£ãŒ"],
["sshê", "ã£ããã", "ãã·ã§ãŒ"],
["sshî", "ã£ãã", "ãã·ãŒ"],
["sshÃŽ", "ã£ããã", "ãã·ã§ãŒ"],
["sshû", "ã£ãã
ã", "ãã·ã¥ãŒ"],
["sshÄ", "ã£ããã", "ãã·ã£ãŒ"],
["sshÄ", "ã£ããã", "ãã·ã§ãŒ"],
["sshÄ«", "ã£ãã", "ãã·ãŒ"],
["sshÅ", "ã£ããã", "ãã·ã§ãŒ"],
["sshÅ«", "ã£ãã
ã", "ãã·ã¥ãŒ"],
["ssi", "ã£ã", "ãã·"],
["ssii", "ã£ãã", "ãã·ãŒ"],
["sso", "ã£ã", "ããœ"],
["ssoo", "ã£ãã", "ããœãŒ"],
["ssou", "ã£ãã", "ããœãŒ"],
["ssu", "ã£ã", "ãã¹"],
["ssuu", "ã£ãã", "ãã¹ãŒ"],
["ssya", "ã£ãã", "ãã·ã£"],
["ssyaa", "ã£ããã", "ãã·ã£ãŒ"],
["ssye", "ã£ãã", "ãã·ã§"],
["ssyee", "ã£ããã", "ãã·ã§ãŒ"],
["ssyi", "ã£ãã", "ãã·ã£"],
["ssyii", "ã£ããã", "ãã·ã£ãŒ"],
["ssyo", "ã£ãã", "ãã·ã§"],
["ssyoo", "ã£ããã", "ãã·ã§ãŒ"],
["ssyou", "ã£ããã", "ãã·ã§ãŒ"],
["ssyu", "ã£ãã
", "ãã·ã¥"],
["ssyuu", "ã£ãã
ã", "ãã·ã¥ãŒ"],
["ssyâ", "ã£ããã", "ãã·ã£ãŒ"],
["ssyê", "ã£ããã", "ãã·ã§ãŒ"],
["ssyî", "ã£ããã", "ãã·ã£ãŒ"],
["ssyÃŽ", "ã£ããã", "ãã·ã§ãŒ"],
["ssyû", "ã£ãã
ã", "ãã·ã¥ãŒ"],
["ssyÄ", "ã£ããã", "ãã·ã£ãŒ"],
["ssyÄ", "ã£ããã", "ãã·ã§ãŒ"],
["ssyÄ«", "ã£ããã", "ãã·ã£ãŒ"],
["ssyÅ", "ã£ããã", "ãã·ã§ãŒ"],
["ssyÅ«", "ã£ãã
ã", "ãã·ã¥ãŒ"],
["ssâ", "ã£ãã", "ããµãŒ"],
["ssê", "ã£ãã", "ãã»ãŒ"],
["ssî", "ã£ãã", "ãã·ãŒ"],
["ssÃŽ", "ã£ãã", "ããœãŒ"],
["ssû", "ã£ãã", "ãã¹ãŒ"],
["ssÄ", "ã£ãã", "ããµãŒ"],
["ssÄ", "ã£ãã", "ãã»ãŒ"],
["ssÄ«", "ã£ãã", "ãã·ãŒ"],
["ssÅ", "ã£ãã", "ããœãŒ"],
["ssÅ«", "ã£ãã", "ãã¹ãŒ"],
["su", "ã", "ã¹"],
["suu", "ãã", "ã¹ãŒ"],
["sya", "ãã", "ã·ã£"],
["syaa", "ããã", "ã·ã£ãŒ"],
["sye", "ãã", "ã·ã§"],
["syee", "ããã", "ã·ã§ãŒ"],
["syi", "ãã", "ã·ã£"],
["syii", "ããã", "ã·ã£ãŒ"],
["syo", "ãã", "ã·ã§"],
["syoo", "ããã", "ã·ã§ãŒ"],
["syou", "ããã", "ã·ã§ãŒ"],
["syu", "ãã
", "ã·ã¥"],
["syuu", "ãã
ã", "ã·ã¥ãŒ"],
["syâ", "ããã", "ã·ã£ãŒ"],
["syê", "ããã", "ã·ã§ãŒ"],
["syî", "ããã", "ã·ã£ãŒ"],
["syÃŽ", "ããã", "ã·ã§ãŒ"],
["syû", "ãã
ã", "ã·ã¥ãŒ"],
["syÄ", "ããã", "ã·ã£ãŒ"],
["syÄ", "ããã", "ã·ã§ãŒ"],
["syÄ«", "ããã", "ã·ã£ãŒ"],
["syÅ", "ããã", "ã·ã§ãŒ"],
["syÅ«", "ãã
ã", "ã·ã¥ãŒ"],
["sâ", "ãã", "ãµãŒ"],
["sê", "ãã", "ã»ãŒ"],
["sî", "ãã", "ã·ãŒ"],
["sÃŽ", "ãã", "ãœãŒ"],
["sû", "ãã", "ã¹ãŒ"],
["sÄ", "ãã", "ãµãŒ"],
["sÄ", "ãã", "ã»ãŒ"],
["sÄ«", "ãã", "ã·ãŒ"],
["sÅ", "ãã", "ãœãŒ"],
["sÅ«", "ãã", "ã¹ãŒ"],
["t", "ãš", "ã"],
["t'a", "ãšã", "ãã¡"],
["t'aa", "ãšãã", "ãã¡ãŒ"],
["t'e", "ãšã", "ãã§"],
["t'ee", "ãšãã", "ãã§ãŒ"],
["t'i", "ãŠã", "ãã£"],
["t'ii", "ãŠãã", "ãã£ãŒ"],
["t'o", "ãšã", "ãã©"],
["t'oo", "ãšãã", "ãã©ãŒ"],
["t'ou", "ãšãã", "ãã©ãŒ"],
["t'u", "ãšã
", "ãã¥"],
["t'â", "ãšãã", "ãã¡ãŒ"],
["t'ê", "ãšãã", "ãã§ãŒ"],
["t'î", "ãŠãã", "ãã£ãŒ"],
["t'ÃŽ", "ãšãã", "ãã©ãŒ"],
["t'Ä", "ãšãã", "ãã¡ãŒ"],
["t'Ä", "ãšãã", "ãã§ãŒ"],
["t'Ä«", "ãŠãã", "ãã£ãŒ"],
["t'Å", "ãšãã", "ãã©ãŒ"],
["ta", "ã", "ã¿"],
["taa", "ãã", "ã¿ãŒ"],
["tcha", "ã£ã¡ã", "ããã£"],
["tchaa", "ã£ã¡ãã", "ããã£ãŒ"],
["tche", "ã£ã¡ã", "ããã§"],
["tchee", "ã£ã¡ãã", "ããã§ãš"],
["tchi", "ã£ã¡", "ãã"],
["tchii", "ã£ã¡ã", "ãããŒ"],
["tcho", "ã£ã¡ã", "ããã§"],
["tchoo", "ã£ã¡ãã", "ããã§ãŒ"],
["tchou", "ã£ã¡ãã", "ããã§ãŒ"],
["tchu", "ã£ã¡ã
", "ããã¥"],
["tchuu", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["tchâ", "ã£ã¡ãã", "ããã£ãŒ"],
["tchê", "ã£ã¡ãã", "ããã§ãš"],
["tchî", "ã£ã¡ã", "ãããŒ"],
["tchÃŽ", "ã£ã¡ãã", "ããã§ãŒ"],
["tchû", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["tchÄ", "ã£ã¡ãã", "ããã£ãŒ"],
["tchÄ", "ã£ã¡ãã", "ããã§ãš"],
["tchÄ«", "ã£ã¡ã", "ãããŒ"],
["tchÅ", "ã£ã¡ãã", "ããã§ãŒ"],
["tchÅ«", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["te", "ãŠ", "ã"],
["tee", "ãŠã", "ããŒ"],
["ti", "ã¡", "ã"],
["tii", "ã¡ã", "ããŒ"],
["to", "ãš", "ã"],
["too", "ãšã", "ããŒ"],
["tou", "ãšã", "ããŒ"],
["tsa", "ã€ã", "ãã¡"],
["tsaa", "ã€ãã", "ãã¡ãŒ"],
["tse", "ã€ã", "ãã§"],
["tsee", "ã€ãã", "ãã§ãŒ"],
["tsi", "ã€ã", "ãã£"],
["tsii", "ã€ãã", "ãã£ãŒ"],
["tso", "ã€ã", "ãã©"],
["tsoo", "ã€ãã", "ãã©ãŒ"],
["tsou", "ã€ãã", "ãã©ãŒ"],
["tsu", "ã€", "ã"],
["tsuu", "ã€ã", "ããŒ"],
["tsâ", "ã€ãã", "ãã¡ãŒ"],
["tsê", "ã€ãã", "ãã§ãŒ"],
["tsî", "ã€ãã", "ãã£ãŒ"],
["tsÃŽ", "ã€ãã", "ãã©ãŒ"],
["tsû", "ã€ã", "ããŒ"],
["tsÄ", "ã€ãã", "ãã¡ãŒ"],
["tsÄ", "ã€ãã", "ãã§ãŒ"],
["tsÄ«", "ã€ãã", "ãã£ãŒ"],
["tsÅ", "ã€ãã", "ãã©ãŒ"],
["tsÅ«", "ã€ã", "ããŒ"],
["tt", "ã£ãš", "ãã"],
["tt'a", "ã£ãšã", "ããã¡"],
["tt'aa", "ã£ãšãã", "ããã¡ãŒ"],
["tt'e", "ã£ãšã", "ããã§"],
["tt'ee", "ã£ãšãã", "ããã§ãŒ"],
["tt'i", "ã£ãŠã", "ããã£"],
["tt'ii", "ã£ãŠãã", "ããã£ãŒ"],
["tt'o", "ã£ãšã", "ããã©"],
["tt'oo", "ã£ãšãã", "ããã©ãŒ"],
["tt'ou", "ã£ãšãã", "ããã©ãŒ"],
["tt'u", "ã£ãšã
", "ããã¥"],
["tt'â", "ã£ãšãã", "ããã¡ãŒ"],
["tt'ê", "ã£ãšãã", "ããã§ãŒ"],
["tt'î", "ã£ãŠãã", "ããã£ãŒ"],
["tt'ÃŽ", "ã£ãšãã", "ããã©ãŒ"],
["tt'Ä", "ã£ãšãã", "ããã¡ãŒ"],
["tt'Ä", "ã£ãšãã", "ããã§ãŒ"],
["tt'Ä«", "ã£ãŠãã", "ããã£ãŒ"],
["tt'Å", "ã£ãšãã", "ããã©ãŒ"],
["tta", "ã£ã", "ãã¿"],
["ttaa", "ã£ãã", "ãã¿ãŒ"],
["tte", "ã£ãŠ", "ãã"],
["ttee", "ã£ãŠã", "ãããŒ"],
["tti", "ã£ã¡", "ãã"],
["ttii", "ã£ã¡ã", "ãããŒ"],
["tto", "ã£ãš", "ãã"],
["ttoo", "ã£ãšã", "ãããŒ"],
["ttou", "ã£ãšã", "ãããŒ"],
["ttsa", "ã£ã€ã", "ããã¡"],
["ttsaa", "ã£ã€ãã", "ããã¡ãŒ"],
["ttse", "ã£ã€ã", "ããã§"],
["ttsee", "ã£ã€ãã", "ããã§ãŒ"],
["ttsi", "ã£ã€ã", "ããã£"],
["ttsii", "ã£ã€ãã", "ããã£ãŒ"],
["ttso", "ã£ã€ã", "ããã©"],
["ttsoo", "ã£ã€ãã", "ããã©ãŒ"],
["ttsou", "ã£ã€ãã", "ããã©ãŒ"],
["ttsu", "ã£ã€", "ãã"],
["ttsuu", "ã£ã€ã", "ãããŒ"],
["ttsâ", "ã£ã€ãã", "ããã¡ãŒ"],
["ttsê", "ã£ã€ãã", "ããã§ãŒ"],
["ttsî", "ã£ã€ãã", "ããã£ãŒ"],
["ttsÃŽ", "ã£ã€ãã", "ããã©ãŒ"],
["ttsû", "ã£ã€ã", "ãããŒ"],
["ttsÄ", "ã£ã€ãã", "ããã¡ãŒ"],
["ttsÄ", "ã£ã€ãã", "ããã§ãŒ"],
["ttsÄ«", "ã£ã€ãã", "ããã£ãŒ"],
["ttsÅ", "ã£ã€ãã", "ããã©ãŒ"],
["ttsÅ«", "ã£ã€ã", "ãããŒ"],
["ttu", "ã£ã€", "ãã"],
["ttuu", "ã£ã€ã", "ãããŒ"],
["ttya", "ã£ã¡ã", "ããã£"],
["ttyaa", "ã£ã¡ãã", "ããã£ãŒ"],
["ttye", "ã£ã¡ã", "ããã§"],
["ttyee", "ã£ã¡ãã", "ããã§ãŒ"],
["ttyi", "ã£ã¡ã", "ããã£"],
["ttyii", "ã£ã¡ãã", "ããã£ãŒ"],
["ttyo", "ã£ã¡ã", "ããã§"],
["ttyoo", "ã£ã¡ãã", "ããã§ãŒ"],
["ttyou", "ã£ã¡ãã", "ããã§ãŒ"],
["ttyu", "ã£ã¡ã
", "ããã¥"],
["ttyuu", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["ttyâ", "ã£ã¡ãã", "ããã£ãŒ"],
["ttyê", "ã£ã¡ãã", "ããã§ãŒ"],
["ttyî", "ã£ã¡ãã", "ããã£ãŒ"],
["ttyÃŽ", "ã£ã¡ãã", "ããã§ãŒ"],
["ttyû", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["ttyÄ", "ã£ã¡ãã", "ããã£ãŒ"],
["ttyÄ", "ã£ã¡ãã", "ããã§ãŒ"],
["ttyÄ«", "ã£ã¡ãã", "ããã£ãŒ"],
["ttyÅ", "ã£ã¡ãã", "ããã§ãŒ"],
["ttyÅ«", "ã£ã¡ã
ã", "ããã¥ãŒ"],
["ttâ", "ã£ãã", "ãã¿ãŒ"],
["ttê", "ã£ãŠã", "ãããŒ"],
["ttî", "ã£ã¡ã", "ãããŒ"],
["ttÃŽ", "ã£ãšã", "ãããŒ"],
["ttû", "ã£ã€ã", "ãããŒ"],
["ttÄ", "ã£ãã", "ãã¿ãŒ"],
["ttÄ", "ã£ãŠã", "ãããŒ"],
["ttÄ«", "ã£ã¡ã", "ãããŒ"],
["ttÅ", "ã£ãšã", "ãããŒ"],
["ttÅ«", "ã£ã€ã", "ãããŒ"],
["tu", "ã€", "ã"],
["tuu", "ã€ã", "ããŒ"],
["tya", "ã¡ã", "ãã£"],
["tyaa", "ã¡ãã", "ãã£ãŒ"],
["tye", "ã¡ã", "ãã§"],
["tyee", "ã¡ãã", "ãã§ãŒ"],
["tyi", "ã¡ã", "ãã£"],
["tyii", "ã¡ãã", "ãã£ãŒ"],
["tyo", "ã¡ã", "ãã§"],
["tyoo", "ã¡ãã", "ãã§ãŒ"],
["tyou", "ã¡ãã", "ãã§ãŒ"],
["tyu", "ã¡ã
", "ãã¥"],
["tyuu", "ã¡ã
ã", "ãã¥ãŒ"],
["tyâ", "ã¡ãã", "ãã£ãŒ"],
["tyê", "ã¡ãã", "ãã§ãŒ"],
["tyî", "ã¡ãã", "ãã£ãŒ"],
["tyÃŽ", "ã¡ãã", "ãã§ãŒ"],
["tyû", "ã¡ã
ã", "ãã¥ãŒ"],
["tyÄ", "ã¡ãã", "ãã£ãŒ"],
["tyÄ", "ã¡ãã", "ãã§ãŒ"],
["tyÄ«", "ã¡ãã", "ãã£ãŒ"],
["tyÅ", "ã¡ãã", "ãã§ãŒ"],
["tyÅ«", "ã¡ã
ã", "ãã¥ãŒ"],
["tâ", "ãã", "ã¿ãŒ"],
["tê", "ãŠã", "ããŒ"],
["tî", "ã¡ã", "ããŒ"],
["tÃŽ", "ãšã", "ããŒ"],
["tû", "ã€ã", "ããŒ"],
["tÄ", "ãã", "ã¿ãŒ"],
["tÄ", "ãŠã", "ããŒ"],
["tÄ«", "ã¡ã", "ããŒ"],
["tÅ", "ãšã", "ããŒ"],
["tÅ«", "ã€ã", "ããŒ"],
["u", "ã", "ãŠ"],
["uu", "ãã", "ãŠãŒ"],
["v", "ã", "ãŽ"],
["va", "ãã", "ãŽã¡"],
["vaa", "ããã", "ãŽã¡ãŒ"],
["ve", "ãã", "ãŽã§"],
["vee", "ããã", "ãŽã§ãŒ"],
["vi", "ãã", "ãŽã£"],
["vii", "ããã", "ãŽã£ãŒ"],
["vo", "ãã", "ãŽã©"],
["voo", "ããã", "ãŽã©ãŒ"],
["vou", "ããã", "ãŽã©ãŒ"],
["vu", "ã", "ãŽ"],
["vuu", "ãã", "ãŽãŒ"],
["vv", "ã£ã", "ããŽ"],
["vva", "ã£ãã", "ããŽã¡"],
["vvaa", "ã£ããã", "ããŽã¡ãŒ"],
["vve", "ã£ãã", "ããŽã§"],
["vvee", "ã£ããã", "ããŽã§ãŒ"],
["vvi", "ã£ãã", "ããŽã£"],
["vvii", "ã£ããã", "ããŽã£ãŒ"],
["vvo", "ã£ãã", "ããŽã©"],
["vvoo", "ã£ããã", "ããŽã©ãŒ"],
["vvou", "ã£ããã", "ããŽã©ãŒ"],
["vvu", "ã£ã", "ããŽ"],
["vvuu", "ã£ãã", "ããŽãŒ"],
["vvâ", "ã£ããã", "ããŽã¡ãŒ"],
["vvê", "ã£ããã", "ããŽã§ãŒ"],
["vvî", "ã£ããã", "ããŽã£ãŒ"],
["vvÃŽ", "ã£ããã", "ããŽã©ãŒ"],
["vvû", "ã£ãã", "ããŽãŒ"],
["vvÄ", "ã£ããã", "ããŽã¡ãŒ"],
["vvÄ", "ã£ããã", "ããŽã§ãŒ"],
["vvÄ«", "ã£ããã", "ããŽã£ãŒ"],
["vvÅ", "ã£ããã", "ããŽã©ãŒ"],
["vvÅ«", "ã£ãã", "ããŽãŒ"],
["vâ", "ããã", "ãŽã¡ãŒ"],
["vê", "ããã", "ãŽã§ãŒ"],
["vî", "ããã", "ãŽã£ãŒ"],
["vÃŽ", "ããã", "ãŽã©ãŒ"],
["vû", "ãã", "ãŽãŒ"],
["vÄ", "ããã", "ãŽã¡ãŒ"],
["vÄ", "ããã", "ãŽã§ãŒ"],
["vÄ«", "ããã", "ãŽã£ãŒ"],
["vÅ", "ããã", "ãŽã©ãŒ"],
["vÅ«", "ãã", "ãŽãŒ"],
["w", "ã", "ã¯"],
["w'a", "ãã", "ãŠã¡"],
["w'aa", "ããã", "ãŠã¡ãŒ"],
["w'e", "ãã", "ãŠã§"],
["w'ee", "ããã", "ãŠã§ãŒ"],
["w'i", "ãã", "ãŠã£"],
["w'ii", "ããã", "ãŠã£ãŒ"],
["w'o", "ãã", "ãŠã©"],
["w'oo", "ããã", "ãŠã©ãŒ"],
["w'ou", "ããã", "ãŠã©ãŒ"],
["w'u", "ãã
", "ãŠã¥"],
["w'uu", "ãã
ã", "ãŠã¥ãŒ"],
["w'â", "ããã", "ãŠã¡ãŒ"],
["w'ê", "ããã", "ãŠã§ãŒ"],
["w'î", "ããã", "ãŠã£ãŒ"],
["w'ÃŽ", "ããã", "ãŠã©ãŒ"],
["w'û", "ãã
ã", "ãŠã¥ãŒ"],
["w'Ä", "ããã", "ãŠã¡ãŒ"],
["w'Ä", "ããã", "ãŠã§ãŒ"],
["w'Ä«", "ããã", "ãŠã£ãŒ"],
["w'Å", "ããã", "ãŠã©ãŒ"],
["w'Å«", "ãã
ã", "ãŠã¥ãŒ"],
["wa", "ã", "ã¯"],
["waa", "ãã", "ã¯ãŒ"],
["we", "ã", "ã±"],
["wee", "ãã", "ã±ãŒ"],
["wi", "ã", "ã°"],
["wii", "ãã", "ã°ãŒ"],
["wo", "ã", "ã²"],
["woo", "ãã", "ã²ãŒ"],
["wou", "ãã", "ã²ãŒ"],
["wu", "ãã
", "ãŠã¥"],
["wuu", "ãã
ã", "ãŠã¥ãŒ"],
["ww", "ã£ã", "ãã¯"],
["ww'a", "ã£ãã", "ããŠã¡"],
["ww'aa", "ã£ããã", "ããŠã¡ãŒ"],
["ww'e", "ã£ãã", "ããŠã§"],
["ww'ee", "ã£ããã", "ããŠã§ãŒ"],
["ww'i", "ã£ãã", "ããŠã£"],
["ww'ii", "ã£ããã", "ããŠã£ãŒ"],
["ww'o", "ã£ãã", "ããŠã©"],
["ww'oo", "ã£ããã", "ããŠã©ãŒ"],
["ww'ou", "ã£ããã", "ããŠã©ãŒ"],
["ww'u", "ã£ãã
", "ããŠã¥"],
["ww'uu", "ã£ãã
ã", "ããŠã¥ãŒ"],
["ww'â", "ã£ããã", "ããŠã¡ãŒ"],
["ww'ê", "ã£ããã", "ããŠã§ãŒ"],
["ww'î", "ã£ããã", "ããŠã£ãŒ"],
["ww'ÃŽ", "ã£ããã", "ããŠã©ãŒ"],
["ww'û", "ã£ãã
ã", "ããŠã¥ãŒ"],
["ww'Ä", "ã£ããã", "ããŠã¡ãŒ"],
["ww'Ä", "ã£ããã", "ããŠã§ãŒ"],
["ww'Ä«", "ã£ããã", "ããŠã£ãŒ"],
["ww'Å", "ã£ããã", "ããŠã©ãŒ"],
["ww'Å«", "ã£ãã
ã", "ããŠã¥ãŒ"],
["wwa", "ã£ã", "ãã¯"],
["wwaa", "ã£ãã", "ãã¯ãŒ"],
["wwe", "ã£ã", "ãã±"],
["wwee", "ã£ãã", "ãã±ãŒ"],
["wwi", "ã£ã", "ãã°"],
["wwii", "ã£ãã", "ãã°ãŒ"],
["wwo", "ã£ã", "ãã²"],
["wwoo", "ã£ãã", "ãã²ãŒ"],
["wwou", "ã£ãã", "ãã²ãŒ"],
["wwu", "ã£ãã
", "ããŠã¥"],
["wwuu", "ã£ãã
ã", "ããŠã¥ãŒ"],
["wwâ", "ã£ãã", "ãã¯ãŒ"],
["wwê", "ã£ãã", "ãã±ãŒ"],
["wwî", "ã£ãã", "ãã°ãŒ"],
["wwÃŽ", "ã£ãã", "ãã²ãŒ"],
["wwû", "ã£ãã
ã", "ããŠã¥ãŒ"],
["wwÄ", "ã£ãã", "ãã¯ãŒ"],
["wwÄ", "ã£ãã", "ãã±ãŒ"],
["wwÄ«", "ã£ãã", "ãã°ãŒ"],
["wwÅ", "ã£ãã", "ãã²ãŒ"],
["wwÅ«", "ã£ãã
ã", "ããŠã¥ãŒ"],
["wâ", "ãã", "ã¯ãŒ"],
["wê", "ãã", "ã±ãŒ"],
["wî", "ãã", "ã°ãŒ"],
["wÃŽ", "ãã", "ã²ãŒ"],
["wû", "ãã
ã", "ãŠã¥ãŒ"],
["wÄ", "ãã", "ã¯ãŒ"],
["wÄ", "ãã", "ã±ãŒ"],
["wÄ«", "ãã", "ã°ãŒ"],
["wÅ", "ãã", "ã²ãŒ"],
["wÅ«", "ãã
ã", "ãŠã¥ãŒ"],
["x", "ãã", "ã¯ã¹"],
["x'a", "ãã", "ããµ"],
["x'aa", "ããã", "ããµãŒ"],
["x'e", "ãã", "ãã»"],
["x'ee", "ããã", "ãã»ãŒ"],
["x'i", "ãã", "ãã·"],
["x'ii", "ããã", "ãã·ãŒ"],
["x'o", "ãã", "ããœ"],
["x'oo", "ããã", "ããœãŒ"],
["x'ou", "ããã", "ããœãŒ"],
["x'u", "ãã", "ãã¹"],
["x'uu", "ããã", "ãã¹ãŒ"],
["x'â", "ããã", "ããµãŒ"],
["x'ê", "ããã", "ãã»ãŒ"],
["x'î", "ããã", "ãã·ãŒ"],
["x'ÃŽ", "ããã", "ããœãŒ"],
["x'û", "ããã", "ãã¹ãŒ"],
["x'Ä", "ããã", "ããµãŒ"],
["x'Ä", "ããã", "ãã»ãŒ"],
["x'Ä«", "ããã", "ãã·ãŒ"],
["x'Å", "ããã", "ããœãŒ"],
["x'Å«", "ããã", "ãã¹ãŒ"],
["xa", "ã", "ã¡"],
["xe", "ã", "ã§"],
["xi", "ã", "ã£"],
["xka", "ãµ", "ãµ"],
["xke", "ã¶", "ã¶"],
["xo", "ã", "ã©"],
["xtsu", "ã£", "ã"],
["xtu", "ã£", "ã"],
["xu", "ã
", "ã¥"],
["xx", "ã£ãã", "ãã¯ã¹"],
["xx'a", "ã£ãã", "ãããµ"],
["xx'aa", "ã£ããã", "ãããµãŒ"],
["xx'e", "ã£ãã", "ããã»"],
["xx'ee", "ã£ããã", "ããã»ãŒ"],
["xx'i", "ã£ãã", "ããã·"],
["xx'ii", "ã£ããã", "ããã·ãŒ"],
["xx'o", "ã£ãã", "ãããœ"],
["xx'oo", "ã£ããã", "ãããœãŒ"],
["xx'ou", "ã£ããã", "ãããœãŒ"],
["xx'u", "ã£ãã", "ããã¹"],
["xx'uu", "ã£ããã", "ããã¹ãŒ"],
["xx'â", "ã£ããã", "ãããµãŒ"],
["xx'ê", "ã£ããã", "ããã»ãŒ"],
["xx'î", "ã£ããã", "ããã·ãŒ"],
["xx'ÃŽ", "ã£ããã", "ãããœãŒ"],
["xx'û", "ã£ããã", "ããã¹ãŒ"],
["xx'Ä", "ã£ããã", "ãããµãŒ"],
["xx'Ä", "ã£ããã", "ããã»ãŒ"],
["xx'Ä«", "ã£ããã", "ããã·ãŒ"],
["xx'Å", "ã£ããã", "ãããœãŒ"],
["xx'Å«", "ã£ããã", "ããã¹ãŒ"],
["xya", "ã", "ã£"],
["xyo", "ã", "ã§"],
["xyu", "ã
", "ã¥"],
["y", "ã", "ãŠ"],
["ya", "ã", "ã€"],
["yaa", "ãã", "ã€ãŒ"],
["ye", "ãã", "ã€ã§"],
["yee", "ããã", "ã€ã§ãŒ"],
["yi", "ãã", "ã€ã£"],
["yii", "ããã", "ã€ã£ãŒ"],
["yo", "ã", "ãš"],
["yoo", "ãã", "ãšãŒ"],
["you", "ãã", "ãšãŒ"],
["yu", "ã", "ãŠ"],
["yuu", "ãã", "ãŠãŒ"],
["yy", "ã£ã", "ããŠ"],
["yya", "ã£ã", "ãã€"],
["yyaa", "ã£ãã", "ãã€ãŒ"],
["yye", "ã£ãã", "ãã€ã§"],
["yyee", "ã£ããã", "ãã€ã§ãŒ"],
["yyi", "ã£ãã", "ãã€ã£"],
["yyii", "ã£ããã", "ãã€ã£ãŒ"],
["yyo", "ã£ã", "ããš"],
["yyoo", "ã£ãã", "ããšãŒ"],
["yyou", "ã£ãã", "ããšãŒ"],
["yyu", "ã£ã", "ããŠ"],
["yyuu", "ã£ãã", "ããŠãŒ"],
["yyâ", "ã£ãã", "ãã€ãŒ"],
["yyê", "ã£ããã", "ãã€ã§ãŒ"],
["yyî", "ã£ããã", "ãã€ã£ãŒ"],
["yyÃŽ", "ã£ãã", "ããšãŒ"],
["yyû", "ã£ãã", "ããŠãŒ"],
["yyÄ", "ã£ãã", "ãã€ãŒ"],
["yyÄ", "ã£ããã", "ãã€ã§ãŒ"],
["yyÄ«", "ã£ããã", "ãã€ã£ãŒ"],
["yyÅ", "ã£ãã", "ããšãŒ"],
["yyÅ«", "ã£ãã", "ããŠãŒ"],
["yâ", "ãã", "ã€ãŒ"],
["yê", "ããã", "ã€ã§ãŒ"],
["yî", "ããã", "ã€ã£ãŒ"],
["yÃŽ", "ãã", "ãšãŒ"],
["yû", "ãã", "ãŠãŒ"],
["yÄ", "ãã", "ã€ãŒ"],
["yÄ", "ããã", "ã€ã§ãŒ"],
["yÄ«", "ããã", "ã€ã£ãŒ"],
["yÅ", "ãã", "ãšãŒ"],
["yÅ«", "ãã", "ãŠãŒ"],
["z", "ã", "ãº"],
["za", "ã", "ã¶"],
["zaa", "ãã", "ã¶ãŒ"],
["ze", "ã", "ãŒ"],
["zee", "ãã", "ãŒãŒ"],
["zi", "ã", "ãž"],
["zii", "ãã", "ãžãŒ"],
["zo", "ã", "ãŸ"],
["zoo", "ãã", "ãŸãŒ"],
["zou", "ãã", "ãŸãŒ"],
["zu", "ã", "ãº"],
["zuu", "ãã", "ãºãŒ"],
["zz", "ã£ã", "ããº"],
["zza", "ã£ã", "ãã¶"],
["zzaa", "ã£ãã", "ãã¶ãŒ"],
["zze", "ã£ã", "ããŒ"],
["zzee", "ã£ãã", "ããŒãŒ"],
["zzi", "ã£ã", "ããž"],
["zzii", "ã£ãã", "ããžãŒ"],
["zzo", "ã£ã", "ããŸ"],
["zzoo", "ã£ãã", "ããŸãŒ"],
["zzou", "ã£ãã", "ããŸãŒ"],
["zzu", "ã£ã", "ããº"],
["zzuu", "ã£ãã", "ããºãŒ"],
["zzâ", "ã£ãã", "ãã¶ãŒ"],
["zzê", "ã£ãã", "ããŒãŒ"],
["zzî", "ã£ãã", "ããžãŒ"],
["zzÃŽ", "ã£ãã", "ããŸãŒ"],
["zzû", "ã£ãã", "ããºãŒ"],
["zzÄ", "ã£ãã", "ãã¶ãŒ"],
["zzÄ", "ã£ãã", "ããŒãŒ"],
["zzÄ«", "ã£ãã", "ããžãŒ"],
["zzÅ", "ã£ãã", "ããŸãŒ"],
["zzÅ«", "ã£ãã", "ããºãŒ"],
["zâ", "ãã", "ã¶ãŒ"],
["zê", "ãã", "ãŒãŒ"],
["zî", "ãã", "ãžãŒ"],
["zÃŽ", "ãã", "ãŸãŒ"],
["zû", "ãã", "ãºãŒ"],
["zÄ", "ãã", "ã¶ãŒ"],
["zÄ", "ãã", "ãŒãŒ"],
["zÄ«", "ãã", "ãžãŒ"],
["zÅ", "ãã", "ãŸãŒ"],
["zÅ«", "ãã", "ãºãŒ"],
["â", "ãã", "ã¢ãŒ"],
["ê", "ãã", "ãšãŒ"],
["î", "ãã", "ã€ã€"],
["ÃŽ", "ãã", "ãªãŒ"],
["û", "ãã", "ãŠãŒ"],
["Ä", "ãã", "ã¢ãŒ"],
["Ä", "ãã", "ãšãŒ"],
["Ä«", "ãã", "ã€ã€"],
["Å", "ãã", "ãªãŒ"],
["Å«", "ãã", "ãŠãŒ"],
["[", "ã", "ã"],
["]", "ã", "ã"],
["ãŒ", "ãŒ", "ãŒ"]
]
hashd = {}
maxlen = 0
for i in romajitable:
hashd[i[0]] = {}
hashd[i[0]]['hiragana'] = i[1]
hashd[i[0]]['katakana'] = i[2]
if maxlen < len(i[0]):
maxlen = len(i[0])
def substring(l, ids, ide):
try:
return l[ids:ide]
except IndexError:
return None
def to_kana(word):
romaji = word.lower()
hiragana = ""
katakana = ""
pos = 0
while (pos < len(romaji)):
length = maxlen
if len(romaji)-pos<length:
length = len(romaji)-pos
found = False
while(length > 0 and not found):
lol_str = substring(romaji, pos, pos+length)
obj = hashd.get(lol_str, None)
if obj:
hiragana+=obj['hiragana']
katakana+=obj['katakana']
pos+=length
found = True
length-=1
if not found:
hiragana+=romaji[pos]
katakana+=romaji[pos]
pos+=1
return RomajiWord(hiragana, katakana)
|
def help_menu():
help_text = """speedfetch -- a program for fetching internet speeds and other miscellaneous information about your network
Usage:
speedfetch (no args required but are optional)
ARGS:
--hide-country/-hc: Hides the country when passed
--hide-isp/-hisp: Hides the ISP when passed
--version/-v: Shows the current version of the program
--help/-h: Shows this menu (for help)"""
print(help_text)
def version_menu():
text = """
[Version of speedfetch: 1.0]
https://github.com/polisflatt/speedfetch
polisflatt@gmail.com"""
print(text)
# Convert bits per second to mbps thru divison
def bps_to_mbps(bitspersecond):
return bitspersecond / 1000000
|
def numberOfPaths(arr,row,col,cost):
if cost < 0:
return 0
elif row == 0 and col == 0:
if arr[row][col] - cost == 0:
return 1
else:
return 0
elif row == 0:
return numberOfPaths(arr,0,col-1,cost-arr[row][col])
elif col == 0:
return numberOfPaths(arr,row-1,0,cost-arr[row][col])
else:
op1 = numberOfPaths(arr,row-1,col,cost-arr[row][col])
op2 = numberOfPaths(arr,row,col-1,cost-arr[row][col])
return op1+op2
|
# _*_coding:utf-8_*_
class Solution:
def StrToInt(self, s):
if None is s or len(s) <= 0:
return False
min_value = ord('0')
max_value = ord('9')
plus = ord('+')
sub = ord('-')
index = 1
result = 0
sign = 1
for item in s[::-1]:
temp = ord(item)
if min_value <= temp <= max_value:
result += index * (temp - min_value)
index *= 10
elif plus == temp:
pass
elif sub == temp:
sign = -1
else:
return False
return result * sign
s = Solution()
print(s.StrToInt('1234'))
print(s.StrToInt('+1234'))
print(s.StrToInt('-1234'))
print(s.StrToInt('a1234'))
print(s.StrToInt('1234b'))
print(s.StrToInt('abcdb')) |
HELP_CONTEXT = [
{
'name': 'SHOOT',
'key': 'SPACE'
},
{
'name': 'MOVE LEFT',
'key': 'LEFT'
},
{
'name': 'MOVE RIGHT',
'key': 'RIGHT'
},
{
'name': 'MOVE DOWN',
'key': 'DOWN'
},
{
'name': 'MOVE UP',
'key': 'UP'
}
]
SETTING_CONTEXT = [
{
'name': 'SPEED UP',
'key': '<'
},
{
'name': 'SPEED DOWN',
'key': '>'
},
{
'name': 'MUTE AUDIO',
'key': 'M'
},
{
'name': 'VOLUME UP/DOWN',
'key': '+/-'
}
]
LOADING_CONTEXT = [
{
'text': 'PLAY',
'action': 'game'
},
{
'text': 'SCORES',
'action': 'explain',
'action': 'score'
},
{
'text': 'SUMMARY',
'action': 'summary'
},
{
'text': 'SETTING',
'action': 'setting'
},
{
'text': 'Help',
'action': 'help',
},
]
EXPLAIN_CONTEXT = {
'begin': [
{
'stage': 1,
'text': [
'000 ë..ì... ã·...ìŽ..ëŒ...',
'íã
... ìžê³ ..ã
..첎.... ì§êµ¬...륌 ã
..ëµ íë€....',
'ê·žã·..ìŽ íì¬ ì§êµ¬ ì..ëª
..ã
... ã
ì¢
... ìì í....',
'ë€...ì.. í....ë² ë°ã
... íë€...',
'í... ìžê³ ã
...ëª
..첎.... ã
...구... 칚.. ã
..ë€..',
'íµ...ã
..ìŽ... ã
...ì§.. 못í...ë€....',
'ì¡°ì¢
ë¹...ã
..ë... ì§..ã±...ì....륌 ã
..ì°...ëŒ...',
'ë¹ ã¹...ê².... ì ...늬..ã
...ë...ë¡...í..ã
.... ë¹..ë€...',
]
},
{
'stage': 2,
'text': [
'000 ë..ì... ê³ ....ã
..ë§ì....ë€...',
'ì§êµ¬..ì..ã
..첎륌...ì²...ã¹..í...ë...ëŒ...',
'í...ã
..ë§...ì...ì§... ëã
...ë..ã±..ì..ë..ë€..',
'ì°ã¹..ë... ìŽ..ë€ì... ì°...ã
...ë¡...ì«ã
..ëŒê±°...ë€..',
'ë€..ã
..ë.. ì§..구륌.. 칚..ã¹..íì§..못..íë..ã¹...',
'ìŽë€..ì...ì ..ãŽ.. ë€..ê².. ê³µ..ã±.. ì¡°ì¬...í..ã·..ë¡',
'볎...ã
..ë.. 몚....ã·..ì ë€... ì.. 묎ã
...륎ë...ë¡...',
'ã
..륎..ê².. ì ...ã¹...í...ã·...ë¡...ã
..ìŽì... ã
..ë€...',
]
},
{
'stage': 3,
'text': [
'000 ë..ì... ê³ ....ã
..ë§ì....ë€...',
'ì§êµ¬..ã
..ã
ë³ì..ìžê³..ìëª
..ã
..ã
..ë',
'ã
ã
..ë..ì 늬..ã·..ã
..ã
£ìë€...',
'í...ã
...ã
£...ë§...ìž...ã
...ã
...ãŽ...ê°...ë€ì....',
'ê·žë€ã
...ã
£...칚ëŽ...ã±...ã
...ã
...ì¬...ê²ìŽã·...ã
....',
'ë€..ã
..ë.. ì§..구륌.. 칚..ã¹..íì§..못..íë..ã¹...',
'ìŽ..ã
..ìë..ã
..ã
늬ê°...뚌ã
.ã
..ã
...ê³µã
..ã
ì...',
'ì¶ê²©ã±...ã
ã±...íëŒ...!!',
]
},
],
'dying': {
'stage': 'Ending',
'text': [
'ì§êµ¬ë¥Œ ì§í€ì§ 못íë€...',
'ì§êµ¬ ìëª
첎ë€ì 몚ë ìµë©Žì ê±žë € ë
žìê° ëìë€...',
'ìžê³ ìëª
첎ì ìíŽ ì°ëЬì ì§êµ¬ë ëìŽì ížë¥ž ë³ìŽ ìëë€...',
'ê·žë€ì ì믌ì§ìŒ ë¿ìŽë€...'
]
}
}
# SUMMARY_CONTEXT = [
# {
# 'text': 'Life on Earth is in danger due ',
# },
# {
# 'text': 'to the invasion of extraterrestrial planets',
# },
# {
# 'text': 'It defeats the controlled life on Earth',
# },
# {
# 'text': 'After defeating the fleet surrounding the earth,',
# },
# {
# 'text': 'Let\'s go get revenge on the alien planet.'
# }
# ]
SUMMARY_CONTEXT = [
{
'text': 'ìžê³íì±ì 칚공ìŒë¡ ì§êµ¬ ìëª
첎ë€ìŽ ìííë€ ',
},
{
'text': 'ì¡°ì¢
ë¹íë ì§êµ¬ìëª
첎륌 묎ì°ë¥Žê³ ',
},
{
'text': 'ì§êµ¬ë¥Œ ëë¬ìŒ íšë륌 격íí í',
},
{
'text': 'ìžê³ íì±ì ë³µì륌 íë¬ ê°ì!'
}
]
PAUSE_CONTEXT = [
{
'text': ' Press [ESC] to return Game!!'
},
{
'text': ' Your Score is'
}
]
ENDING_CONTEXT = [
{
'text': ' Press [SPACE] to show score!!'
}
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.