結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
🍡yurahuna
|
| 提出日時 | 2015-12-20 12:48:04 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 164 bytes |
| コンパイル時間 | 520 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 7,040 KB |
| 最終ジャッジ日時 | 2024-09-17 11:59:48 |
| 合計ジャッジ時間 | 765 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 4 WA * 6 |
ソースコード
N = input()
x = N
s = []
while x > 0:
if x >= 4 or x == 2:
x = x-2
s += "1"
elif x == 3:
x = x-3
s += "7"
print "".join(s)
🍡yurahuna