結果

問題 No.1257 変わった平均値
ユーザー ygd.ygd.
提出日時 2020-10-16 21:35:43
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 294 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 87,020 KB
実行使用メモリ 71,628 KB
最終ジャッジ日時 2023-09-28 02:37:28
合計ジャッジ時間 2,972 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,260 KB
testcase_01 AC 69 ms
71,548 KB
testcase_02 AC 70 ms
71,476 KB
testcase_03 AC 66 ms
71,208 KB
testcase_04 AC 65 ms
71,484 KB
testcase_05 AC 67 ms
71,404 KB
testcase_06 AC 67 ms
71,484 KB
testcase_07 AC 67 ms
71,500 KB
testcase_08 AC 65 ms
71,608 KB
testcase_09 AC 66 ms
71,352 KB
testcase_10 AC 67 ms
71,372 KB
testcase_11 AC 66 ms
71,428 KB
testcase_12 AC 65 ms
71,592 KB
testcase_13 AC 66 ms
71,392 KB
testcase_14 AC 65 ms
71,480 KB
testcase_15 AC 67 ms
71,400 KB
testcase_16 AC 64 ms
71,364 KB
testcase_17 AC 64 ms
71,628 KB
testcase_18 AC 68 ms
71,400 KB
testcase_19 AC 66 ms
71,504 KB
testcase_20 AC 63 ms
71,540 KB
testcase_21 AC 65 ms
71,536 KB
testcase_22 AC 66 ms
71,604 KB
testcase_23 WA -
testcase_24 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,C = map(int,input().split())
D,E,F = map(int,input().split())
P = [A,B,C]; PS = set(P)
Q = [D,E,F]; QS = set(Q)
if PS != QS:
  print("No")
else:
  if P == Q:
    print("Yes")
  elif A == D or B == E or C == F:
    print("Yes")
    print(2)
  else:
    print("Yes")
    print(2)
    print(2)
0