結果

問題 No.810 割った余りの個数
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-10 23:26:14
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 68 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 11,208 KB
実行使用メモリ 15,368 KB
最終ジャッジ日時 2023-09-30 00:15:23
合計ジャッジ時間 3,849 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,108 KB
testcase_01 AC 83 ms
15,004 KB
testcase_02 AC 83 ms
15,264 KB
testcase_03 WA -
testcase_04 AC 81 ms
15,108 KB
testcase_05 AC 82 ms
15,072 KB
testcase_06 AC 82 ms
15,108 KB
testcase_07 AC 83 ms
15,280 KB
testcase_08 AC 83 ms
15,104 KB
testcase_09 AC 82 ms
15,236 KB
testcase_10 AC 81 ms
15,076 KB
testcase_11 AC 82 ms
15,224 KB
testcase_12 AC 82 ms
15,072 KB
testcase_13 AC 81 ms
15,224 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 83 ms
15,116 KB
testcase_17 AC 81 ms
15,124 KB
testcase_18 AC 82 ms
15,108 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 85 ms
15,288 KB
testcase_28 WA -
testcase_29 AC 82 ms
15,076 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

A,B,C=gets.split.map(&:to_i)
L=A
R=[B, A+C].min
puts ((R - L) % C)+1
0