/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void print(std::__cxx11::string)':
/in/foo.cc:22:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if((s[1]>'0'||s[2]>'0')&&c>'0'||flag&&c=='0')cout<<"and ";
     ~~~~~~~~~~~~~~~~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 372.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 3ms 352.0 KiB
#4 Accepted 3ms 372.0 KiB
#5 Accepted 3ms 360.0 KiB
#6 Accepted 3ms 336.0 KiB
#7 Accepted 3ms 352.0 KiB
#8 Accepted 3ms 356.0 KiB
#9 Accepted 3ms 356.0 KiB
#10 Accepted 3ms 368.0 KiB

信息

递交者
类型
递交
题目
P1356 比较傻的人学英语
语言
C++
递交时间
2017-10-16 20:41:42
评测时间
2017-10-16 20:41:42
评测机
分数
100
总耗时
35ms
峰值内存
384.0 KiB