https://www.acmicpc.net/problem/1008
#include <iostream> using namespace std; int main() { int a,b; cin >> a>>b; cout.setf(ios::fixed); cout.precision(9); cout << (double) a/b; }