Compile Error
/in/foo.cc:14:27: warning: character constant too long for its type cout<<'Right'; ^~~~~~~ /in/foo.cc:3:1: error: 'string' does not name a type string isbn; ^~~~~~ /in/foo.cc: In function 'int main()': /in/foo.cc:26:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(d>=0&&d<=9) ^ /in/foo.cc:28:23: error: invalid operands of types 'int [16]' and 'int' to binary 'operator*' j++;tot+=d*j; ~^~
信息
- 递交者
- 类型
- 自测
- 题目
- P1484 ISBN号码
- 语言
- C++
- 递交时间
- 2018-09-24 18:23:46
- 评测时间
- 2018-09-24 18:23:46
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes