Pagini recente » Borderou de evaluare (job #1828479) | Borderou de evaluare (job #1755122) | Borderou de evaluare (job #386904) | Borderou de evaluare (job #2594427) | Borderou de evaluare (job #1356965)
Borderou de evaluare (job #1356965)
Raport evaluator
Compilare:
user.c: In function ‘trans’:
user.c:5:15: warning: comparison between pointer and integer [enabled by default]
while(s[i]!=NULL ) {if(s[i]=='"') {strcpy(s+i,s+i+1);while(s[i]!='"') i++;strcpy(s+i,s+i+1);}
^
user.c:5:5: warning: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration]
while(s[i]!=NULL ) {if(s[i]=='"') {strcpy(s+i,s+i+1);while(s[i]!='"') i++;strcpy(s+i,s+i+1);}
^
user.c:5:40: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
while(s[i]!=NULL ) {if(s[i]=='"') {strcpy(s+i,s+i+1);while(s[i]!='"') i++;strcpy(s+i,s+i+1);}
^
user.c:6:45: warning: incompatible implicit declaration of built-in function ‘strcpy’ [enabled by default]
else if(s[i]==' ') {strcpy(s+i,s+i+1);}
^
user.c: In function ‘main’:
user.c:19:21: warning: comparison between pointer and integer [enabled by default]
for(i=0;s[i]!=NULL&&j==0;i++) {if(s[i]==','||s[i]=='{') {i++;while(!((s[i]>='a' && s[i]<='z')||(s[i]>='A'&& s[i]<='Z')||(s[i]>='0'&&s[i]<='9'))&&s[i]!=NULL) {i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:19:158: warning: comparison between pointer and integer [enabled by default]
for(i=0;s[i]!=NULL&&j==0;i++) {if(s[i]==','||s[i]=='{') {i++;while(!((s[i]>='a' && s[i]<='z')||(s[i]>='A'&& s[i]<='Z')||(s[i]>='0'&&s[i]<='9'))&&s[i]!=NULL) {i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:19:178: warning: comparison between pointer and integer [enabled by default]
for(i=0;s[i]!=NULL&&j==0;i++) {if(s[i]==','||s[i]=='{') {i++;while(!((s[i]>='a' && s[i]<='z')||(s[i]>='A'&& s[i]<='Z')||(s[i]>='0'&&s[i]<='9'))&&s[i]!=NULL) {i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:20:58: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
while(s[i]!='"'&&i<strlen(s)) {fprintf(g,"%c",s[i]);i++;}fprintf(g,",");
^
user.c:20:77: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
while(s[i]!='"'&&i<strlen(s)) {fprintf(g,"%c",s[i]);i++;}fprintf(g,",");
^
user.c:31:18: warning: comparison between pointer and integer [enabled by default]
{for(i=0;s[i]!=NULL;i++) {if(s[i]==':') {i++;
^
user.c:32:69: warning: comparison between pointer and integer [enabled by default]
while(s[i]!=','&&s[i]!='}'&&s[i]!=NULL){ fprintf(g,"%c",s[i]);i++;}
^
user.c:16:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);
^
user.c:19:195: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;s[i]!=NULL&&j==0;i++) {if(s[i]==','||s[i]=='{') {i++;while(!((s[i]>='a' && s[i]<='z')||(s[i]>='A'&& s[i]<='Z')||(s[i]>='0'&&s[i]<='9'))&&s[i]!=NULL) {i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:28:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);trans(s);
^
user.c:40:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);trans(s);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 224kb | Incorect | 0 |
3 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 224kb | Incorect | 0 |
7 | 0ms | 224kb | Incorect | 0 |
8 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 228kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |