Hello programmers!

Welcome to my new website! I am an enthusiastic programmer and an avid supporter of computer programming, logical problem solving and relevant contests. In the year 2001, I developed a website to guide the ACM-ICPC (International Collegiate Programming Contest) contestants called ACMSolver (referred as an ICPC blog in the Wikipedia: The ACM-ICPC, see also its 2010 promotion video on YouTube).

I worked as a programming contest problem setter in 2001 (e.g., University de Valladolid (UVa) Online Judge, problem numbers: 10219, 10220, 10221, 10222) as well as organiser of local and national computer programming contests in Bangladesh from 2005 to 2007 (e.g., DIPC07 contest, recognition).

In the year 2006, I produced a programming contest study material titled the Art of Programming Contest, as cited in an article published by Dr. Dobbs Journal and also in the supporting materials of the Wikivarsity book Design and Analysis of Algorithms as well as in the ACM UVa Online judge), has become a popular download item from several computer programming contest related websites (Read more). A comment on my works from the ACM-ICPC Manager:

We applaud your enthusiasm and wish you much success in all your endeavours.

Marsha Poucher, ACM-ICPC Manager, 8 Dec, 2006.

After completing my PhD in Computer Science in 2013 (UoN), I have started working as a Postdoctoral Researcher at the The University of Newcastle, Australia. Meanwhile, I co-initiated the ACM-ICPC at this university and coached the University of Newcastle's programming contest team 'UoN Stu and Arts' (certificate) for participating in the ACM-ICPC South Pacific Contest 2013, hosted by the University of Sydney. I am planning to produce a revised version of "The Art of Programming Contest" book. I also plan to gradually re-write different parts of this website.

  • The ACM-ICPC Asia teams advancing to 2015 WF Morocco

    The ACM-ICPC Asia teams advancing to the 2015 WF Morocco. Details here:   Read More
  • The ACM-ICPC WF 2015 Attractions

    Post by Myriam El Mesbahi, ICPC 2015 Host VolunteerWill you attend the World Finals this year in Morocco? The Menara Read More
  • Ranklist- SUB Inter University Programming Contest 2015 Finished (Bangladesh)

    # Team Names Team Rank/ Penalty 1 [NSU] NSU Shinobis 6 792 2 [SUST] SUST_Zephyr 6 883 3 [BUET] Meow 5 Read More
  • The ACM-ICPC Regional Dhaka Site 2014 Ranklist

    Final ranking is here: [Director's report] RANK Team Name Solved Time Total Attempt/Total Solved 1 [SUST] SUST_DownToTheWire 7 891 9 Read More
  • The ACM-ICPC Problemset Archive

  • C- is alphanumeric

    #include <ctype.h>#include <stdio.h>int main(void){char ch;printf(". to exit:"); for(;;) { ch = getc(stdin); if(ch == '.') break; if(isalnum(ch)) printf("%c is alphanumeric\n", ch); } return 0; } Read More
  • Independent Paragraphs (II) by Shahriar Manzoor

    By Shahriar Manzoor Republished with author's permission The content of the article that I am about to write is triggered Read More
  • The Art of Programming Contest

    by Ahmed Shamsul Arefin (Project Compiler), Member, ACM Valladolid Online Judge Algorithmic Team, PhD Student, The University of Newcastle, Australia. Read More
  • Fundamentals of Computer and Information Technology

    Dr. Md Haider Ali, Ahmed Shamsul Arefin, Publisher- Gyakosh Prokashoni, ISBN 984-70277-0041-1 It is the age of information technology. Fundamental Read More
  • Programming in C (2nd Edition)

    by -Md. Sazzad Hossin, Mohammad Qudrat-E-Maula, M.M Jahangir, Ahmed Shamsul Arefin. Published by Popular Books, 2008, ISBN : 984-32-0694-0. C Programming Read More
  • Software Development in C#

    by Ahmed Shamsul Arefin, Publisher- Gyankosh Prokashoni, 2007. (Bengali) ISBN: 984-8485-09-0 First Bengali (বাংলা) Softeware development C# book. Read More
  • Minimum Edge-Ranking Spanning Tree Problem of Series-Parallel Graphs

    Minimum Edge-Ranking Spanning Tree Problem of Series-Parallel Graphs by Ahmed Shamsul Arefin, VDM Verlag Dr. Müller Aktiengesellschaft & Co. KG, Read More
  • Some common C++ codes from

    Accessing SQL Server from C++ Area overloded Binary arithmatic Binary Search Tree Program Binary Search Tree Byte alignment in a Read More
  • Sorting Algorithm Examples

    This is a collection of programs implementing a wide variety of sorting algorithms. The code has been optimized for speed Read More
  • ACM-ICPC Winners (updated up to 2010)

    2010 - Shanghai Jiao Tong University, China 2009 - Saint Petersburg State University of Information Technologies, Mechanics and Optics, Russia 2008 - Saint Read More
  • Greater New York Region ACM-ICPC

    Contest rules Rules for this year are not ready yet. However, they should be very similar to last year's rules. Read More
  • CUHK Summer Training 2010

    CUHK is one of the best programming campus around the world. they are forming a training session below. Their success Read More
  • Denis Koshman From Russia

    Arefin : Hi! headden! How is life? Would you please give us a brief introduction about you, your current works and Read More
  • Links to ACM-ICPC Contests

    ICPC sites from other universities These sites usually contain hints, tips, problem sets, and results from their local contests. UBC Read More
  • Dinic's blocking flow algorithm

    // Adjacency list implementation of Dinic's blocking flow algorithm. // This is very fast in practice, and only loses to push-relabel flow. Read More
  • Min cost bipartite matching via shortest augmenting paths

    /////////////////////////////////////////////////////////////////////////// // Min cost bipartite matching via shortest augmenting paths // // This is an O(n^3) implementation of a shortest augmenting path // algorithm for Read More
  • The ACM-ICPC South Pacific Problems (1999-2014)

    Name Last modified Size SPPC1991.pdf 28-Oct-2011 16:42 509K SPPC1992.pdf 28-Oct-2011 15:50 74K SPPC1993.pdf 28-Oct-2011 16:39 165K SPPC1994.pdf 28-Oct-2011 16:53 683K Read More
  • An Experimental Class Preparing Students for Programming Contests

    Paper by Jenq-Foung (J.F.) Yao, Ph.D. Conclusion from the paper: "The results of the class were remarkable. Students had become Read More
  • The NZ Programming Contest Problems (1999-2013)

    Name Last modified Size NZPC1990.pdf 28-Oct-2011 17:10 93K NZPC1991.pdf 28-Oct-2011 17:51 926K NZPC1992.pdf 28-Oct-2011 17:51 877K NZPC1993.pdf 28-Oct-2011 17:26 136K Read More
  • Algorithm design for ACM-ICPC

    Algorithm design for ACM-ICPC (link)Taejin Chin, Wonha RyuKAISTWinter School on Algorithms and Combinatorics 2010 Read More
  • A Story of few “Fellow ACMers” – I

    By Ahmed Shamsul Arefin Pulished by 2nd DIPC (Daffodil Inter-University Programming Contest 2007) contest magazine. Hello programmers, after “A Virtual Read More
  • Obstacles in Programming Contests: Bangladesh perspective

    By Ahmed Shamsul Arefin A Bengali version of this article (link) was published in 2003 in a computer magazine called Read More
  • Min cost max flow algorithm using adjacency matrix (Edmonds and Karp 1972)

    // Implementation of min cost max flow algorithm using adjacency // matrix (Edmonds and Karp 1972). This implementation keeps track of // forward Read More
  • FIFO push relabel maximum flow

    // Adjacency list implementation of FIFO push relabel maximum flow // with the gap relabeling heuristic. This implementation is // significantly faster than Read More
  • Maximum bipartite matching

    // This code performs maximum bipartite matching. // // Running time: O(|E| |V|) -- often much faster in practice // // INPUT: w[i][j] = edge between row Read More
  • Stoer-Wagner min cut algorithm

    // Adjacency matrix implementation of Stoer-Wagner min cut algorithm. // // Running time: // O(|V|^3) // // INPUT: // - graph, constructed using AddEdge() // // OUTPUT: // - (min cut value, Read More
  • List of 101 easy Problems to Solve

    Sl. Prob ID Title Diff1 100 The 3n + 1 problem 12 236 VTAS - Vessel Traffic Advisory Service 13 863 Process Read More
  • Code::Blocks - An open source, cross platform, free C++ IDE

    Code::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to Read More
  • Programming Competitions by Luke Dancan

    There are many competitions out there, so this list is not exhaustive. Actually, these are the only competitions I'm really Read More
  • The Art of Programming Contest in 48 Mirrors!

    In the year 2005, I was working on compiling a manual for local programmers (in Bangladesh) and finally with the Read More
  • The CEOI 2010 Online Contest

    The 17th Central European Olympiad in Informatics takes place in Košice, Slovakia, from July 12th (arrival day) to July 19th Read More
  • To Start Solving Problems in 24 Hour Online Judge

    by Anupam Bhattacharjee (in memories) This article is especially for the participants in 24 hours online judges. It was originally Read More
  • Links and Resources from Canadian Computing Competition

    Books (pdf) Problems on Algorithms 2nd Edition, July 2002 by Ian Parberry and William Gasarch Foundations of Computer Science Lawrence Read More
  • TJHSST's Senior Computer Team (SCT), 2010 - 2011 Lectures Seasons!

    2009-2010 Lectures Convex Hull Computational Geometry Dynamic Programming (Silver) Contest Strategy 2008-2009 Lectures Network Flow 2007-2008 Lectures Advanced Ad Hoc Read More
  • Interview with Joan Rieu (Collected)

    Well, I began programming when I was really young, let's say 9 years old. It was on an Amstrad CPC Read More
  • The Story of Petr Mitrichev - Target in Six Steps (from

    Collected from (By supernova,TopCoder Members) This is a nice article written by Topcoder members about the life and success Read More
  • Enter Contest Area ICPC 2010 World Finals, Harbin, China

  • C++0x lecture by Bjarne Stroustrup at UoT

  • Mathematics for TopCoders (Collected)

    I have seen a number of competitors complain that they are unfairly disadvantaged because many TopCoder problems are too mathematical. Read More
  • 2009 ICPC World Finals Competition Recap

  • External Memory Minimum Spanning Trees by Dominik Schultes

    Documents Bachelor thesis (zipped postscript, 667 KB, optimized for printing) Bachelor thesis (pdf, 558 KB, optimized for viewing) Bachelor thesis Read More
  • TopCoder

    TopCoder is fast becoming the major league for programming competitions. TopCoder brings members together twice a week to compete online Read More
  • UVa, SPOJ & TopCoder

    This post is happily taken (with permission) from: This is a very easy way to add a cool bookmark Read More
  • There Must be Contest (Collected from Dr. Dobbs Journal)

    We improve ourselves by victories over ourselves. There must be contest, and we must win. —Edward Gibbon Have you ever Read More
  • ACM-ICPC Regional Programming Contest Malaysia 2010 - Kuala Lumpur Workshop

    DAY 1 Session 1 Introduction and General Overview. Overview of programming contests and ACM ICPC. Overview of other competitions like Read More
  • 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 Read More
  • Downloads from UVA

    (Some links may be down) Books/ Manuals List of codes : Shorthands prime sieve bipartite matching (using Read More
  • ACM-ICPC 2009 Jakarta - Problem Set & Analysis

    You can download the complete problemset here: ACM-ICPC 2009 Jakarta - Problem Set (537 KB) Problem A - Mystic Craft Problem B Read More
  • ACM-ICPC 2011 World Finals Call for Problems

    The ACM International Collegiate Programming Contest is seeking programming problems for the Contest Finals. Contest Finals Judges will be selected Read More
  • The Most Important Algorithms by Christoph Koutschan (Collected)

    In the following you find the results (in alphabetical order) of this survey (which of course is highly non-representative since Read More
  • The Problemset - BUBT Programming Contest

    Click here to get the entire PDF ProblemsetClick here to get the entire PDF (High Quality) ProblemsetClick here to get Read More
  • Resources for ACM ICPC Programmers

    Here is a list of sites with online judges (and similar) and a large variety of problems: ACM Live Archive, Read More
  • Pathway to World Finals 2011

    Alkhwarizmi Programming Competition (APC) is regarded as the Malaysia’s local ACM-ICPC version and will be held yearly. APC will function Read More
  • He Codes...He Scores!

    It is a glorious time of year to be a college sports fan. You've got your brackets picked, you've of Read More
  • Some of these "tips" might seem unreasonable or impractical at first (Collected)

    Some of these "tips" might seem unreasonable or impractical at first. But, they help reduce the amount of "unnecessary" errors. Read More
  • Contests List by David Bolton

    There are many more contests than we have listed here. Most important of all you can use C, C++ or Read More
  • Programming Competition Skills Workshop by Bill Smart

    Overview: Welcome to CSE 232: Programming Skills Workshop! To fully understand the intended purpose of this course, it's important to Read More
  • Joke- Stroustrup C++ 'interview': "I Did It For You All..."

    Read details of this interview from here. On the 1st of January, 1998, Bjarne Stroustrup gave an interview to the Read More
  • ACMSolver! increase in numbers of visitors

    Good to know that recently,there's a great increase in no. of visitors to Besides I got an amount of Read More
  • Southwestern Europe Regional Contest 2010

    November 20-21, 2010 at Universidad Complutense At the contest, all the teams will have a similar working environment. Hardware: The Read More
  • DOMjudge (alternative to PC^2) - an Automated Judge System

    DOMjudge is an automated judge system to run programming contests. It has a mechanism to submit problem solutions, have them Read More
  • Why programming competition contestants use C++ and Java? (Collected)

    Great question! As someone who has dabbled in programming contests a bit myself, I may have something to say. [Let's Read More
  • Finally, a Bengali Version of ACMsolver

    Please note, Bengali version of this website is no longer available. Original Post Bengali Version of ACMsolver available here( Read More
  • Reference from C# Station

    [html] [code] Lesson 01: Getting Started [html] [code] Lesson 02: Expressions, Types, and Variables [html] [code] Lesson 03: Control Statements Read More
  • C++ Bubble Sort

    Bubble sort is a simple and well-known sorting algorithm. It is used in practice once in a blue moon and Read More
  • The ACM-ICPC How to get started? (Collected)

    By Chua Hock-Chuan To know more about ICPC, read the ICPC mother site (@ or Wiki "ICPC". To summarize, ICPC Read More
  • International Collegiate Programming Contest, Asia Region - Kanpur Site 2010

    Deadlines: Rgistration Starts: 17 August, 2010 Registration Ends: 18 September, 2010 Preliminary Online Contest: 30 October, 2010 Kanpur Site Contest: Read More
  • How to get started with TopCoder? by Vaibhav Pandey (Collected)

    by Vaibhav Pandey After successfully coding the first time in Topcoder, I really feel greatful in sharing my experience with Read More
  • Getting Started in UVa Online Judge by Zac Friggstad

    by Zac Friggstad The UVa Online Judge is a web site where you can try solving a number of algorithmic Read More
  • MST (Kruskal's Algorithm)

    [cpp]/*MST(Kruskal's)*/#include&lt;iostream.h&gt;#include&lt;stdlib.h&gt;#define MAXN 102int P[MAXN], Rank[MAXN];int Node, edg, Cost;struct edge {int u, v;int cost;};edge Edge[MAXN*MAXN];edge Path[MAXN];int com(const void *xy, const void Read More
  • Prim's Algorithm- MST

    [cpp]#include&lt;iostream.h&gt;#include&lt;queue&gt;#include&lt;vector&gt;#define INF 100000using namespace std;struct edge {vector&lt;int&gt;Adj;vector&lt;int&gt;Cost;};struct node{int x, y;};edge Ed[100];int N, E;int key[100];char F[100];int P[100], Cost;int SS[100][100];class comp{public:bool operator() Read More
  • SEO and ACM ICPC (as of Sep 7, 2010)

    ACMsolver on (for search keyword: acm icpc) ACMSolver on Yahoo! What about ACMSolver on google? These are the Read More
  • 2010 Contest: 13-Nov-2010 at Riverside Community College

    Registration opens 15-Aug-2010. Send an electronic payment for the 2010 Registration Fees, $63.00 per team. Details: Read More
  • Topcoder Contest Review (Collected)

    Algorithms (competition length about 2 hours): Competitors are given a set (usually three) of algorithmic problems and have 75 minutes Read More
  • The 2010 ACM Asia Programming Contest - Dhaka

    The 2010 ACM Asia Programming Contest - Dhaka. Last date for registration: 31 October, 2010 Final round: 5-6 November 2010 Read More
  • The Competitive Programming Book

    Author(s): Steven Halim, Felix Halim Competitive Programming Book's 23 sample pages: click here, CP1- Full Book This book contains a Read More
  • C++ Tutorials

    These tutorials explain the C++ language from its basics up to the newest features of ANSI-C++, including basic concepts such Read More
  • The Standard Template Libraries (STL's) Tutorials

    The Standard Template Libraries (STL's) are a set of C++ template classes to provide common programming data structures and functions Read More
  • Bjarne Stroustrup::What inspired you to create C++? - Collected

    In the late 1970s, Stroustrup applied the idea of “classes” to the C programming language to create a new language Read More
  • STL vector (STL Tutorial -1) - Collected

    vector: Dynamic array of variables, struct or objects. Insert data at the end. Simple example of storing STL strings in Read More
  • Eclipse Debugging Tutorial by Lars Vogel

    Most people know Eclipse as an integrated development environment (IDE) for Java. Eclipse is created by an open source community Read More
  • 90+ Beginners Lab Assignments in C Langauge

    A Calculator in C Using Graphics & Mouse Operations A chat program in C A program to implement Heap Sort Read More
  • Universities that usually participate in ACM-ICPC (Region-wise) list

    Universities that usually participate in ACM-ICPC (Region-wise) list. This universities were actually participants of ACM-ICPC 2007. Africa and the Middle Read More
  • ACM ICPC 2010 Harbin Recap

  • Recursion or Re"curse"?

    From "Recursion is a programming technique that allows the programmer to express operations in terms of themselves. In C++, Read More
  • How to Compile C++ in Ubuntu (Collected)

    Posted by Craciun Dan Users who switch from Windows to Linux have often ask, how to compile C/C++ sources and Read More
  • OW2 Programming Contest 2010

    Once again in 2010, OW2 and Scilab are organizing a joint open source programming contest. This year, as a unique Read More
  • Al Zimmermann's Programming Contests

    To enter a contest, you need to Register. Once registered, you log on and submit your solutions through this website. Read More
  • The recreational mathematics, Great for IMO!!

    The recreational mathematics archive site. Al Zimmermann's PROGRAMMING CONTESTS New Site: Andrew Clarke's THE POLY PAGES George Sicherman's POLYFORM Read More
  • Beginning C Programming in Linux (Collected)

    Don't ask a lot to begin C programming in Linux. Just grab your tools and start small. This time, I Read More
  • TopCoder(R) Member Single Round Match 489 is scheduled for Tuesday, November 30, 2010

    * Registration will begin at 4:00 and will end at 6:55 UTC -5 hours * Allowable programming languages are Java, C++, Microsoft(R) Read More
  • Codeforces Beta Round #43 (ACM-ICPC Rules)

    Codeforces Beta Round #43 (ACM-ICPC Rules) invites you to take part in. It starts on Sunday, December 5, 2010 08:00 Read More
  • Great Collection of C++ Programming Books-2!

    C++ book for download - C++ Programming is provided as a zip file which includes the chapters (in Word 6 Read More
  • ACMSolver Intro-Video

    From 2002 ACMSolver is campaigning for free programming knowledge! ACMSolver :: Art of Programming site - was initiated by Ahmed Shamsul Arefin Read More
  • Important C/C++ Programming Books

    Download some important C/C++ Programming Books Programming with C++, Second Edition, is an update of the highly successful first edition, Read More
  • Sorting again, advanced! (Collected)

    In common programming, you don't often find yourself coming across a need for direct sorting. The user will usually want Read More
  • Easy ACM UVa problems

    Problem No Problem Name 100 The 3n+1 problem 102 Ecological bin packing 113 Power of cryptography 136 Ugly numbers 190 Read More
  • Asia Teams Qualified for ACM-ICPC World Finals 2011

    This post is taken from: 1. Asia Amritapuri (3.2/3.0) Fudan University – HexHeaven (China) (0.6) (Amritapuri’s Rules) Indian Institute of Read More
  • Object Oriented Programming Language Lecture Notes

    This lecture notes are from Mr. Md. Faizul Bari, Assistant Professor, Computer Science and Engineering, Bangladesh University of Engineering and Read More
  • FIT MMU ACM-ICPC training website

    FIT MMU maintains a nice programming training website. It has following resources: Introduction & Tutorial on Graph Algorithms Graph Traversal Read More
  • Useful Algorithm Concepts

    Recently, I found a nice article written by Kaiser Md. Nahiduzzaman, PhD student at UC. The original article is available Read More
  • Power up C++ with the Standard Template Library: Part II: Advanced Uses

    We will love to quote Topcoder's STL tutorial by DmitryKorolev here: "Creating Vector from Map As you already know, map Read More
  • ACM-ICPC Prominent Problemsetters and Sites

    Here we mention about some problem setters of ACM and their problems (click below): Shahriar Manzoor Find Shahriar in wikipedia Read More
  • CMU ACM Programming Contest 2011

    Problem A - A Problem B - B Problem C - C Problem D - D Problem E - E Problem F - F Problem G Read More
  • Benelux Algorithm Programming Contest 2011

    Benelux Algorithm Programming Contest (BAPC) 2011! Every year, the universities and colleges organise programming contests for students. The participants of Read More
  • CodeFest'11

    CodeFest'11, the annual online international coding festival of Computer Engineering Society IT-BHU, presents Manthan - the algorithm intensive programming contest. The Read More
  • Competitive Programming Book @ ACM ICPC KL 2010

    Competitive Programming Book by Steven and Felix Halim is probably one of the best in the programming contest arena. Here Read More
  • Computer Science/ Algorithm Lectures

    Computer Science/ Algorithm Lectures by Mr. Syed Monowar Hossain (Department of CSE, The University of Dhaka, Bangladesh). This is one Read More
  • A Virtual Meeting with World's ACM-ICPC Programmers

    - Ahmed Shamsul Arefin October 7, 2006 "This is a re-post. The original article (published by is here:" 1. Read More
  • ACM-ICPC 2011: From Egypt to Orlando!

    I was wondering how the ACM-ICPC will be held in Egypt in the current scenario. Anyway, not to worry, The Read More
  • Asia Teams Qualified for ACM-ICPC World Finals 2011 Orlando Florida

    From Dr. C J Hwang's Blog: " (Total 35 teams; 2010 Host universities are selected only if they are very close Read More
  • Unofficial IUT Inter-University Programming Contest Ranklist - 2011

    IUT Inter-University Programming Contest - 2011 Ranklist (Bangladesh). Hats off to Dhaka University Team (DU Resonance) Rank Name Solved Time Total Read More
  • Robert Sedgewick's Algorithm Lectures

    Hello programmers, Today I would like to give you the links of Robert Sedgewick's Algorithm Lectures. Robert Sedgewick works in Read More
  • Training ICPC Teams: A Technical Guide by Rujia Liu

    Hello, everyone should take a look to Training ICPC Teams: A Technical Guide by Rujia Liu Read More
  • Some ICPC Related Blogs

    Andrian Kurniady Brian Marshal Eko Wibowo Fiona Liausvia Lego Haryanto Risan Timotius Sakti Yen Lina Prasetyo Angga’s Blog Felix Halim Read More
  • A modest STL tutorial by Jak Kirman (Collected)

    A first example Most of you probably use some kind of auto-allocating array-like type. STL has one called vector. To Read More
  • MIT: Algorithm Lectures Video

    by Prof. Erik Demaine, Prof. Charles Leiserson Lecture 1: Administrivia; Introduction; Analysis of Algorithms, Insertion Sort, Mergesort- Go to this Read More
  • Google Site Link for ""

    Today, has got the long expected sitelink from google. Hope it will help new programmers find the categories Today, Read More
  • Step by Step into the ACM ICPC

    - Chua Hock-Chuan (This email address is being protected from spambots. You need JavaScript enabled to view it.) Step 1 - Try PKU Online Judge Register with PKU online judge @ Read the FAQ to understand Read More
  • Competitive Programming (Book Chapter Download)

    Steven Halim and his book (Image from Facebook) The only way to get the Book "Competitive Programming" is to buy Read More
  • Programming Competition Coaches Workshop

    Carnegie Mellon Qatar Campus> Programming Competition Coaches Workshop > Download Read More
  • UAlbarta CS Code Repository

    2D_Geometry/ 30-Apr-2010 15:08 - 3D_Geometry/ 23-Feb-2004 15:23 - Archive/ 06-Feb-2009 20:53 - Arithmetic/ 26-Oct-2005 10:44 - C++/ 26-Oct-2005 11:15 - Combinatorics/ 23-Feb-2004 15:23 - Data_Struct/ 23-Feb-2004 Read More
  • Some ACM-ICPC Cheatsheets download

    The 2011 World Finals Ranklist - ACM International Collegiate Programming Contest Some ACM Sample Problems Problem 1: Description Data Set Read More
  • The 2011 World Finals Ranklist - ACM International Collegiate Programming Contest

    The 2011 World Finals Ranklist - ACM International Collegiate Programming Contest. See live cast: John Bonomo, ICPC World Finals chief Read More
  • Ranklist (Scoreborad) ACM ICPC World Finals 2011

    ACM International Collegiate Programming Contest (abbreviated as ACM-ICPC or just ICPC) is an annual multi-tiered computer programming competition among the Read More
  • ACM-ICPC World Final 2011 Problems - by Petr Mitrichev

    I couldn't stop myself from sharing a nice post from Petr Mitrichev's blog: "(...) I've taken some time to reflect on Read More
  • QuestToSolve.Com | A nice attempt to improve problem solving skills

    A nice attempt to improve problem solving skills: "(...)In the spirit of Steven Halim's World of Seven: Methods to Read More
  • Steven Halim's book: Slides Download

    Sample codes for the data structures and algorithms mentioned in the book: NEW (but not yet stable): C++ and Java Read More
  • Who are the top most referrer to site?

    Many website give links to this site ( I was wondering if there I add a site referrer information ReferrerViews Read More
  • Let's Learn Programming (Programming Cartoons!)

  • Some resources out there for programmer practice

    Code Katas from the Pragmatic Programmer. Cymonsgames - game/coding exercises Bowling Game Kata to practice TDD Project Euler - mathematical / computational problems. Read More
  • Some ACM-ICPC Problems & Solutions (ACM-ICPC: 2011 in Fukuoka)

    Problems here: Solution (s) by Tatuyan: Problem-A: I did not have a hard time so much because this problem Read More
  • Merge Sort in C++

    [cpp]void MergeSort(int low, int high) // a[low : high] is a global array to be sorted. // Small(P) is true if there is Read More
  • Bunch of Programming Judges...

    UVa Online Judge , over 2700 problems, C/ C++/ Pascal/ Java supported. Infoarena, over 1100 problems, C/ C++/ Pascal supported, over Read More
  • Let's Learn STL (Rerefences)

    The Standard Template Libraries (STL's) are a set of C++ template classes to provide common programming data structures and functions Read More
  • 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, Read More
  • Offtopic! PhD comics....

  • Power up C++ with the Standard Template Library: Part I

    By DmitryKorolev (collected from Topcoder) Containers Before we begin Vector Pairs Iterators Compiling STL Programs Data manipulation in Vector String Read More
  • Unofficial Ranklist of SUST Contest (Bangladesh), 2011

    This result is unofficial and unverified. Collected from This email address is being protected from spambots. You need JavaScript enabled to view it. Rank Name Solved Time Total att/solv 1 RETURN_OF_THE_CROWS 6 866 15/6 Read More
  • 13 tips on how to comment your source code (collected)

    This article was written by José M. Aguilar in Spanish on his excellent blog Variable Not Found, and was translated, Read More
  • Call for contest: Daffodil Pre-ACM Computer Programming Contest 2011 (Bangladesh)

    Daffodil International University is organizing Daffodil Pre-ACM Computer Programming Contest (Daffodil PACM2011) to give a platform for the young talents Read More
  • Video Tutorial - ACM -ICPC at UWA, Australia

    Problem solving tactics for the ACM ICPC programming competition: search and optimisation from Evgeni Sergeev on Vimeo. Read More
  • Programming Contest Orientation at The University of Newcastle

    A Programming Contest Orientation Class held at The University of Newcastle (CS/SE Discipline, School of EECS). Slides are from a Read More
  • Guidelines by S. M. Shahriar Nirjon (collected from This email address is being protected from spambots. You need JavaScript enabled to view it.)

    Hello Readers, This is mail from Mr. S. M. Shahriar Nirjon (to This email address is being protected from spambots. You need JavaScript enabled to view it.), I found it to be useful for Read More
  • ACM-ICPC Dhaka Site Regional 2011 Ranklist

    Final Rank List (Please be aware that this publication is unofficial and collected from This email address is being protected from spambots. You need JavaScript enabled to view it.) : Rank Name Solved Time Total Read More
  • [Unofficial] BUET IUPC 2011 Ranklist

    Please Be aware that this ranklist is unofficial and collected from This email address is being protected from spambots. You need JavaScript enabled to view it. (Thanks to- Martuza) Rank Name Points Time Total Read More
  • PDF slides Steven Halim's Book

    A long time ago, in 2002 I started the website of "ACMSOLVER.ORG". Then in 2005, the "Art of Programming Contest" Read More
  • Daffodil International University (Bangladesh) to host ACM-ICPC 2012 Dhaka Site Contest

    ACM ICPC Dhaka Regional 2012 at Radisson Blue Hotel. Details in: Contact Information 102 Shukrabad, Mirpur Road Dhanmondi, Dhaka Read More
  • Bubble sort in C++

    //Bubble Sort #include <iostream.h> #include <conio.h> #define MAX 10 class bubsort{ int arr[MAX],n; public: void getdata(); void showdata(); void sortLogic(); Read More
  • a nice website for algorithms

    On you will find articles on the subjects of data structures, algorithms and programming concepts. Each and every article Read More
  • ACM ICPC World Finals 2013

    The 2013 World Finals will be held in St. Petersburg, Russia. The ACM International Collegiate Programming Contest (ICPC) provides college Read More
  • UAlberta programming club code archive

    Parent Directory - 2D_Geometry/ 30-Apr-2010 15:08 - 3D_Geometry/ 23-Feb-2004 15:23 - Archive/ 25-May-2012 13:33 - Arithmetic/ 26-Oct-2005 10:44 - C++/ 26-Oct-2005 11:15 - Combinatorics/ 23-Feb-2004 15:23 Read More
  • Stanford ACM ICPC Local Contests

    2011 2011 Stanford Local Programming Contest 2010 2010 Stanford Local Programming Contest 2009 2009 Stanford Local Programming Contest 2008 2008 Read More
  • 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 Read More
  • ACM ICPC 2010 Asia Amritapuri Regionals

    Important dates for this year Regional Contest are as follows: Registration for participating in the Online Contest starts on : Monday, Read More
  • Book: From Baylor to Baylor

    From Baylor to Baylor preserves the legacy of the ACM-ICPC World Finals. The book contains all the problems used during Read More
  • Light OJ

    A new online judge is going to start from Bangladesh which is now in test purpose open. This site is Read More
  • Guides to the Programming Contests

    The Hitchhiker’s Guide to the Programming Contests Read More
  • Quazi Azher Ali SAARC Programming Contest (QAASPC) , Bangladesh University Jan 5, 2013

    Unofficial Ranklist. Credit <cuetcoders> Rank Name Solved Time Total att/solv 1 BUET_Choker 7 971 19/7 2 DU_AngryBirds 6 413 9/6 Read More
  • ACM-ICPC 2012 Regional - Dhaka Site Ranklist

    See for the official rank list. Download Official: ACM-ICPC Dhaka 2012 Rank List Place Institution Team Problems solved Total Read More
  • The ICPC Tips and Tricks

    By Chua Hock-Chuan (C/C++) Avoiding "if (i=0) {...}" error – This is probably C++ Tips Number 1 If you are comparing with a Read More
  • How Install C/C++ Compiler by Max Berger

    Max Berger, who is currently a Software Developer at Amazon EU, has written a nice tutorial about installing C/C++ compiler. Read More
  • Unofficial ranklist of ACM-ICPC Dhaka Site 2010

    Unofficial ranklist of ACM-ICPC Dhaka Site 2010 RankNameSolvedTime 1 B.U.E.T. Annihilator 6 748 2 Fudan A.C.E. 6 1042 3 B.U.E.T. Read More
  • An Interview with Burunduk2

    By Katya_Lazareva How long have you been engaged in programming? How did you start? As I remember I started programming Read More
  • UVa 10487 - Closest Sum

    #include <stdio.h> int main() { int n, i, q, c, sz, idx, idx2, t1, t2, elteres, ce = 0; while(1) { scanf("%d",&n); if(!n) Read More
  • Into the world of computers-some books

    The Sachertorte Algorithm and Other Antidotes to Computer Anxiety. John Shore. Penguin Books, 1985. [See this book at] Introductory Read More
  • Tutorials

    This section contains tutorials (collected and self-written) for solving problems in the ACM-ICPC like contests. Read More
  • ACM UVa Problems Category

    New Comer ★ 100 The 3n + 1 problem ★ 10189 Minesweeper ★ 10137 The Trip ★ 706 LCD Display ★ 10267 Graphical Editor ★★ 10033 Interpreter Read More
  • Top Coder - Algorithm Tutorials

    A. Very nice place to start is the TopCoder Algorithm Tutorials. They have some very good articles. But at the Read More
  • BUET Annual Programming Contest camp 2011

    This is now archived. BUET Annual Programming Contest camp 2011 organized by CSE, BUET.To register please go here. (mainly for Read More
  • Great Collection of C++ Programming Books!

    C++ book for download - C++ Programming is provided as a zip file which includes the chapters (in Word 6 Read More
  • The Unofficial DIU IUPC Ranklist 2010 (Bangladesh)

    The Unofficial Daffodil International University IUPC Ranklist 2010 (Bangladesh). This list was last updated in Sat Oct 16 15:30:37 BDT Read More
  • The ACM-ICPC

    Hello programmers! Welcome to my new website! I am an enthusiastic programmer and an avid supporter of computer programming, logical Read More
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178

Ahmed Shamsul Arefin

Research Academic

Centre for Bioinformatics, Biomarker Discovery & Information-Based Medicine (CIBM) - University of Newcastle,
R 3020, HMRI Building,
Hunter Medical Research Institute
Kookaburra Circuit 1,
New Lambton Heights, NSW, 2305,

About Me

The Art of Programming Contest The Art of Programming Contest 2


The ACM-ICPC Tutorial Site, formerly ACMSOLVER - The Art of Programming Contest website at, was initiated by Ahmed Shamsul Arefin back in 2001. It has been referred by ACM UVa Online Judge, Timus (Russian) Online Judge, Sphere- Polish Online Judge and Wikipedia ACM-ICPC page (and several other university programming contest pages) as an ACM-ICPC and programming contest training blog! The website has recently been moved to its new location at


Ahmed Shamsul Arefin
This email address is being protected from spambots. You need JavaScript enabled to view it.