Borderou de evaluare (job #2392507)

Utilizator Valentin0709Datcu George Valentin Valentin0709 Data 30 martie 2019 09:27:59
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:56: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
13ms917kbOK10
24ms917kbKilled by Signal 110
34ms1048kbKilled by Signal 110
47ms917kbIncorect0
57ms917kbKilled by Signal 110
614ms1048kbKilled by Signal 110
770ms7602kbKilled by Signal 110
826ms1310kbIncorect0
943ms1572kbKilled by Signal 110
1036ms1572kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?