結果
問題 | No.337 P versus NP |
ユーザー |
![]() |
提出日時 | 2016-03-24 23:34:50 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 77 ms / 2,000 ms |
コード長 | 87 bytes |
コンパイル時間 | 187 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-10-02 00:15:19 |
合計ジャッジ時間 | 3,420 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
コンパイルメッセージ
Main.rb:5: warning: `elsif' at the end of line without an expression Syntax OK
ソースコード
n = gets.split.map(&:to_i)if n[1] == n[1] * n[0]puts "="elsifputs "!="end