第一题 #include <iostream> #include <cmath> typedef long long ll; int main() { ll n; while ( std::cin >> n ) {   std::cout << ll(sqrt(2.0 * n - 1.25) + 0.5) << std::endl;   }   return 0; }
点赞 1

相关推荐

2025-12-29 22:34
武汉大学 Java
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务