結果

問題 No.143 豆
ユーザー SchneeSchnee
提出日時 2019-11-02 21:14:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 95 bytes
コンパイル時間 558 ms
コンパイル使用メモリ 10,488 KB
実行使用メモリ 7,948 KB
最終ジャッジ日時 2023-10-13 01:29:21
合計ジャッジ時間 1,602 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,832 KB
testcase_01 AC 15 ms
7,864 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 16 ms
7,800 KB
testcase_06 AC 15 ms
7,848 KB
testcase_07 AC 15 ms
7,824 KB
testcase_08 AC 15 ms
7,796 KB
testcase_09 WA -
testcase_10 AC 15 ms
7,836 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 16 ms
7,864 KB
testcase_14 AC 15 ms
7,824 KB
testcase_15 AC 16 ms
7,728 KB
testcase_16 AC 15 ms
7,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=eval(f"{input()[:-2].replace(' ','*')}-({input().replace(' ','+')})")
print(a if a>=0 else-1)
0