记录详情

Wrong Answer

foo.cc: In function 'int compare(std::string, std::string)':
foo.cc:9:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    9 |  if(m.length()<n.length()||m.length()==n.length()&&m<n)
      |                            ~~~~~~~~~~~~~~~~~~~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 29950, expect 32416. 3ms 384.0 KiB
#2 Wrong Answer Read 20776, expect 25787. 2ms 256.0 KiB
#3 Wrong Answer Read 23679, expect 28995. 3ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 1ms 384.0 KiB
#11 Accepted 2ms 512.0 KiB
#12 Wrong Answer Read 193900000000, expect 223760000000. 2ms 384.0 KiB
#13 Accepted 2ms 384.0 KiB
#14 Accepted 2ms 384.0 KiB
#15 Accepted 2ms 384.0 KiB
#16 Wrong Answer Read 102950000000, expect 150340000000. 2ms 384.0 KiB
#17 Wrong Answer Read 151860000000, expect 157805000000. 2ms 384.0 KiB
#18 Wrong Answer Read 200720000000, expect 201375000000. 2ms 384.0 KiB
#19 Wrong Answer Read 188070000000, expect 240620000000. 2ms 384.0 KiB
#20 Wrong Answer Read 266690000000, expect 304383333333. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1350 2C 有趣的数学题
比赛
悬赏令第二周
语言
C++
递交时间
2022-04-07 16:53:15
评测时间
2022-04-07 16:53:15
评测机
分数
55
总耗时
50ms
峰值内存
512.0 KiB