programming in online judge like spoj ,topcoder [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
i am new to programming.but i want to do programming? i want to ask that how to interpret the question in spoj or other online judge ? i have stated reading different algorithms and books based on that but unable to solve any problem please guide me .please
i am using c language.
most of the question in spoj and other online judge uses dynamic programming approach but after reading whole dynamic programming i am not able to figure out the problem stated or not able to start.please help

Have you tried any of the problems at the UVa Online Judge?
There's a good companion book called Programming Challenges that shows how to submit code to the judge and outlines over 100 of the problems in 14 different categories (DP is only one of them).

Related

CPP Socket Programming [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am new to C++. I want to study socket programming. firstly like a simple chat with a client/server. I don't know where to start and how to start.
Is there any good guides and example programs for beginners. I searched a lot of things in net and its too difficult to understand.
Boost Asio isn't that hard to learn. Take time to read its tutorials and examples.
i found http://beej.us/guide/bgnet/ great easy understand and get into programming mode faster

Anyone have the algorithm for determine if a hand of Mahjong game wins or not? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am reading some introduction of an ancient Chinese game called Mahjong (a bit like poker but far more complicated). I have been spending couple days in writing a program to determine if a given hand is a win hand or not. Do anyone have any idea or know where can I find the free code for that? I only need the part to determine win/lose, I am not looking for the entire project. Thanks.
There is this cool Python library that can be used for scoring of a Mahjong hand given a situation. I know you are working in C++, but since python is highly readable, even to non-python coders, maybe you'll be able to copy/paste and edit the relevant part so you'll be able to use them.
Hope that helps you in some way.

Advice on Creating a DBMS [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am looking at ways of creating my own DBMS from scratch in C++ (just for fun and educational purposes). I am stuck with the place to start it. Can anybody tell me how I should begin (design) this. Will postgresql code and the architecture be of any help?
Thanks in advance.
Have a look at SQLite and its doccumentation. it might be a good point to start.
Start by reading "Transaction Processing: Concepts & Techniques" by Gray and Reuter. It goes through all the major components of a DBMS. Following the references is very interesting.
It is almost 20 years old now, but still very relevant.

C++ Practice Programs [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am currently learning C++ and now understand things like classes and pointers, etc.
Anyone have an idea of what programs I should practice writing when teaching myself C++?
Try reading books that have exercises at the end of every chapter and try making them.
You can check Thinking in C++. The books are available online and they have exercises at the end of each chapter.

Templates - Exercises [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
As I mentioned in my yesterday's post, I'm trying to teach myself templates from the book: Templates: The Complete Guide. And although I'm finding this book very nicely presented and material there is explained really well there are no exercises attached after each chapter to test your knowledge, like it is in The C++ Language by B.S for example and had done all exercises from "The C++" I really feel benefit from doing them. So what I'm asking today is: Does anyone know where can I get exercises with templates.
C++ Template Metaprogramming; Concepts, Tools, and Techniques from Boost and beyond - this book really rocks.
Thinking in C++ by Bruce Eckel