记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:9:12: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
  a=(int **)malloc(nn*sizeof(int *));
            ^~~~~~
/in/foo.c:9:12: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:9:12: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:12:14: warning: unused variable 'count' [-Wunused-variable]
  int flag=1, count=1;
              ^~~~~
/in/foo.c:12:6: warning: unused variable 'flag' [-Wunused-variable]
  int flag=1, count=1;
      ^~~~
/in/foo.c:6:13: warning: unused variable 'k' [-Wunused-variable]
  int n, nn, k=1, i=0, j=0;
             ^
/in/foo.c:6:6: warning: unused variable 'n' [-Wunused-variable]
  int n, nn, k=1, i=0, j=0;
      ^
/in/foo.c: In function 'Matrix':
/in/foo.c:29:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(flag=0)
   ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 0ms 216.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 208.0 KiB

信息

递交者
类型
递交
题目
6-8 回形矩阵
比赛
课程赛事2018-12-31
语言
C
递交时间
2018-12-31 11:02:37
评测时间
2018-12-31 11:02:37
评测机
分数
100
总耗时
6ms
峰值内存
216.0 KiB