結果
| 問題 | No.993 青色 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-02-21 21:35:16 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 421µs | |
| コード長 | 369 bytes |
| 記録 | |
| コンパイル時間 | 444 ms |
| コンパイル使用メモリ | 95,728 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-12 06:03:42 |
| 合計ジャッジ時間 | 1,459 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 |
ソースコード
#include <algorithm>
#include <cmath>
#include <iostream>
#include <vector>
#include <string>
#include <utility>
#include <unordered_map>
using namespace std;
int main()
{
string str;
cin >> str;
for (int i = 1; i < str.size(); ++i)
{
if (str.at(i - 1) == 'a' && str.at(i) == 'o')
{
str.at(i - 1) = 'k';
str.at(i) = 'i';
}
}
cout << str << endl;
}