g
y
7
7
7
7
摘要: 题目描述 如题,给定N个字符串(第i个字符串长度为Mi,字符串内包含数字、大小写字母,大小写敏感),请求出N个字符串中共有多少个不同的字符串。 输入输出格式 输入格式: 第一行包含一个整数N,为字符串的个数。 接下来N行每行包含一个字符串,为所提供的字符串。 输出格式: 输出包含一行,包含一个整数, 阅读全文
posted @ 2019-02-20 20:23 gy77 阅读(160) 评论(0) 推荐(0) 编辑
摘要: vector是C++标准模板库中的部分内容,中文偶尔译作“容器”,但并不准确。它是一个多功能的,能够操作多种数据结构和算法的模板类和函数库。vector之所以被认为是一个容器,是因为它能够像容器一样存放各种类型的对象,简单地说,vector是一个能够存放任意类型的动态数组,能够增加和压缩数据。 头文 阅读全文
posted @ 2019-02-20 17:17 gy77 阅读(519) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Limak is a little polar bear. He has recently learnt about the binary system. He noticed that the passing year has exactly one zero in its repre 阅读全文
posted @ 2019-02-20 15:58 gy77 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 题目描述: They say "years are like dominoes, tumbling one after the other". But would a year fit into a grid? I don't think so. Limak is a little polar be 阅读全文
posted @ 2019-02-20 15:43 gy77 阅读(220) 评论(0) 推荐(0) 编辑