- 博客(4)
- 收藏
- 关注
原创 关于basic_string::_S_construct null not valid的解决方案
在刷OJ的时候碰到了这个问题:struct Node{ string str; int count;};Node node[100]={'\0',0};我当时需要把count的值初始化为0(但其实你不初始化它默认的就是0,但我开始不知道) 然后出现了这个错误:terminate called after throwing an instance of 's...
2018-06-29 00:27:12 14842 1
原创 POJ1007 DNA逆序数
DNA SortingTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 108156 Accepted: 43326DescriptionOne measure of ``unsortedness'' in a sequence is the number of pairs of entries th...
2018-06-29 00:17:31 271
原创 CSUACM1004
热身题。DescriptionBo has been in Changsha for four years. However he spends most of his time staying his small dormitory. One day he decides to get out of the dormitory and see the beautiful city. S...
2018-06-26 15:59:39 203
原创 CSUACM1003
热身赛的水题DescriptionBrother Xi has recently bought a smart mobile phone. Now he surfs Internet by his mobile phone almost every day. The browser that he uses is UC Browser, which is one of the most ...
2018-06-26 15:02:58 211
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人