結果
問題 |
No.1945 Go Push!
|
ユーザー |
![]() |
提出日時 | 2022-05-21 00:17:54 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 287 ms / 2,000 ms |
コード長 | 521 bytes |
コンパイル時間 | 2,717 ms |
コンパイル使用メモリ | 72,924 KB |
実行使用メモリ | 58,520 KB |
最終ジャッジ日時 | 2024-09-20 10:41:04 |
合計ジャッジ時間 | 6,629 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String[] sa = br.readLine().split(" "); int[] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = Integer.parseInt(sa[i]); } br.close(); if (n % 2 == 1) { System.out.println("First"); } else { System.out.println("Second"); } } }