Memory Exceeded
Code
#include<stdio.h>
int main(){
long int a,b,c,d,e,f,j;
scanf("%ld",&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:57:40
- Judged At
- 2024-11-11 03:41:09
- Judged By
- Score
- 0
- Total Time
- ≥1071ms
- Peak Memory
- ≥32.016 MiB