记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:13:8: warning: implicit declaration of function 'PD' [-Wimplicit-function-declaration]
  count=PD(x,n);
        ^~
/in/foo.c: In function 'PD':
/in/foo.c:22:18: error: 'm' undeclared (first use in this function)
    if(x[i]+x[j]==m)
                  ^
/in/foo.c:22:18: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:23:5: error: 'count' undeclared (first use in this function)
     count+=count;
     ^~~~~
/in/foo.c:25:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
自测
题目
6-1 和为定值的数对
语言
C
递交时间
2018-12-31 10:04:08
评测时间
2018-12-31 10:04:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes