/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 0ms 320.0 KiB

Code

#include <stdio.h>
int main(){
    int x,y,z;
    scanf("%d %d %d",&x,&y,&z);
    int c;
    if(x%2==0){
        c=x;
    }
    else if(y%2==0){
        c=y;
    }
    else{
        c=z;
    }
    printf("%d",c);
    return 0;

}

Information

Submit By
Type
Pretest
Problem
P1232 Parity
Language
C11 (GCC 13.2.0)
Submit At
2025-09-01 05:54:31
Judged At
2025-09-01 05:54:31
Judged By
Score
10
Total Time
0ms
Peak Memory
320.0 KiB