Pagini recente » Cod sursa (job #1302413) | Borderou de evaluare (job #598141) | Borderou de evaluare (job #2246307) | Cod sursa (job #1988772) | Borderou de evaluare (job #594447)
Borderou de evaluare (job #594447)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:37: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:37:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:35: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:37: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:40: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 | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | Depăşit | 280kb | Time limit exceeded. | 0 |
4 | Depăşit | 248kb | Time limit exceeded. | 0 |
5 | 8ms | 288kb | OK | 10 |
6 | 4ms | 276kb | OK | 10 |
7 | Depăşit | 248kb | Time limit exceeded. | 0 |
8 | 0ms | 272kb | OK | 10 |
9 | Depăşit | 272kb | Time limit exceeded. | 0 |
10 | Depăşit | 276kb | Time limit exceeded. | 0 |
Punctaj total | 50 |