- 博客(10)
- 资源 (5)
- 收藏
- 关注
原创 google校招在线测试题---2048
先附代码:(简单地说就是给出一个矩阵代表2048游戏的一个状态以及一个方向,输出往这个方向移动之后的矩阵)#include#include#includeusing namespace std;int main(){ int T; ifstream ifile("B-large-practice.in"); ofstream ofile("out1.txt"); int nu
2014-10-29 10:54:28 1653
原创 hihocoder--数字三角形
问题描述小Hi和小Ho在经历了螃蟹先生的任务之后被奖励了一次出国旅游的机会,于是他们来到了大洋彼岸的美国。美国人民的生活非常有意思,经常会有形形色色、奇奇怪怪的活动举办,这不,小Hi和小Ho刚刚下飞机,就赶上了当地的迷宫节活动。迷宫节里展览出来的迷宫都特别的有意思,但是小Ho却相中了一个其实并不怎么像迷宫的迷宫——因为这个迷宫的奖励非常丰富~于是小Ho找到了小Hi,让小Hi帮助他获取尽可能
2014-10-29 10:01:06 989
原创 Google Code Jam在线测试题目--Alien Language
ProblemAfter years of study, scientists at Google Labs have discovered an alien language transmitted from a faraway planet. The alien language is very unique in that every word consists of exactly L
2014-10-16 22:43:25 3210
原创 Google2015校招在线测试题1----扫雷最少点击次数
ProblemMinesweeper is a computer game that became popular in the 1980s, and is still included in some versions of the Microsoft Windows operating system. This problem has a similar idea, but it does
2014-10-16 11:30:34 1790 1
原创 google在线测试练习题2
ProblemGiven a list of space separated words, reverse the order of the words. Each line of text contains L letters and W words. A line will only consist of letters and space characters. There will
2014-10-12 11:23:47 1275 1
原创 google在线测试练习题3
ProblemThe Latin alphabet contains 26 characters and telephones only have ten digits on the keypad. We would like to make it easier to write a message to your friend using a sequence of keypresses t
2014-10-12 11:23:02 1213
原创 google在线测试练习题1
ProblemYou receive a credit C at a local store and would like to buy two items. You first walk through the store and create a list L of all available items. From this list you would like to buy tw
2014-10-12 11:17:44 1068
原创 csdn第五届在线编程大赛-完全平方
题目详情给定整数区间[A,B]问其中有多少个完全平方数。输入格式:多组数据,包含两个正整数A,B 1输出格式:每组数据输出一行包含一个整数,表示闭区间[A,B]中包含的完全平方数的个数。答题说明输入样例1 11 23 103 3输出样例:1120
2014-10-07 21:32:02 1016
原创 C++实现hash_set
头文件:#includeusing namespace std;templateclass hash_set{private: hash_type array[100000]; int hash_fun(hash_type original);public: hash_set();//构造函数 void insert(hash_type value);//插入一个元素 v
2014-10-07 21:10:35 2550
原创 csdn编程挑战-----书本转移
题目详情小强有 3 个箱子 A,B,C 用来装书,所有的书(一共n本)都按序号由小到大的顺序堆在 A上,现在他想把所有的书全都放到 C 里面去。每次他从 A 书架拿 a 本书(不够就全拿完)到 B,A 箱子翻转,然后从 B 拿 b 本书(不够就全拿完)到 C,B 箱子翻转。然后重复操作,直到所有书都到了 C,求最后的C 里面书的顺序,详细见样例。输入描述:输入由多组
2014-10-01 11:57:21 836
大数据平台化技术以及业界大数据平台介绍
2020-11-26
开发win8应用时可用的一个C#类,功能主要是xml数据文件的创建,读写和删除。
2014-01-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人