UVa 11650 Mirror Clock Solution
#include<stdio.h>
int main()
{
int a,b,c,d,e,j;
while(scanf("%d",&d)==1)
{
for(j=1;j<=d;j++)
{
scanf("%d:%d",&a,&b);
c=11-a;
e=60-b;
if(c==-1 && b!=0)
c=11;
if(b==0)
{c=c+1;
e=0;}
if(c<0)
c=c/(-1);
if(c==0)
c=12;
if(c>9)
printf("%d:",c);
else
printf("0%d:",c);
if(e>9)
printf("%d\n",e);
else
printf("0%d\n",e);
}
}
return 0;
}
bhai java?
ReplyDeletearee na, eta C code.
DeleteMasarstin-a-Albuquerque James Silem https://marketplace.visualstudio.com/items?itemName=3pulrestepu.Descargar-Soul-Of-Giga-gratuita
ReplyDeletepiedeptatodd
fricroaMprom_ku Mike Abeita https://www.ecasavesenergy.org/profile/dedryknicholahgiorgi/profile
ReplyDeletespicasalbut
OconstaOdend_mo_1986 Tonya Whiteside download
ReplyDeletelink
link
click here
payhamxygua