/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:28:39: warning: comparison with string literal results in unspecified behavior [-Waddress]
   28 |                 if (qimo > 85 && xibu == "Y")  {
      |                                  ~~~~~^~~~~~
foo.cc:28:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
foo.cc:31:41: warning: comparison with string literal results in unspecified behavior [-Waddress]
   31 |                 if (pingyi > 8 && ganbu == "Y")  {
      |                                   ~~~~~~^~~~~~
foo.cc:31:41: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2023-10-11 23:50:44
评测时间
2023-10-11 23:50:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes