Wrong Answer

foo.cc:145:4: warning: "/*" within comment [-Wcomment]
  145 |  } /*
      |     
foo.cc: In function 'int main()':
foo.cc:274:18: warning: array subscript 0 is above array bounds of 'int [0]' [-Warray-bounds]
  274 |      cout<<S[i]<<" ";
      |                  ^~~
foo.cc:258:41: note: while referencing 'S'
  258 |     int ab=0,cd=0,i=0,n,A,B,count=0,k=0,S[0];
      |                                         ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1113 满足条件的4位整数(2)
语言
C++
递交时间
2022-05-11 15:32:01
评测时间
2022-05-11 15:32:01
评测机
分数
0
总耗时
4ms
峰值内存
384.0 KiB