結果

問題 No.3000 enuemu暗号
ユーザー mits58mits58
提出日時 2016-07-02 22:29:29
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 5,000 ms
コード長 352 bytes
コンパイル時間 2,354 ms
コンパイル使用メモリ 74,536 KB
実行使用メモリ 41,416 KB
最終ジャッジ日時 2024-04-20 06:19:24
合計ジャッジ時間 3,334 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
41,188 KB
testcase_01 AC 128 ms
41,212 KB
testcase_02 AC 127 ms
41,416 KB
testcase_03 AC 131 ms
41,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str="cqlmdrstfxyzbanopuvweghijk";
		while(sc.hasNext()){
			String s=sc.next();
			for(int i=0;i<s.length();i++){
				int a=s.charAt(i)-'a';
				System.out.print(str.charAt(a));
			}
			System.out.println();
		}
	}
}
0