結果
| 問題 | 
                            No.197 手品
                             | 
                    
| コンテスト | |
| ユーザー | 
                             mmmppp
                         | 
                    
| 提出日時 | 2017-03-03 13:25:17 | 
| 言語 | Ruby  (3.4.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 98 bytes | 
| コンパイル時間 | 43 ms | 
| コンパイル使用メモリ | 7,424 KB | 
| 実行使用メモリ | 12,288 KB | 
| 最終ジャッジ日時 | 2024-06-27 13:40:13 | 
| 合計ジャッジ時間 | 5,283 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 4 | 
| other | WA * 43 | 
コンパイルメッセージ
Main.rb:3: warning: `:' after local variable or literal is interpreted as binary operator Main.rb:3: warning: even though it seems like symbol literal Syntax OK
ソースコード
b,n,a=$<.read.split n=n.to_i ((b.count(?o)==a.count(?o))?n<1?b==a: n<2? 1 :1:p)?:SUCCESS:'FAILURE'
            
mmmppp