Compile Error
foo.cc: In function ‘int main()’: foo.cc:10:20: error: invalid types ‘int[int]’ for array subscript 10 | int max=sum[1],u; | ^ 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') | ~^~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 谁拿了最多奖学金
- 语言
- C++
- 递交时间
- 2024-05-05 14:27:25
- 评测时间
- 2024-05-05 14:27:25
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes