結果

問題 No.1257 変わった平均値
ユーザー ygd.ygd.
提出日時 2020-10-16 21:49:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 320 bytes
コンパイル時間 1,312 ms
コンパイル使用メモリ 87,140 KB
実行使用メモリ 71,580 KB
最終ジャッジ日時 2023-09-28 02:47:15
合計ジャッジ時間 4,102 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
70,980 KB
testcase_01 AC 64 ms
71,424 KB
testcase_02 AC 66 ms
71,252 KB
testcase_03 AC 67 ms
71,148 KB
testcase_04 AC 65 ms
71,448 KB
testcase_05 AC 64 ms
71,196 KB
testcase_06 AC 64 ms
71,312 KB
testcase_07 AC 64 ms
71,296 KB
testcase_08 AC 66 ms
71,376 KB
testcase_09 AC 66 ms
71,416 KB
testcase_10 AC 67 ms
71,196 KB
testcase_11 AC 66 ms
71,356 KB
testcase_12 AC 65 ms
71,424 KB
testcase_13 AC 65 ms
71,428 KB
testcase_14 AC 67 ms
71,312 KB
testcase_15 AC 64 ms
71,316 KB
testcase_16 AC 66 ms
71,500 KB
testcase_17 AC 65 ms
71,376 KB
testcase_18 AC 64 ms
71,140 KB
testcase_19 AC 68 ms
71,300 KB
testcase_20 AC 67 ms
71,292 KB
testcase_21 AC 69 ms
71,424 KB
testcase_22 AC 65 ms
70,980 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")
    print(2)
    print(2)
  elif A == D or B == E or C == F:
    print("Yes")
    print(2)
  else:
    print("Yes")
    print(2)
    print(2)
0