結果

問題 No.692 square1001 and Permutation 1
ユーザー YamaKasaYamaKasa
提出日時 2018-07-15 22:12:21
言語 Java21
(openjdk 21)
結果
AC  
実行時間 124 ms / 2,000 ms
コード長 273 bytes
コンパイル時間 3,331 ms
コンパイル使用メモリ 71,016 KB
実行使用メモリ 57,964 KB
最終ジャッジ日時 2023-08-07 05:37:01
合計ジャッジ時間 4,572 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
56,064 KB
testcase_01 AC 118 ms
55,504 KB
testcase_02 AC 123 ms
55,924 KB
testcase_03 AC 118 ms
56,032 KB
testcase_04 AC 120 ms
55,924 KB
testcase_05 AC 119 ms
55,900 KB
testcase_06 AC 120 ms
57,964 KB
testcase_07 AC 124 ms
55,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int N = scan.nextInt();
		scan.close();
		if(N == 1) {
			System.out.println("square1001");
		}else {
			System.out.println("Petr");
		}
	}
}
0