Pagini recente » Borderou de evaluare (job #2628635) | Borderou de evaluare (job #2975402) | Borderou de evaluare (job #1483647) | Borderou de evaluare (job #2467780) | Borderou de evaluare (job #2417685)
Borderou de evaluare (job #2417685)
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 | 3ms | 393kb | OK | 10 |
4 | 10ms | 606kb | OK | 10 |
5 | 26ms | 786kb | OK | 10 |
6 | 119ms | 1679kb | OK | 10 |
7 | 421ms | 5898kb | OK | 10 |
8 | 746ms | 10878kb | OK | 10 |
9 | 902ms | 10878kb | Time limit exceeded | 0 |
10 | 900ms | 10878kb | Time limit exceeded | 0 |
Punctaj total | 0 |