Borderou de evaluare (job #1541093)

Utilizator tamionvTamio Vesa Nakajima tamionv Data 3 decembrie 2015 19:15:47
Problema Kprime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:26:19: error: no matching function for call to ‘eratostene(std::bitset<1001u>&)’ eratostene(e_prim); ^ user.cpp:26:19: note: candidate is: user.cpp:7:6: note: template<long unsigned int maxn> void eratostene(std::bitset<maxn>&) void eratostene(bitset<maxn>& v){ ^ user.cpp:7:6: note: template argument deduction/substitution failed: user.cpp:26:19: note: mismatched types ‘long unsigned int’ and ‘#‘integer_cst’ not supported by dump_type#<type error>’ eratostene(e_prim); ^ user.cpp:26:19: note: ‘std::bitset<1001u>’ is not derived from ‘std::bitset<maxn>’

Ceva nu functioneaza?