Pagini recente » Borderou de evaluare (job #2617241) | Borderou de evaluare (job #2609209) | Borderou de evaluare (job #1547783) | Borderou de evaluare (job #2984315) | Borderou de evaluare (job #1258927)
Borderou de evaluare (job #1258927)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&p);
^
user.cpp:40:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&t[i],&c[i]);
^
user.cpp:61:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",maxs-p);
^
user.cpp:38:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&p);
^
user.cpp:40:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&t[i],&c[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | Incorect | 0 |
| 2 | 0ms | 252kb | Incorect | 0 |
| 3 | 0ms | 248kb | Incorect | 0 |
| 4 | 0ms | 256kb | Incorect | 0 |
| 5 | 8ms | 256kb | Incorect | 0 |
| 6 | 8ms | 256kb | Incorect | 0 |
| 7 | 8ms | 260kb | Incorect | 0 |
| 8 | 28ms | 252kb | Incorect | 0 |
| 9 | 28ms | 256kb | Incorect | 0 |
| 10 | 28ms | 260kb | Incorect | 0 |
| Punctaj total | 0 |