結果
問題 | No.83 最大マッチング |
ユーザー | sekihankamibanz |
提出日時 | 2018-10-27 14:00:43 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
RE
|
実行時間 | - |
コード長 | 160 bytes |
コンパイル時間 | 855 ms |
コンパイル使用メモリ | 10,640 KB |
実行使用メモリ | 7,972 KB |
最終ジャッジ日時 | 2023-08-12 07:48:13 |
合計ジャッジ時間 | 1,311 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
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 | - |
ソースコード
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))