結果

問題 No.692 square1001 and Permutation 1
ユーザー Tsukasa_Type
提出日時 2018-06-11 00:05:14
言語 Java
(openjdk 23)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 920 bytes
コンパイル時間 1,972 ms
コンパイル使用メモリ 74,752 KB
実行使用メモリ 41,560 KB
最終ジャッジ日時 2024-06-30 13:24:23
合計ジャッジ時間 3,538 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

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