Pagini recente » Borderou de evaluare (job #1192704) | Borderou de evaluare (job #1478636) | Borderou de evaluare (job #1314885) | Borderou de evaluare (job #682508) | Borderou de evaluare (job #1355902)
Borderou de evaluare (job #1355902)
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,100,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,100,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,100,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]>='a'&&s[i]<='z')||(s[i]>='A'&&s[i]<='Z')||(s[i]>='0'&&s[i]<='9')))i++;
^
user.c:9:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,100,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,100,f);}}
^
user.c:21:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,100,f);
^
user.c:33:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,100,f);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Incorect | 0 |
2 | 0ms | 232kb | Incorect | 0 |
3 | 0ms | 232kb | Incorect | 0 |
4 | 0ms | 228kb | Incorect | 0 |
5 | 0ms | 232kb | Incorect | 0 |
6 | 0ms | 228kb | Incorect | 0 |
7 | 0ms | 228kb | Incorect | 0 |
8 | 72ms | 232kb | Incorect | 0 |
9 | 68ms | 228kb | Incorect | 0 |
10 | 84ms | 232kb | Incorect | 0 |
Punctaj total | 0 |