結果
問題 | No.2322 MMA文字列 |
ユーザー |
![]() |
提出日時 | 2023-05-28 13:30:58 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 1,415 bytes |
コンパイル時間 | 361 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 52,608 KB |
最終ジャッジ日時 | 2024-12-26 20:28:15 |
合計ジャッジ時間 | 2,552 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 14 WA * 5 |
ソースコード
# @uni_kakurenbo# https://github.com/uni-kakurenbo/competitive-programming-workspace## CC0 1.0 http://creativecommons.org/publicdomain/zero/1.0/deed.ja# #language PyPy3 ##region templatefrom sys import setrecursionlimit, stdin, stderr, argvdef debug(*args, **opts):if argv[-1] == "LOCAL_JUDGE": print(*args, **opts, file=stderr)class istream():def __init__(self, source = stdin):self.pos = -1self.buffer = []self.source = sourcedef one(self):self.pos += 1if self.pos >= len(self.buffer): self.buffer.extend(self.source.readline().split())return self.buffer[self.pos]def __call__(self, *types):if len(types) == 0: return str(self.one())if len(types) == 1:tp, count = types[0], 1if isinstance(tp, int):tp, count = str, tpif count == 1:return tp(self.one())else:return tuple(tp(self.one()) for _ in [0] * count)if len(types) == 2 and isinstance(types[1], int):return tuple(types[0](self.one()) for _ in [0] * types[1])return tuple(map(lambda type: type(self.one()), types))def line(self, type):return tuple(map(type, self.source.readline().split()))cin = istream()# setrecursionlimit(10**5)#endregionS = input()print("Yes" if S[0] == S[1] else "No")