結果
問題 |
No.83 最大マッチング
|
ユーザー |
![]() |
提出日時 | 2019-10-13 06:49:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 191 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-30 22:24:07 |
合計ジャッジ時間 | 1,241 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 6 |
ソースコード
import sys n = int(input()) num_digit = n // 2 left = n % 2 out = "" for i in range(num_digit - 1): out = out + "1" if left: out = out + "7" else: out = out + "1" print(out)