记录详情

Compile Error

/in/foo.cc:4:7: error: stray '\357' in program
  int n,num=0;
       ^
/in/foo.cc:4:8: error: stray '\274' in program
  int n,num=0;
        ^
/in/foo.cc:4:9: error: stray '\214' in program
  int n,num=0;
         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:4:10: error: expected initializer before 'num'
  int n,num=0;
          ^~~
/in/foo.cc:6:14: error: 'n' was not declared in this scope
  std::cin >> n;
              ^
/in/foo.cc:8:3: error: 'num' was not declared in this scope
   num = 1;
   ^~~
/in/foo.cc:18:4: error: 'num' was not declared in this scope
    num++;
    ^~~
/in/foo.cc:22:15: error: 'num' was not declared in this scope
  std::cout << num << std::endl;
               ^~~

信息

递交者
类型
递交
题目
P1089 xf2-2计算阶乘位数
语言
C++
递交时间
2024-01-20 18:17:53
评测时间
2024-01-20 18:17:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes