結果

問題 No.327 アルファベット列
ユーザー hhgfhn1
提出日時 2018-11-04 12:28:30
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 453 bytes
コンパイル時間 1,933 ms
コンパイル使用メモリ 74,428 KB
実行使用メモリ 120,400 KB
最終ジャッジ日時 2024-11-20 19:47:56
合計ジャッジ時間 23,025 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other WA * 15 RE * 31 TLE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	@SuppressWarnings("resource")
	public static void main(String args[]) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		String a[] = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S",
				"T", "U", "V", "W", "X", "Y", "Z" };
		String s=a[n%26];
		for(int i=0;i<=n/26;i++) {
			System.out.print(s);
		}
		System.out.println("");
	}
}
0