結果
| 問題 | No.725 木は明らかに森である |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-08-14 16:48:17 |
| 言語 | C++23(gcc16) (gcc 16.1.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 4,368 ms |
| コンパイル使用メモリ | 351,540 KB |
| 実行使用メモリ | 9,404 KB |
| 最終ジャッジ日時 | 2026-08-14 16:48:23 |
| 合計ジャッジ時間 | 5,582 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef string str;
const ll mod = 1e9 + 7;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
str s;
cin >> s;
while (s.find("treeone") != str::npos) s.replace(s.find("treeone"), 7, "forest");
cout << s;
return 0;
}