Compile Error
foo.cpp: In function 'void mul(num&, const num&, int)': foo.cpp:23:4: error: incompatible types in assignment of 'int' to 'char [1000]' c.n+=m%r; ^ foo.cpp:25:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(c.n>=r) c.n-=r,m++; ^ foo.cpp:25:15: error: incompatible types in assignment of 'int' to 'char [1000]' if(c.n>=r) c.n-=r,m++; ^ foo.cpp:27:10: error: incompatible types in assignment of 'int' to 'char [1000]' if(m) c.n=m; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1301 多进制高精度乘法
- 语言
- C++
- 递交时间
- 2016-09-01 21:01:48
- 评测时间
- 2016-09-01 21:01:48
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes