結果

問題 No.337 P versus NP
ユーザー mmmppp
提出日時 2017-02-27 02:18:26
言語 Ruby
(3.4.1)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 30 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 12,288 KB
最終ジャッジ日時 2024-06-11 17:02:03
合計ジャッジ時間 2,616 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
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