记录详情

Compile Error

foo.cc:5:5: error: expected initializer before ‘int’
    5 |     int out=0
      |     ^~~
foo.cc:12:5: error: expected unqualified-id before ‘return’
   12 |     return out;
      |     ^~~~~~
foo.cc:13:1: error: expected declaration before ‘}’ token
   13 | }
      | ^
foo.cc: In function ‘int main()’:
foo.cc:18:15: error: ‘fan’ was not declared in this scope
   18 |         cout<<fan(in)<<endl;
      |               ^~~

信息

递交者
类型
自测
题目
A4-2 回文数专题:反数
语言
C++
递交时间
2024-10-03 22:27:10
评测时间
2024-10-03 22:27:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes