Borderou de evaluare (job #1559956)

Utilizator tamionvTamio Vesa Nakajima tamionv Data 31 decembrie 2015 23:17:55
Problema Unicat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:117:32: warning: capture of variable ‘a’ with non-automatic storage duration [enabled by default] static auto first_pass = [&a, &hash_a, &hash_table](const int st, const int dr){ ^ user.cpp:111:19: note: ‘std::string a’ declared here static string a, b; ^ user.cpp:117:36: warning: capture of variable ‘hash_a’ with non-automatic storage duration [enabled by default] static auto first_pass = [&a, &hash_a, &hash_table](const int st, const int dr){ ^ user.cpp:113:43: note: ‘fast_string_hash<long long unsigned int, 33> hash_a’ declared here static fast_string_hash<uint64_t, 33> hash_a(a), hash_b(b); ^ user.cpp:117:45: warning: capture of variable ‘hash_table’ with non-automatic storage duration [enabled by default] static auto first_pass = [&a, &hash_a, &hash_table](const int st, const int dr){ ^ user.cpp:115:52: note: ‘string_hash_table<long long unsigned int, 2000003, 1> hash_table’ declared here static string_hash_table<uint64_t, 2000003, 1> hash_table; ^ user.cpp:124:33: warning: capture of variable ‘tmp’ with non-automatic storage duration [enabled by default] static auto second_pass = [&tmp, &b, &hash_b, &hash_table, &rez](const int st, const int dr){ ^ user.cpp:123:25: note: ‘int tmp’ declared here static int rez = 0, tmp = 0; ^ user.cpp:124:39: warning: capture of variable ‘b’ with non-automatic storage duration [enabled by default] static auto second_pass = [&tmp, &b, &hash_b, &hash_table, &rez](const int st, const int dr){ ^ user.cpp:111:22: note: ‘std::string b’ declared here static string a, b; ^ user.cpp:124:43: warning: capture of variable ‘hash_b’ with non-automatic storage duration [enabled by default] static auto second_pass = [&tmp, &b, &hash_b, &hash_table, &rez](const int st, const int dr){ ^ user.cpp:113:54: note: ‘fast_string_hash<long long unsigned int, 33> hash_b’ declared here static fast_string_hash<uint64_t, 33> hash_a(a), hash_b(b); ^ user.cpp:124:52: warning: capture of variable ‘hash_table’ with non-automatic storage duration [enabled by default] static auto second_pass = [&tmp, &b, &hash_b, &hash_table, &rez](const int st, const int dr){ ^ user.cpp:115:52: note: ‘string_hash_table<long long unsigned int, 2000003, 1> hash_table’ declared here static string_hash_table<uint64_t, 2000003, 1> hash_table; ^ user.cpp:124:65: warning: capture of variable ‘rez’ with non-automatic storage duration [enabled by default] static auto second_pass = [&tmp, &b, &hash_b, &hash_table, &rez](const int st, const int dr){ ^ user.cpp:123:16: note: ‘int rez’ declared here static int rez = 0, tmp = 0; ^ user.cpp:123:25: warning: unused variable ‘tmp’ [-Wunused-variable]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
124ms23756kbOK1010
224ms23756kbOK1010
324ms23756kbOK1010
4Depăşit43204kbTime limit exceeded.00
5Depăşit41712kbTime limit exceeded.00
6Depăşit42952kbTime limit exceeded.00
7Depăşit41688kbTime limit exceeded.00
81052ms42524kbOK10
9Depăşit43920kbTime limit exceeded.00
10Depăşit43392kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?