记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:16:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
   16 |                  printf("%d",&triangle[i][j]);
      |                          ~^  ~~~~~~~~~~~~~~~
      |                           |  |
      |                           |  int *
      |                           int
      |                          %ls
/in/foo.c:14:13: warning: 'i' is used uninitialized [-Wuninitialized]
   14 |  for(int i;i<n;i++){
      |            ~^~
/in/foo.c:14:10: note: 'i' was declared here
   14 |  for(int i;i<n;i++){
      |          ^
/in/foo.c:15:18: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
   15 |          for(int j;j<i;j++){
      |                  ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 284.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2025-11-24 17:31:11
评测时间
2025-11-24 17:31:11
评测机
分数
0
总耗时
1ms
峰值内存
284.0 KiB