上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 97 下一页
摘要: Problem Description The latest reality show has hit the TV: ``Cat vs. Dog''. In this show, a bunch of cats and dogs compete for... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(14) 评论(0) 推荐(0)
摘要: Problem Description Give you a matrix(only contains 0 or 1),every time you can select a row or a column and delete all the '1' ... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(22) 评论(0) 推荐(0)
摘要: Problem Description Adam and Eve play a card game using a regular deck of 52 cards. The rules are simple. The players sit on op... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(17) 评论(0) 推荐(0)
摘要: Problem Description Your old uncle Tom inherited a piece of land from his great-great-uncle. Originally, the property had been ... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(0) 评论(0) 推荐(0)
摘要: Description 两只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它们出发之前忘记了一件很重要的事情,既没有问清楚对方的特征,也没有约定见面的具体位置。... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(43) 评论(0) 推荐(0)
摘要: Problem Description In Diagon Alley ,there is only one Wand-seller,peeling gold letters over the door read Ollivanders: Makers ... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(13) 评论(0) 推荐(0)
摘要: 【概述】 ACM 中,数据结构是必不可少的一部分,对于一些逻辑简单但测试数据较大的区间查询、区间修改、单点查询、单点修改的题目,用朴素算法会导致内存超限或时间超时,因此数据结构应灵活掌握。 【算法】 ​​​​​​线性表:点击这里栈:点击这里队列:点击这里STL... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(7) 评论(0) 推荐(0)
摘要: 【题目描述】 小希拿到了一个很长的两行的字符矩阵,她想知道里面有多少个子矩阵的字符取出后通过某种排列可以构成一个回文串。 该字符矩阵内仅含有数字0-9。 【输入描述】 第一行输入一个整数N,表示字符矩阵的长度为N。 随后两行,每行N个字符,表示字符... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(12) 评论(0) 推荐(0)
摘要: 【概述】 在某些题目中,需要对字符串进行处理,不需要很复杂的算法,只需要按照题意进行模拟或暴力枚举即可得出答案。 【例题】 1.简单模拟 Minimum Ternary String(CF-1009B):点击这里Delete from the Left(CF-... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(16) 评论(0) 推荐(0)
摘要: Problem Description As we all know, machine scheduling is a very classical problem in computer science and has been studied for... 阅读全文
posted @ 2022-09-20 22:57 老程序员111 阅读(23) 评论(0) 推荐(0)
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 97 下一页