Borderou de evaluare (job #1958495)

Utilizator mircearoataMircea Roata Palade mircearoata Data 8 aprilie 2017 14:02:11
Problema Por Costel si Azerah Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:22: error: invalid operands of types ‘const char [7]’ and ‘const char [4]’ to binary ‘operator+’ ifstream in(problema+".in"); ^ user.cpp:9:23: error: invalid operands of types ‘const char [7]’ and ‘const char [5]’ to binary ‘operator+’ ofstream out(problema+".out"); ^ user.cpp: In function ‘int main()’: user.cpp:24:17: error: ‘nr’ was not declared in this scope in>>nr; ^ user.cpp:29:37: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’ out<<((1LL<<n)-1)%(1e9+7)<<'\n'; ^ user.cpp:31:41: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’ out<<((1LL<<(n-1))-1)%(1e9+7)<<'\n'; ^

Ceva nu functioneaza?