- 博客(6)
- 收藏
- 关注
Baidu A Star 2007 competition May 27
My code as belofor Item one: #include<iostream>#include <vector>#include "stdlib.h" using namespace std; bool IsLeap(int year){if( !year%4 && year%100) return true;if(!year%4 &a...
2007-05-28 11:15:00 60
Baidu A Star 2007 competition May 26
AStar2007百度之星程序设计大赛: My code as below for Item one ,May 26,2007, Not finish.....#include<iostream>#include <vector>using namespace std; int main(){int n;int n_maxfruitNo = 0;vector<st...
2007-05-28 10:29:00 75
Top coder competition May 26th,2007
My code as below for the firstitem: #include "stdafx.h"#include "vector"#include "string"using namespace std; class FirstMazeTask{public:string checkCorrectness(vector <string> maze){bool b_ov...
2007-05-28 10:24:00 66
TopCoder Pratice this morning
My code for the pratice. It seems been written very disorder...., but pass the test. and only got 97 points. #include <iostream>#include <string>#include <vector>#include <algori...
2007-05-24 11:56:00 66
Calculate 1 plus to 100 by Using C++
When Gauss was ten,he calculated 1+2+3+4+…..+99+100 like this:(1+100)*100/2 =5050 Now in my twentiesI calculated it by Using C++ as below: #include "iostream"#include "string.h"#include <vector&g...
2007-05-19 21:39:00 67
My exercise yesterday: Design by Using C++
Yesterday, I wrote the code as below to seperate every word in a file,and then display. I wrote the sentence more C++ functions,and feel good:) #include "iostream"#include "fstream"#include "vector"#...
2007-05-16 08:54:00 68
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人