Pagini recente » Borderou de evaluare (job #1825946) | Borderou de evaluare (job #303400) | Borderou de evaluare (job #791658) | Borderou de evaluare (job #2133402) | Borderou de evaluare (job #2392522)
Borderou de evaluare (job #2392522)
Raport evaluator
Compilare:
main.cpp: In function 'void df(int, int)':
main.cpp:32: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:45: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:45: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:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &ta, &fi);
^
main.cpp: In function 'void rezolvare()':
main.cpp:60: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:71:44: warning: 'e2w' may be used uninitialized in this function [-Wmaybe-uninitialized]
else if(s == smax && e1 == e1w && e2 < e2w) {
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:71: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 | 6ms | 2097kb | OK | 10 |
4 | 16ms | 4194kb | OK | 10 |
5 | 16ms | 4194kb | OK | 10 |
6 | 54ms | 10092kb | OK | 10 |
7 | 510ms | 28966kb | OK | 10 |
8 | 99ms | 18612kb | OK | 10 |
9 | 407ms | 27000kb | OK | 10 |
10 | 511ms | 27787kb | OK | 10 |
Punctaj total | 100 |