/ 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:48: warning: unused variable 'n' [-Wunused-variable]
  int flag,a[1000000],b[10000000],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[10000000],c[100],d[100],n=0,x=0,y=0,sign=0,z=0,p=0,q=0,e=0;
      ^~~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 368.0 KiB
#2 Runtime Error 3ms 336.0 KiB
#3 Runtime Error 4ms 344.0 KiB
#4 Runtime Error 4ms 340.0 KiB
#5 Runtime Error 3ms 364.0 KiB
#6 Runtime Error 5ms 376.0 KiB
#7 Runtime Error 4ms 380.0 KiB
#8 Runtime Error 5ms 500.0 KiB
#9 Runtime Error 3ms 376.0 KiB
#10 Runtime Error 4ms 372.0 KiB

信息

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