31 August 2011 Comments Off

Some algorithms you will need all the time…

ReHash – A console-based hash calculator -

A console-based hash calculator. Supported algorithms: CRC-16, CRC-16-CCITT, CRC-32, FCS-16, FCS-32, GHash-32-3, GHash-32-5, GOST-Hash, HAVAL-5-256, MD2, MD4, MD5, SHA-1, SHA-256, SHA-384, SHA-512, Tiger.

Using PPMD for compression -

This article presents a class for using PPM to compress a file.

Genetic and Ant Colony Optimization Algorithms -

Genetic and Ant Colony Optimization Algorithms

A Mersenne Twister Class -

A pseudorandom number generator.

CFraction – a double / fraction / string conversion class -

A class that converts between doubles, strings and fractional representations.

File Exist Algorithms -

This function will check to see if a file exist in the computer if it doesnt it will return -1 else 0.

Resize the array -

resize the array in the class while the run-time

Create and pass a 2D dynamic array -

These program shows how to create and pass a 2D dynamic array to a function. It can be very useful for applications that you might create.


A representation of the First In First Out Algorithm in Page Replacement Algorithms

A Alphabetic Diomond V 1.0 -

This is my first submission on PSC.My this Code Prints the Alphabetic Diamond.Look Output here, it is so easy. It will take a number input for no. of alphabets should be in Diamond.It is the Demonstration of for loop

A Fraction Calculator -

This is just a simple Calculator that allows someone to +,-,*,/ fractions. Was a class lab thought it might actually be useful to someone.

A Faster Way to “MOD” and how to grab a digit from an Integer -

This program is to show how to get the last digit of an integer type without using “last_digit = num % 10″ It also shows that “%” is slower than my optimized code due to “%” using division My optimized code is faster than using “%” about 90% of the time

C++ Datastructures and Algorithms -


An Introduction to Data Structures with C++



C++ Datastructures -


C++ Algorithms



Computer science C++ programs and source code by James Pate Williams, Jr. -

Queen Search algorithm for solving the n-queens algorithm, Morris’ breakout algorithm, Dozier and Williams’ breakout algorithms, Simulated annealing solution of the n-queens problem.

Cenelia Gonzales C++ sources -

Collection of algorithm source code includes. String Tokenizer, Fuzzy String Matching, Rational Number Class, Simple FSM, Equation Solver, Guessing Games.

Vivek Patel C++ Sources -

Data Structures(Arrays, Linked List, Stack) and Algorithm related sources.


Collection of sources C,C++ and other languages by Muhammad Tahir Shahzad. C++ sections includes. Algortihms, Data Structures, Numerical Analysis and other topics.

Solving NonLinear Equations -


AVL Tree -


Huffman Coding (Encryption) -

Huffman Coding Encryption. Huffman coding is to use an encryption key to. shuffle the Huffman tree before the encoding. C++ Author ALI RAZA SHAIKH

Gauss Jordon -

Solution of equation by Gauss-Jordan C# Author FIDA HUSSAIN

Rational Number Class -

Class to represent valid rational numbers

Tower of Hanoi -

A C++ Program to solve the Towers of Hanoi Problem (using Recursive Algorithm). Author:Muhammad Tahir Shahzad

Fibonacci series -

A C++ Program to computes the n_th term of the fibonacci series using Dynamic Programming Technique. Author:Muhammad Tahir Shahzad

fibonacci series using Toplogical Odering -

A C++ Program to computes the n_th term of the fibonacci series using Toplogical Odering and Dynamic Programming Technique. Author:Muhammad Tahir Shahzad

Prim’s Algorithm -

A C++ Program to implement the Prim’s Algorithm to solve Minimum Spanning Tree Problem (MST). Author:Muhammad Tahir Shahzad

Prim’s Algorithm with Graphics -

A C++ Program to implement the Prim’s Algorithm to solve Minimum Spanning Tree Problem (MST) using Graphics. Author:Muhammad Tahir Shahzad

Prim’s Algorithm -

A C++ Program to implement the Prim’s Algorithm to solve Minimum Spanning Tree Problem (MST) using Graphics and with Mouse support. Author:Muhammad Tahir Shahzad

Kurskal’s Algorithm -

A C++ Program to implement the Kurskal’s Algorithm to solve Minimum Cost Spanning Tree Problem (MST). Author:Muhammad Tahir Shahzad

Kurskal’s Algorithm -

A C++ Program to implement the Kurskal’s Algorithm to solve Minimum Cost Spanning Tree Problem (MST) using Graphics. Author:Muhammad Tahir Shahzad

Kurskal’s Algorithm with Graphics with Mouse Support -

A C++ Program to implement the Kurskal’s Algorithm to solve Minimum Cost Spanning Tree Problem (MST) using Graphics with Mouse Support. Author:Muhammad Tahir Shahzad

Towers of Hanoi -

“A C++ Program to solve the mystery of Towers of Hanoi.Author:Muhammad Tahir Shahzad URL www.wol.net.pk/mtshome TurboC”

Blitz++ a C++ class library -

Blitz++ is a C++ class library for scientific computing which provides performance on par with Fortran 77/90. It uses template techniques to achieve high performance. The current versions provide dense arrays and vectors, random number generators, and small vectors and matrices.
Tags: ,
27 June 2011 Comments Off

Some resources out there for programmer practice

Tags: ,
1 September 2010 Comments Off

Algorithm and Programming Competition links

Programming Competition :COCI : Croatian Open Competition in Informatics
USACO : United States of America Computing Olympiad
IOI Thailand League
Al Zimmermann’s Programming Contests
Google Code Jam 2010
Codeforces BETA

Online Judge && Problem Container :Programming.in.th : เว็บยอดฮิตโดยคนไทย
USACO : United States of America Computing Olympiad
IARCH Problem Archive
Sphere Online Judge
Timus Online Judge
TopCoder Problem Archive
UVa Online Judge
PKU JudgeOnline
British Informatics Olympiad
ALL IOI TASK (1989 – 2008) : รวมโจทย์ IOI

IIT Kanpur, Algorithm Applets Page
Thailand OI Official Website
TopCoder Algorithm Tutorial

IOI Information :IOI Official Website

11 August 2010 Comments Off

Resources for ACM ICPC Programmers

Here is a list of sites with online judges (and similar) and a large variety of problems:

Some other useful sites:

A few links to increase your math knowledge necessary in many problems:

Books that might help you:

# Programming Pitfalls:

Source: http://www.codechef.com/wiki/additional-resources

30 July 2010 Comments Off

Best Places to Get Programming Supports

just found this interesting post in Programmer Dream, another nice web for the new progranmmers. I would like to share this post with my dear visitors.

Besides our teachers, mentors, or fellow friends, internet is a good place to ask if we have any programming related questions. There are many forums or website dedicated to helping programmers. Experts from all over the world will happily help us. Often, we can obtain their answers only within minutes.

So, here is a list of good websites from which you can get programming supports.

Stack Overflow

It is a free programming Q&A website. Free to ask questions, free to answer questions, free to read, and free to index. Stack Overflow is collaboratively built and maintained by programmers from all over the world. If we have a good reputation there, we will be able to edit anything, like Wikipedia. Its active contributors are usually very responsive.


Dream.In.Code (DIC for short) is a leading online community for programmers and web developers. The members have free access to thousands of programming tutorials, code snippets, forum topics, and more. It has gained a reputation for providing expert help for students and professionals in a friendly and timely manner.


It is an IT Discussion community, which, at only four years old, has developed into a thriving online community of over a half million IT professionals and over a million forum posts. It provides a one-stop solution for developers, tech enthusiasts, corporate professionals, and novices on virtually every IT topic imaginable.


It is the premier online community for the next generation of programmers, graphic designers, entrepreneurs, system administrators, engineers, and gurus. It helps people with computers, in topics such as web programming, software programming, graphic designer, general technical support, and otherwise provide advice. The intended audience is for the younger people, however all ages and backgrounds are welcome.


It is a website dedicated to discussing anything about coding and development. Once registered, we will be able to ask questions, conduct project development with other users, access to the freelance section where we can posts jobs or look for paid work, and many more.


It is a website/blog site basically programmingcontest related matters.

Are there other places to ask about programming?

Tags: , , ,
7 July 2010 Comments Off

Contest Links

Contest Links

We would love to post your programming related site’s link here. You can simply mail your site my.acmsolver@gmail.com and after reviewing we will post the link here.

Again, we wish to say, “From 2002 ACMSolver is campaigning for free programming knowledge!”

Tags: ,