Pagini recente » Borderou de evaluare (job #1658328) | Borderou de evaluare (job #1206603) | Borderou de evaluare (job #2480187) | Borderou de evaluare (job #1467408) | Borderou de evaluare (job #1359286)
Borderou de evaluare (job #1359286)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:39:18: warning: comparison between pointer and integer [enabled by default]
{for(i=0;s[i]!=NULL;i++) {if(s[i]==':') {i++;while(s[i]==' '||s[i]=='"') {i++;if(s[i]==NULL) {i=0;fgets(s,1030,f);}}
^
user.c:39:91: warning: comparison between pointer and integer [enabled by default]
{for(i=0;s[i]!=NULL;i++) {if(s[i]==':') {i++;while(s[i]==' '||s[i]=='"') {i++;if(s[i]==NULL) {i=0;fgets(s,1030,f);}}
^
user.c:40:109: warning: comparison between pointer and integer [enabled by default]
while(s[i]!=','&&s[i]!='}'&&s[i]!='"'){ fprintf(g,"%c",s[i]);i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:12:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.c:17:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.c:18:33: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
while(c!='"') fscanf(f,"%c",&c);
^
user.c:19:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.c:23:23: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.c:30:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%c",&c);
^
user.c:36:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,1030,f);
^
user.c:39:109: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
{for(i=0;s[i]!=NULL;i++) {if(s[i]==':') {i++;while(s[i]==' '||s[i]=='"') {i++;if(s[i]==NULL) {i=0;fgets(s,1030,f);}}
^
user.c:40:126: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
while(s[i]!=','&&s[i]!='}'&&s[i]!='"'){ fprintf(g,"%c",s[i]);i++;if(s[i]==NULL){i=0;fgets(s,1030,f);}}
^
user.c:48: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 | 244kb | OK | 10 |
2 | 0ms | 240kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 0ms | 240kb | OK | 10 |
5 | 0ms | 244kb | Incorect | 0 |
6 | 0ms | 248kb | OK | 10 |
7 | 0ms | 244kb | OK | 10 |
8 | Depăşit | 236kb | Time limit exceeded. | 0 |
9 | 56ms | 248kb | OK | 10 |
10 | 60ms | 248kb | Incorect | 0 |
Punctaj total | 70 |