记录详情

Wrong Answer

foo.cc: In function 'void work(char*)':
foo.cc:17:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  if (d1 < d2)
     ^
foo.cc:21:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  if (d1 > d2)
     ^
foo.cc:7:13: warning: unused variable 't' [-Wunused-variable]
  int i = 0, t = 0;
             ^
foo.cc:8:6: warning: unused variable 'a' [-Wunused-variable]
  int a[20] = { 0 };
      ^
foo.cc:9:6: warning: unused variable 'ans' [-Wunused-variable]
  int ans = 0;
      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,3 > NO > YES > YES 1ms 384.0 KiB
#2 Wrong Answer 0a1,2 > NO > YES 1ms 336.0 KiB
#3 Wrong Answer 0a1,2 > NO > NO 1ms 384.0 KiB
#4 Wrong Answer 0a1,2 > YES > NO 1ms 384.0 KiB
#5 Wrong Answer 0a1,5 > NO > NO > NO > YES 2ms 384.0 KiB
#6 Wrong Answer 0a1,122 > NO > NO > NO > YE 2ms 384.0 KiB
#7 Wrong Answer 0a1,44 > NO > YES > YES > Y 1ms 384.0 KiB
#8 Wrong Answer 0a1,390 > NO > NO > NO > NO 1ms 384.0 KiB
#9 Wrong Answer 0a1,24 > YES > NO > YES > Y 2ms 384.0 KiB
#10 Wrong Answer 0a1,1000 > NO > NO > NO > Y 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1258 括号匹配
语言
C++
递交时间
2021-07-30 19:02:27
评测时间
2021-07-30 19:02:27
评测机
分数
0
总耗时
20ms
峰值内存
384.0 KiB