結果

問題 No.272 NOT回路
ユーザー yuikibisyuikibis
提出日時 2015-10-04 18:19:50
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 38 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 11,228 KB
実行使用メモリ 15,272 KB
最終ジャッジ日時 2023-09-27 02:01:22
合計ジャッジ時間 2,042 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 84 ms
15,268 KB
testcase_02 AC 84 ms
15,248 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 83 ms
15,088 KB
testcase_06 WA -
testcase_07 AC 82 ms
15,024 KB
testcase_08 WA -
testcase_09 AC 85 ms
15,132 KB
testcase_10 AC 84 ms
15,256 KB
testcase_11 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

print gets.to_i == 0 ? "1\n" : "0¥n"
0