记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:17:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
   17 |                 scanf("%lld%lld",&f[i].first,&f[i].second);
      |                        ~~~^      ~~~~~~~~~~~
      |                           |      |
      |                           |      int*
      |                           long long int*
      |                        %d
foo.cc:17:31: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'long int*' [-Wformat=]
   17 |                 scanf("%lld%lld",&f[i].first,&f[i].second);
      |                            ~~~^              ~~~~~~~~~~~~
      |                               |              |
      |                               long long int* long int*
      |                            %ld
foo.cc:20:12: warning: unused variable 'day' [-Wunused-variable]
   20 |         LL day=f[n-1].first;
      |            ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 5ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 332.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 68ms 1.691 MiB
#7 Accepted 238ms 4.371 MiB
#8 Accepted 117ms 1.887 MiB
#9 Accepted 57ms 1.496 MiB
#10 Accepted 183ms 4.855 MiB

信息

递交者
类型
递交
题目
P1464 5-2 Medicine
比赛
2023暑假集训7月10日训练题
语言
C++
递交时间
2023-07-10 10:06:00
评测时间
2023-07-10 10:06:00
评测机
分数
100
总耗时
686ms
峰值内存
4.855 MiB