/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:17:12: warning: array subscript 1 is above array bounds of ‘int [1]’ [-Warray-bounds=]
   17 |         q[1]=1;
      |         ~~~^
foo.cc:15:13: note: while referencing ‘q’
   15 |         int q[1];
      |             ^
foo.cc:26:15: warning: array subscript 1 is above array bounds of ‘int [1]’ [-Warray-bounds=]
   26 |         printf("%d",q[1]);
      |         ~~~~~~^~~~~~~~~~~
foo.cc:15:13: note: while referencing ‘q’
   15 |         int q[1];
      |             ^
foo.cc:23:28: warning: array subscript 1 is above array bounds of ‘int [1]’ [-Warray-bounds=]
   23 |                         q[1]=k+1;
      |                         ~~~^
foo.cc:15:13: note: while referencing ‘q’
   15 |         int q[1];
      |             ^
# 状态 耗时 内存占用
#1 Wrong Answer Read 5, expect 3. 2ms 324.0 KiB
#2 Wrong Answer Read 4, expect 2. 2ms 536.0 KiB
#3 Accepted 2ms 768.0 KiB
#4 Wrong Answer Read 4, expect 3. 2ms 320.0 KiB
#5 Accepted 2ms 536.0 KiB
#6 Accepted 2ms 536.0 KiB
#7 Wrong Answer Read 4, expect 5. 2ms 608.0 KiB
#8 Wrong Answer Read 4, expect 2. 2ms 320.0 KiB
#9 Wrong Answer Read 4, expect 2. 2ms 536.0 KiB
#10 Wrong Answer Read 4, expect 2. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1113 不高兴的津津
语言
C++
递交时间
2024-03-27 21:48:17
评测时间
2024-03-27 21:48:17
评测机
分数
30
总耗时
24ms
峰值内存
768.0 KiB