Borderou de evaluare (job #2588045)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(j=1;j<=VMAX;j++)
^~~
main.cpp:38:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(j=v[i].cant;j<=VMAX;j++){
^~~
main.cpp:24:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&W);
^
main.cpp:27:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&v[i].cant,&v[i].cost);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 262kb | Ok! | 5 |
| 2 | 7ms | 262kb | Wrong answer! | 0 |
| 3 | 3ms | 262kb | Ok! | 5 |
| 4 | 4ms | 262kb | Wrong answer! | 0 |
| 5 | 5ms | 262kb | Wrong answer! | 0 |
| 6 | 12ms | 262kb | Wrong answer! | 0 |
| 7 | 71ms | 262kb | Ok! | 5 |
| 8 | 8ms | 262kb | Wrong answer! | 0 |
| 9 | 95ms | 270kb | Ok! | 5 |
| 10 | 68ms | 262kb | Ok! | 5 |
| 11 | 68ms | 262kb | Wrong answer! | 0 |
| 12 | 92ms | 270kb | Wrong answer! | 0 |
| 13 | 68ms | 262kb | Wrong answer! | 0 |
| 14 | 68ms | 262kb | Wrong answer! | 0 |
| 15 | 68ms | 262kb | Wrong answer! | 0 |
| 16 | 68ms | 262kb | Wrong answer! | 0 |
| 17 | 68ms | 262kb | Wrong answer! | 0 |
| 18 | 68ms | 262kb | Wrong answer! | 0 |
| 19 | 68ms | 262kb | Ok! | 5 |
| 20 | 68ms | 262kb | Wrong answer! | 0 |
| Punctaj total | 30 |