Pagini recente » Borderou de evaluare (job #1165243) | Borderou de evaluare (job #3266963) | Borderou de evaluare (job #985952) | Borderou de evaluare (job #2882969) | Borderou de evaluare (job #594430)
Borderou de evaluare (job #594430)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:33:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d %d",&C[i].cost,&C[i].cap);
^
user.cpp:33:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void parcurgere()’:
user.cpp:81:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(min>Ci->cost+C[i].cost)
^
user.cpp: In function ‘void citire()’:
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 | 268kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 12ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 8ms | 316kb | OK | 10 |
| 6 | 0ms | 280kb | OK | 10 |
| 7 | 20ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 0ms | 276kb | OK | 10 |
| 9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 28ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 60 |