/ Vijos /

记录详情

Accepted

foo.cc: In function 'void write(ll, char)':
foo.cc:26:13: warning: array subscript has type 'char' [-Wchar-subscripts]
     do a[++s]=x%10|48;while(x/=10);
             ^
foo.cc:27:19: warning: array subscript has type 'char' [-Wchar-subscripts]
     do putchar(a[s]);while(--s);
                   ^
foo.cc: In function 'void build(int, int, int)':
foo.cc:36:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
foo.cc: In function 'void add(int, int, int, int, int, ll)':
foo.cc:56:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
foo.cc: In function 'll ask(int, int, int, int, int)':
foo.cc:69:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 33ms 1.52 MiB
#2 Accepted 42ms 2.68 MiB
#3 Accepted 24ms 4.68 MiB
#4 Accepted 8ms 2.535 MiB
#5 Accepted 48ms 4.645 MiB
#6 Accepted 37ms 2.605 MiB
#7 Accepted 39ms 2.668 MiB
#8 Accepted 41ms 2.641 MiB
#9 Accepted 38ms 1.148 MiB
#10 Accepted 60ms 2.68 MiB

信息

递交者
类型
递交
题目
P1659 河蟹王国
语言
C++
递交时间
2021-11-30 10:46:58
评测时间
2021-11-30 10:46:58
评测机
分数
100
总耗时
373ms
峰值内存
4.68 MiB