Pagini recente » Borderou de evaluare (job #66617) | Borderou de evaluare (job #1775269) | Borderou de evaluare (job #1976389) | Borderou de evaluare (job #516010) | Borderou de evaluare (job #2252996)
Borderou de evaluare (job #2252996)
Raport evaluator
Compilare:
user.cpp: In function ‘bool f(int)’:
user.cpp:16:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
int index = next[pos][w[i]] + k - 1;
^
user.cpp:18:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(index >= V[w[i]].size()) return 0;
^
user.cpp:18:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(index >= V[w[i]].size()) return 0;
~~~~~~^~~~~~~~~~~~~~~~~
user.cpp:19:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos = V[w[i]][index] + 1;
^
user.cpp: In function ‘int main()’:
user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
V[v[i]].push_back(i);
^
user.cpp:38:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ind[i] = V[v[i]].size() - 1;
^
user.cpp:47:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
next[i][v[i]] = ind[i];
^
user.cpp:31:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 3388kb | Incorect | 0 | 0 |
2 | 0ms | 3380kb | Incorect | 0 |
3 | 4ms | 3424kb | Incorect | 0 | 0 |
4 | 4ms | 3448kb | Incorect | 0 |
5 | 68ms | 5704kb | Incorect | 0 | 0 |
6 | 108ms | 5744kb | Incorect | 0 |
7 | 148ms | 5700kb | Incorect | 0 |
8 | 324ms | 12392kb | Incorect | 0 | 0 |
9 | 180ms | 12400kb | Incorect | 0 |
10 | 236ms | 12460kb | Incorect | 0 |
Punctaj total | 0 |