记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:9:19: warning: 'a' is used uninitialized in this function [-Wuninitialized]
  for (int i = 0; a[j] != '\n'; i++,j=i-1)
                  ~^~~
/in/foo.c:24:7: note: 'a' was declared here
  char a[10000];
       ^
/in/foo.c:9:19: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for (int i = 0; a[j] != '\n'; i++,j=i-1)
                  ~^~~
/in/foo.c:25:7: note: 'b' was declared here
  char b[10000];
       ^
# 状态 耗时 内存占用
#1 Accepted 1ms 248.0 KiB
#2 Accepted 1ms 248.0 KiB
#3 Accepted 0ms 216.0 KiB
#4 Accepted 0ms 228.0 KiB
#5 Accepted 0ms 252.0 KiB

信息

递交者
类型
递交
比赛
2023 程序设计与竞赛(作业6:走向综合)
语言
C
递交时间
2023-10-28 11:20:54
评测时间
2023-10-28 11:20:54
评测机
分数
100
总耗时
4ms
峰值内存
252.0 KiB