Pagini recente » Borderou de evaluare (job #3278901) | Borderou de evaluare (job #944050) | Borderou de evaluare (job #2168173) | Borderou de evaluare (job #3204555) | Borderou de evaluare (job #1781518)
Borderou de evaluare (job #1781518)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d%d", &n, &L);
^
user.cpp:36:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi, "%d%d", &timp[i][0], &timp[i][1]);
^
user.cpp:14:26: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i, min=2000000000, poz;
^
user.cpp:14:26: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:6:59: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return path[a][b][poz][0]*timp[poz][0]+path[a][b][poz][1]*timp[poz][1];
^
user.cpp:14:26: note: ‘poz’ was declared here
int i, min=2000000000, poz;
^
user.cpp:6:59: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return path[a][b][poz][0]*timp[poz][0]+path[a][b][poz][1]*timp[poz][1];
^
user.cpp:14:26: note: ‘poz’ was declared here
int i, min=2000000000, poz;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 308kb | OK! | 10 |
| 2 | 0ms | 312kb | OK! | 10 |
| 3 | 0ms | 684kb | OK! | 10 |
| 4 | 0ms | 684kb | OK! | 10 |
| 5 | 0ms | 688kb | OK! | 10 |
| 6 | 12ms | 8268kb | Wrong answer! | 0 |
| 7 | 16ms | 8264kb | OK! | 10 |
| 8 | 16ms | 8272kb | OK! | 10 |
| 9 | 16ms | 8268kb | OK! | 10 |
| 10 | 16ms | 8272kb | OK! | 10 |
| Punctaj total | 90 |