Skip to content

Instantly share code, notes, and snippets.

#pragma once
#include "stdafx.h"
#include <gtest\gtest.h>
#include "C11764.h"
int _tmain(int argc, _TCHAR* argv[])
{
C11764 c11764;
c11764.Input();
c11764.Run();
// 551.cpp : 定義主控台應用程式的進入點。
//
#include "stdafx.h"
#include <string>
#include <vector>
#include <iostream>
#include <stack>
using namespace std;
#include <string>
#include <map>
#include <vector>
#include <iostream>
#include <sstream>
class DictionaryComparer
{
public:
enum phone_number_information
// 10242.cpp : 定義主控台應用程式的進入點。
//
#include "stdafx.h"
#include <iostream>
#include <map>
#include <vector>
#include <algorithm>
#include <string>
#include <sstream>
#include "gtest\gtest.h"
#pragma once
#include "Guide.h"
#include <iostream>
using namespace std;
Direction::eDirection mapping_direction(char s)
{
if (s == 'N')
#include "FamilyTree.h"
using namespace std;
bool Familytree::join_member(People *new_member, People *parent)
{
setup_relationship(new_member, !parent ? m_familytree_root : parent);
return true;
}
#include <map>
#include <vector>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <ctype.h>
using namespace std;
void run(map<char, int>& input, string s)
@jason790228
jason790228 / 10415.cpp
Last active July 26, 2017 10:56
10415
#include <iostream>
#include <map>
#include <vector>
#include <string>
#include <bitset>
using namespace std;
static const map<char, bitset<10>> ori =
{
@jason790228
jason790228 / 10279.cpp
Last active August 8, 2017 15:08
10279
#include "gtest\gtest.h"
#include <iostream>
#include <vector>
#include "DangerSweeper.h"
using namespace std;
int main(int argc, char* argv[])
{
//testing::InitGoogleTest(&argc, argv);
@jason790228
jason790228 / 488.cpp
Last active August 30, 2017 10:38
488
#include <string>
#include <iostream>
int main()
{
std::string peak_table[10] =
{
"",
"1\n\n",
"1\n22\n1\n\n",