Pagini recente » Borderou de evaluare (job #202679) | Borderou de evaluare (job #2818895) | Borderou de evaluare (job #187270) | Borderou de evaluare (job #1081833) | Borderou de evaluare (job #2252998)
Borderou de evaluare (job #2252998)
Raport evaluator
Compilare:
user.cpp: In function ‘bool f(int)’:
user.cpp:16:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(next[pos][w[i]] == -1) return 0;
^
user.cpp:17: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 | 3384kb | OK | 10 | 20 |
2 | 0ms | 3380kb | OK | 10 |
3 | 4ms | 3428kb | OK | 10 | 20 |
4 | 4ms | 3452kb | OK | 10 |
5 | 68ms | 5700kb | OK | 10 | 30 |
6 | 108ms | 5744kb | OK | 10 |
7 | 148ms | 5696kb | OK | 10 |
8 | 328ms | 12392kb | OK | 10 | 30 |
9 | 176ms | 12400kb | OK | 10 |
10 | 236ms | 12464kb | OK | 10 |
Punctaj total | 100 |