Pagini recente » Borderou de evaluare (job #2819299) | Borderou de evaluare (job #3248353) | Cod sursa (job #69246) | Borderou de evaluare (job #1992486) | Borderou de evaluare (job #2108309)
Borderou de evaluare (job #2108309)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int word2hash(char*)’:
user.cpp:41:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
hash += crtPower * char2number[s[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:80:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=WORD_LENGTH; i < strlen(text); ++i)
^
user.cpp:82:69: warning: array subscript has type ‘char’ [-Wchar-subscripts]
crtHash = (crtHash / 4 + BIGGEST_POWER * char2number[text[i]]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 420kb | OK | 10 | 0 |
| 2 | 0ms | 428kb | OK | 10 |
| 3 | 0ms | 748kb | OK | 10 |
| 4 | 4ms | 1476kb | OK | 10 |
| 5 | 0ms | 580kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 4ms | 1352kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 20ms | 5260kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 40ms | 10144kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 40ms | 10140kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 40ms | 10144kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |