2 条题解
-
-1
ta18姚懿恒 (ta18姚懿恒) LV 7 @ 3 年前
#include <iostream>
#include<cmath>
#include<cstdio>
#include<iomanip>
using namespace std;
int main()
{
int x;
cin>>x;
cout << x*(x+2) << endl;
} -
-43 年前@
#include <iostream>
using namespace std;
int main()
{
int x;
cin>>x;
cout << x*(x+2) << endl;
}
- 1