結果

問題 No.1257 変わった平均値
ユーザー tamatotamato
提出日時 2020-10-16 21:56:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 410 bytes
コンパイル時間 532 ms
コンパイル使用メモリ 87,360 KB
実行使用メモリ 72,036 KB
最終ジャッジ日時 2023-09-28 03:00:46
合計ジャッジ時間 2,920 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,536 KB
testcase_01 AC 64 ms
71,904 KB
testcase_02 AC 64 ms
71,536 KB
testcase_03 AC 65 ms
71,948 KB
testcase_04 AC 66 ms
71,544 KB
testcase_05 AC 71 ms
71,960 KB
testcase_06 AC 66 ms
71,708 KB
testcase_07 AC 65 ms
71,548 KB
testcase_08 AC 65 ms
71,616 KB
testcase_09 AC 65 ms
71,912 KB
testcase_10 AC 63 ms
72,000 KB
testcase_11 AC 65 ms
71,760 KB
testcase_12 AC 65 ms
71,764 KB
testcase_13 AC 64 ms
71,900 KB
testcase_14 AC 65 ms
71,852 KB
testcase_15 AC 66 ms
71,964 KB
testcase_16 AC 64 ms
71,616 KB
testcase_17 AC 65 ms
71,776 KB
testcase_18 AC 68 ms
71,984 KB
testcase_19 AC 66 ms
72,036 KB
testcase_20 AC 68 ms
71,780 KB
testcase_21 AC 66 ms
71,996 KB
testcase_22 AC 66 ms
71,956 KB
testcase_23 WA -
testcase_24 AC 65 ms
71,748 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("No")
        

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