Pagini recente » Borderou de evaluare (job #2253731) | Borderou de evaluare (job #984104)
Borderou de evaluare (job #984104)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
best[ word[1][lg[1] - 1] ] = 1;
^
user.cpp:39:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz [ word[1][lg[1] - 1] ] = 1;
^
user.cpp:41:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[i] = best[word[i][0]] + 1;
^
user.cpp:42:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[i] = poz[word[i][0]];
^
user.cpp:43:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (dp[i] > best[word[i][lg[i] - 1]]) {
^
user.cpp:44:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
best[word[i][lg[i] - 1]] = dp[i];
^
user.cpp:45:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[word[i][lg[i] - 1]] = i;
^
/tmp/ccqRbHzp.o: In function `main':
user.cpp:(.text.startup+0x79): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 292kb | Corect | 10 |
2 | 4ms | 280kb | Corect | 10 |
3 | 0ms | 236kb | Corect | 10 |
4 | 0ms | 236kb | Corect | 10 |
5 | 4ms | 556kb | Corect | 10 |
6 | 4ms | 704kb | Corect | 10 |
7 | 0ms | 236kb | Corect | 10 |
8 | 8ms | 1088kb | Corect | 10 |
9 | 4ms | 252kb | Corect | 10 |
10 | 4ms | 284kb | Corect | 10 |
Punctaj total | 100 |