結果
問題 | No.1699 Unfair RPS |
ユーザー |
![]() |
提出日時 | 2021-11-05 00:19:04 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 99 ms / 2,000 ms |
コード長 | 668 bytes |
コンパイル時間 | 295 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 80,256 KB |
最終ジャッジ日時 | 2024-10-15 06:49:11 |
合計ジャッジ時間 | 2,158 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 |
ソースコード
#!/usr/bin/env python3 from pprint import pprint from sys import setrecursionlimit, stdin from typing import Dict, Iterable, Set INF: int = 1 << 62 setrecursionlimit(1_000_000) def inputs(type_=int): ins = input().split(' ') ins = [x for x in ins if x != ''] if isinstance(type_, Iterable): return [t(x) for t, x in zip(type_, ins)] else: return list(map(type_, ins)) def input_(type_=int): a, = inputs(type_) return a inputi = input_ def inputstr(): return input_(str) def answer(res) -> None: print(res) exit() # start coding t = set(inputs()) if len(t) == 1: print('Yes') else: print('No')