Borderou de evaluare (job #2392514)

Utilizator Valentin0709Datcu George Valentin Valentin0709 Data 30 martie 2019 09:34:33
Problema Concurs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1703kbOK10
25ms1703kbKilled by Signal 110
36ms2097kbKilled by Signal 110
48ms1703kbIncorect0
59ms1703kbKilled by Signal 110
615ms1835kbKilled by Signal 110
7117ms28835kbKilled by Signal 110
828ms2097kbIncorect0
944ms2228kbKilled by Signal 110
1044ms2359kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?