/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<=s.size()-1;i++)
              ~^~~~~~~~~~~~
/in/foo.cc:19:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(s[i]=='E')a[z]=x;b[z]=y;
   ^~
/in/foo.cc:19:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(s[i]=='E')a[z]=x;b[z]=y;
                       ^
/in/foo.cc:6:43: warning: unused variable 'n' [-Wunused-variable]
  int flag,a[1000000],b[100],c[100],d[100],n=0,x=0,y=0,sign=0,z=0,p=0,q=0,e=0;
                                           ^
/in/foo.cc:6:6: warning: 'flag' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int flag,a[1000000],b[100],c[100],d[100],n=0,x=0,y=0,sign=0,z=0,p=0,q=0,e=0;
      ^~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Wrong Answer 4ms 256.0 KiB
#3 Wrong Answer 4ms 256.0 KiB
#4 Wrong Answer 5ms 364.0 KiB
#5 Wrong Answer 5ms 348.0 KiB
#6 Wrong Answer 35ms 664.0 KiB
#7 Wrong Answer 9ms 384.0 KiB
#8 Accepted 5ms 256.0 KiB
#9 Accepted 3ms 368.0 KiB
#10 Accepted 3ms 344.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2018-09-05 20:22:58
评测时间
2018-09-05 20:23:01
评测机
分数
40
总耗时
84ms
峰值内存
664.0 KiB