結果
| 問題 |
No.432 占い(Easy)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-12-24 20:40:45 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 189 bytes |
| コンパイル時間 | 504 ms |
| コンパイル使用メモリ | 82,588 KB |
| 実行使用メモリ | 66,744 KB |
| 最終ジャッジ日時 | 2024-09-22 11:38:27 |
| 合計ジャッジ時間 | 2,424 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 RE * 1 |
| other | WA * 16 RE * 6 |
ソースコード
def f(d):
l = len(d)
if l == 1:
return l[0]
return [(d[i]+d[i+1])//10+(d[i]+d[i+1])%10 for i in range(l-1)]
for _ in range(int(input())):
print(f([int(i) for i in input()]))