/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 2ms 284.0 KiB

Code

#include <stdio.h>
int gcd(int a, int b){
     while(b != 0){
        int temp =b;
        b= a%b;
        a = temp;
     }
     return 0;

}
int main(){
    int A;
    scanf("%d",&A);
    int N[A];
    scanf("%s",N);
    gcd(N[0],N[1]);
    printf("%d",gcd);

}

Information

Submit By
Type
Pretest
Problem
P1105 Ohh that gcd again
Language
C11 (GCC 13.2.0)
Submit At
2025-09-01 05:52:01
Judged At
2025-09-01 05:52:01
Judged By
Score
0
Total Time
2ms
Peak Memory
284.0 KiB