Pagini recente » Borderou de evaluare (job #2610994) | Borderou de evaluare (job #801432) | Borderou de evaluare (job #1289825) | Borderou de evaluare (job #525032) | Borderou de evaluare (job #557463)
Borderou de evaluare (job #557463)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d %d",&N,&P,&K);
^
user.cpp:31:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:31:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d",&N,&P,&K);
^
user.cpp:33:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&C[i].cost,&C[i].cap);
^
user.cpp:36:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 8ms | 300kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 8ms | 288kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 280kb | Incorect | 0 |
8 | 0ms | 264kb | Incorect | 0 |
9 | 0ms | 300kb | Incorect | 0 |
10 | 12ms | 308kb | Incorect | 0 |
Punctaj total | 0 |