結果

問題 No.1686 Geschenkt
コンテスト
ユーザー n_get
提出日時 2022-07-13 13:58:56
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
WA  
実行時間 -
コード長 138 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 33 ms
コンパイル使用メモリ 7,716 KB
実行使用メモリ 16,768 KB
最終ジャッジ日時 2026-03-10 21:00:56
合計ジャッジ時間 948 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

(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