結果

問題 No.3064 う し た ぷ に き あ く ん 笑
ユーザー 👑tozangezan👑tozangezan
提出日時 2020-04-01 21:58:17
言語 Java21
(openjdk 21)
結果
AC  
実行時間 808 ms / 2,000 ms
コード長 859 bytes
コンパイル時間 3,223 ms
コンパイル使用メモリ 73,516 KB
実行使用メモリ 65,864 KB
最終ジャッジ日時 2023-09-09 18:11:13
合計ジャッジ時間 21,335 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 152 ms
56,740 KB
testcase_01 AC 151 ms
56,848 KB
testcase_02 AC 153 ms
56,756 KB
testcase_03 AC 149 ms
56,812 KB
testcase_04 AC 149 ms
56,768 KB
testcase_05 AC 154 ms
56,756 KB
testcase_06 AC 150 ms
56,580 KB
testcase_07 AC 149 ms
56,584 KB
testcase_08 AC 150 ms
56,932 KB
testcase_09 AC 151 ms
56,852 KB
testcase_10 AC 151 ms
57,000 KB
testcase_11 AC 150 ms
56,768 KB
testcase_12 AC 150 ms
56,828 KB
testcase_13 AC 153 ms
56,704 KB
testcase_14 AC 152 ms
56,984 KB
testcase_15 AC 150 ms
56,648 KB
testcase_16 AC 153 ms
56,824 KB
testcase_17 AC 151 ms
57,028 KB
testcase_18 AC 150 ms
56,764 KB
testcase_19 AC 149 ms
56,856 KB
testcase_20 AC 153 ms
56,900 KB
testcase_21 AC 148 ms
56,780 KB
testcase_22 AC 149 ms
56,800 KB
testcase_23 AC 150 ms
56,676 KB
testcase_24 AC 152 ms
54,700 KB
testcase_25 AC 152 ms
56,608 KB
testcase_26 AC 453 ms
65,472 KB
testcase_27 AC 329 ms
44,276 KB
testcase_28 AC 776 ms
51,252 KB
testcase_29 AC 781 ms
51,492 KB
testcase_30 AC 808 ms
51,488 KB
testcase_31 AC 691 ms
51,120 KB
testcase_32 AC 732 ms
51,460 KB
testcase_33 AC 304 ms
44,620 KB
testcase_34 AC 719 ms
47,604 KB
testcase_35 AC 600 ms
50,984 KB
testcase_36 AC 609 ms
50,600 KB
testcase_37 AC 807 ms
51,312 KB
testcase_38 AC 677 ms
51,256 KB
testcase_39 AC 351 ms
46,604 KB
testcase_40 AC 447 ms
50,420 KB
testcase_41 AC 644 ms
51,336 KB
testcase_42 AC 218 ms
41,008 KB
testcase_43 AC 347 ms
44,836 KB
testcase_44 AC 678 ms
65,864 KB
testcase_45 AC 445 ms
50,592 KB
testcase_46 AC 152 ms
56,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.io.*;
import java.math.*;
class Main{

	public static void main(String args[]){
		Scanner s=new Scanner(System.in);
		String str=s.next();
		String conv[]={"うし","うあ","ん笑","たぷ","くん","ぷに",
					   "しき","あく","うく","あ笑","うん","しぷ",
					   "うき","く笑","う笑","にき","ぷ笑","たき",
					   "たん","しあ","しん","うう","うた","き笑",
					   "にく","笑笑"};
		for(int i=0;i<str.length();i++){
			int at=(int)(str.charAt(i)-'a');
			System.out.print(conv[at].charAt(0)+" "+conv[at].charAt(1)+" ");
		}
		// for(int i=0;i<str.length()/2;i++){
		// 	for(int j=0;j<26;j++){
		// 		if(str.charAt(i*2)==conv[j].charAt(0)&&str.charAt(i*2+1)==conv[j].charAt(1)){
		// 			System.out.print(""+(char)(j+'a'));
		// 		}
		// 	}
		// }
		System.out.println();
	}
}

0