#include <stdio.h> int main () { int t,c=1,i,n,age,m,cap; scanf("%d",&t); while (t--) { scanf("%d",&n); m=(n+1)/2; for (i=1;i<=n;i++) { scanf("%d",&age); if (i==m) cap=age; } printf("Case %d: %d\n",c++,cap); } return 0; }
Sunday, April 24, 2016
Unknown
Studying at Shahjalal University of Science and Technology, Sylhet.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment