/ SeriousOJ /

Record Detail

Compile Error

foo.c: In function 'main':
foo.c:3:20: error: expected identifier or '(' before ';' token
    3 | long int a,b,c,d,e,;
      |                    ^

Code

#include<stdio.h>
int main(){
long int a,b,c,d,e,;
int f,j;
scanf("%d",&f);
for (j=1;j<=f;j++){
scanf("%ld%ld%ld%ld", &a,&b,&c,&d);
for(e=1;e<=d;e++)
if(e%a==0 && e%b==0 && e%c==0){
    printf("%ld", e);
}





}
}

Information

Submit By
Type
Submission
Problem
P1025 GCM
Contest
Brain booster #2
Language
C99 (GCC 13.2.0)
Submit At
2024-03-06 16:58:38
Judged At
2024-11-11 03:41:07
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes