結果

問題 No.485 方程式のお勉強
ユーザー OhnumaOhnuma
提出日時 2020-04-09 23:06:26
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 93 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 10,696 KB
実行使用メモリ 8,036 KB
最終ジャッジ日時 2023-10-12 00:50:44
合計ジャッジ時間 1,158 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

a,b = map(int,input().split())
if b%a==0 and b%a>=0:
    print(b//a)
else:
    print(-1)
    
0