nstc.net
当前位置:首页 >> hADoop jAr %D >>

hADoop jAr %D

include int main(){ int arr1[20], arr2[20], sum[20] = {0}; int count = 0, a, b, i, temp; scanf("%d %d", &a, &b); while (a != 0 || b != 0) { arr1[count] = a % 10; arr2[count] = b % 10; a /= 10; b /= 10; count++; } for (i = 0; i ...

那个路径是指的hdfs下的路径,不是本地路径

scanf("%d %d",&a,&b)返回输入的数据和格式字符串中匹配次数。 当dos或windows中输入ctrl+z(模拟文件结束符EOF)时,scanf返回EOF, 所以当输入终止符ctrl+z时,退出while循环

include int main(){ int arr1[20], arr2[20], sum[20] = {0}; int count = 0, a, b, i, temp; scanf("%d %d", &a, &b); while (a != 0 || b != 0) { arr1[count] = a % 10; arr2[count] = b % 10; a /= 10; b /= 10; count++; } for (i = 0; i ...

网站首页 | 网站地图
All rights reserved Powered by www.nstc.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com