結果

問題 No.373 かけ算と割った余り
ユーザー nonokai10
提出日時 2018-03-25 11:12:08
言語 Ruby
(3.4.1)
結果
AC  
実行時間 103 ms / 2,000 ms
コード長 52 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 7,296 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2024-06-25 05:31:16
合計ジャッジ時間 1,427 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
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