結果
| 問題 | No.536 人工知能 |
| コンテスト | |
| ユーザー |
hogeover30
|
| 提出日時 | 2018-01-17 17:18:25 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 173 bytes |
| 記録 | |
| コンパイル時間 | 1,901 ms |
| コンパイル使用メモリ | 210,720 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-06 21:18:42 |
| 合計ジャッジ時間 | 3,165 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
string s; cin>>s;
int n=size(s);
cout<<(s.substr(n-2)=="ai"?s.substr(0, n-2)+"AI":s+"-AI")<<endl;
}
hogeover30