摘要: HDFS 的 API 操作 使用url方式访问数据(了解) @Test public void urlHdfs() throws IOException { //1.注册url URL.setURLStreamHandlerFactory(new FsUrlStreamHandlerFactory( 阅读全文
posted @ 2020-08-15 18:13 清风紫雪 阅读(296) 评论(0) 推荐(0) 编辑
摘要: A. Bad Triangle 题目:https://codeforces.com/contest/1398/problem/A 题解:一道计算几何题,只要观察数组的第1,2,n个,判断他们能否构成三角形即可。 必须注意:从反方向判断时要注意:两边之和大于第三边的反向是:a[1]+a[2]<=a[n 阅读全文
posted @ 2020-08-15 12:29 清风紫雪 阅读(290) 评论(0) 推荐(1) 编辑