結果
問題 |
No.604 誕生日のお小遣い
|
ユーザー |
![]() |
提出日時 | 2018-01-08 14:45:55 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 85 bytes |
コンパイル時間 | 854 ms |
コンパイル使用メモリ | 7,296 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-12-23 12:11:50 |
合計ジャッジ時間 | 3,591 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | AC * 2 WA * 19 |
コンパイルメッセージ
Main.rb:2: warning: found `= literal' in conditional, should be == Syntax OK
ソースコード
A,B,C=gets.split.map &:to_i if A=1 puts C/B else puts C/(A+B-1)*A+(C%(A+B-1)) end