Search found 2 matches

by amir.shani
Sat May 30, 2009 3:15 pm
Forum: Bugs and suggestions
Topic: 511 - Do You Know the Way to San Jose? - Do nothing AC
Replies: 62
Views: 11164

200 - WA

Hi

I cannot understand why I got WA ...
does someone have some inputs so I can check my code

here is my code

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define LETTERS_NUM 26
#define TRUE 1
#define FALSE 0


typedef unsigned char BOOLEAN;
typedef unsigned char UINT8;
typedef ...
by amir.shani
Tue May 26, 2009 3:33 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 318948

100 improved algorithm

Hi,

I submitted my first 100 solution which ran in 0.608 (ANSI C)
I submitted my improved 100 solution which ran in 0.044 (ANSI C)

but I saw that there are people with runtime of 0.000 , how is that even possible ?!?!
here is my improved solution, can you help me make it run faster ?

#include ...

Go to advanced search