/ 大熊 /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
  scanf("%d\n",&T[i]);
               ~~~~~^
/in/foo.cc:16:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(T[i]='u')time+=t1+t3;
      ~~~~^~~~
/in/foo.cc:17:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  else if(T[i]='f')time+=2*t2;
          ~~~~^~~~
/in/foo.cc:18:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  else if(T[i]='d')time+=t1+t3;
          ~~~~^~~~
/in/foo.cc:8:29: warning: unused variable 'ans' [-Wunused-variable]
     int M,a,t1,t2,t3,time=0,ans=0,tot=-1;
                             ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Accepted 1ms 196.0 KiB
#3 Wrong Answer 1ms 192.0 KiB
#4 Wrong Answer 1ms 204.0 KiB
#5 Accepted 1ms 184.0 KiB
#6 Wrong Answer 1ms 188.0 KiB
#7 Accepted 1ms 208.0 KiB
#8 Wrong Answer 1ms 188.0 KiB
#9 Wrong Answer 2ms 192.0 KiB
#10 Wrong Answer 8ms 204.0 KiB

信息

递交者
类型
递交
题目
体育健将熊老师
语言
C++
递交时间
2018-11-25 21:23:04
评测时间
2018-11-25 21:23:04
评测机
分数
30
总耗时
24ms
峰值内存
208.0 KiB