Run id: 3432
Main.cc: In function 'int main()':
Main.cc:7:14: error: cannot convert 'std::basic_string<_CharT, _Traits, _Alloc>::size, std::allocator >' from type 'std::basic_string::size_type (std::basic_string::)()const noexcept (true) {aka long unsigned int (std::basic_string::)()const noexcept (true)}' to type 'int'
int n=s1.size;
^
Main.cc:10:19: warning: comparison with string literal results in unspecified behaviour [-Waddress]
if(s1[i]==" "){
^
Main.cc:10:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Main.cc:12:15: error: expected primary-expression before '=' token
if(i!==n-1) cout<",";
^