2023-10-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã double ã§è¨ç®ããã¨ãã«å¸¸ã«çãããªãã¾ããï¼ã¨ããã¯ã¤ãºã§ãã n 㯠double ã§è¡¨ããæ´æ°ã§ãããã¨ã«ãã¾ãã çã >>> 6755399441055749 / 10 675539944105574.9 >>> 6755399441055749 * 0.1 675539944105575.0 ãããåè ã® floor ã¨å¾è ã® fâ¦
atcoder.jp å°å ¥ ããã® long double 解æ³ã«ã¤ãã¦ã®è©±ã§ããä¸è¨ã®ãããªè§£æ³ã§ãã #include <cmath> #include <cstdio> constexpr long double eps = /* ??? */; bool ok(long double a, long double b, long double c) { return std::sqrt(a) + std::sqrt(b) + eps < st</cstdio></cmath>â¦