結果

問題 No.1945 Go Push!
ユーザー ID 21712ID 21712
提出日時 2024-11-25 11:07:44
言語 Go
(1.22.1)
結果
AC  
実行時間 93 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 11,202 ms
コンパイル使用メモリ 231,296 KB
実行使用メモリ 7,836 KB
最終ジャッジ日時 2024-11-25 11:08:01
合計ジャッジ時間 13,619 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
6,816 KB
testcase_01 AC 1 ms
6,820 KB
testcase_02 AC 1 ms
6,820 KB
testcase_03 AC 3 ms
6,816 KB
testcase_04 AC 2 ms
6,816 KB
testcase_05 AC 3 ms
6,816 KB
testcase_06 AC 2 ms
6,820 KB
testcase_07 AC 2 ms
6,816 KB
testcase_08 AC 31 ms
6,820 KB
testcase_09 AC 45 ms
6,816 KB
testcase_10 AC 88 ms
6,816 KB
testcase_11 AC 36 ms
6,820 KB
testcase_12 AC 64 ms
6,820 KB
testcase_13 AC 68 ms
6,820 KB
testcase_14 AC 5 ms
6,816 KB
testcase_15 AC 31 ms
6,816 KB
testcase_16 AC 27 ms
6,816 KB
testcase_17 AC 26 ms
6,820 KB
testcase_18 AC 44 ms
6,820 KB
testcase_19 AC 91 ms
7,708 KB
testcase_20 AC 75 ms
6,820 KB
testcase_21 AC 43 ms
6,816 KB
testcase_22 AC 93 ms
7,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import . "fmt"
import . "os"
import bf "bufio"

func main() {
	rd := bf.NewReader(Stdin)
	var n int
	Fscan(rd, &n)
	var x int
	for ;n>0; n-- {
		var a int
		Fscan(rd, &a)
		x = x^a
	}
	if x == 0 {
		Println("Second")
	} else {
		Println("First")
	}
}
0