Compile Error
/usr/bin/ld: /tmp/ccA7MctM.o: in function `main': foo.c:(.text.startup+0xb9): undefined reference to `strlwr' collect2: error: ld returned 1 exit status
Code
#include<stdio.h>
#include<string.h>
//My Name is maher Ahmed i am a new student at leading university.batch 63 (c)
int main(){
int T;
scanf("%d",&T);
for(int i=0;i<T;i++)
{
char S[105];
scanf("%s",S);
int n=strlen(S);
while(n>1)
{
int j=0;
//for skiping even postive
for(int i=0;i<n;i=i+2)
{
S[j++]=S[i];
}
S[j]='\0';
n=j;
}
printf("%s\n",strlwr(S));
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1080 String Algorithm
- Contest
- Bangladesh 2.0
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2024-08-16 17:09:01
- Judged At
- 2024-11-11 03:12:30
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes