結果

問題 No.1217 せしすせそ
ユーザー Ryo MiyagiRyo Miyagi
提出日時 2020-09-21 16:58:43
言語 Java21
(openjdk 21)
結果
AC  
実行時間 147 ms / 2,000 ms
コード長 317 bytes
コンパイル時間 2,267 ms
コンパイル使用メモリ 73,296 KB
実行使用メモリ 56,856 KB
最終ジャッジ日時 2023-09-06 17:20:17
合計ジャッジ時間 4,921 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 139 ms
56,556 KB
testcase_01 AC 142 ms
56,584 KB
testcase_02 AC 147 ms
56,660 KB
testcase_03 AC 145 ms
56,332 KB
testcase_04 AC 143 ms
56,488 KB
testcase_05 AC 142 ms
56,704 KB
testcase_06 AC 143 ms
56,484 KB
testcase_07 AC 144 ms
56,668 KB
testcase_08 AC 143 ms
56,804 KB
testcase_09 AC 141 ms
56,856 KB
testcase_10 AC 142 ms
56,660 KB
testcase_11 AC 143 ms
56,828 KB
testcase_12 AC 143 ms
56,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		char[] text = input.next().toCharArray();
		for (int i = 0; i < text.length; i++) {
			if (text[i] != 'a' + i) {
				System.out.println((char)('a' + i) + "to" + text[i]);
			}
		}
	}
}
0