/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void build(long long int, long long int, long long int)':
/in/foo.cc:29:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'void xg(long long int, long long int, long long int, long long int, long long int)':
/in/foo.cc:35:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'long long int smin(long long int, long long int, long long int, long long int, long long int)':
/in/foo.cc:41:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1,ans=1e18;
          ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:51:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   printf("Case #%d: ",k);
                        ^
/in/foo.cc:65:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid=l+r>>1;
             ~^~
# 状态 耗时 内存占用
#1 Accepted 13ms 1.055 MiB
#2 Accepted 6ms 1.062 MiB
#3 Accepted 8ms 1.066 MiB
#4 Accepted 9ms 1.066 MiB
#5 Accepted 79ms 5.305 MiB
#6 Accepted 77ms 5.328 MiB
#7 Accepted 80ms 5.309 MiB
#8 Accepted 78ms 5.262 MiB
#9 Accepted 78ms 5.32 MiB
#10 Accepted 77ms 5.309 MiB

信息

递交者
类型
递交
题目
P1901 学姐的钱包
语言
C++
递交时间
2018-11-02 14:48:50
评测时间
2018-11-02 14:49:16
评测机
分数
100
总耗时
509ms
峰值内存
5.328 MiB