結果
| 問題 |
No.536 人工知能
|
| コンテスト | |
| ユーザー |
cureskol
|
| 提出日時 | 2020-03-31 16:40:27 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 312 bytes |
| コンパイル時間 | 1,678 ms |
| コンパイル使用メモリ | 166,668 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-24 20:12:09 |
| 合計ジャッジ時間 | 2,344 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
template<typename T>
void fin(T a){
cout<<a<<endl;
exit(0);
}
signed main(){
string s;cin>>s;
for(int i=0;i<s.size()-2;i++)cout<<s[i];
if(s.substr(s.size()-2,2)=="ai")cout<<"AI";
else cout<<s[s.size()-2]<<s[s.size()-1]<<"-AI";
cout<<endl;
}
cureskol