记录详情

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,5 > YES > NO > YES > YES > 2ms 380.0 KiB

信息

递交者
类型
自测
题目
P1258 括号匹配
语言
C++
递交时间
2021-07-30 18:04:41
评测时间
2021-07-30 18:04:41
评测机
分数
0
总耗时
2ms
峰值内存
380.0 KiB