結果

問題 No.143 豆
ユーザー go_boardwalk
提出日時 2017-03-31 14:16:21
言語 Scheme
(Gauche-0.9.15)
結果
WA  
実行時間 -
コード長 378 bytes
コンパイル時間 33 ms
コンパイル使用メモリ 6,940 KB
実行使用メモリ 16,128 KB
最終ジャッジ日時 2024-07-07 04:40:50
合計ジャッジ時間 1,172 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

(define nu (read-line))
(define ns (read-line))

(print (lambda (l m) (if (>= b f)
                         (- b f)
                         -1))
       (* (list-ref (map string->number (string-split nu " ")) 0)
          (list-ref (map string->number (string-split nu " ")) 1))
       (fold + 0 (map string->number (string-split ns " "))))
          
                         
0