/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int identify(char, char, char)':
/in/foo.cc:24:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (bi >= ai && ai >= ci || bi <= ai && ai <= ci)
         ~~~~~~~~~^~~~~~~~~~~
/in/foo.cc:26:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (ai >= bi && bi >= ci || ai <= bi && bi <= ci)
         ~~~~~~~~~^~~~~~~~~~~
/in/foo.cc:28:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (ai >= ci && ci >= bi || ai <= ci && ci <= bi)
         ~~~~~~~~~^~~~~~~~~~~
/in/foo.cc:30:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 372.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 416.0 KiB
#4 Wrong Answer 1ms 356.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Wrong Answer 1ms 328.0 KiB
#7 Accepted 2ms 452.0 KiB
#8 Wrong Answer 2ms 376.0 KiB
#9 Wrong Answer 2ms 464.0 KiB
#10 Accepted 2ms 376.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2024-10-26 18:08:05
评测时间
2024-10-26 18:08:05
评测机
分数
60
总耗时
19ms
峰值内存
464.0 KiB