結果
| 問題 |
No.432 占い(Easy)
|
| コンテスト | |
| ユーザー |
hanorver
|
| 提出日時 | 2016-10-28 10:34:41 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 609 ms / 2,000 ms |
| コード長 | 204 bytes |
| コンパイル時間 | 327 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-24 05:05:51 |
| 合計ジャッジ時間 | 4,191 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 22 |
ソースコード
import gc gc.disable() t=int(input()) for _ in [0]*t: s=input() while len(s)!=1: s2="" for i in range(len(s)-1): t=int(s[i])+int(s[i+1]) if t//10!=0:t=t%10+t//10 s2+=str(t) s=s2 print(s)
hanorver