結果

問題 No.337 P versus NP
ユーザー mmmppp
提出日時 2017-02-27 02:21:44
言語 Ruby
(3.4.1)
結果
WA  
実行時間 -
コード長 28 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-06-11 17:02:53
合計ジャッジ時間 2,931 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 19 WA * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
Main.rb:1: warning: regex literal in condition
Main.rb:1: warning: regex literal in condition
Syntax OK

ソースコード

diff #

gets;puts /^1/||/ 0/??=:'!='
0