Pagini recente » Borderou de evaluare (job #3222597) | Borderou de evaluare (job #321800) | Borderou de evaluare (job #1629129) | Borderou de evaluare (job #1913971) | Borderou de evaluare (job #2417684)
Borderou de evaluare (job #2417684)
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 | 8ms | 487kb | OK | 10 |
5 | 26ms | 786kb | OK | 10 |
6 | 105ms | 1703kb | OK | 10 |
7 | 589ms | 5898kb | OK | 10 |
8 | 899ms | 11010kb | OK | 10 |
9 | 903ms | 10883kb | Time limit exceeded | 0 |
10 | 901ms | 10878kb | Time limit exceeded | 0 |
Punctaj total | 0 |