Pagini recente » Borderou de evaluare (job #787935) | Borderou de evaluare (job #2386263) | Borderou de evaluare (job #839961) | Borderou de evaluare (job #1875641) | Borderou de evaluare (job #1875635)
Borderou de evaluare (job #1875635)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fin, "%d", &v[i][j]);
^
user.cpp:16:37: warning: variable ‘poz2’ set but not used [-Wunused-but-set-variable]
int n, m, i, j, min1, min2, poz1, poz2, l1min, ans;
^
user.cpp:16:43: warning: unused variable ‘l1min’ [-Wunused-variable]
int n, m, i, j, min1, min2, poz1, poz2, l1min, ans;
^
user.cpp:17:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
user.cpp:20:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i][j]);
^
user.cpp:50:25: warning: ‘poz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
d[i+1][j]=v[i][j]+v[i+1][j]+min2;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 568kb | Incorect | 0 | 0 |
| 2 | 8ms | 516kb | Incorect | 0 |
| 3 | 0ms | 332kb | OK | 10 |
| 4 | 0ms | 328kb | Incorect | 0 | 0 |
| 5 | 0ms | 392kb | Incorect | 0 |
| 6 | 0ms | 356kb | OK | 10 |
| 7 | 0ms | 320kb | Incorect | 0 | 0 |
| 8 | 0ms | 372kb | Incorect | 0 |
| 9 | 0ms | 388kb | Incorect | 0 |
| 10 | 12ms | 552kb | Incorect | 0 |
| Punctaj total | 0 |