Accepted
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