結果
問題 |
No.432 占い(Easy)
|
ユーザー |
![]() |
提出日時 | 2022-08-05 13:12:33 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 321 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-15 08:56:00 |
合計ジャッジ時間 | 4,467 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge6 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 3 |
other | AC * 5 WA * 17 |
ソースコード
n=int(input()) for i in range(n): s=input() while len(s)!=1: tmp="" for i in range(len(s)-1): now=int(s[i])-0+int(s[i+1])-0 k=0 if now>=10: k=now//10 + now%10 else: k=now tmp+=str(k) s=tmp print(s)