foo.cc: In function 'int main()':
foo.cc:7:10: warning: comparison with string literal results in unspecified behavior [-Waddress]
    7 |  if(a%5=="%d" && a%7=="%d") cout<<"Yes";
      |          ^~~~
foo.cc:7:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
foo.cc:7:23: warning: comparison with string literal results in unspecified behavior [-Waddress]
    7 |  if(a%5=="%d" && a%7=="%d") cout<<"Yes";
      |                       ^~~~
foo.cc:7:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   
  
    [Hydro](https://hydro.ac)提供评测服务