c++ 高级语法++

发布时间:2020年02月19日 阅读:213 次

  1.  map<int, double, greater<int>> v;

  2. 精度控制


  3. cout.precision(1);//精度控制
  4. for(auto it=poly.begin(); it!=poly.end(); it++){
  5. cout<<fixed<<" "<<it->first<<" "<<it->second;
  6. }

Tag:
相关文章

发表评论: