結果

問題 No.671 1000000007
ユーザー neko_the_shadowneko_the_shadow
提出日時 2018-05-07 22:55:43
言語 Scheme
(Gauche-0.9.13)
結果
AC  
実行時間 19 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 12,256 KB
最終ジャッジ日時 2023-09-10 10:58:58
合計ジャッジ時間 1,449 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
12,164 KB
testcase_01 AC 19 ms
12,052 KB
testcase_02 AC 19 ms
12,152 KB
testcase_03 AC 18 ms
12,256 KB
testcase_04 AC 18 ms
12,216 KB
testcase_05 AC 18 ms
12,208 KB
testcase_06 AC 18 ms
12,128 KB
testcase_07 AC 18 ms
12,112 KB
testcase_08 AC 18 ms
12,112 KB
testcase_09 AC 18 ms
12,060 KB
testcase_10 AC 17 ms
12,052 KB
testcase_11 AC 18 ms
12,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(use srfi-13)

(define (MAIN) 
  (let ((n (read-line)))
    (let ((x (string-count n #\0))
          (y (string-count "1000000007" #\0)))
      (print (abs (- x y))))))

(MAIN)
0