結果
| 問題 | No.432 占い(Easy) |
| コンテスト | |
| ユーザー |
ixmel
|
| 提出日時 | 2017-04-07 16:43:35 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 349 ms / 2,000 ms |
| コード長 | 182 bytes |
| 記録 | |
| コンパイル時間 | 338 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-03-30 16:17:54 |
| 合計ジャッジ時間 | 6,437 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 22 |
ソースコード
n=int(input())
for _ in range(n):
a=input()
while len(a)!=1:
b=""
for i in range(len(a)-1):
t=ord(a[i])+ord(a[i+1])-2*ord('0')
b+=chr(t%10+t//10+ord('0'))
a=b
print(a)
ixmel