結果

問題 No.8062 A + B
ユーザー efunyo
提出日時 2020-04-01 22:28:13
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 300 bytes
コンパイル時間 201 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-06-27 11:40:24
合計ジャッジ時間 1,157 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b = map(int, input().split())
if a>0 and b>=0:
    print('{}{}'.format(str(a), str(b)))
elif a==0  and b>=0:
    print(b)
elif a>0 and b<0:
    print(a+b)
elif a==0 and b<0:
    print(b)
elif a<0 and b>0:
    print('{}{}'.format(str(a), str(b)))
elif a<0 and b==0:
    print(a)
else:
    print(a+b)
0