自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

转载 C++关于cout的格式化输出

这篇文章主要讲解如何在C++中使用cout进行高级的格式化输出操作,包括数字的各种计数法(精度)输出,左或右对齐,大小写等等。通过本文,您可以完全脱离scanf/printf,仅使用cout来完成一切需要的格式化输入输出功能(从非性能的角度而言)。更进一步而言,您还可以在<sstream>、<fstream>上使用这些格式化操作,从而代替sprintf和fprintf函数。为方便描述,下文仅以cout为例进行介绍。

2016-05-26 15:01:16 481

原创 UWP学习笔记之Location

UWP学习之路

2015-10-29 21:41:32 1457 1

原创 离队后的杂念

写这份感想,并不是因为离开集训队后有后悔的感觉。虽然打开这个博客,发现自己所写的题解寥寥无几,的确有点寒酸。我也不追探之前为什么不多写解题思路,但我还是要理下这段日子的思路。离队后,第一件做的事是帮协会写那个招新网站。用了4天多时间吧,第一次接触html+css+js,从w3c上一边看资料一边写。这个过程还是挺好玩的,就是挺累。其中有一天解决处理服务器返回值这个问题弄了一个通宵,在陌生的j

2015-10-06 17:24:19 396

原创 Codeforces #310 div2 C. Case of Matryoshkas

C. Case of Matryoshkastime limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard outputAndrewid the Android is a galaxy-famous detective. He is now investigat

2015-06-28 11:16:25 775

原创 HDU 4715 (素数筛选)(2015排位1-H)

Time Limit:1000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4715DescriptionAll you know Goldbach conjecture.That is to say, Every even integer greater

2015-03-24 20:44:09 650

原创 UVA 10130 (多个独立01背包) (2015排位赛2、E)

题目:Time Limit:3000MS    Memory Limit:0KB    64bit IO Format:%lld & %lluSubmitStatusPracticeUVA 10130DescriptionThere is a SuperSale in a SuperHiperMarket. Every person can take only on

2015-03-22 22:46:35 417

原创 新生训练赛round2--H. Can you find it?

Time Limit: 3000msMemory Limit: 10000KB64-bit integer IO format: %I64d      Java class name:MainGive you three sequences of numbers A, B, C, then we give you a number X. Now you need to ca

2015-01-30 23:52:35 522

原创 新生训练赛round2--G. Maya Calendar(模拟)

G. Maya CalendarTime Limit: 1000msMemory Limit: 10000KB64-bit integer IO format: %lld      Java class name:Main During his last sabbatical, professor M. A. Ya made a surprising dis

2015-01-30 17:51:58 557

原创 2015 寒假搜索专题 I - Meteor Shower(BFS)

I - Meteor ShowerTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64uDescriptionBessie hears that an extraordinary meteor shower is coming; reports say that these m

2015-01-28 19:44:44 500

原创 2015 寒假搜索专题 K - Backward Digit Sums

K - Backward Digit SumsTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64uDescriptionFJ and his cows enjoy playing a mental game. They write down the numbers fro

2015-01-27 18:18:18 427

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除