阿鲲的博客 主修软件工程和算法模型,极客成长中

cpp/c在oj

2019-03-15
jktian

阅读:

 

cpp

  • 取消科学计数法: 头文件 cout.setf(ios::fixed,ios::floatfield);
  • 保留小数精度: cout « fixed « setpresicion(1) « num ;
  • 流式写法: 每次接受一个输入,立刻判断处理.一次循环.
  • 缓冲式写法: 批量写入数据,批量处理.多个单循环

Similar Posts

Comments