Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |         cin>>n;
      |              ^
      |              yn
/in/foo.cc:9:25: error: 'm' was not declared in this scope
    9 |                         m*=2.0;
      |                         ^
/in/foo.cc:10:15: error: 'm' was not declared in this scope; did you mean 'tm'?
   10 |         cout<<m;
      |               ^
      |               tm
/in/foo.cc:5:13: warning: unused variable 'n\U0000ff0cm' [-Wunused-variable]
    5 |         int n,m=2;
      |             ^~~~

信息

递交者
类型
递交
题目
P2397 1.6.12计算2的N次方
语言
C++
递交时间
2025-05-02 13:59:51
评测时间
2025-05-02 13:59:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes