結果
問題 | No.3124 Twin |
ユーザー |
|
提出日時 | 2025-04-25 21:21:23 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 1,000 ms |
コード長 | 662 bytes |
コンパイル時間 | 322 ms |
コンパイル使用メモリ | 82,056 KB |
実行使用メモリ | 55,924 KB |
最終ジャッジ日時 | 2025-04-25 21:21:47 |
合計ジャッジ時間 | 1,873 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
from math import * from itertools import combinations,accumulate from collections import defaultdict,deque,Counter from heapq import heapify,heappush,heappop from bisect import bisect,insort def II(): return int(input()) def LI(): return list(map(int,input().split())) def matrix1(n1,v):return [v for _ in range(n1)] def matrix2(n1,n2,v):return [matrix1(n2,v) for _ in range(n1)] def matrix3(n1,n2,n3,v):return [matrix2(n2,n3,v) for _ in range(n1)] def matrix4(n1,n2,n3,n4,v):return [matrix3(n2,n3,n4,v) for _ in range(n1)] #def inside(i, j):return 0<=i<h and 0<=j<w dir={"U":(-1,0),"D":(1,0),"L":(0,-1),"R":(0,1)} x, y = LI() print("Yes" if x == y else "No")