Pagini recente » Borderou de evaluare (job #2810586) | Borderou de evaluare (job #1775314) | Borderou de evaluare (job #1214660) | Borderou de evaluare (job #2011838) | Borderou de evaluare (job #2457410)
Borderou de evaluare (job #2457410)
Raport evaluator
Compilare:
main.cpp: In function 'std::pair<int, int> get(std::__cxx11::string)':
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < s.size(); j++)
~~^~~~~~~~~~
main.cpp:27:33: warning: array subscript has type 'char' [-Wchar-subscripts]
cod1 = (cod1 * alpha + id[s[j]]) % mod1;
^
main.cpp:28:33: warning: array subscript has type 'char' [-Wchar-subscripts]
cod2 = (cod2 * alpha + id[s[j]]) % mod2;
^
main.cpp: At global scope:
main.cpp:95:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
main.cpp: In function 'int main()':
main.cpp:136:34: warning: array subscript has type 'char' [-Wchar-subscripts]
cod1 = (cod1 * alpha + id[s[j]]) % mod1;
^
main.cpp:137:34: warning: array subscript has type 'char' [-Wchar-subscripts]
cod2 = (cod2 * alpha + id[s[j]]) % mod2;
^
main.cpp:144:34: warning: array subscript has type 'char' [-Wchar-subscripts]
cod1 = (cod1 - ((id[s[j - len]]) * power1[len]) % mod1 + mod1) % mod1;
^
main.cpp:145:34: warning: array subscript has type 'char' [-Wchar-subscripts]
cod2 = (cod2 - ((id[s[j - len]]) * power2[len]) % mod2 + mod2) % mod2;
^
main.cpp:147:34: warning: array subscript has type 'char' [-Wchar-subscripts]
cod1 = (cod1 * alpha + id[s[j]]) % mod1;
^
main.cpp:148:34: warning: array subscript has type 'char' [-Wchar-subscripts]
cod2 = (cod2 * alpha + id[s[j]]) % mod2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 168ms | 11952kb | OK | 10 |
2 | 53ms | 7077kb | OK | 10 |
3 | 205ms | 11927kb | OK | 10 |
4 | 215ms | 12058kb | OK | 10 |
5 | 339ms | 15896kb | Incorect | 0 |
6 | 401ms | 19881kb | Time limit exceeded | 0 |
7 | 403ms | 17793kb | Time limit exceeded | 0 |
8 | 404ms | 20283kb | Time limit exceeded | 0 |
9 | 403ms | 19496kb | Time limit exceeded | 0 |
10 | 400ms | 21049kb | Time limit exceeded | 0 |
Punctaj total | 40 |