0 Compile Error

foo.cc: In function 'int main()':
foo.cc:7:36: error: invalid type argument of unary '*' (have 'int')
    7 |     cout<<2*a<<" "<<2*a*b<<" "<<a**2*b;
      |                                    ^

代码

#include <iostream>
using namespace std;
int main()
{
    int a=0,b=3.1415;
    cin>>a;
    cout<<2*a<<" "<<2*a*b<<" "<<a**2*b;
    
    return 0;
}

信息

递交者
题目
DJKS1007  与圆相关的计算
比赛
等级考试一级阶段测试
语言
C++ 98
递交时间
1 年前
评测时间
1 年前
分数
0
总耗时
0ms
峰值内存
0 Bytes