记录详情

Accepted

foo.cc: In function 'void work(char*)':
foo.cc:19:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  if (d1 < d2)
     ^
foo.cc:23: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 Accepted 1ms 384.0 KiB

信息

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