結果
問題 | No.485 方程式のお勉強 |
ユーザー |
![]() |
提出日時 | 2017-03-13 06:07:00 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 11 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 469 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2024-10-04 04:17:49 |
合計ジャッジ時間 | 1,003 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 13 |
ソースコード
input = raw_input()A=float(input.split(' ')[0])B=float(input.split(' ')[1])x = B / Aif float(int(x)) == x:print int(x)else:print "NO"