Borderou de evaluare (job #1964957)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 13 aprilie 2017 20:43:48
Problema Divizori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs1(int, int)’: user.cpp:47:44: warning: capture of variable ‘hsh’ with non-automatic storage duration [enabled by default] sort(begin(g[nod]), end(g[nod]), [far, hsh](int a, int b) { ^ user.cpp:15:16: note: ‘std::pair<int, int> hsh [100005]’ declared here pair<int, int> hsh[NMAX]; ^ user.cpp: In function ‘void dfs2(int, int)’: user.cpp:75:39: warning: capture of variable ‘hsh’ with non-automatic storage duration [enabled by default] sort(begin(g[u]), end(g[u]), [hsh](int a, int b) { return hsh[a] < hsh[b]; }); ^ user.cpp:15:16: note: ‘std::pair<int, int> hsh [100005]’ declared here pair<int, int> hsh[NMAX]; ^ user.cpp:87:39: warning: capture of variable ‘hsh’ with non-automatic storage duration [enabled by default] sort(begin(g[u]), end(g[u]), [hsh](int a, int b) { return hsh[a] < hsh[b]; }); ^ user.cpp:15:16: note: ‘std::pair<int, int> hsh [100005]’ declared here pair<int, int> hsh[NMAX]; ^ user.cpp: In function ‘char nextch()’: user.cpp:26:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, BMAX, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:160:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("divizori2.in", "r", stdin); ^ user.cpp:161:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("divizori2.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms4132kbIncorect00
216ms4160kbIncorect00
316ms4192kbIncorect0
416ms4184kbIncorect0
520ms4232kbIncorect0
620ms4320kbIncorect00
7168ms5620kbIncorect0
8120ms5720kbIncorect0
9184ms6484kbIncorect00
10352ms7388kbIncorect0
Punctaj total0

Ceva nu functioneaza?