/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 100ms 10.871 MiB
#2 Accepted 528ms 48.203 MiB
#3 Accepted 565ms 50.48 MiB
#4 Accepted 517ms 50.18 MiB
#5 Accepted 555ms 49.16 MiB
#6 Accepted 600ms 50.062 MiB

Code

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		int frnd = 0;
		
		for(int i=0; i<N; i++) {
			int nfrnd = sc.nextInt();
			frnd ^= nfrnd;
		}
		System.out.println(frnd);
		sc.close();

	}

}

Information

Submit By
Type
Submission
Problem
P1095 Uncovering the Lone Heart
Contest
Brain Booster #6
Language
Java 8 (OpenJDK 1.8.0_422)
Submit At
2024-10-03 17:21:22
Judged At
2024-11-11 02:46:20
Judged By
Score
100
Total Time
600ms
Peak Memory
50.48 MiB