#include<iostream>
#include <iomanip>
float Calc(float A, float B){
float C = A * B;
return C;
}
float Calc2(float A, float B){
float C = A / B;
return C;
}
float Calc2D(double A, double B){
double C = A / B;
return C;
}
int main(){
std::cout << Calc(110.6, 18) << std::endl;
std::cout << Calc(110.6, 19) << std::endl;
std::cout << Calc(110.6, 20) << std::endl;
std::cout << Calc(1106, 19) << std::endl;
std::cout << Calc(110.5, 19) << std::endl;
std::cout << std::fixed /*<< std::setprecision(1)*/ << Calc2(214358881, 11) << std::endl;
std::cout << std::fixed /*<< std::setprecision(1)*/ << Calc2(965782365, 19) << std::endl;
std::cout << std::fixed /*<< std::setprecision(1)*/ << Calc2D(214358881, 11) << std::endl;
std::cout << std::fixed /*<< std::setprecision(1)*/ << Calc2D(965782365, 19) << std::endl;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlIDxpb21hbmlwPgpmbG9hdCBDYWxjKGZsb2F0IEEsIGZsb2F0IEIpewoJZmxvYXQgQyA9IEEgKiBCOwoKCXJldHVybiBDOwp9CgpmbG9hdCBDYWxjMihmbG9hdCBBLCBmbG9hdCBCKXsKCWZsb2F0IEMgPSBBIC8gQjsKCglyZXR1cm4gQzsKfQpmbG9hdCBDYWxjMkQoZG91YmxlIEEsIGRvdWJsZSBCKXsKCWRvdWJsZSBDID0gQSAvIEI7CgoJcmV0dXJuIEM7Cn0KaW50IG1haW4oKXsKCglzdGQ6OmNvdXQgPDwgQ2FsYygxMTAuNiwgMTgpIDw8IHN0ZDo6ZW5kbDsKCXN0ZDo6Y291dCA8PCBDYWxjKDExMC42LCAxOSkgPDwgc3RkOjplbmRsOwoJc3RkOjpjb3V0IDw8IENhbGMoMTEwLjYsIDIwKSA8PCBzdGQ6OmVuZGw7CglzdGQ6OmNvdXQgPDwgQ2FsYygxMTA2LCAxOSkgPDwgc3RkOjplbmRsOwoJc3RkOjpjb3V0IDw8IENhbGMoMTEwLjUsIDE5KSA8PCBzdGQ6OmVuZGw7CgoJc3RkO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