Borderou de evaluare (job #2417687)

Utilizator alexoloieriAlexandru Oloieri alexoloieri Data 30 aprilie 2019 20:36:01
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:33: warning: array subscript has type 'char' [-Wchar-subscripts] hsh = hsh + add[p[i]] * pw[i]; ^ main.cpp:34:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j<dt[wh].size(); ++j) ~^~~~~~~~~~~~~~ main.cpp:46:29: warning: array subscript has type 'char' [-Wchar-subscripts] hsh = hsh + add[s[i]]*pw[i]; ^ main.cpp:48:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j<dt[wh].size(); ++j) ~^~~~~~~~~~~~~~ main.cpp:56:27: warning: array subscript has type 'char' [-Wchar-subscripts] hsh -= add[s[i-lp]]; ^ main.cpp:57:33: warning: array subscript has type 'char' [-Wchar-subscripts] hsh = hsh / 3 + add[s[i]]*pw[lp-1]; ^ main.cpp:59:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0; j<dt[wh].size(); ++j) ~^~~~~~~~~~~~~~ main.cpp:18:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s\n",s); ^ main.cpp:25:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s\n",p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms393kbOK100
22ms393kbOK10
34ms393kbOK10
45ms524kbOK10
537ms872kbOK10
6107ms1703kbOK10
7506ms5939kbOK10
8900ms10878kbTime limit exceeded0
9904ms10887kbTime limit exceeded0
10793ms10878kbOK10
Punctaj total0

Ceva nu functioneaza?