/ SeriousOJ /

Record Detail

Memory Exceeded


  
# Status Time Cost Memory Cost
#1 Wrong Answer 1ms 352.0 KiB
#2 Memory Exceeded ≥884ms ≥32.016 MiB

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:51
Judged At
2024-11-11 03:41:07
Judged By
Score
0
Total Time
≥884ms
Peak Memory
≥32.016 MiB