Borderou de evaluare (job #1871924)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 7 februarie 2017 19:10:55
Problema Frequent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 95

Raport evaluator

Compilare: user.cpp: In function ‘void make_sa()’: user.cpp:101:31: warning: capture of variable ‘pos’ with non-automatic storage duration [enabled by default] sort(sa, sa + n, [lg, pos](const int &a, const int &b) { ^ user.cpp:11:5: note: ‘int pos [19][400005]’ declared here int pos[LG + 1][NMAX], ^ user.cpp: In lambda function: user.cpp:103:50: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] (pos[lg - 1][min(a + (1 << lg - 1), n)] < pos[lg - 1][min(b + (1 << lg - 1), n)]) : ^ user.cpp:103:91: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] (pos[lg - 1][min(a + (1 << lg - 1), n)] < pos[lg - 1][min(b + (1 << lg - 1), n)]) : ^ user.cpp: In function ‘void make_sa()’: user.cpp:108:101: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] if (pos[lg - 1][sa[i]] != pos[lg - 1][sa[i - 1]] || pos[lg - 1][min(n, sa[i] + (1 << lg - 1))] != pos[lg - 1][min(n, sa[i - 1] + (1 << lg - 1))]) ^ user.cpp:108:151: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] if (pos[lg - 1][sa[i]] != pos[lg - 1][sa[i - 1]] || pos[lg - 1][min(n, sa[i] + (1 << lg - 1))] != pos[lg - 1][min(n, sa[i - 1] + (1 << lg - 1))]) ^ user.cpp:85:9: warning: unused variable ‘p’ [-Wunused-variable] int p; ^ user.cpp: In function ‘void make_ap()’: user.cpp:113:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0, p = 0; i < v.size(); ++i) ^ user.cpp:114:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j <= v[i].size(); ++j, ++p) ^ user.cpp: In function ‘void trick()’: user.cpp:142:51: warning: capture of variable ‘lcv’ with non-automatic storage duration [enabled by default] sort(sorted_lcp.rbegin(), sorted_lcp.rend(), [lcv](const int &a, const int &b) { ^ user.cpp:12:5: note: ‘int lcv [400005]’ declared here lcv[NMAX], ^ user.cpp: In function ‘int main()’: user.cpp:197:29: warning: operation on ‘np’ may be undefined [-Wsequence-point] str[np++] = 256 + np; } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms516kbOK5
20ms580kbOK5
34ms768kbOK5
428ms2152kbOK5
520ms1640kbOK5
632ms2128kbOK5
7224ms10124kbOK5
8444ms14032kbOK5
9368ms13264kbOK5
10492ms15412kbOK5
11412ms15004kbOK5
12572ms17052kbOK5
13496ms16608kbOK5
14672ms19616kbOK5
15848ms22256kbOK5
16984ms27088kbOK5
171292ms31344kbOK5
181540ms31844kbOK5
191536ms35172kbOK5
20Depăşit45392kbTime limit exceeded.0
Punctaj total95

Ceva nu functioneaza?