結果

問題 No.810 割った余りの個数
ユーザー gemmarogemmaro
提出日時 2020-01-28 09:46:04
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 121 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 11,560 KB
実行使用メモリ 248,688 KB
最終ジャッジ日時 2023-10-13 09:20:19
合計ジャッジ時間 5,836 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
19,480 KB
testcase_01 AC 83 ms
15,144 KB
testcase_02 AC 75 ms
15,016 KB
testcase_03 AC 77 ms
15,092 KB
testcase_04 AC 76 ms
15,004 KB
testcase_05 AC 77 ms
15,008 KB
testcase_06 AC 81 ms
15,228 KB
testcase_07 AC 78 ms
15,240 KB
testcase_08 AC 74 ms
15,112 KB
testcase_09 AC 74 ms
15,268 KB
testcase_10 AC 75 ms
15,008 KB
testcase_11 AC 74 ms
15,120 KB
testcase_12 AC 72 ms
15,332 KB
testcase_13 AC 73 ms
15,276 KB
testcase_14 AC 74 ms
15,164 KB
testcase_15 AC 75 ms
15,020 KB
testcase_16 AC 74 ms
15,092 KB
testcase_17 AC 77 ms
15,120 KB
testcase_18 AC 76 ms
15,124 KB
testcase_19 AC 77 ms
15,008 KB
testcase_20 TLE -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

# frozen_string_literal: true

L, R, M = gets.chomp.split.map(&:to_i)
range = L..R
puts range.map { |i| i % M }.uniq.size
0