結果
問題 | No.83 最大マッチング |
ユーザー |
|
提出日時 | 2025-03-22 13:58:12 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
AC
|
実行時間 | 13 ms / 5,000 ms |
コード長 | 180 bytes |
コンパイル時間 | 309 ms |
コンパイル使用メモリ | 32,500 KB |
実行使用メモリ | 27,672 KB |
最終ジャッジ日時 | 2025-03-22 13:58:14 |
合計ジャッジ時間 | 1,401 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 22 MAR 2025 01:58:12 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.027
ソースコード
(defparameter N (parse-integer (read-line)))(if (eq (mod N 2) 0 ) (format 't "~d" 1) (format 't "~d" 7))(loop for i from 2 to (floor N 2) do (format 't "~d" 1))(format 't "~%")