Pagini recente » Borderou de evaluare (job #814136) | Borderou de evaluare (job #2309878) | Borderou de evaluare (job #388394) | Borderou de evaluare (job #728365) | Borderou de evaluare (job #1812335)
Borderou de evaluare (job #1812335)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:45: warning: variable ‘p3’ set but not used [-Wunused-but-set-variable]
int min1 = inf, min2 = inf, p1, p2, p3 , min3 = inf;
^
user.cpp:15:38: 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:16:40: 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:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:21:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[0][j]);
^
user.cpp:34:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[p][j]);
^
user.cpp:71:43: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dp[p][j] = min3 + mat[p][j];
^
user.cpp:66:41: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(p1 != j && (i != 2 || p1 != 1))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 420kb | OK | 10 | 30 |
2 | 8ms | 424kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 | 30 |
5 | 0ms | 424kb | OK | 10 |
6 | 0ms | 428kb | OK | 10 |
7 | 0ms | 428kb | OK | 10 | 40 |
8 | 0ms | 428kb | OK | 10 |
9 | 0ms | 424kb | OK | 10 |
10 | 8ms | 424kb | OK | 10 |
Punctaj total | 100 |