結果

問題 No.1686 Geschenkt
ユーザー n_get
提出日時 2022-07-13 13:58:56
言語 Scheme
(Gauche-0.9.15)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 105 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 16,512 KB
最終ジャッジ日時 2024-06-24 17:03:47
合計ジャッジ時間 1,094 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

(use srfi-1)
(define ans 0)
(fold (^(x s) (when (= (+ s 1) x) (inc! ans x)) x) -100 (sort (list-tabulate (read) (^_ (read)))))
(print ans)
0