Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.size();i++){
              ~^~~~~~~~~
/in/foo.cc:15:20: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
   else a[++n]=x,x=0;
                    ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 444.0 KiB
#2 Runtime Error 1ms 436.0 KiB
#3 Runtime Error 2ms 452.0 KiB
#4 Runtime Error 2ms 472.0 KiB
#5 Runtime Error 1ms 440.0 KiB
#6 Runtime Error 1ms 436.0 KiB

信息

递交者
类型
递交
题目
P1365 导弹拦截
语言
C++
递交时间
2024-08-03 11:53:00
评测时间
2024-08-03 11:53:00
评测机
分数
0
总耗时
13ms
峰值内存
472.0 KiB