hdoj 2549
来源:互联网 发布:知乎 三体问题 编辑:程序博客网 时间:2024/06/04 18:01
http://acm.hdu.edu.cn/showproblem.php?pid=2549
//水题#include <iostream>#include <string>using namespace std;int main(){ int t, n; string num; int flag; cin >> t; while (t--) { cin >> num >> n; flag = num.find('.'); if (n > num.length()-flag-1) cout << 0 << endl; else cout << num[flag+n] << endl; } return 0;}
- hdoj 2549
- HDOJ
- hdoj
- hdoj
- HDOJ
- HDOJ 2549 壮志难酬
- hdoj 1568 && hdoj 5344 && hdoj 5444
- HDOJ/HDU 2549 壮志难酬(取小数点后几位~)
- hdoj-2549-壮志难酬(解题报告)
- HDOJ 2176
- Hdoj--1272
- hdoj 1003
- hdoj 1005
- hdoj 1030
- hdoj 2154
- hdoj 2100
- HDOJ 1106
- hdoj 1257
- hdoj2547
- GDI+ 保存指定的窗口为JPEG文件(X Y轴镜像功能可选)
- 解题思路
- 刚开始职场生涯
- hdoj 2548
- hdoj 2549
- 中介者模式(Mediator)
- python 匿名ftp扫描
- 浅谈C++模板机制
- hdoj 2550
- 线程同步与双队列
- V8 and Javascript gotchas
- HMM之前向算法
- VC 如何判断是否是组合键消息