记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:7:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(n>=3||n>=4)
  ^~
foo.cc:9:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   m2=n/4;
   ^~
foo.cc:16:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else 
   ^~~~
foo.cc:18:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
    m2=(n/4)/4;
    ^~
foo.cc:10:7: warning: 'm1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   i=m1+m2+n;
     ~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 392.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["15","22"] 1ms 384.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["316664","479995"] 1ms 384.0 KiB
#5 Wrong Answer Read {0}, expect {1}. ["1583333","2399998"] 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1087 xf1-10多喝饮料
比赛
2020苏青奥赛集训营(2021-2-2课堂小练)
语言
C++
递交时间
2021-02-02 13:27:03
评测时间
2021-02-02 13:27:03
评测机
分数
40
总耗时
10ms
峰值内存
392.0 KiB