Borderou de evaluare (job #1964985)

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

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<long long int, long long int> hsh [100005]’ declared here pair<i64, i64> 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<long long int, long long int> hsh [100005]’ declared here pair<i64, i64> 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<long long int, long long int> hsh [100005]’ declared here pair<i64, i64> 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
112ms4916kbOK1010
216ms4944kbOK1040
320ms4988kbOK10
416ms4968kbOK10
524ms5016kbOK10
624ms5116kbOK1030
7420ms6408kbOK10
8280ms6432kbOK10
9676ms7264kbOK1020
10892ms8164kbOK10
Punctaj total100

Ceva nu functioneaza?