結果
問題 | No.494 yukicoder |
ユーザー |
![]() |
提出日時 | 2017-03-24 23:19:20 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 532 bytes |
コンパイル時間 | 450 ms |
コンパイル使用メモリ | 58,268 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-06 00:02:07 |
合計ジャッジ時間 | 914 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
#include<iostream>#include<algorithm>#include<string>using namespace std;int main(){string s;cin >> s;string t="yukicoder";if(s[0]=='?'){cout<<"y"<<endl;}else if(s[1]=='?'){cout<<"u"<<endl;}else if(s[2]=='?'){cout<<"k"<<endl;}else if(s[3]=='?'){cout<<"i"<<endl;}else if(s[4]=='?'){cout<<"c"<<endl;}else if(s[5]=='?'){cout<<"o"<<endl;}else if(s[6]=='?'){cout<<"d"<<endl;}else if(s[7]=='?'){cout<<"e"<<endl;}else{cout<<"r"<<endl;}return 0;}