Search found 3 matches

by debr
Thu Feb 13, 2003 8:17 am
Forum: Volume 1 (100-199)
Topic: 128 - Software CRC
Replies: 62
Views: 7551

I get WA on 128 here too

I've checked against all posted patterns, and I haven't found any problems. What gives here? [cpp] #include <iostream> #include <stdio.h> using std::cin; int main () { unsigned char buffer[1028]; unsigned int modulus = 34943; while(!cin.eof()) { cin.getline((char *) buffer,1028,'\n'); if (buffer[0] ...
by debr
Sat Feb 08, 2003 9:07 pm
Forum: Other words
Topic: questions about Feb 8,2003 contest
Replies: 6
Views: 2144

Thx for the unsigned long long stuff. This is a little lame, as the rules stated that all C programs have to comply with ANSI X3.159-1989 which did not include long long and unsigned long long. Anyway, I'll know for next time, and I'll start using these by default so as not to be bit by this again.
by debr
Sat Feb 08, 2003 7:14 pm
Forum: Other words
Topic: questions about Feb 8,2003 contest
Replies: 6
Views: 2144

questions about Feb 8,2003 contest

I didn't find a better place to post this, so.... This was my first programming contest. It started at 1AM my time, so I was a bit tired, but it was fun nonetheless. Here are 3 that I got WA on and my algorithm. If someone finds a hole in my algorithm or has some tricky input, let me know. World Cup...

Go to advanced search