結果

問題 No.494 yukicoder
ユーザー Elk
提出日時 2018-05-31 14:55:18
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 30,848 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-30 08:31:24
合計ジャッジ時間 712 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <string.h>

int main(){
    char str1[] = "yukicoder";
    char str2[10];
    int i;

    scanf("%s", str2);
    for(i = 0; i < 9; i++){
        if(str2[i] == '?'){
            printf("%c\n", str1[i]);
            break;
        }
    }

    return 0;
}
0