結果

問題 No.993 青色
ユーザー Homuhomu
提出日時 2020-04-20 10:17:10
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 352 bytes
コンパイル時間 543 ms
コンパイル使用メモリ 69,596 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-06 08:32:02
合計ジャッジ時間 1,116 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <numeric>

using namespace std;
using ull = unsigned long long;
#define Mod %1000000007

int main() 
{
	string S;
	cin >> S;
	for (int i = 0; i < 6; ++i)
		if (S.substr(i, 2) == "ao")
		{
			S[i] = 'k';
			S[i + 1] = 'i';
			++i;
		}
	cout << S << endl;
	return 0;
}
0