Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:6:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=] scanf("%d", a) ^ /in/foo.cc:7:2: error: expected ';' before 's' s = a * a ^ /in/foo.cc:5:13: warning: unused variable 's' [-Wunused-variable] int a = 0, s = 0; ^
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2024-02-26 15:46:16
- 评测时间
- 2024-02-26 15:46:16
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes