/ 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:48: warning: unused variable 'n' [-Wunused-variable]
  int flag,a[1000000],b[1000000],c[1000],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[1000000],c[1000],d[100],n=0,x=0,y=0,sign=0,z=0,p=0,q=0,e=0;
      ^~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 2.25 MiB
#2 Accepted 4ms 2.367 MiB
#3 Accepted 4ms 2.371 MiB
#4 Wrong Answer 5ms 2.25 MiB
#5 Wrong Answer 6ms 2.332 MiB
#6 Wrong Answer 33ms 2.578 MiB
#7 Wrong Answer 8ms 2.484 MiB
#8 Accepted 4ms 2.355 MiB
#9 Accepted 3ms 4.375 MiB
#10 Accepted 2ms 2.363 MiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2018-09-05 20:23:14
评测时间
2018-09-05 20:23:14
评测机
分数
60
总耗时
79ms
峰值内存
4.375 MiB