Pagini recente » Borderou de evaluare (job #405416) | Borderou de evaluare (job #269317) | Borderou de evaluare (job #2915935) | Borderou de evaluare (job #363007) | Borderou de evaluare (job #2252991)
Borderou de evaluare (job #2252991)
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:17:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(index >= V[w[i]].size()) return 0;
^
user.cpp:17:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(index >= V[w[i]].size()) return 0;
~~~~~~^~~~~~~~~~~~~~~~~
user.cpp:18:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos = V[w[i]][index];
^
user.cpp: In function ‘int main()’:
user.cpp:36:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
V[v[i]].push_back(i);
^
user.cpp:37:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ind[i] = V[v[i]].size() - 1;
^
user.cpp:46:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
next[i][v[i]] = ind[i];
^
user.cpp:30: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 | 3384kb | Incorect | 0 | 0 |
2 | 0ms | 3384kb | Incorect | 0 |
3 | 4ms | 3424kb | Incorect | 0 | 0 |
4 | 4ms | 3452kb | Incorect | 0 |
5 | 68ms | 5700kb | Incorect | 0 | 0 |
6 | 108ms | 5740kb | Incorect | 0 |
7 | 144ms | 5696kb | Incorect | 0 |
8 | 316ms | 12392kb | Incorect | 0 | 0 |
9 | 172ms | 12400kb | Incorect | 0 |
10 | 228ms | 12464kb | Incorect | 0 |
Punctaj total | 0 |