记录详情

Wrong Answer

/in/foo.cc: In function 'int merge(int, int)':
/in/foo.cc:17:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(!a) return b; if(!b) return a;//?????
  ^~
/in/foo.cc:17:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  if(!a) return b; if(!b) return a;//?????
                   ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:51:16: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int' [-Wformat=]
   scanf("%c",ch);
                ^
/in/foo.cc:51:8: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized]
   scanf("%c",ch);
   ~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 10.316 MiB
#2 Wrong Answer 4ms 10.324 MiB
#3 Wrong Answer 4ms 10.312 MiB
#4 Wrong Answer 4ms 10.309 MiB
#5 Wrong Answer 4ms 10.328 MiB
#6 Wrong Answer 4ms 10.309 MiB
#7 Wrong Answer 6ms 10.809 MiB
#8 Wrong Answer 8ms 11.32 MiB
#9 Wrong Answer 9ms 11.312 MiB
#10 Wrong Answer 8ms 11.316 MiB
#11 Wrong Answer 9ms 11.703 MiB
#12 Wrong Answer 9ms 11.309 MiB
#13 Wrong Answer 134ms 30.438 MiB
#14 Wrong Answer 213ms 29.199 MiB
#15 Accepted 257ms 13.184 MiB
#16 Wrong Answer 144ms 24.684 MiB
#17 Wrong Answer 197ms 30.453 MiB
#18 Wrong Answer 60ms 19.059 MiB
#19 Wrong Answer 109ms 30.188 MiB
#20 Wrong Answer 15ms 11.199 MiB

信息

递交者
类型
递交
题目
3# 胖哥旅游(travel.cpp/c/pas)
题目数据
下载
语言
C++
递交时间
2018-11-05 21:14:47
评测时间
2018-11-05 21:14:47
评测机
分数
5
总耗时
1213ms
峰值内存
30.453 MiB