結果
問題 | No.1699 Unfair RPS |
ユーザー | yassu0320 |
提出日時 | 2021-11-05 00:19:04 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 106 ms / 2,000 ms |
コード長 | 668 bytes |
コンパイル時間 | 420 ms |
コンパイル使用メモリ | 82,268 KB |
実行使用メモリ | 80,424 KB |
最終ジャッジ日時 | 2024-04-23 07:00:24 |
合計ジャッジ時間 | 2,342 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 96 ms
80,116 KB |
testcase_01 | AC | 97 ms
80,280 KB |
testcase_02 | AC | 99 ms
80,224 KB |
testcase_03 | AC | 99 ms
80,424 KB |
testcase_04 | AC | 102 ms
80,124 KB |
testcase_05 | AC | 99 ms
80,096 KB |
testcase_06 | AC | 103 ms
79,960 KB |
testcase_07 | AC | 106 ms
80,096 KB |
testcase_08 | AC | 99 ms
80,208 KB |
testcase_09 | AC | 104 ms
80,252 KB |
testcase_10 | AC | 98 ms
80,128 KB |
ソースコード
#!/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')