Borderou de evaluare (job #2001088)

Utilizator IulianaBinzarIuliana Binzar IulianaBinzar Data 15 iulie 2017 17:40:59
Problema Kbiti Status done
Runda kek Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:24:28: error: ‘len’ was not declared in this scope for(long int j=0;j<len;j++)if(temp[j]=='1')sol=sol+(1<<abs(j-temp.length()+1)); ^ user.cpp:24:85: error: invalid operands of types ‘int’ and ‘__gnu_cxx::__enable_if<true, double>::__type {aka double}’ to binary ‘operator<<’ for(long int j=0;j<len;j++)if(temp[j]=='1')sol=sol+(1<<abs(j-temp.length()+1)); ^ user.cpp:15:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.in","r",stdin); ^ user.cpp:16:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.out","w",stdout); ^

Ceva nu functioneaza?