记录详情

Compile Error

/in/foo.cc: In function 'void fun1(int, int, int*)':
/in/foo.cc:27:17: error: return-statement with a value, in function returning 'void' [-fpermissive]
  if(m>n) return 0;
                 ^
/in/foo.cc:33:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
  return k;
         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:43:24: error: 'O' was not declared in this scope
   k=fun1(a[i],a[i+1],b[O]);
                        ^
/in/foo.cc:50:28: error: 'prinff' was not declared in this scope
     if(j%10==0) prinff("\n");
                            ^

信息

递交者
类型
递交
题目
8-1 改错题
语言
C++
递交时间
2020-12-05 21:33:28
评测时间
2020-12-05 21:33:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes