Pagini recente » Borderou de evaluare (job #2344571) | Borderou de evaluare (job #2891820) | Borderou de evaluare (job #212486) | Borderou de evaluare (job #1660422) | Borderou de evaluare (job #1356730)
Borderou de evaluare (job #1356730)
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]!='"'&&s[i]!=NULL) {i++;printf("**");if(s[i]==NULL){i=0;fgets(s,1030,f);}}i++;
^
user.c:12:91: 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]!='"'&&s[i]!=NULL) {i++;printf("**");if(s[i]==NULL){i=0;fgets(s,1030,f);}}i++;
^
user.c:12:124: 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]!='"'&&s[i]!=NULL) {i++;printf("**");if(s[i]==NULL){i=0;fgets(s,1030,f);}}i++;
^
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]>='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:24:137: warning: comparison between pointer and integer [enabled by default]
{for(i=0;i<strlen(s);i++) {if(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:24:156: warning: comparison between pointer and integer [enabled by default]
{for(i=0;i<strlen(s);i++) {if(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:9:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);
^
user.c:12:141: 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]!='"'&&s[i]!=NULL) {i++;printf("**");if(s[i]==NULL){i=0;fgets(s,1030,f);}}i++;
^
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:173: 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]>='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: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 | 228kb | Incorect | 0 |
2 | 0ms | 240kb | OK | 10 |
3 | 0ms | 232kb | Incorect | 0 |
4 | 0ms | 236kb | Incorect | 0 |
5 | 0ms | 232kb | Incorect | 0 |
6 | 0ms | 236kb | Incorect | 0 |
7 | 0ms | 236kb | OK | 10 |
8 | 72ms | 236kb | Incorect | 0 |
9 | 76ms | 228kb | Incorect | 0 |
10 | 92ms | 232kb | Incorect | 0 |
Punctaj total | 20 |