foo.cc: In function 'int main()':
foo.cc:8:8: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(a=="+++++++++++++++++++++++++++++++++++++++++++++++++.------.++++++.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:8:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
foo.cc:10:8: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(a=="++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++<.>.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:10:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
foo.cc:12:8: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(a=="<<+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>++++++++++++++++++++++++++++++++.<++++++++++++++++++++++++++++++++><+++.+++.+++++++.-----------------.>.<++++++++++++++++++++.----------.++++++.>++++++++++++++.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:12:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
foo.cc:14:1: error: expected ';' before '}' token
}
^
[Hydro](https://hydro.ac)提供评测服务