没想到直接通过了,

#include<stdio.h>
#include<math.h>
int main()
{
    int n;
    scanf("%d",&n);
    int m;
    m=sqrt(n);
    printf("%d\n",m);
    return 0;
}

全部评论
Python两条语句就够! import math print(int(math.sqrt(int(input()))))
1 回复 分享
发布于 2019-08-07 19:32

相关推荐

投递牧原集团等公司7个岗位
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务