Open polopilo opened 1 year ago
Đây là lời giải của mình đã AC. Nếu bạn đã cố gắng mà chưa làm được thì có thể tham khảo lời giải của mình.
//LSON #include using namespace std; int main() { int n = 0; cin >> n; cout << fixed << setprecision(5) << (double)n/(n + 1); return 0; }
Originally posted by @vsonwork in https://github.com/luyencode/comments/issues/99#issuecomment-907061038
Xem code AC
//LSON #include
using namespace std;
int main()
{
int n = 0;
cin >> n;
cout << fixed << setprecision(5) << (double)n/(n + 1);
return 0;
}
Originally posted by @vsonwork in https://github.com/luyencode/comments/issues/99#issuecomment-907061038