[gcj] Re: QUERY: How to check the outputs for practice probems?

2011-04-24 Thread monish001
Hey thanks Ravi. It is working upto the mark in firefox. Monish On Apr 24, 1:23 am, ravi shanker wrote: > Hi, > > just wait for some time or try with some other browser u will get the > response back. > > On Sat, Apr 23, 2011 at 10:15 PM, monish gupta wrote: > > > > > > > > > Hello everyone > >

Re: [gcj] Re: String processing

2011-04-24 Thread João Víctor Rocon Maia
http://code.google.com/codejam/contest/dashboard?c=351101#s=p1 my solution(Python): n = int(raw_input()) for i in range(1, n+1): words = raw_input().split(' ') print "Case #%d:" % (i), for i in words[::-1]: print i, print -- You received this message because you are subs

[gcj] bitmap coding problem

2011-04-24 Thread chase
#include #include #include int main(int argc, char *argv[]) { // ensure proper usage if (argc != 2) return 1; // open file FILE *fp = fopen(argv[1], "r"); if (fp == NULL) return 1; // seek to BITMAPFILEHEADER's bfSize fseek(fp, 2, SEEK_SET); // read in BITMAPFILEHEADER's bfSize uint32_t bfSi