/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void write(int)':
foo.cc:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   12 |     if (x > 9) write(x/10); putchar(x%10+'0');
      |     ^~
foo.cc:12:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   12 |     if (x > 9) write(x/10); putchar(x%10+'0');
      |                             ^~~~~~~
foo.cc: In function 'int main()':
foo.cc:58:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   58 |             mid = l + r >> 1;
      |                   ~~^~~
foo.cc:48:11: warning: unused variable 'j' [-Wunused-variable]
   48 |     int i,j,x,y,tot,p;
      |           ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 1,8d0 < 493 1 2 3 4 5 6 7 8 9 44ms 1.945 MiB
#2 Wrong Answer 1,8d0 < 696 1 2 3 4 5 6 7 8 9 51ms 1.902 MiB
#3 Wrong Answer 1,8d0 < 891 1 2 3 4 5 6 7 8 9 63ms 1.977 MiB
#4 Wrong Answer 1,8d0 < 1079 1 2 3 4 5 6 7 8 9 80ms 1.996 MiB
#5 Wrong Answer 1,8d0 < 1898 1 2 3 4 5 6 7 8 9 119ms 2.031 MiB
#6 Wrong Answer 1,8d0 < 2862 1 2 3 4 5 6 7 8 9 186ms 2.012 MiB
#7 Wrong Answer 1,8d0 < 4250 1 2 3 4 5 6 7 8 1 187ms 2.016 MiB
#8 Wrong Answer 1,8d0 < 5628 1 2 3 4 5 6 7 8 9 182ms 2.145 MiB
#9 Wrong Answer 1,8d0 < 7005 1 2 3 4 5 6 7 9 1 190ms 2.172 MiB
#10 Wrong Answer 1,8d0 < 8764 1 3 5 6 7 8 9 10 205ms 2.227 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
语言
C++
递交时间
2023-07-30 16:58:06
评测时间
2023-07-30 16:58:06
评测机
分数
0
总耗时
1313ms
峰值内存
2.227 MiB