Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- long long int T,R,i,a,b,c,L,W;
- scanf("%lld",&T);
- for(i=1;i<=T;i++)
- {
- scanf("%lld",&R);
- L=5*R;
- W=3*R;
- a=(4.5*L)/10;
- b=(5.5*L)/10;
- c=W/2;
- printf("Case %lld:\n-%lld %lld\n%lld %lld\n%lld -%lld\n-%lld -%lld\n",i,a,c,b,c,b,c,a,c);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment