/ Vijos /

记录详情

Accepted

foo.cc: In function 'void solve(int, int)':
foo.cc:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   30 |     int mid=l+r>>1,k1=l-1,k2=mid,kk;
      |             ~^~
foo.cc: In function 'int main()':
foo.cc:55:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   55 |     scanf("%d %lf",&n,&f[0]);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:57:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   57 |         scanf("%lf %lf %lf",&s[i].a,&s[i].b,&s[i].r);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 504.0 KiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 3ms 512.0 KiB
#7 Accepted 187ms 6.117 MiB
#8 Accepted 123ms 6.117 MiB
#9 Accepted 336ms 11.992 MiB
#10 Accepted 216ms 11.992 MiB

信息

递交者
类型
递交
题目
P1508 货币兑换
语言
C++
递交时间
2022-02-27 17:10:55
评测时间
2022-02-27 17:10:55
评测机
分数
100
总耗时
882ms
峰值内存
11.992 MiB