随笔分类 -  Pitfalls

摘要:(留坑待填) Extraction from the C++ Programming Language 4th. ed., Bjarne Stroustrup 31.3.3 Size and Capacity The size is the number of elements in the con 阅读全文
posted @ 2016-08-29 22:25 Pat 阅读(195) 评论(0) 推荐(0) 编辑
摘要:传送门 E. Epic Fail of a Genie time limit per test 0.5 seconds memory limit per test 64 megabytes input standard input output standard output Aladdin had 阅读全文
posted @ 2016-06-06 16:47 Pat 阅读(220) 评论(0) 推荐(0) 编辑
摘要:已经是第二次遇到这个问题了: 试图在终端编译,运行: (gcc version 4.8.4) 返回结果: 显示变量 y1 和 C++ 标准库中的某个变量名称冲突,这个问题应当引起注意。 另外这不是头文件写成 <bits/stdc++.h> 引起的,即使换成各具体的头文件(<iostream>, <a 阅读全文
posted @ 2016-05-23 01:16 Pat 阅读(5509) 评论(3) 推荐(0) 编辑
摘要:传送门 time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Little Petya is now fond of data com 阅读全文
posted @ 2016-03-15 21:37 Pat 阅读(354) 评论(0) 推荐(0) 编辑
摘要:传送门 Time Limit: 2000MS Memory Limit: 65536K Description Farmer John is an astounding accounting wizard and has realized he might run out of money to r 阅读全文
posted @ 2015-11-05 14:39 Pat 阅读(206) 评论(0) 推荐(0) 编辑
摘要:1. 在printf()的参数前加& (2015/10/7) 这是我写的一个数据生成器(generator)片段 阅读全文
posted @ 2015-10-08 00:16 Pat 阅读(211) 评论(0) 推荐(0) 编辑
摘要:传送门:A Bug's Life Description Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature tw 阅读全文
posted @ 2015-05-29 13:22 Pat 阅读(406) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示