Pagini recente » Borderou de evaluare (job #1068762) | Borderou de evaluare (job #2909593) | Borderou de evaluare (job #323644) | Borderou de evaluare (job #2825050) | Borderou de evaluare (job #2392519)
Borderou de evaluare (job #2392519)
Raport evaluator
Compilare:
main.cpp: In function 'void df(int, int)':
main.cpp:29:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[q].size(); i++) {
~~^~~~~~~~~~~~~
main.cpp: In function 'void precalc()':
main.cpp:42:29: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(h[d[i + (1<<j-1)][j - 1]] < h[d[i][j - 1]]) d[i][j] = d[i + (1<<j-1)][j - 1];
~^~
main.cpp:42:81: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
if(h[d[i + (1<<j-1)][j - 1]] < h[d[i][j - 1]]) d[i][j] = d[i + (1<<j-1)][j - 1];
~^~
main.cpp: In function 'void citire()':
main.cpp:16:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &n, &m);
^
main.cpp:17:58: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) fscanf(f, "%d", &scor[i]);
^
main.cpp:20:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &t, &fi);
^
main.cpp: In function 'void rezolvare()':
main.cpp:57:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &e1, &e2);
^
main.cpp:68:44: warning: 'e2w' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(s == smax && e1 == e1w && e2 < e2w) {
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:68:31: warning: 'e1w' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(s == smax && e1 == e1w && e2 < e2w) {
~~~~~~~~~~^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 1703kb | OK | 10 |
2 | 5ms | 1703kb | OK | 10 |
3 | 7ms | 2097kb | OK | 10 |
4 | 10ms | 1703kb | Incorect | 0 |
5 | 10ms | 1703kb | Incorect | 0 |
6 | 24ms | 1835kb | Incorect | 0 |
7 | 492ms | 28966kb | OK | 10 |
8 | 35ms | 2097kb | Incorect | 0 |
9 | 212ms | 2359kb | Incorect | 0 |
10 | 312ms | 2359kb | Incorect | 0 |
Punctaj total | 40 |