Wrong Answer
Code
#include<stdio.h>
int main()
{ int T;
scanf("%d", &T);
int sum=0;
while(T--){
int X;
scanf("%d",&X);
while(X--){
int a;
scanf("%d",&a);
for(int i=a; i<=a-1; i++){
break;
sum+=i;
}
}
}
int b =(sum*T);
printf("%d",b);
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1105 Ohh that gcd again
- Contest
- LUCC Presents Kick & Code Intra LU Programming Contest
- Language
- C11 (GCC 13.2.0)
- Submit At
- 2025-09-01 07:03:59
- Judged At
- 2025-09-01 07:03:59
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 284.0 KiB