結果
| 問題 |
No.494 yukicoder
|
| コンテスト | |
| ユーザー |
samplelpmas
|
| 提出日時 | 2017-04-08 00:06:17 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 119 ms / 2,000 ms |
| コード長 | 339 bytes |
| コンパイル時間 | 1,849 ms |
| コンパイル使用メモリ | 74,220 KB |
| 実行使用メモリ | 54,204 KB |
| 最終ジャッジ日時 | 2024-07-16 03:28:33 |
| 合計ジャッジ時間 | 3,517 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final String YUKICODER = "yukicoder";
String memo = sc.next();
int questionIndex = memo.indexOf('?');
System.out.println(YUKICODER.charAt(questionIndex));
}
}
samplelpmas