记录详情

Wrong Answer

/in/foo.cc: In function 'void decode(char*, int)':
/in/foo.cc:5:15: warning: comparison of constant ''E'' with boolean expression is always true [-Wbool-compare]
   if('A'<=a[i]<='E')
      ~~~~~~~~~^~~~~
/in/foo.cc:5:9: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
   if('A'<=a[i]<='E')
      ~~~^~~~~~
/in/foo.cc:7:18: warning: comparison of constant ''E'' with boolean expression is always true [-Wbool-compare]
      if('F'<=a[i]<='E')
         ~~~~~~~~~^~~~~
/in/foo.cc:7:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
      if('F'<=a[i]<='E')
         ~~~^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 360.0 KiB
#2 Wrong Answer 1ms 324.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 324.0 KiB
#5 Wrong Answer 1ms 356.0 KiB

信息

递交者
类型
递交
题目
G7-4解密算法
比赛
2024程序设计与竞赛作业赛第三场(七十二变)
语言
C++
递交时间
2024-10-20 17:06:41
评测时间
2024-10-20 17:06:41
评测机
分数
0
总耗时
7ms
峰值内存
376.0 KiB