結果

問題 No.272 NOT回路
ユーザー RinRin
提出日時 2015-09-01 15:54:26
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 1,000 ms
コード長 189 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 11,824 KB
最終ジャッジ日時 2023-09-25 21:46:05
合計ジャッジ時間 1,045 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,656 KB
testcase_01 AC 18 ms
11,820 KB
testcase_02 AC 18 ms
11,812 KB
testcase_03 AC 17 ms
11,824 KB
testcase_04 AC 17 ms
11,664 KB
testcase_05 AC 17 ms
11,756 KB
testcase_06 AC 17 ms
11,632 KB
testcase_07 AC 17 ms
11,820 KB
testcase_08 AC 17 ms
11,628 KB
testcase_09 AC 17 ms
11,684 KB
testcase_10 AC 17 ms
11,628 KB
testcase_11 AC 17 ms
11,668 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (System.out.println x)
  (begin
    (display x)
    (newline)
  )
)

(let (
      (foo (read))
     )
  (if (= foo 0)
      (System.out.println 1)
      (System.out.println 0)
  )
)
0