結果
| 問題 | No.993 青色 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-01-06 21:40:40 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 493 bytes |
| 記録 | |
| コンパイル時間 | 1,051 ms |
| コンパイル使用メモリ | 183,212 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-07 18:00:44 |
| 合計ジャッジ時間 | 2,010 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define all(x) x.begin(),x.end()
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
template<class T> inline bool chmax(T&a,T b){if(a<b){a=b;return 1;}return 0;}
template<class T> inline bool chmin(T&a,T b){if(a>b){a=b;return 1;}return 0;}
using ll = long long;
string s;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
cin >> s;
rep(i,s.size()-1)if(s[i]=='a' && s[i+1]=='o') s[i]='k', s[i+1]='i';
cout << s << endl;
}