about summary refs log tree commit diff
path: root/others/mHoang/decor.c
diff options
context:
space:
mode:
Diffstat (limited to 'others/mHoang/decor.c')
-rw-r--r--others/mHoang/decor.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/others/mHoang/decor.c b/others/mHoang/decor.c
new file mode 100644
index 0000000..54cb2c6
--- /dev/null
+++ b/others/mHoang/decor.c
@@ -0,0 +1,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;
+}