记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:4:15: warning: 'x' is used uninitialized [-Wuninitialized]
    4 |         int x,y=x,n=0;
      |               ^
foo.c:4:13: note: 'x' declared here
    4 |         int x,y=x,n=0;
      |             ^
foo.c:18:17: warning: array subscript -1 is below array bounds of 'int[10]' [-Warray-bounds]
   18 |                 printf("%d",a[n]);
      |                 ^~~~~~~~~~~~~~~~~
foo.c:12:21: note: while referencing 'a'
   12 |                 int a[10]={0};
      |                     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 231. 2ms 284.0 KiB
#2 Wrong Answer Read 1, expect 12356871. 2ms 284.0 KiB
#3 Wrong Answer Read 1, expect 564686881. 2ms 284.0 KiB
#4 Wrong Answer Read 1, expect 2975216251. 2ms 284.0 KiB

信息

递交者
类型
递交
题目
1-1 数字循环左移
语言
C
递交时间
2023-10-13 19:19:23
评测时间
2023-10-13 19:19:23
评测机
分数
0
总耗时
8ms
峰值内存
284.0 KiB