/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void write(ll, char)':
/in/foo.cc:26:13: warning: array subscript has type 'char' [-Wchar-subscripts]
     do a[++s]=x%10|48;while(x/=10);
             ^
/in/foo.cc:27:19: warning: array subscript has type 'char' [-Wchar-subscripts]
     do putchar(a[s]);while(--s);
                   ^
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:36:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
/in/foo.cc: In function 'void add(int, int, int, int, int, ll)':
/in/foo.cc:56:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
/in/foo.cc: In function 'll ask(int, int, int, int, int)':
/in/foo.cc:69:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int m=l+r>>1;
               ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 43ms 1.426 MiB
#2 Wrong Answer 55ms 2.332 MiB
#3 Accepted 28ms 4.426 MiB
#4 Accepted 10ms 2.344 MiB
#5 Wrong Answer 61ms 4.414 MiB
#6 Accepted 48ms 2.406 MiB
#7 Accepted 50ms 2.426 MiB
#8 Wrong Answer 52ms 2.383 MiB
#9 Wrong Answer 49ms 952.0 KiB
#10 Wrong Answer 72ms 2.426 MiB

信息

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