結果
問題 |
No.712 赤旗
|
ユーザー |
![]() |
提出日時 | 2024-10-17 12:15:47 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 274 bytes |
コンパイル時間 | 539 ms |
コンパイル使用メモリ | 37,240 KB |
実行使用メモリ | 27,852 KB |
最終ジャッジ日時 | 2024-10-17 12:15:49 |
合計ジャッジ時間 | 1,344 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 17 OCT 2024 12:15:47 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.154
ソースコード
(defun main () (let* ((n (read)) (m (read-line))) (declare (ignore m)) (princ (loop for i below n sum (loop for c across (read-line) when (char= c #\W) count c))) (terpri))) (main)