結果
問題 | No.494 yukicoder |
ユーザー | shinwisteria |
提出日時 | 2017-03-24 22:46:28 |
言語 | Java21 (openjdk 21) |
結果 |
AC
|
実行時間 | 125 ms / 2,000 ms |
コード長 | 321 bytes |
コンパイル時間 | 3,475 ms |
コンパイル使用メモリ | 75,164 KB |
実行使用メモリ | 41,104 KB |
最終ジャッジ日時 | 2024-07-05 22:13:30 |
合計ジャッジ時間 | 5,157 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 120 ms
41,016 KB |
testcase_01 | AC | 116 ms
39,948 KB |
testcase_02 | AC | 121 ms
40,892 KB |
testcase_03 | AC | 121 ms
40,872 KB |
testcase_04 | AC | 122 ms
39,696 KB |
testcase_05 | AC | 112 ms
39,716 KB |
testcase_06 | AC | 122 ms
40,608 KB |
testcase_07 | AC | 125 ms
41,104 KB |
testcase_08 | AC | 122 ms
40,720 KB |
ソースコード
import java.util.Scanner; public class YukiCoder { public static void main(String[] args) { Scanner s = new Scanner(System.in); StringBuilder S = new StringBuilder(s.nextLine()); s.close(); StringBuilder str = new StringBuilder("yukicoder"); int i = S.indexOf("?"); System.out.println(str.charAt(i)); } }