hdoj 2551
来源:互联网 发布:知乎 三体问题 编辑:程序博客网 时间:2024/06/04 21:11
http://acm.hdu.edu.cn/showproblem.php?pid=2551
//水题#include <iostream>#include <cmath>using namespace std;int main(){ int t, n, x; int i, j; cin >> t; while (t--) { cin >> x; n = 0; i = 1; while (x > 0) { n++; x = x - pow((double)i,3); i++; } cout << n << endl; } return 0;}
- hdoj 2551
- HDOJ
- hdoj
- hdoj
- HDOJ
- HDOJ 2551 竹青遍野
- HDOJ--2161 prmes + HDOJ--2551 竹青遍野
- hdoj 1568 && hdoj 5344 && hdoj 5444
- HDOJ/HDU 2551 竹青遍野(打表~)
- HDOJ 2176
- Hdoj--1272
- hdoj 1003
- hdoj 1005
- hdoj 1030
- hdoj 2154
- hdoj 2100
- HDOJ 1106
- hdoj 1257
- hdoj 2550
- 线程同步与双队列
- V8 and Javascript gotchas
- HMM之前向算法
- VC 如何判断是否是组合键消息
- hdoj 2551
- LDAP-Series-1-Chapter-2
- phonegap中设置横向全屏
- servlet获取参数
- hdoj 2552
- 递归求全排列
- 金牌太少,伤了俄罗斯的名族自尊心
- hdoj 2573
- 备忘录模式(Memento)