/ Vijos /

记录详情

Runtime Error

/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:50: warning: unused variable 'n' [-Wunused-variable]
  int flag,a[1000000],b[1000000],c[100000],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[100000],d[100],n=0,x=0,y=0,sign=0,z=0,p=0,q=0,e=0;
      ^~~~
# 状态 耗时 内存占用
#1 Runtime Error 3ms 372.0 KiB
#2 Runtime Error 3ms 356.0 KiB
#3 Runtime Error 4ms 332.0 KiB
#4 Runtime Error 3ms 256.0 KiB
#5 Runtime Error 2ms 208.0 KiB
#6 Runtime Error 2ms 384.0 KiB
#7 Runtime Error 3ms 256.0 KiB
#8 Runtime Error 2ms 496.0 KiB
#9 Runtime Error 3ms 364.0 KiB
#10 Runtime Error 3ms 360.0 KiB

信息

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