Time Exceeded
Code
#include<stdio.h>
#include<string.h>
int main()
{
int A;
scanf("%d", &A);
while(A--)
{
int B;
scanf("%d", &B);
while(B--){
{
int n;
scanf("%d",&n);
char str[n][100];
for(int i=0; i<n; i++){
printf("%d", i+1);
scanf("%s",str[i]);
}
for (int i= 0; i<n;i++){
printf("%s\n", str[i]);
}
}
}
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1227 LUCC Party Check-in
- Contest
- LUCC Presents Kick & Code Intra LU Programming Contest
- Language
- C11 (GCC 13.2.0)
- Submit At
- 2025-09-01 07:13:42
- Judged At
- 2025-09-01 07:13:42
- Judged By
- Score
- 0
- Total Time
- ≥1100ms
- Peak Memory
- ≥284.0 KiB