結果

問題 No.373 かけ算と割った余り
ユーザー nonokai10nonokai10
提出日時 2018-03-25 11:12:08
言語 Ruby
(3.3.0)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 52 bytes
コンパイル時間 588 ms
コンパイル使用メモリ 11,420 KB
実行使用メモリ 15,344 KB
最終ジャッジ日時 2023-09-07 11:20:51
合計ジャッジ時間 1,682 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,156 KB
testcase_01 AC 84 ms
15,052 KB
testcase_02 AC 84 ms
15,080 KB
testcase_03 AC 85 ms
15,344 KB
testcase_04 AC 85 ms
15,044 KB
testcase_05 AC 84 ms
15,268 KB
testcase_06 AC 84 ms
15,296 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: `*' after local variable or literal is interpreted as binary operator
Main.rb:2: warning: even though it seems like argument prefix
Syntax OK

ソースコード

diff #

a, b, c, d = gets.split.map(&:to_i)
p (a * b *c) % d
0