Pagini recente » Borderou de evaluare (job #655336) | Borderou de evaluare (job #1185345) | Borderou de evaluare (job #2325234) | Borderou de evaluare (job #2432907) | Borderou de evaluare (job #1358062)
Borderou de evaluare (job #1358062)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&mat[i][j]);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.in","r",stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lacusta.out","w",stdout);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:45:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&mat[i][j]);
^
user.cpp: In function ‘int mn(int)’:
user.cpp:34:12: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return jminim;
^
user.cpp: In function ‘int main()’:
user.cpp:58:71: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol[i][j] = mat[i][j] + mat[i-1][j] + min(i-1, 2, jmin);
^
user.cpp:49:17: warning: ‘jminim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jmin = mn(2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 32ms | 508kb | Incorect | 0 | 0 |
2 | 20ms | 456kb | Incorect | 0 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 312kb | OK | 10 | 0 |
5 | 0ms | 368kb | Incorect | 0 |
6 | 0ms | 328kb | OK | 10 |
7 | 0ms | 300kb | Incorect | 0 | 0 |
8 | 0ms | 352kb | Incorect | 0 |
9 | 4ms | 368kb | Incorect | 0 |
10 | 32ms | 492kb | Incorect | 0 |
Punctaj total | 0 |