結果
| 問題 | No.441 和か積 |
| コンテスト | |
| ユーザー |
rite
|
| 提出日時 | 2017-01-18 16:43:42 |
| 言語 | Ruby (4.0.1) |
| 結果 |
AC
|
| 実行時間 | 55 ms / 1,000 ms |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 14,976 KB |
| 最終ジャッジ日時 | 2026-03-14 08:20:55 |
| 合計ジャッジ時間 | 2,812 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
コンパイルメッセージ
Syntax OK
ソースコード
A,B=gets.split.map(&:to_i) sum = A + B product = A * B if sum > product then print "S" elsif product > sum then print "P" elsif sum == product then print "E" end
rite