/ 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:68:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 30ms 1.582 MiB
#2 Accepted 38ms 2.684 MiB
#3 Accepted 24ms 4.676 MiB
#4 Accepted 8ms 2.664 MiB
#5 Accepted 45ms 4.641 MiB
#6 Accepted 35ms 2.543 MiB
#7 Accepted 35ms 2.645 MiB
#8 Accepted 38ms 2.645 MiB
#9 Accepted 35ms 1.156 MiB
#10 Accepted 52ms 2.668 MiB

信息

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