1 2 3 4 5 6 7 8 9 10 11 12 13
#include <stdio.h> #include <math.h> int main() { unsigned long long n; scanf("%lld", &n); printf("%ld\n", (unsigned long) sqrt(n)); return 0; }