結果
| 問題 |
No.725 木は明らかに森である
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-19 11:14:12 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 207 bytes |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-11-16 19:58:49 |
| 合計ジャッジ時間 | 1,326 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 7 |
ソースコード
s = input()
len_ = len(s)
if len_ <= 7:
if s=="treeone":
print("forest")
print(s)
else:
for i in range(len_-7):
s[i:i+7] == "treeone"
print(s[:i-1]+"forest"+s[i+8:])