結果
問題 | No.494 yukicoder |
ユーザー |
![]() |
提出日時 | 2017-03-24 22:25:21 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 546 bytes |
コンパイル時間 | 427 ms |
コンパイル使用メモリ | 30,720 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-06 02:51:56 |
合計ジャッジ時間 | 868 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
#include <stdio.h>#include <string.h>#include <ctype.h>#include <math.h>#include <stdlib.h>int main(void){char s[20];int i,j;scanf("%s",s);for(i=0;i<10;i++){if(s[i]=='?'){j=i;}}switch(j){case 0:printf("y\n");break;case 1:printf("u\n");break;case 2:printf("k\n");break;case 3:printf("i\n");break;case 4:printf("c\n");break;case 5:printf("o\n");break;case 6:printf("d\n");break;case 7:printf("e\n");break;case 8:printf("r\n");break;}return 0;}