Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: error: 'n' was not declared in this scope
6 | cin>>n;
| ^
/in/foo.cc:10:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10 | if(N=0)
| ~^~
信息
- 递交者
- 类型
- 递交
- 题目
- P2330 1.4.1:判断数正负
- 语言
- C++
- 递交时间
- 2025-06-27 20:46:08
- 评测时间
- 2025-06-27 20:46:08
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes