Pagini recente » Borderou de evaluare (job #402570) | Borderou de evaluare (job #2499342) | Borderou de evaluare (job #3228394) | Borderou de evaluare (job #1423962) | Borderou de evaluare (job #1875634)
Borderou de evaluare (job #1875634)
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 | 328kb | OK | 10 |
4 | 0ms | 336kb | Incorect | 0 | 0 |
5 | 0ms | 396kb | Incorect | 0 |
6 | 0ms | 360kb | OK | 10 |
7 | 0ms | 320kb | Incorect | 0 | 0 |
8 | 0ms | 372kb | Incorect | 0 |
9 | 0ms | 388kb | Incorect | 0 |
10 | 12ms | 544kb | Incorect | 0 |
Punctaj total | 0 |