提出 #73056305
ソースコード 拡げる
def all_the_same(elements):
return elements[1:] == elements[:-1]
N = list(map(int, input()))
print(all_the_same(N))
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Repdigit |
| ユーザ | rice21 |
| 言語 | Python (CPython 3.13.7) |
| 得点 | 0 |
| コード長 | 122 Byte |
| 結果 | WA |
| 実行時間 | 10 ms |
| メモリ | 9152 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 0 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| 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_1.txt, 2_1.txt, 2_2.txt, 2_3.txt, 2_4.txt, 3_1.txt, 3_2.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 0_sample_1.txt | WA | 9 ms | 9020 KiB |
| 0_sample_2.txt | WA | 10 ms | 9044 KiB |
| 0_sample_3.txt | WA | 10 ms | 9048 KiB |
| 1_1.txt | WA | 10 ms | 9108 KiB |
| 2_1.txt | WA | 10 ms | 9132 KiB |
| 2_2.txt | WA | 9 ms | 9020 KiB |
| 2_3.txt | WA | 10 ms | 9020 KiB |
| 2_4.txt | WA | 10 ms | 9004 KiB |
| 3_1.txt | WA | 10 ms | 9108 KiB |
| 3_2.txt | WA | 10 ms | 9152 KiB |