結果

問題 No.337 P versus NP
コンテスト
ユーザー mmmppp
提出日時 2017-02-27 02:22:56
言語 Ruby
(4.0.2)
コンパイル:
ruby -w -c _filename_
実行:
ruby _filename_
結果
AC  
実行時間 53 ms / 2,000 ms
+ 53µs
コード長 26 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 9 ms
コンパイル使用メモリ 8,832 KB
実行使用メモリ 14,464 KB
最終ジャッジ日時 2026-07-25 14:55:37
合計ジャッジ時間 2,499 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: ambiguous `/`; wrap regexp in parentheses or add a space after `/` operator
Main.rb:1: warning: regex literal in condition
Syntax OK

ソースコード

diff #
raw source code

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