Search found 2 matches

by Anik_77
Sun Dec 29, 2013 11:32 pm
Forum: Volume 116 (11600-11699)
Topic: 11650 - Mirror Clock
Replies: 15
Views: 6640

Re: 11650 - Mirror Clock(WA)

input: 13:00
output: -1:00
by Anik_77
Sun Dec 29, 2013 11:09 pm
Forum: Volume 116 (11600-11699)
Topic: 11650 - Mirror Clock
Replies: 15
Views: 6640

11650 - Mirror Clock

Fact: Gotta wrong answer but why :O ?? Checked all the sample output but never found any reason for.Anyone please help me...

# include<stdio.h>
int main()
{
int h,m,h1=11,m1=60,t,i;
scanf("%d",&t);
for(i=0;i<t;i++)
{
scanf("%d:%d",&h,&m);
if(m==0 && h!=2 && h!=10 &&h!=0)
printf("%02d:%02d\n ...

Go to advanced search