#include <iostream>#include <cstring> using namespace std;int main(){ char s[100]; cin.getline(s,100); strcat(s," happy birthday!"); cout<<s<<endl; // ...
分类:
编程语言 时间:
2016-10-13 16:53:53
阅读次数:
488
号外: [头条]今天OI神犇光勋和原子城po ke,Happy Birthday! ...
分类:
其他好文 时间:
2016-10-09 23:19:30
阅读次数:
250
[root@GW1 client]# ./fdfs_test ../conf/client.conf upload /home/tmp/1009.png This is FastDFS client test program v5.02 Copyright (C) 2008, Happy Fish ...
分类:
Web程序 时间:
2016-10-09 17:00:02
阅读次数:
294
http://poj.org/problem?id=2773 (题目链接) 题意:给出两个数m,k,要求求出从1开始与m互质的第k个数。 Solution 数据范围很大,直接模拟显然是不行的,我们需要用到一些奇奇怪怪的方法。 考虑是否可以通过某些途径快速得到解,然而并没有头绪。正难则反,能不能通过计 ...
分类:
移动开发 时间:
2016-09-27 20:05:18
阅读次数:
145
脏检查以及刷新缓存1.脏检查是事务提交的时候进行的 2.刷新缓存:刷新缓存的事情就是脏检查 两种方式: 方式一:事务提交 方式二:session.flush(); 3.关于HQL from Dept 检索所有部门的信息 select d from cn.happy.entity.Student d ...
分类:
其他好文 时间:
2016-09-23 13:23:28
阅读次数:
116
1.脏检查是实务提交时候进行的 2.刷新缓存:刷新缓存就是进行脏检查 两种方式: 事务提交:commit(); session.flush(); 3.关于HQL from Dept 检索所有部门的信息 select d from cn.happy.entity.Dept d 检索所有部门的信息 se ...
分类:
Web程序 时间:
2016-09-23 13:11:41
阅读次数:
233
Write an algorithm to determine if a number is "happy". 写出一个算法确定一个数是不是快乐数。 A happy number is a number defined by the following process: Starting with ...
分类:
编程语言 时间:
2016-09-22 06:25:44
阅读次数:
408
背景 曾几何时,在Winform中,使用MessageBox对话框是如此happy,后来还有人封装了可以选择各种图标和带隐藏详情的MessageBox,现在Unity3d UGui就没有了这样的好事情了,所有的UI都需要自己来搞定了,幸好还有各种插件,Inventory Pro中的对话框方案不失一种 ...
分类:
编程语言 时间:
2016-09-18 08:56:20
阅读次数:
713
1001 A Curious Matt 1002 Black And White 1003 Collision 1004 Dire Wolf 1005 Everlasting L 1006 Fluorescent 1007 GRE Words Once More! 1008 Happy Matt F ...
分类:
其他好文 时间:
2016-09-17 23:44:11
阅读次数:
218
G. Happy Line time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output G. Happy Line time limit pe ...
分类:
移动开发 时间:
2016-09-16 18:12:21
阅读次数:
279