/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:25: warning: comparison with string literal results in unspecified behaviour [-Waddress]
   if((Score>85)&&(West=="Y"))Money+=1000;
                         ^
/in/foo.cc:13:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
/in/foo.cc:14:22: warning: comparison with string literal results in unspecified behaviour [-Waddress]
   if((Imp>80)&&(Pro=="Y"))Money+=850;
                      ^
/in/foo.cc:14:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2017-04-04 19:40:42
评测时间
2017-04-04 19:40:42
评测机
分数
0
总耗时
311ms
峰值内存
27.387 MiB