結果

問題 No.1257 変わった平均値
コンテスト
ユーザー yuusanlondon
提出日時 2020-10-16 21:29:17
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 312 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 149 ms
コンパイル使用メモリ 85,292 KB
実行使用メモリ 54,388 KB
最終ジャッジ日時 2026-04-03 02:28:51
合計ジャッジ時間 5,088 ms
ジャッジサーバーID
(参考情報)
judge4_0 / judge5_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

a=list(map(int,input().split()))
d=list(map(int,input().split()))
s=sorted(a)
k=sorted(d)
flag=0
for i in range(3):
    if s[i]!=k[i]:
        flag=1
if flag==1:
  print('No')
else:
  flag=0
  for i in range(3):
    if a[i]!=k[i]:
      flag=1
  if flag==1:
    print('Yes')
    print(2)
  else:
    print('Yes')
0