自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 110307 Doublets

This solution gets "Wrong answer" result inwww.programming-challenges.com/,but it gets "Accepted" result inhttp://uva.onlinejudge.org/.According to the explanation in http://www.programm

2013-09-23 17:23:22 575

原创 110306 File Fragmentation

#include #include #include #include #include #include using namespace std;#define MAX_CHAR_IN_LINE (256 + 2)static char s_buf[MAX_CHAR_IN_LINE];class Fragments{private: typedef map*>::i

2013-09-13 14:36:07 432

原创 110305 Automated Judge Script

#include #include #include #include using namespace std;#define MAX_LINES 100#define MAX_CHARS_IN_LINE (100 + 2)enum ComparisonResult_t{ ACCEPTED = 0, PRESENTATION_ERROR, WRONG_ANSWER};

2013-09-12 15:16:24 429

原创 110304 Crypt Kicker II

#include #include #include #include #include using namespace std;class CryptRule{public: CryptRule() { Clear(); } bool AddRule(char encryptedLetter, char decryptedLetter) { if (m_r

2013-09-05 13:24:28 837

原创 110303 Common Permutation

#include #include #include #include using namespace std;#define MAX_CHAR_IN_LINE 1002static void FormatStr(char* line){ int len = strlen(line); if (line[len - 1] == '\n') { line[len - 1

2013-09-04 16:52:15 641

原创 110302 Where's Waldorf (Where s Waldorf)

#include #include using namespace std;#define MAX_CHAR_IN_LINE 50static bool EastFind(char input[MAX_CHAR_IN_LINE][MAX_CHAR_IN_LINE], int rows, int cols, char* word, int wordLen, int curRow, in

2013-09-04 14:12:34 695

原创 110301 WERTYU

#include #include #include #include using namespace std;static void InitMapByChars(map& charMap, const char* info){ int nLen = strlen(info); for (int i = 1; i < nLen; ++i) charMap.insert(p

2013-09-03 17:12:11 439

原创 110208 Yahtzee

#include #include #include #include #include using namespace std;class Calculator{public: Calculator() { m_diceInTotalRounds.push_back(NULL); } ~Calculator() { for (size_t i = 1; i

2013-09-02 17:50:02 599

c++语言的设计和演化

Writer : Bjarne Language : Chinese Very good book if you want to know deeply about C++.

2009-07-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除