Pagini recente » Borderou de evaluare (job #1558544) | Borderou de evaluare (job #361616) | Borderou de evaluare (job #1716868) | Borderou de evaluare (job #735916) | Borderou de evaluare (job #1509379)
Borderou de evaluare (job #1509379)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:7:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fp,"%d",&n);
^
user.c:8:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fp,"%d",&p);
^
user.c:13:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fq,"%d",s);
^
user.c:7:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d",&n);
^
user.c:8:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d",&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 252kb | Incorect | 0 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 0ms | 248kb | Incorect | 0 |
7 | 0ms | 248kb | Incorect | 0 |
8 | 0ms | 248kb | Incorect | 0 |
9 | 0ms | 252kb | Incorect | 0 |
10 | 0ms | 252kb | Incorect | 0 |
Punctaj total | 20 |