結果
問題 | No.83 最大マッチング |
ユーザー | foumi |
提出日時 | 2019-04-05 06:42:43 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 205 bytes |
コンパイル時間 | 292 ms |
コンパイル使用メモリ | 10,620 KB |
実行使用メモリ | 8,320 KB |
最終ジャッジ日時 | 2023-08-29 00:09:17 |
合計ジャッジ時間 | 2,072 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
7,800 KB |
testcase_01 | AC | 16 ms
7,884 KB |
testcase_02 | AC | 16 ms
7,848 KB |
testcase_03 | AC | 15 ms
7,812 KB |
testcase_04 | AC | 16 ms
7,812 KB |
testcase_05 | AC | 16 ms
7,792 KB |
testcase_06 | AC | 16 ms
7,848 KB |
testcase_07 | AC | 17 ms
7,772 KB |
testcase_08 | AC | 16 ms
7,728 KB |
testcase_09 | RE | - |
testcase_10 | RE | - |
testcase_11 | RE | - |
testcase_12 | RE | - |
ソースコード
n = int(input()) num = 1 num7 = 7 if n % 2 == 0: for i in range(n // 2 - 1): num = num * 10 + 1 print(num) else: for i in range(n // 2 - 1): num7 = num7 * 10 + 1 print(num7)