/ 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 31ms 2.43 MiB
#2 Accepted 40ms 3.699 MiB
#3 Accepted 23ms 5.305 MiB
#4 Accepted 8ms 2.809 MiB
#5 Accepted 46ms 5.809 MiB
#6 Accepted 35ms 3.57 MiB
#7 Accepted 36ms 3.594 MiB
#8 Accepted 37ms 3.625 MiB
#9 Accepted 35ms 2.043 MiB
#10 Accepted 54ms 4.047 MiB

信息

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