Pagini recente » Borderou de evaluare (job #2924636) | Borderou de evaluare (job #2987627) | Borderou de evaluare (job #1853730) | Borderou de evaluare (job #2463868) | Borderou de evaluare (job #2417682)
Borderou de evaluare (job #2417682)
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 | 3ms | 393kb | OK | 10 | 0 |
2 | 3ms | 393kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 7ms | 524kb | OK | 10 |
5 | 26ms | 786kb | OK | 10 |
6 | 139ms | 1671kb | OK | 10 |
7 | 501ms | 5939kb | OK | 10 |
8 | 901ms | 10989kb | Time limit exceeded | 0 |
9 | 806ms | 10944kb | OK | 10 |
10 | 907ms | 10874kb | Time limit exceeded | 0 |
Punctaj total | 0 |