Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1036 判断满足条件的数
语言
C++
递交时间
2022-07-09 12:47:17
评测时间
2022-07-09 12:47:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes