Pagini recente » Borderou de evaluare (job #2391855) | Borderou de evaluare (job #2432249) | Borderou de evaluare (job #1961633) | Borderou de evaluare (job #309199) | Borderou de evaluare (job #2210939)
Borderou de evaluare (job #2210939)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:48:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int startIndex = binarySearchStartIndex(last, i, 0, nextCharIndices[last].size() - 1);
^
user.cpp:51:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int candidate = solve(nextCharIndices[last][startIndex]);
^
user.cpp:54:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
child[i] = nextCharIndices[last][startIndex];
^
user.cpp: In function ‘int main()’:
user.cpp:70:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’ [-Wformat=]
code = scanf("%s", &words[n]);
^
user.cpp:64:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.in", "r", stdin);
^
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text3.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 876kb | Partial incorect | 1 |
2 | 0ms | 804kb | Corect | 10 |
3 | 0ms | 864kb | Corect | 10 |
4 | 0ms | 752kb | Corect | 10 |
5 | 4ms | 1000kb | Partial incorect | 1 |
6 | 4ms | 1112kb | Corect | 10 |
7 | 0ms | 756kb | Corect | 10 |
8 | 8ms | 1496kb | Partial incorect | 1 |
9 | 0ms | 796kb | Partial incorect | 1 |
10 | 0ms | 864kb | Partial incorect | 1 |
Punctaj total | 55 |