记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:5:14: error: ‘n;’ was not declared in this scope
    5 |         cin>>n;
      |              ^~~
foo.cc:8:17: error: ‘nn’ was not declared in this scope; did you mean ‘n’?
    8 |                 nn%=10;
      |                 ^~
      |                 n
foo.cc:9:18: warning: statement has no effect [-Wunused-value]
    9 |                 n/10;
      |                 ~^~~
foo.cc:11:15: error: ‘nn’ was not declared in this scope; did you mean ‘n’?
   11 |         cout<<nn<<endl;
      |               ^~
      |               n

信息

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