Python 競技プログラミング用語
Pythonで競プロをする時に早くうちたい1行用語・構文集
関連タイピング
-
遅延伝搬反転可能乱択平衡二分木と一回打つだけ
プレイ回数192かな48打 -
python 基本
プレイ回数571英字120打 -
Pythonプログラムを打ちまくる
プレイ回数9379英語長文60秒 -
Pythonで初心者が使いそうなワードのタイピング
プレイ回数477英語30秒 -
競技プログラミングに特化したc++コードのタイピングです。
プレイ回数2765英語長文300秒 -
プレイ回数676英語短文159打
-
pythonコードで、現れたタイピングです。
プレイ回数1920英語60秒 -
※long long → ll, vector → vc
プレイ回数155英語90秒
問題文
ふりがな非表示
ふりがな表示
(cython)
cython
(pypy)
pypy
(n = int(input()))
n = int(input())
(if n == 1:)
if n == 1:
(print("yes" if n%2 else "no"))
print("yes" if n%2 else "no")
(def factorial(x):)
def factorial(x):
(import math)
import math
(import numpy)
import numpy
(else:)
else:
(pow(x,y,z))
pow(x,y,z)
(while a:)
while a:
(for i in range(n):)
for i in range(n):
(elif n == 0:)
elif n == 0:
(from math import sqrt)
from math import sqrt
(n**0.5)
n**0.5
(l = [0]*(n+1))
l = [0]*(n+1)
(import scipy)
import scipy
(import itertools)
import itertools