Tag Archive for 'programming challenge'

3 Optimizations for speeding Visual C++ compiled code.

For fun, I participated in a programming contest. Instead of describing the process this time, I thought I’d include a function. Can you guess what it does? I’m changing some of the variable names so it isn’t obvious.  unsigned short result [dim][dim];void foo(const string& info1, const string& info2, string& ret_val) {  for (int x=0;x<dim;++x) { […]

The Difference Between Dijkstra’s Algorithm and A*

Over the last couple weeks, I’ve had an interest in brushing up my C++ skills. Friday, I came across a programming challenge that looked somewhat interesting and I thought I’d give it a shot. The object was to find the lowest cost route between 10 cities encoded in a map of integers. Each integer represented […]



css.php