結果

問題 No.83 最大マッチング
ユーザー go_boardwalkgo_boardwalk
提出日時 2017-04-01 18:10:59
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 26 ms / 5,000 ms
コード長 154 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 12,904 KB
最終ジャッジ日時 2023-09-22 02:06:38
合計ジャッジ時間 1,563 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
12,596 KB
testcase_01 AC 25 ms
12,632 KB
testcase_02 AC 25 ms
12,716 KB
testcase_03 AC 25 ms
12,576 KB
testcase_04 AC 25 ms
12,704 KB
testcase_05 AC 25 ms
12,596 KB
testcase_06 AC 25 ms
12,572 KB
testcase_07 AC 25 ms
12,572 KB
testcase_08 AC 25 ms
12,820 KB
testcase_09 AC 26 ms
12,804 KB
testcase_10 AC 25 ms
12,736 KB
testcase_11 AC 25 ms
12,904 KB
testcase_12 AC 25 ms
12,636 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define N (read))

(print (if (zero? (mod N 2))
           (make-string (div N 2) #\1)
           (string-append "7" (make-string (div (- N 3) 2) #\1))))
0