Compile Error
foo.cc: In function 'int main()':
foo.cc:8:4: error: expected primary-expression before '%' token
8 | b=%100/10;
| ^
foo.cc:9:4: error: expected primary-expression before '%' token
9 | c=%10;
| ^
foo.cc:10:7: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
10 | e=a^3+b^3+c^3;
| ~^~
foo.cc:10:11: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
10 | e=a^3+b^3+c^3;
| ~^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1014 水仙花数
- 语言
- C++
- 递交时间
- 2022-07-09 10:43:19
- 评测时间
- 2022-07-09 10:43:19
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes