上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 1:string对象的定义和初始化以及读写 string s1; 默认构造函数,s1为空串 string s2(s1); 将s2初始化为s1的一个副本 string s3("valuee"); 将s3初始化一个字符串面值副本 string s4(n,'c'); 将s4 初始化为字符'c'的n个副本 阅读全文
posted @ 2015-08-11 13:30 dreamOwn 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 1 基本操作 (1)头文件#include<vector>.一定要加上using namespace std;或者使用时std::vector<int>vec; (2)创建vector对象,vector<int> vec;(可以是结构体类型) 2 详细的函数实现功能:其中vector<int> c. 阅读全文
posted @ 2015-08-11 12:29 dreamOwn 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Fliptile Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 3629 Accepted: 1400 Description Farmer John knows that an intellectually satisfied 阅读全文
posted @ 2015-07-31 22:14 dreamOwn 阅读(206) 评论(0) 推荐(0) 编辑
摘要: J - 病毒 Time Limit:3000MS Memory Limit:131072KB 64bit IO Format:%lld & %llu Submit Status Practice CSU 1120 Description 你有一个日志文件,里面记录着各种系统事件的详细信息。自然的,事 阅读全文
posted @ 2015-07-30 21:15 dreamOwn 阅读(271) 评论(0) 推荐(0) 编辑
摘要: E - 最短的名字 Time Limit:5000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Submit Status Practice CSU 1115 Description 在一个奇怪的村子中,很多人的名字都很长,比如aaaaa, 阅读全文
posted @ 2015-07-30 20:59 dreamOwn 阅读(330) 评论(0) 推荐(0) 编辑
摘要: C - Updating a Dictionary Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit Status Practice CSU 1113DescriptionIn this problem... 阅读全文
posted @ 2015-07-30 20:49 dreamOwn 阅读(214) 评论(0) 推荐(0) 编辑
摘要: B - 机器人的指令 Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit Status Practice CSU 1112Description数轴原点有一个机器人。该机器人将执行一系列指令,你的任务是预... 阅读全文
posted @ 2015-07-30 20:39 dreamOwn 阅读(237) 评论(0) 推荐(0) 编辑
摘要: A - 三家人 Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit Status Practice CSU 1111Description有 三户人家共拥有一座花园,每户人家的太太均需帮忙整理花园。A 太... 阅读全文
posted @ 2015-07-30 20:31 dreamOwn 阅读(213) 评论(0) 推荐(0) 编辑
摘要: D - 平方根大搜索(UVA 12505) Time Limit:5000MS Memory Limit:131072KB 64bit IO Format:%lld & %lluSubmit Status Practice CSU 1114Description在二进制中,2的算术平方根,即sqrt... 阅读全文
posted @ 2015-07-30 17:05 dreamOwn 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 权利指数Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 419Accepted Submission(s): 286Problem Descript... 阅读全文
posted @ 2015-07-30 09:10 dreamOwn 阅读(446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 下一页