Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int t,k,n,i,j,a[20],ans,b,temp;
- while(scanf("%d",&t)==1)
- {
- for(i=1;i<=t;i++)
- {
- scanf("%d",&n);
- for(k=1;k<=n;k++)
- {
- scanf("%d",&a[k]);
- }
- printf("Case %d: %d\n",i,a[k/2]);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement