結果

問題 No.1257 変わった平均値
ユーザー tamatotamato
提出日時 2020-10-16 21:58:03
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 438 bytes
コンパイル時間 366 ms
コンパイル使用メモリ 87,564 KB
実行使用メモリ 71,884 KB
最終ジャッジ日時 2023-09-28 03:02:27
合計ジャッジ時間 2,852 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
71,884 KB
testcase_01 AC 61 ms
71,768 KB
testcase_02 AC 64 ms
71,672 KB
testcase_03 AC 62 ms
71,744 KB
testcase_04 AC 62 ms
71,764 KB
testcase_05 AC 66 ms
71,684 KB
testcase_06 AC 61 ms
71,740 KB
testcase_07 AC 63 ms
71,696 KB
testcase_08 AC 62 ms
71,788 KB
testcase_09 AC 60 ms
71,680 KB
testcase_10 AC 62 ms
71,764 KB
testcase_11 AC 63 ms
71,848 KB
testcase_12 AC 62 ms
71,564 KB
testcase_13 AC 60 ms
71,644 KB
testcase_14 AC 62 ms
71,672 KB
testcase_15 AC 63 ms
71,520 KB
testcase_16 AC 63 ms
71,680 KB
testcase_17 AC 69 ms
71,644 KB
testcase_18 AC 63 ms
71,704 KB
testcase_19 AC 64 ms
71,680 KB
testcase_20 AC 62 ms
71,860 KB
testcase_21 AC 60 ms
71,548 KB
testcase_22 AC 61 ms
71,544 KB
testcase_23 WA -
testcase_24 AC 63 ms
71,880 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")
        if ABC != DEF:
            print(2)
        else:
            print("")
    else:
        print("No")


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