Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
137267 梁乃元 求分数精确值1 C++ 通过 100 0 MS 256 KB 286 2024-03-09 17:51:19

Tests(5/5):


# include <bits/stdc++.h> using namespace std ; int main ( ) { int m , n ; char c ; cin >> m >> c >> n ; cout << m << c << n << "=0." ; for ( int i = 1 ; i <= 100 ; i ++ ) { m *= 10 ; cout << m / n ; m %= n ; } cout << endl ; return 0 ; }


测评信息: