提出 #52836551


ソースコード 拡げる

#!/usr/bin/env python3


def main():
    A = list(map(int, input().split()))
    B = list(map(int, input().split()))

    A_sum = sum(A)
    B_sum = sum(B)

    ans = A_sum - B_sum + 1

    print(ans)


if __name__ == '__main__':
    main()

提出情報

提出日時
問題 A - The bottom of the ninth
ユーザ rutent
言語 Python (PyPy 3.10-v7.3.12)
得点 100
コード長 256 Byte
結果 AC
実行時間 56 ms
メモリ 76756 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 12
セット名 テストケース
Sample example_00.txt, example_01.txt
All example_00.txt, example_01.txt, hand_00.txt, hand_01.txt, hand_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt
ケース名 結果 実行時間 メモリ
example_00.txt AC 55 ms 76652 KiB
example_01.txt AC 56 ms 76308 KiB
hand_00.txt AC 55 ms 76448 KiB
hand_01.txt AC 55 ms 76756 KiB
hand_02.txt AC 55 ms 76476 KiB
random_00.txt AC 55 ms 76640 KiB
random_01.txt AC 55 ms 76436 KiB
random_02.txt AC 55 ms 76552 KiB
random_03.txt AC 55 ms 76268 KiB
random_04.txt AC 55 ms 76592 KiB
random_05.txt AC 55 ms 76516 KiB
random_06.txt AC 55 ms 76624 KiB