SOLUTION OF URI 1080 URI SOLUTIONS No comments // 1080 (Mahmud_Jamil) BRUR // Highest and Position #include<stdio.h>int main(){ int i,in,m=0,p; for(i=1;i<=100;i++){ scanf("%d",&in); if(m<in){ m=in; p=i; } } printf("%d\n%d\n",m,p); return 0;} Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment