/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 90ms 10.934 MiB
#2 Wrong Answer 89ms 11.004 MiB
#3 Wrong Answer 89ms 11.25 MiB

Code

import java.util.*;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int x,y,z;
        x = sc.nextInt();
        y = sc.nextInt();
        z = sc.nextInt();

       if(x%2==0 && z%2==0){
        System.out.println(x);
       }
       else if(y%2==0&& z%2==0){
        System.out.println(z);
       }
       else{
        System.out.println(y);
       }
    }
}

Information

Submit By
Type
Submission
Problem
P1232 Parity
Contest
LUCC Presents Kick & Code Intra LU Programming Contest
Language
Java 8 (OpenJDK 1.8.0_422)
Submit At
2025-09-01 05:27:11
Judged At
2025-09-01 05:27:11
Judged By
Score
20
Total Time
90ms
Peak Memory
11.25 MiB