結果

問題 No.969 じゃんけん
ユーザー mkawa2mkawa2
提出日時 2020-01-17 21:21:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 780 bytes
コンパイル時間 141 ms
コンパイル使用メモリ 10,960 KB
実行使用メモリ 8,736 KB
最終ジャッジ日時 2023-09-08 01:02:37
合計ジャッジ時間 877 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,620 KB
testcase_01 AC 20 ms
8,584 KB
testcase_02 AC 20 ms
8,624 KB
testcase_03 AC 20 ms
8,700 KB
testcase_04 AC 20 ms
8,736 KB
testcase_05 AC 21 ms
8,620 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.setrecursionlimit(10 ** 6)
from bisect import *
from collections import *
from heapq import *

int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def MI1(): return map(int1, sys.stdin.readline().split())
def MF(): return map(float, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI1(): return list(map(int1, sys.stdin.readline().split()))
def LF(): return list(map(float, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
dij = [(0, 1), (1, 0), (0, -1), (-1, 0)]

def main():
    x=II()
    if x==0 or x==4 or x==10:print("Yes")
    else:print("No")

main()
0