Pagini recente » Borderou de evaluare (job #2887510) | Borderou de evaluare (job #940557) | Borderou de evaluare (job #3139402) | Borderou de evaluare (job #1546165) | Borderou de evaluare (job #1784834)
Borderou de evaluare (job #1784834)
Raport evaluator
Compilare:
user.cpp: In function ‘void calc_linie(int, int)’:
user.cpp:14:28: warning: variable ‘i2’ set but not used [-Wunused-but-set-variable]
int i, min1, min2, i1, i2;
^
user.cpp: In function ‘int main()’:
user.cpp:43: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:44: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:48:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:52:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu", &v[i][j]);
^
user.cpp: In function ‘void calc_linie(int, int)’:
user.cpp:37:41: warning: ‘i1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else a[lin][i] = min2 + v[lin][i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 504kb | OK | 10 | 30 |
2 | 8ms | 468kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 312kb | OK | 10 | 30 |
5 | 0ms | 360kb | OK | 10 |
6 | 0ms | 332kb | OK | 10 |
7 | 0ms | 300kb | OK | 10 | 40 |
8 | 0ms | 348kb | OK | 10 |
9 | 0ms | 364kb | OK | 10 |
10 | 12ms | 484kb | OK | 10 |
Punctaj total | 100 |