摘要: #include <stdio.h> #include <math.h> long toBinary(int num); int main(int argc, char const *argv[]) { int num; printf("Please input a number: "); scan 阅读全文
posted @ 2023-01-11 21:58 TnT… 阅读(101) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <math.h> int length(int arr[], int len) { int i; for(i = len-1; i >= 0; i--) { if(arr[i]) { return i + 1; } } return len; 阅读全文
posted @ 2023-01-10 15:42 TnT… 阅读(33) 评论(0) 推荐(0)
摘要: Maven Maven的下载地址:https://archive.apache.org/dist/maven/binaries/apache-maven-3.2.2-bin.zip 安装方法: 需要配置M2_HOME 环境变量指定为Maven的bin目录,在PATH变量中 需要配置JAVA_HOME 阅读全文
posted @ 2022-12-30 14:19 TnT… 阅读(55) 评论(0) 推荐(0)
摘要: Hadoop四高 高可靠:Mapreduce负责维护多个数据的副本,Hadoop计算数据出现故障,也不会造成数据丢失 高扩展性:可以扩展数以千计的节点 高效性:Hadoop是并行操作的 高容错性:自动将失败的任务自动分配 HDFS三部分 graph TD; id1(HDFS架构) HDFS-->Na 阅读全文
posted @ 2022-12-28 20:22 TnT… 阅读(83) 评论(0) 推荐(0)