Borderou de evaluare (job #1833494)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 22 decembrie 2016 14:35:05
Problema Rafaela Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void aib_update(std::vector<int>&, int, int)’: user.cpp:23:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; pos < aib.size(); pos+= lsb(pos)) ^ user.cpp: In function ‘void make_barn(int)’: user.cpp:34:39: warning: capture of variable ‘siz’ with non-automatic storage duration [enabled by default] sort(b[u].rbegin(), b[u].rend(), [siz](int a, int b) { return siz[a] < siz[b]; } ); } ^ user.cpp:10:38: note: ‘int siz [200005]’ declared here int lnk[SPQR], far[SPQR], pos[SPQR], siz[SPQR], pop[SPQR], lvl[SPQR]; ^ user.cpp: In function ‘void make_chns(int)’: user.cpp:45:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i < b[u].size(); ++i) { ^ user.cpp: In function ‘int main()’: user.cpp:68:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.in", "r", stdin); ^ user.cpp:69:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.out", "w", stdout); ^ user.cpp:73:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ user.cpp:75:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ user.cpp:85:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val); ^ user.cpp:89:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &op); ^ user.cpp:92:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nod); ^ user.cpp:96:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &val, &nod); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms5168kbOK10
28ms5176kbOK10
38ms5232kbOK10
4328ms10068kbOK10
5432ms11920kbOK10
6580ms14364kbOK10
7632ms15092kbOK10
8796ms17564kbOK10
9836ms18072kbOK10
10852ms18624kbOK10
Punctaj total100

Ceva nu functioneaza?