結果
問題 | No.83 最大マッチング |
ユーザー | fizzfuzzHK |
提出日時 | 2019-04-13 16:47:19 |
言語 | Python3 (3.11.6 + numpy 1.26.0 + scipy 1.11.3) |
結果 |
RE
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 91 ms |
コンパイル使用メモリ | 10,596 KB |
実行使用メモリ | 16,128 KB |
最終ジャッジ日時 | 2023-10-13 14:25:09 |
合計ジャッジ時間 | 7,248 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
16,128 KB |
testcase_01 | AC | 16 ms
7,864 KB |
testcase_02 | AC | 15 ms
7,948 KB |
testcase_03 | AC | 16 ms
7,792 KB |
testcase_04 | AC | 15 ms
7,836 KB |
testcase_05 | AC | 15 ms
7,908 KB |
testcase_06 | AC | 15 ms
7,764 KB |
testcase_07 | AC | 15 ms
7,832 KB |
testcase_08 | AC | 15 ms
7,764 KB |
testcase_09 | RE | - |
testcase_10 | TLE | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
ソースコード
a = int(input()) num = 0 if a%2 == 0: b =int(a/2) for i in range(0,b): c =10**i num += c print(num) else: b =int(a/2) for i in range(0,b-1): c =10**i num += c d = num + 10**(b-1)*7 print(d)