Run id: 150998
Main.cc: In function 'int main()':
Main.cc:13:13: error: cannot convert 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size, std::allocator >' from type 'std::__cxx11::basic_string::size_type (std::__cxx11::basic_string::)() const noexcept {aka long unsigned int (std::__cxx11::basic_string::)() const noexcept}' to type 'int'
int len=s.size;();
^
Main.cc:13:19: error: expected primary-expression before ')' token
int len=s.size;();
^
Main.cc:19:11: error: expected initializer before '==' token
double p==1.0*cnt/len;
^
Main.cc:20:19: error: 'p' was not declared in this scope
printf("%.5f\n",p);
^
Main.cc:13:7: warning: unused variable 'len' [-Wunused-variable]
int len=s.size;();
^