結果

問題 No.272 NOT回路
ユーザー nukosukenukosuke
提出日時 2016-10-18 01:50:35
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 14 ms / 1,000 ms
コード長 61 bytes
コンパイル時間 66 ms
コンパイル使用メモリ 5,292 KB
実行使用メモリ 11,868 KB
最終ジャッジ日時 2023-08-14 15:58:56
合計ジャッジ時間 1,283 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
11,652 KB
testcase_01 AC 13 ms
11,628 KB
testcase_02 AC 13 ms
11,724 KB
testcase_03 AC 14 ms
11,624 KB
testcase_04 AC 13 ms
11,640 KB
testcase_05 AC 13 ms
11,732 KB
testcase_06 AC 13 ms
11,692 KB
testcase_07 AC 13 ms
11,852 KB
testcase_08 AC 13 ms
11,868 KB
testcase_09 AC 14 ms
11,860 KB
testcase_10 AC 13 ms
11,628 KB
testcase_11 AC 13 ms
11,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(let ((X (read)))
	(write (if (zero? X) 1 0))
    (newline)
)
0