Pagini recente » Cod sursa (job #676301) | Monitorul de evaluare | Borderou de evaluare (job #2886968) | Diferente pentru problema/sumzero intre reviziile 18 si 11 | Borderou de evaluare (job #2417687)
Borderou de evaluare (job #2417687)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:31:33: warning: array subscript has type 'char' [-Wchar-subscripts]
hsh = hsh + add[p[i]] * pw[i];
^
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[i];
^
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:27: warning: array subscript has type 'char' [-Wchar-subscripts]
hsh -= add[s[i-lp]];
^
main.cpp:57:33: warning: array subscript has type 'char' [-Wchar-subscripts]
hsh = hsh / 3 + add[s[i]]*pw[lp-1];
^
main.cpp:59: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 | 2ms | 393kb | OK | 10 |
| 3 | 4ms | 393kb | OK | 10 |
| 4 | 5ms | 524kb | OK | 10 |
| 5 | 37ms | 872kb | OK | 10 |
| 6 | 107ms | 1703kb | OK | 10 |
| 7 | 506ms | 5939kb | OK | 10 |
| 8 | 900ms | 10878kb | Time limit exceeded | 0 |
| 9 | 904ms | 10887kb | Time limit exceeded | 0 |
| 10 | 793ms | 10878kb | OK | 10 |
| Punctaj total | 0 |