摘要:
1038. Recover the Smallest Number (30) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given a collection of number segments, you are supposed to recover the smallest number from t... 阅读全文
摘要:
1026. Table Tennis (30) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A table tennis club has N tables available to the public. The tables are numbered from 1 to N. For any pair ... 阅读全文
摘要:
续: C++ Iostreams 用法详解(一)整体把握 C++ Iostreams 用法详解(二)标准入输出 C++ Iostreams 用法详解(三)状态标志位 期中考试终于告一段落,再来继续写咯。 在前面说到过每一个iostream对象都有一个缓冲区,我们称之为流缓冲区,那个这个所谓的流缓冲区是怎么存在的呢?iostreams中将该流缓冲区抽象为一个类,即streambuf类。 ... 阅读全文
摘要:
续:C++ Iostreams 用法详解(一)整体把握首先说我们最常用的两个全局对象cin和cout,以下摘自MSDN:You can then extract values from cin or wcin to read the standard input. The rules for doing so are outlined in the description of the class basic_istream Class. You can also insert values to cout or wcout to write the standard output. The 阅读全文