結果

問題 No.1257 変わった平均値
ユーザー 👑 tamatotamato
提出日時 2020-10-16 22:07:08
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 375 bytes
コンパイル時間 525 ms
コンパイル使用メモリ 87,416 KB
実行使用メモリ 71,892 KB
最終ジャッジ日時 2023-09-28 03:12:08
合計ジャッジ時間 3,781 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,716 KB
testcase_01 AC 68 ms
71,740 KB
testcase_02 AC 67 ms
71,380 KB
testcase_03 AC 67 ms
71,800 KB
testcase_04 AC 66 ms
71,576 KB
testcase_05 AC 68 ms
71,696 KB
testcase_06 AC 69 ms
71,804 KB
testcase_07 AC 67 ms
71,584 KB
testcase_08 AC 67 ms
71,620 KB
testcase_09 AC 68 ms
71,736 KB
testcase_10 AC 68 ms
71,888 KB
testcase_11 AC 65 ms
71,740 KB
testcase_12 AC 65 ms
71,556 KB
testcase_13 AC 64 ms
71,528 KB
testcase_14 AC 65 ms
71,892 KB
testcase_15 AC 69 ms
71,540 KB
testcase_16 AC 65 ms
71,728 KB
testcase_17 AC 66 ms
71,868 KB
testcase_18 AC 68 ms
71,836 KB
testcase_19 AC 68 ms
71,852 KB
testcase_20 AC 66 ms
71,796 KB
testcase_21 AC 66 ms
71,404 KB
testcase_22 AC 64 ms
71,840 KB
testcase_23 AC 65 ms
71,744 KB
testcase_24 AC 65 ms
71,572 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    ABC = list(map(int, input().split()))
    DEF = list(map(int, input().split()))
    ABC_sorted = sorted(ABC)
    DEF_sorted = sorted(DEF)

    if ABC_sorted == DEF_sorted:
        print("Yes")
        print(2)
    else:
        print("No")


if __name__ == '__main__':
    main()
0