记录详情

Compile 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:17:26: error: 'setpricision' was not declared in this scope
   17 |         cout << fixed << setpricision(4) << ans << endl;
      |                          ^~~~~~~~~~~~

信息

递交者
类型
自测
语言
C++
递交时间
2025-02-22 19:30:18
评测时间
2025-02-22 19:30:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes