結果

問題 No.485 方程式のお勉強
ユーザー mmmpppmmmppp
提出日時 2017-02-25 11:58:18
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 45 bytes
コンパイル時間 226 ms
コンパイル使用メモリ 11,572 KB
実行使用メモリ 15,388 KB
最終ジャッジ日時 2023-09-02 07:59:21
合計ジャッジ時間 2,667 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,136 KB
testcase_01 AC 82 ms
15,160 KB
testcase_02 AC 82 ms
15,172 KB
testcase_03 AC 85 ms
15,048 KB
testcase_04 AC 83 ms
15,156 KB
testcase_05 AC 83 ms
15,056 KB
testcase_06 WA -
testcase_07 AC 84 ms
15,192 KB
testcase_08 WA -
testcase_09 AC 83 ms
15,204 KB
testcase_10 AC 84 ms
15,168 KB
testcase_11 AC 83 ms
15,388 KB
testcase_12 WA -
testcase_13 AC 82 ms
15,164 KB
testcase_14 AC 83 ms
15,116 KB
testcase_15 AC 83 ms
15,116 KB
testcase_16 AC 83 ms
15,168 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b=gets.split.map &:to_i
puts b%a<1?b/a:'NO'
0