結果
問題 |
No.494 yukicoder
|
ユーザー |
![]() |
提出日時 | 2019-08-20 15:29:10 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 337 bytes |
コンパイル時間 | 312 ms |
コンパイル使用メモリ | 30,848 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-06 12:25:13 |
合計ジャッジ時間 | 815 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <math.h> int main(void) { char yuki[]="yukicoder"; char str[10]=""; int index=0; scanf("%s",str); for(int i=0;i<10;i++) { if(str[i]=='?') { index=i; } } printf("%c",yuki[index]); }