結果

問題 No.3062 A + B
ユーザー KodaiKodai
提出日時 2020-04-01 22:59:57
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 179 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 8,016 KB
最終ジャッジ日時 2023-09-09 19:50:43
合計ジャッジ時間 955 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,960 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 15 ms
7,756 KB
testcase_04 AC 15 ms
7,996 KB
testcase_05 WA -
testcase_06 AC 15 ms
7,796 KB
testcase_07 WA -
testcase_08 AC 15 ms
7,852 KB
testcase_09 AC 15 ms
7,840 KB
testcase_10 AC 15 ms
7,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = input().split(" ")
if A == "4" or A == "1":
    if B == "4" or B == "1":
        print(str(A)+str(B))
    else:
        print(int(A)+int(B))
else:
    print(int(A)+int(B))
0