結果
| 問題 |
No.83 最大マッチング
|
| コンテスト | |
| ユーザー |
shotyas
|
| 提出日時 | 2016-05-01 18:55:23 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 282 bytes |
| コンパイル時間 | 386 ms |
| コンパイル使用メモリ | 6,944 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-05 00:42:43 |
| 合計ジャッジ時間 | 714 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 |
ソースコード
def match(N):
result = 0
if (N % 2 == 0):
for i in range(N / 2):
result += 10**i
else:
for i in range(N/2):
if(i == N/2 - 1):
result += 7*10**i
else:
result += 10**i
return result
shotyas