結果

問題 No.272 NOT回路
ユーザー nukosukenukosuke
提出日時 2016-10-18 01:50:35
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 27 ms / 1,000 ms
コード長 61 bytes
コンパイル時間 179 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 15,872 KB
最終ジャッジ日時 2024-05-02 04:05:22
合計ジャッジ時間 1,540 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
15,744 KB
testcase_01 AC 26 ms
15,872 KB
testcase_02 AC 26 ms
15,744 KB
testcase_03 AC 25 ms
15,744 KB
testcase_04 AC 25 ms
15,744 KB
testcase_05 AC 26 ms
15,872 KB
testcase_06 AC 27 ms
15,744 KB
testcase_07 AC 26 ms
15,744 KB
testcase_08 AC 25 ms
15,872 KB
testcase_09 AC 26 ms
15,744 KB
testcase_10 AC 26 ms
15,744 KB
testcase_11 AC 26 ms
15,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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