记录详情

Wrong Answer

foo.cc: In function 'void work(char*)':
foo.cc:36:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  if (d1 < d2)
     ^
foo.cc:40:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  if (d1 > d2)
     ^
foo.cc:25:13: warning: unused variable 't' [-Wunused-variable]
  int i = 0, t = 0;
             ^
foo.cc:26:6: warning: unused variable 'a' [-Wunused-variable]
  int a[20] = { 0 };
      ^
foo.cc:27:6: warning: unused variable 'ans' [-Wunused-variable]
  int ans = 0;
      ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read NO, expect YES. 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Wrong Answer Read NO, expect YES. 2ms 384.0 KiB
#5 Wrong Answer Read NO, expect YES. 1ms 384.0 KiB
#6 Wrong Answer Read NO, expect YES. 2ms 384.0 KiB
#7 Wrong Answer Read NO, expect YES. 2ms 340.0 KiB
#8 Wrong Answer Read NO, expect YES. 2ms 412.0 KiB
#9 Wrong Answer Read NO, expect YES. 2ms 384.0 KiB
#10 Wrong Answer Read YES, expect YES. 4ms 420.0 KiB

信息

递交者
类型
递交
题目
P1258 括号匹配
语言
C++
递交时间
2021-07-31 21:40:48
评测时间
2021-07-31 21:40:48
评测机
分数
20
总耗时
25ms
峰值内存
420.0 KiB