結果

問題 No.83 最大マッチング
ユーザー sekihankamibanzsekihankamibanz
提出日時 2018-10-27 14:00:43
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 160 bytes
コンパイル時間 80 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-04-29 22:14:53
合計ジャッジ時間 1,063 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 WA -
testcase_02 RE -
testcase_03 WA -
testcase_04 RE -
testcase_05 WA -
testcase_06 RE -
testcase_07 WA -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #


num = int(input())

if num % 2 == 0:
    ones_num = num / 2
    print(int('1' * ones_num))

else:
    ones_num = num // 2
    print(int('7' + '1' * ones_num))
0