/ Vijos /

记录详情

Accepted

foo.cc: In function 'void check(std::string&)':
foo.cc:42:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   42 |         if ( b > 0) //如果左括号多了
      |            ^
foo.cc: In function 'int reduce(std::string)':
foo.cc:194:1: warning: control reaches end of non-void function [-Wreturn-type]
  194 | }
      | ^
foo.cc: In function 'int find(std::string)':
foo.cc:130:16: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized]
  130 |         return k;
      |                ^
foo.cc:96:19: note: 'k' was declared here
   96 |         int i = 1,k;
      |                   ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 4ms 412.0 KiB
#7 Accepted 4ms 412.0 KiB
#8 Accepted 4ms 412.0 KiB
#9 Accepted 4ms 412.0 KiB
#10 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C++
递交时间
2023-08-17 18:48:41
评测时间
2023-08-17 18:48:41
评测机
分数
100
总耗时
45ms
峰值内存
412.0 KiB