結果
問題 | No.441 和か積 |
ユーザー |
|
提出日時 | 2016-11-11 22:23:54 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 93 ms / 1,000 ms |
コード長 | 121 bytes |
コンパイル時間 | 43 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-06-27 03:09:51 |
合計ジャッジ時間 | 3,894 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
コンパイルメッセージ
Main.rb:5: warning: mismatched indentations at 'elsif' with 'if' at 3 Syntax OK
ソースコード
A, B = gets.split.map(&:to_i)s = A + B; p = A * Bif s > p thenputs "S"elsif s < p thenputs "P"elseputs "E"end