/ 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 1ms 388.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 404.0 KiB
#4 Accepted 1ms 328.0 KiB
#5 Accepted 1ms 412.0 KiB
#6 Accepted 1ms 336.0 KiB
#7 Accepted 1ms 456.0 KiB
#8 Wrong Answer 1ms 376.0 KiB
#9 Accepted 1ms 356.0 KiB
#10 Accepted 1ms 464.0 KiB

信息

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