結果
問題 |
No.725 木は明らかに森である
|
ユーザー |
![]() |
提出日時 | 2022-08-08 21:31:46 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 201 bytes |
コンパイル時間 | 71 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-09-19 06:01:55 |
合計ジャッジ時間 | 871 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 WA * 1 |
ソースコード
import sys readline=sys.stdin.readline ans="" for s in readline().rstrip(): ans+=s if len(ans)>=7 and ans[len(ans)-7:]=="treeone": ans=ans[:len(ans)-7] ans+="forest" print(ans)