/ 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 380.0 KiB
#2 Accepted 1ms 332.0 KiB
#3 Accepted 1ms 324.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Wrong Answer 1ms 332.0 KiB
#7 Accepted 1ms 376.0 KiB
#8 Accepted 1ms 376.0 KiB
#9 Wrong Answer 1ms 452.0 KiB
#10 Accepted 1ms 360.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2024-10-26 18:06:32
评测时间
2024-10-26 18:06:32
评测机
分数
80
总耗时
15ms
峰值内存
452.0 KiB