UVA 113 Power of Cryptography
2015-07-27 14:06
302 查看
题目
密码学的力量分析
求p√n\sqrt{p}.
思路
pow().
代码
#include <stdio.h> #include <math.h> int main(void) { double n, p; while(scanf("%lf%lf", &n, &p) != EOF) printf("%.0lf\n", pow(p, 1/n)); return 0; }
相关文章推荐
- LVS/DR模式原理剖析
- How to pause the game in Uniy3D
- 建表规范
- php 写日志函数
- 【第五篇】androidEventbus源代码阅读和分析之发送粘性事件和接收粘性事件代码分析
- 如何利用MATLAB求矩阵的逆阵?
- ABAP程序系统字段中英文详解
- B树、B-树、B+树、B*树 红黑树
- Amoeba搞定mysql主从读写分离
- Linux下TI omap芯片 MUX 配置分析(以AM335X芯片为例)
- Win8.1下VM与Hyper-v冲突解决方法
- 【设计模式】观察者模式 Observer Pattern
- android底部弹出菜单
- 1. Browser 对象 - Window 对象
- Kubernetes技术分析之DNS
- 2015年 苹果开发者/邓氏编码 账户申请
- Lua笔记2-string类型
- 测试人员如何减少产品的遗留bug
- mysql设置远程访问数据库的多种方法
- android listView点击item,高亮显示