/ 大熊 /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:36:38: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[7]' [-Wformat=]
       scanf(" %c %s %s",&c1,&c_2,&c_3);
                                      ^
/in/foo.cc:36:38: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[7]' [-Wformat=]
/in/foo.cc:58:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
       else c2='n';
       ^~~~
/in/foo.cc:59:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
       for(k=1;k<=xnum;k++)
       ^~~
/in/foo.cc:73:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if(c3!='n' && c2<c3 || c2=='n' && !flag)
          ~~~~~~~~^~~~~~~~
/in/foo.cc:13:15: warning: unused variable 'cs' [-Wunused-variable]
   int h,j,c=0,cs=0,k,proc=0,w=0;
               ^~
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer 3ms 376.0 KiB
#3 Accepted 4ms 360.0 KiB
#4 Wrong Answer 3ms 376.0 KiB
#5 Wrong Answer 3ms 360.0 KiB
#6 Accepted 3ms 356.0 KiB
#7 Wrong Answer 3ms 256.0 KiB
#8 Wrong Answer 3ms 360.0 KiB
#9 Wrong Answer 3ms 380.0 KiB
#10 Wrong Answer 3ms 384.0 KiB

信息

递交者
类型
递交
题目
complexity
语言
C++
递交时间
2017-11-21 20:12:41
评测时间
2017-11-21 20:12:41
评测机
分数
30
总耗时
35ms
峰值内存
384.0 KiB