結果
問題 | No.692 square1001 and Permutation 1 |
ユーザー |
![]() |
提出日時 | 2018-06-22 17:32:24 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 134 ms / 2,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 1,971 ms |
コンパイル使用メモリ | 73,952 KB |
実行使用メモリ | 54,172 KB |
最終ジャッジ日時 | 2024-06-30 18:01:21 |
合計ジャッジ時間 | 3,775 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
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");}}}