#include <stdio.h> int main() { int t,c=1,n,std[100],s,i; scanf("%d",&t); while (t--) { scanf("%d",&n); s=0; for (i=0;i<n;i++) { scanf("%d",&std[i]); if (s<=std[i]) s=std[i]; } printf("Case %d: %d\n",c++,s); } 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