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