結果

問題 No.1945 Go Push!
ユーザー eagle
提出日時 2022-05-27 15:26:20
言語 Java
(openjdk 23)
結果
AC  
実行時間 813 ms / 2,000 ms
コード長 479 bytes
コンパイル時間 4,187 ms
コンパイル使用メモリ 82,916 KB
実行使用メモリ 59,272 KB
最終ジャッジ日時 2024-09-20 15:15:32
合計ジャッジ時間 14,091 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		//ボタンの列数
		int N = sc.nextInt();
		//各列のボタンの数
		int[] A = new int[N];
		for(int i = 0; i < N; i++) {
			A[i] = sc.nextInt();
		}
		String ans;
		//Nは偶数か
		if(N % 2 == 0) {
			ans = "Second";
		} else {
			ans = "First";
		}
		System.out.println(ans);
	}
}
0