/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:20:21: warning: implicit declaration of function 'isZero' [-Wimplicit-function-declaration]
   for(j=i; j<row && isZero(M[j][i]); j++)
                     ^~~~~~
/in/foo.c:22:3: warning: implicit declaration of function 'swapLine' [-Wimplicit-function-declaration]
   swapLine(i, j);
   ^~~~~~~~
/in/foo.c:33:3: error: expected ';' before '}' token
   }
   ^
/in/foo.c: At top level:
/in/foo.c:41:6: warning: conflicting types for 'swapLine'
 void swapLine(int id1, int id2){
      ^~~~~~~~
/in/foo.c:22:3: note: previous implicit declaration of 'swapLine' was here
   swapLine(i, j);
   ^~~~~~~~

信息

递交者
类型
自测
题目
P1052 贾老二算算术
语言
C
递交时间
2017-11-22 19:18:56
评测时间
2017-11-22 19:18:56
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes