Pagini recente » Borderou de evaluare (job #2413864) | Borderou de evaluare (job #708453) | Borderou de evaluare (job #2394701) | Borderou de evaluare (job #2208129) | Borderou de evaluare (job #1604340)
Borderou de evaluare (job #1604340)
Raport evaluator
Compilare:
user.cpp:4:22: warning: integer overflow in expression [-Woverflow]
#define inf ((2<<30)-1)
^
user.cpp:12:44: note: in expansion of macro ‘inf’
int P[61][61][61], s[61][61][61], sFinal = inf, sol[60], solProviz[60], poz[61][61][61];
^
user.cpp: In function ‘void dinamica()’:
user.cpp:4:22: warning: integer overflow in expression [-Woverflow]
#define inf ((2<<30)-1)
^
user.cpp:65:24: note: in expansion of macro ‘inf’
smin = inf;
^
user.cpp: In function ‘int main()’:
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.in", "rt", stdin);
^
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.out", "wt", stdout);
^
user.cpp: In function ‘void read()’:
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘void dinamica()’:
user.cpp:80:46: warning: ‘camPrec.pp::y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
prec[niv][x][y].y = camPrec.y;
^
user.cpp:79:46: warning: ‘camPrec.pp::x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
prec[niv][x][y].x = camPrec.x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 800kb | OK | 10 |
2 | 0ms | 904kb | OK | 10 |
3 | 0ms | 1072kb | OK | 10 |
4 | 4ms | 1444kb | OK | 10 |
5 | 12ms | 2572kb | OK | 10 |
6 | 12ms | 2792kb | OK | 10 |
7 | 16ms | 3012kb | OK | 10 |
8 | 16ms | Depăşit | Memory limit exceeded. | 0 |
9 | 20ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 576kb | OK | 10 |
Punctaj total | 80 |