Runtime Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:15:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'long long int' [-Wformat=]
15 | scanf("%lld", x);
| ~~~^ ~
| | |
| | long long int
| long long int*
/in/foo.cc:15:14: warning: 'x' is used uninitialized [-Wuninitialized]
15 | scanf("%lld", x);
| ~~~~~^~~~~~~~~~~
/in/foo.cc:14:19: note: 'x' was declared here
14 | long long x;
| ^
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2025-02-22 19:30:42
- 评测时间
- 2025-02-22 19:30:42
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 540.0 KiB