結果

問題 No.692 square1001 and Permutation 1
ユーザー youthfuldays072youthfuldays072
提出日時 2018-06-22 17:32:24
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 309 bytes
コンパイル時間 1,992 ms
コンパイル使用メモリ 71,604 KB
実行使用メモリ 56,616 KB
最終ジャッジ日時 2023-09-13 08:01:14
合計ジャッジ時間 3,713 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
56,616 KB
testcase_01 AC 121 ms
55,832 KB
testcase_02 AC 123 ms
56,272 KB
testcase_03 AC 125 ms
55,524 KB
testcase_04 AC 123 ms
56,076 KB
testcase_05 AC 124 ms
55,908 KB
testcase_06 AC 123 ms
56,104 KB
testcase_07 AC 123 ms
56,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Main main=new Main();
		main.run();
	}

	void run() {

		Scanner sc=new Scanner(System.in);

		int N=sc.nextInt();

		if(N==1) {
			System.out.println("square1001");
		}else {
			System.out.println("Petr");
		}
	}
}


0