Pagini recente » Borderou de evaluare (job #292366) | Borderou de evaluare (job #2226225) | Borderou de evaluare (job #1784428) | Borderou de evaluare (job #218626) | Borderou de evaluare (job #2384185)
Borderou de evaluare (job #2384185)
Raport evaluator
Compilare:
main.cpp: In function 'void rollhash(int)':
main.cpp:158:29: warning: array subscript has type 'char' [-Wchar-subscripts]
now = now + unord[str[dr]];
^
main.cpp:161:28: warning: array subscript has type 'char' [-Wchar-subscripts]
now = now - unord[str[st]]; } }
^
main.cpp: In function 'Hash gethash(const string&)':
main.cpp:174:23: warning: array subscript has type 'char' [-Wchar-subscripts]
res = res + unord[ch];
^
main.cpp: In function 'void initialize()':
main.cpp:210:11: warning: array subscript has type 'char' [-Wchar-subscripts]
unord[ch] = now;
^
main.cpp: In function 'int main()':
main.cpp:219:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("shiroeseq.in", "r", stdin);
^
main.cpp:220:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("shiroeseq.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2130ms | 52731kb | OK | 25 | 0 |
2 | 6001ms | 147734kb | Time limit exceeded | 0 |
3 | 187ms | 18481kb | OK | 25 |
4 | 596ms | 22937kb | OK | 25 |
Punctaj total | 0 |