Borderou de evaluare (job #2417683)
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 |
1 | 9ms | 2490kb | OK | 10 | 0 |
2 | 9ms | 2539kb | OK | 10 |
3 | 7ms | 2621kb | OK | 10 |
4 | 11ms | 2752kb | OK | 10 |
5 | 41ms | 3133kb | OK | 10 |
6 | 121ms | 4325kb | OK | 10 |
7 | 532ms | 8781kb | OK | 10 |
8 | 901ms | 13762kb | Time limit exceeded | 0 |
9 | 903ms | 13762kb | Time limit exceeded | 0 |
10 | 902ms | 13795kb | Time limit exceeded | 0 |
Punctaj total | 0 |