[ベクジュン·アルゴリズム] A/B
1008
指紋表示
📎Link :
https://www.acmicpc.net/problem/1008
使用言語:C#(.NET)
アルゴリズム:実装、四則演算
解答『かいとう』
コード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| using System; using System.Collections.Generic; using System.Linq;
namespace boj { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split();
Console.WriteLine(double.Parse(s[0]) / double.Parse(s[1]));
} } }
|
結果『けっか』