結果

問題 No.485 方程式のお勉強
ユーザー Liny52551272Liny52551272
提出日時 2019-11-13 18:13:09
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 30 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 163 ms
コンパイル使用メモリ 11,732 KB
実行使用メモリ 9,872 KB
最終ジャッジ日時 2023-10-21 19:46:25
合計ジャッジ時間 1,428 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
9,872 KB
testcase_01 AC 29 ms
9,872 KB
testcase_02 AC 30 ms
9,872 KB
testcase_03 AC 29 ms
9,872 KB
testcase_04 AC 28 ms
9,872 KB
testcase_05 AC 27 ms
9,872 KB
testcase_06 AC 28 ms
9,872 KB
testcase_07 AC 28 ms
9,872 KB
testcase_08 AC 27 ms
9,872 KB
testcase_09 AC 28 ms
9,872 KB
testcase_10 AC 26 ms
9,872 KB
testcase_11 AC 26 ms
9,872 KB
testcase_12 AC 26 ms
9,872 KB
testcase_13 AC 27 ms
9,872 KB
testcase_14 AC 27 ms
9,872 KB
testcase_15 AC 29 ms
9,872 KB
testcase_16 AC 27 ms
9,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = (int(i) for i in input().strip().split())

if B % A == 0:
  print(str(B // A))
else:
  print('NO')
0