結果

問題 No.692 square1001 and Permutation 1
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-06-11 00:05:14
言語 Java21
(openjdk 21)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 920 bytes
コンパイル時間 2,048 ms
コンパイル使用メモリ 71,640 KB
実行使用メモリ 56,336 KB
最終ジャッジ日時 2023-09-13 02:48:29
合計ジャッジ時間 3,819 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
56,128 KB
testcase_01 AC 118 ms
56,028 KB
testcase_02 AC 118 ms
56,144 KB
testcase_03 AC 116 ms
55,900 KB
testcase_04 AC 118 ms
55,836 KB
testcase_05 AC 120 ms
55,888 KB
testcase_06 AC 118 ms
56,096 KB
testcase_07 AC 119 ms
56,336 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import static java.lang.System.*;
import java.util.*;

public class Main {
	//初期フィールド・メソッド---------------------------------------------
	static Scanner sc = new Scanner(System.in);
	static int min(int... ar) {Arrays.sort(ar); return ar[0];}
	static int max(int... ar) {Arrays.sort(ar); return ar[ar.length-1];}
	//------------------------------------------------------------


	//フィールド追加場所-----------------------------------------------
	//------------------------------------------------------------


	//メソッド追加場所------------------------------------------------
	//------------------------------------------------------------


	//mainメソッド---------------------------------------------------
	public static void main(String[] args) {
		out.println(sc.nextInt()==1?"square1001":"Petr");
	}
	//------------------------------------------------------------
}
0