Borderou de evaluare (job #1964976)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 13 aprilie 2017 21:08:11
Problema Divizori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

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:161: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:162: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
112ms4132kbOK1010
216ms4152kbOK100
316ms4188kbIncorect0
416ms4184kbOK10
520ms4232kbIncorect0
620ms4320kbOK100
7296ms5628kbIncorect0
8196ms5648kbOK10
9404ms6488kbOK100
10684ms7384kbIncorect0
Punctaj total10

Ceva nu functioneaza?