Borderou de evaluare (job #2417685)

Utilizator alexoloieriAlexandru Oloieri alexoloieri Data 30 aprilie 2019 20:32:16
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:34: warning: array subscript has type 'char' [-Wchar-subscripts] hsh = hsh + add[p[i]]*pw[lp-i-1]; ^ 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[lp-i-1]; ^ 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:33: warning: array subscript has type 'char' [-Wchar-subscripts] hsh = (hsh - add[s[i-lp]]*pw[lp-1]) *pww + add[s[i]]; ^ main.cpp:56:60: warning: array subscript has type 'char' [-Wchar-subscripts] hsh = (hsh - add[s[i-lp]]*pw[lp-1]) *pww + add[s[i]]; ^ main.cpp:58: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
23ms393kbOK10
33ms393kbOK10
410ms606kbOK10
526ms786kbOK10
6119ms1679kbOK10
7421ms5898kbOK10
8746ms10878kbOK10
9902ms10878kbTime limit exceeded0
10900ms10878kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?