結果

問題 No.494 yukicoder
ユーザー tktk_snsntktk_snsn
提出日時 2021-03-20 11:45:25
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 559 bytes
コンパイル時間 1,757 ms
コンパイル使用メモリ 166,636 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-30 22:27:35
合計ジャッジ時間 1,710 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,812 KB
testcase_01 AC 2 ms
6,940 KB
testcase_02 AC 2 ms
6,940 KB
testcase_03 AC 1 ms
6,944 KB
testcase_04 AC 1 ms
6,940 KB
testcase_05 AC 2 ms
6,944 KB
testcase_06 AC 2 ms
6,944 KB
testcase_07 AC 2 ms
6,940 KB
testcase_08 AC 1 ms
6,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
template<class T> inline bool chmax(T& a, T b){ if (a < b){ a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b){ if (a > b){ a = b; return true; } return false; }
using namespace std;
using ll = long long;
ll mod = 1e9+7;
const int dx[8] = {-1,0,1,0,-1,-1,1,1};
const int dy[8] = {0,1,0,-1,1,-1,1,-1};

int main(){
    string s;
    cin >> s;
    string t = "yukicoder";
    for(int i=0;i<s.size();++i){
        if (s[i]=='?') {
            cout << t[i] << endl;
            return 0;
        }
    }
}
0