摘要:
Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line 阅读全文
posted @ 2017-04-29 22:20
collectionne
阅读(392)
评论(0)
推荐(0)
摘要:
Problem Description Hey, welcome to HDOJ(Hangzhou Dianzi University Online Judge). In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... 阅读全文
posted @ 2017-04-29 22:01
collectionne
阅读(278)
评论(0)
推荐(0)
摘要:
Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B in 阅读全文
posted @ 2017-04-29 21:36
collectionne
阅读(327)
评论(0)
推荐(0)
摘要:
以前知道C/C++有assert之后,我想知道assert会不会造成内存泄漏,于是我做了一个测试: 如果想要直接检测是否会有内存泄漏,是很难的,一般都需要借助一些相关软件的帮助。因此这里我们检测的是类的析构函数是否被调用,而析构函数(和构造函数)会向文本文件输出信息。程序运行完毕后,检查该文本文件, 阅读全文
posted @ 2017-04-29 16:58
collectionne
阅读(813)
评论(0)
推荐(0)

浙公网安备 33010602011771号