/ Vijos /

记录详情

Accepted

foo.cc: In function 'void solve(int, int)':
foo.cc:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     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]
     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]
         scanf("%lf %lf %lf",&s[i].a,&s[i].b,&s[i].r);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 352.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 3ms 512.0 KiB
#7 Accepted 85ms 6.137 MiB
#8 Accepted 73ms 6.246 MiB
#9 Accepted 154ms 12.082 MiB
#10 Accepted 155ms 12.074 MiB

信息

递交者
类型
递交
题目
P1508 货币兑换
语言
C++
递交时间
2021-03-27 21:38:08
评测时间
2021-03-27 21:38:08
评测机
分数
100
总耗时
482ms
峰值内存
12.082 MiB