/ Vijos /

记录详情

Accepted

/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:47: warning: unused variable 'n' [-Wunused-variable]
  int flag,a[10000],b[10000],c[10000],d[10000],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[10000],b[10000],c[10000],d[10000],n=0,x=0,y=0,sign=0,z=0,p=0,q=0,e=0;
      ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 372.0 KiB
#2 Accepted 3ms 360.0 KiB
#3 Accepted 4ms 356.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 6ms 512.0 KiB
#6 Accepted 33ms 572.0 KiB
#7 Accepted 10ms 472.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 2ms 360.0 KiB
#10 Accepted 2ms 360.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2018-09-05 20:23:33
评测时间
2018-09-05 20:23:33
评测机
分数
100
总耗时
72ms
峰值内存
572.0 KiB