Search found 1 match

by muhitsarwar
Thu Nov 14, 2013 3:05 pm
Forum: Volume 119 (11900-11999)
Topic: 11958 - Coming Home
Replies: 24
Views: 5479

11958 - Coming Home why wrong ans!

#include<stdio.h> #include<math.h> int main() { long long int test,bus,tm,min; long long int ch,cm,ah,am; long long int i,j,l,a,b,c,d; scanf("%lld",&test); for(i=1;i<=test;i++) { scanf("%lld %lld:%lld",&bus,&ch,&cm); min=1440; for(j=1;j<=bus;j++) { scanf("%lld:%lld %lld",&ah,&am,&tm); if(ch>ah) ah+=...

Go to advanced search