/ WHOJ /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:41:3: error: 'prlong' was not declared in this scope; did you mean 'ulong'?
   41 |   prlong longf("%lld\n",ans);
      |   ^~~~~~
      |   ulong
foo.cc:15:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   15 |  scanf("%lld",&T);
      |  ~~~~~^~~~~~~~~~~
foo.cc:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   19 |   scanf("%lld%lld%lld",&n,&t,&k);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:21:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |    scanf("%lld",&a[i].place);
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:23:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |    scanf("%lld",&a[i].value);
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1423 宝石(文件IO)
题目数据
下载
语言
C++
递交时间
2022-07-29 13:59:44
评测时间
2022-07-29 13:59:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes