結果

問題 No.3064 う し た ぷ に き あ く ん 笑
ユーザー sca1lsca1l
提出日時 2020-04-21 12:44:57
言語 Java21
(openjdk 21)
結果
AC  
実行時間 223 ms / 2,000 ms
コード長 795 bytes
コンパイル時間 2,701 ms
コンパイル使用メモリ 74,884 KB
実行使用メモリ 45,612 KB
最終ジャッジ日時 2024-04-16 21:12:59
合計ジャッジ時間 10,301 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 105 ms
41,692 KB
testcase_01 AC 97 ms
41,252 KB
testcase_02 AC 107 ms
41,544 KB
testcase_03 AC 95 ms
41,116 KB
testcase_04 AC 97 ms
41,168 KB
testcase_05 AC 99 ms
41,140 KB
testcase_06 AC 95 ms
41,016 KB
testcase_07 AC 108 ms
41,456 KB
testcase_08 AC 117 ms
41,220 KB
testcase_09 AC 101 ms
41,152 KB
testcase_10 AC 106 ms
41,476 KB
testcase_11 AC 105 ms
40,940 KB
testcase_12 AC 103 ms
41,136 KB
testcase_13 AC 113 ms
40,056 KB
testcase_14 AC 129 ms
41,760 KB
testcase_15 AC 119 ms
41,380 KB
testcase_16 AC 95 ms
41,288 KB
testcase_17 AC 116 ms
41,164 KB
testcase_18 AC 115 ms
41,360 KB
testcase_19 AC 101 ms
41,308 KB
testcase_20 AC 98 ms
41,412 KB
testcase_21 AC 110 ms
41,396 KB
testcase_22 AC 96 ms
41,668 KB
testcase_23 AC 117 ms
41,384 KB
testcase_24 AC 98 ms
41,652 KB
testcase_25 AC 99 ms
41,468 KB
testcase_26 AC 169 ms
42,592 KB
testcase_27 AC 128 ms
42,040 KB
testcase_28 AC 213 ms
45,200 KB
testcase_29 AC 220 ms
45,200 KB
testcase_30 AC 223 ms
45,008 KB
testcase_31 AC 205 ms
44,184 KB
testcase_32 AC 214 ms
44,888 KB
testcase_33 AC 138 ms
41,572 KB
testcase_34 AC 219 ms
45,612 KB
testcase_35 AC 188 ms
43,356 KB
testcase_36 AC 192 ms
43,716 KB
testcase_37 AC 220 ms
45,320 KB
testcase_38 AC 214 ms
44,108 KB
testcase_39 AC 126 ms
42,076 KB
testcase_40 AC 156 ms
42,688 KB
testcase_41 AC 199 ms
43,576 KB
testcase_42 AC 107 ms
41,656 KB
testcase_43 AC 146 ms
41,948 KB
testcase_44 AC 212 ms
44,004 KB
testcase_45 AC 154 ms
42,332 KB
testcase_46 AC 98 ms
41,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        char[] s = sc.next().toCharArray();
        String a = "う し う あ ん 笑 た ぷ く ん ぷ に し き あ く う く あ 笑 う ん し ぷ う き く 笑 う 笑 に き ぷ 笑 た き た ん し あ し ん う う う た き 笑 に く 笑 笑 ";
        String[] b = new String[26];
        for(int i=0; i<26; i++){
            b[i] = a.substring(i*4, i*4+4);
        }
        StringBuilder ans = new StringBuilder();
        for(char c : s){
            ans.append(b[c - 97]);
        }
        System.out.println(ans.toString());
    }
}
0