結果

問題 No.810 割った余りの個数
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-10 23:21:18
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 45 bytes
コンパイル時間 276 ms
コンパイル使用メモリ 11,196 KB
実行使用メモリ 15,416 KB
最終ジャッジ日時 2023-09-30 00:15:10
合計ジャッジ時間 4,174 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
15,156 KB
testcase_01 AC 68 ms
15,260 KB
testcase_02 AC 66 ms
15,080 KB
testcase_03 AC 67 ms
15,372 KB
testcase_04 AC 66 ms
15,156 KB
testcase_05 AC 66 ms
15,272 KB
testcase_06 AC 66 ms
15,164 KB
testcase_07 AC 66 ms
15,168 KB
testcase_08 AC 69 ms
15,084 KB
testcase_09 AC 66 ms
15,120 KB
testcase_10 AC 69 ms
15,352 KB
testcase_11 AC 66 ms
15,120 KB
testcase_12 AC 65 ms
15,308 KB
testcase_13 AC 68 ms
15,296 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 65 ms
15,152 KB
testcase_17 AC 65 ms
15,296 KB
testcase_18 AC 65 ms
15,308 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 64 ms
15,168 KB
testcase_28 WA -
testcase_29 AC 65 ms
15,344 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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