/ Vijos /

记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:20:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |                 else if(qimo>85&&a=='Y')
      |                                  ~^~~~~
foo.cc:22:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   22 |                 else if(pingyi>80&&b=='Y')
      |                                    ~^~~~~
foo.cc:10:19: warning: unused variable ‘u’ [-Wunused-variable]
   10 |         int max=0,u;
      |                   ^

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2024-05-05 14:28:14
评测时间
2024-05-05 14:28:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes