Pagini recente » Cod sursa (job #1022501) | Borderou de evaluare (job #2222370) | Borderou de evaluare (job #2801650) | Borderou de evaluare (job #991927) | Borderou de evaluare (job #1356735)
Borderou de evaluare (job #1356735)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:12: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:12: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:12: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:13: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:13: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:24:16: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
{for(i=0;i<strlen(s);i++) {if(s[i]==':') {i++;while((s[i]==' '&&s[i]!=NULL)||s[i]=='"'||s[i]=='\n'){i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:24:74: warning: comparison between pointer and integer [enabled by default]
{for(i=0;i<strlen(s);i++) {if(s[i]==':') {i++;while((s[i]==' '&&s[i]!=NULL)||s[i]=='"'||s[i]=='\n'){i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:24:117: warning: comparison between pointer and integer [enabled by default]
{for(i=0;i<strlen(s);i++) {if(s[i]==':') {i++;while((s[i]==' '&&s[i]!=NULL)||s[i]=='"'||s[i]=='\n'){i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:9:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);
^
user.c:12: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:21:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);
^
user.c:24:134: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
{for(i=0;i<strlen(s);i++) {if(s[i]==':') {i++;while((s[i]==' '&&s[i]!=NULL)||s[i]=='"'||s[i]=='\n'){i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:33:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Incorect | 0 |
2 | 0ms | 232kb | OK | 10 |
3 | 0ms | 228kb | Incorect | 0 |
4 | 0ms | 228kb | Incorect | 0 |
5 | 0ms | 232kb | Incorect | 0 |
6 | 0ms | 228kb | Incorect | 0 |
7 | 0ms | 232kb | OK | 10 |
8 | 72ms | 228kb | Incorect | 0 |
9 | 68ms | 228kb | Incorect | 0 |
10 | 88ms | 228kb | Incorect | 0 |
Punctaj total | 20 |