結果

問題 No.692 square1001 and Permutation 1
ユーザー GrenacheGrenache
提出日時 2018-06-08 22:24:16
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 695 bytes
コンパイル時間 3,370 ms
コンパイル使用メモリ 75,304 KB
実行使用メモリ 56,584 KB
最終ジャッジ日時 2023-09-12 23:53:23
合計ジャッジ時間 4,900 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
55,700 KB
testcase_01 AC 119 ms
55,988 KB
testcase_02 AC 122 ms
56,372 KB
testcase_03 AC 120 ms
55,672 KB
testcase_04 AC 122 ms
56,584 KB
testcase_05 AC 121 ms
55,956 KB
testcase_06 AC 119 ms
55,404 KB
testcase_07 AC 119 ms
55,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;


public class Main_yukicoder692 {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();

		if (n == 1) {
			pr.println("square1001");
		} else {
			pr.println("Petr");
		}
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	}

	static String INPUT = null;

	private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
}
0