14578: Circle发表时间:2022-10-27 20:10 14578: Circle题目描述Given is an integer r. 输入Input is given from Standard Input in the following format:
输出Print the area of a circle of radius r, divided by the area of a circle of radius 1, as an integer. 样例输入 Copy【样例1】 2 【样例2】 100 样例输出 Copy【样例1】 4 【样例2】 10000 提示样例1解释 #include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; cout<<x*x<<endl; return 0; }
文章分类:
算法例题
|