全国信息学奥林匹克联赛(NOIP2018)复赛 普及组 第1 页共9 页 CCF 全国信息学奥林匹克联赛(NOIP2018)复赛 普及组 (请选手务必仔细阅读本页内容) 一.题目概况 中文题目名称 标题统计 龙虎斗 摆渡车 对称二叉树 英文题目与子目录名 title fight bus tree 可执行文件名 title fight bus tree 输入文件名 title
in fight
in bus
in tree
in 输出文件名 title
out fight
out bus
out tree
out 每个测试点时限 1 秒 1 秒 2 秒 1 秒 测试点数目 20 25 20 25 每个测试点分值 5 4 5 4 附加样例文件 有 有 有 有 结果比较方式 全文比较(过滤行末空格及文末回车) 题目类型 传统 传统 传统 传统 运行内存上限 256M 256M 256M 256M 二.提交源程序文件名 对于C++语言 title
cpp fight
cpp bus
cpp tree
cpp 对于C 语言 title
c fight
c tree
c 对于pascal 语言 title
pas fight
pas bus
pas tree
pas 三.编译命令(不包含任何优化开关) 对于C++语言 g++ -o title title
cpp -lm g++ -o fight fight
cpp -lm g++ -o bus bus
cpp -lm g++ -o tree tree
cpp -lm 对于C 语言 gcc -o title title
c -lm gcc -o fight fight
c -lm gcc -o bus bus
c -lm gcc -o tree tree
c -lm 对于pascal 语言 fpc title
pas fpc