All In One
একের ভিতর সব
Sunday, June 19, 2016
SOLUTION OF URI 1080
// 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;
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment