This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| font-size: 1.2em; | |
| } | |
| #bodyContent, #firstHeading { | |
| max-width: 800px; | |
| margin: auto; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| .. module:: settings | |
| :synopsis: Provide Settings class. | |
| .. moduleauthor:: Answeror <[email protected]> | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <fstream> | |
| #include <algorithm> | |
| #include <iterator> | |
| namespace mine | |
| { | |
| typedef std::fstream* stream_ptr; | |
| typedef std::size_t pos_type; | |
| typedef std::ptrdiff_t difference_type; | |
| typedef char value_type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <string> | |
| #include <vector> | |
| #include <cctype> | |
| #include <algorithm> | |
| #include <iostream> | |
| #include <iterator> | |
| using namespace std; | |
| template<class Out> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @file | |
| * @author answeror <[email protected]> | |
| * @date 2012-07-05 | |
| * | |
| * @section DESCRIPTION | |
| * | |
| * This file is used to illustrate how to do simple unit testing. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iterator> | |
| #include <algorithm> | |
| #include "student.h" | |
| istream& operator >>(istream &is, vector<double> &v); | |
| student read(istream &is) | |
| { | |
| string name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <algorithm> | |
| #include <vector> | |
| using namespace std; | |
| typedef vector<int>::iterator iter; | |
| struct cmp | |
| { | |
| int pivot; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <string> | |
| #include <vector> | |
| #include <map> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <sstream> | |
| #include <iterator> | |
| #include <cassert> | |
| #include <cstdlib> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <map> | |
| #include <string> | |
| #include <vector> | |
| #include <fstream> | |
| #include <iostream> | |
| #include <sstream> | |
| #include <iterator> | |
| #include <algorithm> | |
| #include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <vector> | |
| #include <algorithm> | |
| #include <iterator> | |
| #include <string> | |
| #include <numeric> | |
| #include <iostream> | |
| using namespace std; | |
| string cat(vector<string> v) |