/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 125ms 15.051 MiB
#2 Accepted 648ms 50.312 MiB
#3 Accepted 647ms 54.469 MiB
#4 Accepted 649ms 54.004 MiB
#5 Accepted 718ms 52.859 MiB
#6 Accepted 714ms 54.605 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-12-17 11:32:57
Judged By
Score
100
Total Time
718ms
Peak Memory
54.605 MiB