Please sign in first.
提出 #73080688
ソースコード 拡げる
def f(x):
return (10**x - 1) // 9
n = int(input())
a = list(map(int, input().split()))
ans = 0
for i in range(n):
ans += f(a[i])
print(ans)
提出情報
| 提出日時 | |
|---|---|
| 問題 | D - Many Repunit Sum |
| ユーザ | gett |
| 言語 | Python (PyPy 3.11-v7.3.20) |
| 得点 | 0 |
| コード長 | 160 Byte |
| 結果 | TLE |
| 実行時間 | > 2000 ms |
| メモリ | 138984 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||||
|---|---|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 0 / 400 | ||||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 0_sample_1.txt, 0_sample_2.txt, 0_sample_3.txt |
| All | 0_sample_1.txt, 0_sample_2.txt, 0_sample_3.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt, 1_08.txt, 1_09.txt, 1_10.txt, 1_11.txt, 1_12.txt, 1_13.txt, 1_14.txt, 1_15.txt, 1_16.txt, 1_17.txt, 1_18.txt, 1_19.txt, 1_20.txt, 2_1.txt, 2_2.txt, 2_3.txt, 2_4.txt, 2_5.txt, 2_6.txt, 2_7.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 0_sample_1.txt | AC | 48 ms | 79556 KiB |
| 0_sample_2.txt | AC | 49 ms | 79652 KiB |
| 0_sample_3.txt | AC | 49 ms | 79708 KiB |
| 1_01.txt | TLE | > 2000 ms | 138512 KiB |
| 1_02.txt | TLE | > 2000 ms | 138468 KiB |
| 1_03.txt | TLE | > 2000 ms | 138632 KiB |
| 1_04.txt | TLE | > 2000 ms | 138360 KiB |
| 1_05.txt | TLE | > 2000 ms | 138268 KiB |
| 1_06.txt | TLE | > 2000 ms | 138512 KiB |
| 1_07.txt | TLE | > 2000 ms | 138404 KiB |
| 1_08.txt | TLE | > 2000 ms | 138396 KiB |
| 1_09.txt | TLE | > 2000 ms | 138400 KiB |
| 1_10.txt | TLE | > 2000 ms | 138532 KiB |
| 1_11.txt | TLE | > 2000 ms | 138412 KiB |
| 1_12.txt | TLE | > 2000 ms | 138356 KiB |
| 1_13.txt | TLE | > 2000 ms | 138604 KiB |
| 1_14.txt | TLE | > 2000 ms | 138596 KiB |
| 1_15.txt | TLE | > 2000 ms | 138508 KiB |
| 1_16.txt | TLE | > 2000 ms | 138488 KiB |
| 1_17.txt | TLE | > 2000 ms | 138512 KiB |
| 1_18.txt | TLE | > 2000 ms | 138200 KiB |
| 1_19.txt | TLE | > 2000 ms | 138640 KiB |
| 1_20.txt | TLE | > 2000 ms | 138272 KiB |
| 2_1.txt | AC | 73 ms | 125016 KiB |
| 2_2.txt | AC | 73 ms | 124968 KiB |
| 2_3.txt | TLE | > 2000 ms | 138984 KiB |
| 2_4.txt | TLE | > 2000 ms | 137944 KiB |
| 2_5.txt | AC | 50 ms | 79732 KiB |
| 2_6.txt | AC | 114 ms | 105240 KiB |
| 2_7.txt | AC | 80 ms | 103776 KiB |