fork download
  1. using static System.Console;
  2. using static System.Math;
  3. using System.Globalization;
  4.  
  5. namespace Uri_CSharp {
  6. public class URI {
  7. public static void Main(string[] args) {
  8. if (double.TryParse(ReadLine(), out var raio)) {
  9. double area = Pow(raio, 2) * 3.14159;
  10. WriteLine(area.ToString("F4", new CultureInfo("pt-BR")));
  11. }
  12. }
  13. }
  14. }
  15.  
  16. //https://pt.stackoverflow.com/q/141112/101
Success #stdin #stdout 0.02s 15996KB
stdin
Standard input is empty
stdout
Standard output is empty