/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int what(int*)':
/in/foo.cc:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'bool cmp(person, person)':
/in/foo.cc:20:16: warning: self-comparison always evaluates to false [-Wtautological-compare]
  return m.x*m.y<m.x*m.y;
         ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'void mult(int*, int)':
/in/foo.cc:48:28: warning: left operand of comma operator has no effect [-Wunused-value]
  for(int i=10000,j=a1[0]; i>=1,j>=1; i--,j--)
                           ~^~~
/in/foo.cc: In function 'bool check(int*, int*)':
/in/foo.cc:29:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 384.0 KiB
#2 Wrong Answer 4ms 464.0 KiB
#3 Wrong Answer 5ms 452.0 KiB
#4 Wrong Answer 6ms 384.0 KiB
#5 Accepted 10ms 452.0 KiB
#6 Accepted 12ms 384.0 KiB
#7 Wrong Answer 73ms 384.0 KiB
#8 Wrong Answer 90ms 492.0 KiB
#9 Wrong Answer 76ms 484.0 KiB
#10 Wrong Answer 88ms 476.0 KiB

信息

递交者
类型
递交
题目
P1779 国王游戏
语言
C++
递交时间
2017-07-06 16:56:51
评测时间
2017-07-06 16:56:51
评测机
分数
20
总耗时
372ms
峰值内存
492.0 KiB