結果
問題 |
No.83 最大マッチング
|
ユーザー |
![]() |
提出日時 | 2019-02-22 23:23:21 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 301 bytes |
コンパイル時間 | 104 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,120 KB |
最終ジャッジ日時 | 2024-11-25 22:50:10 |
合計ジャッジ時間 | 19,300 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 6 RE * 1 TLE * 3 |
ソースコード
# -*- coding: utf-8 -*- def solve(n): result = 0 if n % 2 == 0: for i in range(0, n // 2): result += (10 ** i) else: for i in range(0, n // 2): result += (10 ** i) if i < (n // 2) - 1 else 7 * (10 ** i) print(result) n = int(input()) solve(n)