diff options
author | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2017-01-01 20:42:05 +0700 |
---|---|---|
committer | Raphael McSinyx <vn.mcsinyx@gmail.com> | 2017-01-01 20:42:05 +0700 |
commit | c67182c04491f2cf8b67e78b68aebf32aea25470 (patch) | |
tree | d82d7fd5478dffb1348143c67cbb330955dbf0f8 /others/mHoang/decor.c | |
parent | 70f37066d2d368a2810a2be209ae0bd8b391293b (diff) | |
download | cp-c67182c04491f2cf8b67e78b68aebf32aea25470.tar.gz |
Update others/{mHoang,mkcal}
Diffstat (limited to 'others/mHoang/decor.c')
-rw-r--r-- | others/mHoang/decor.c | 13 |
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; +} |