摘要:
给定一个N行M列的棋盘,已知某些格子禁止放置。 问棋盘上最多能放多少个不能互相攻击的車。 車放在格子里,攻击范围与中国象棋的“車”一致。 输入格式 第一行包含三个整数N,M,T,其中T表示禁止放置的格子的数量。 接下来T行每行包含两个整数x和y,表示位于第x行第y列的格子禁止放置,行列数从1开始。 阅读全文
摘要:
The length of the longest common prefix of two strings \(s=s_1 s_2…s_n\) and \(t=t_1t_2…t_m\) is defined as the maximum integer k0≤k≤min*(n,*m)) such 阅读全文
摘要:
#卷积神经网络CNN ##1. 绪论 ###1. 卷积神经网络的应用 基本应用:分类、检索、检测、分割 ###2. 传统神经网络 VS 卷积神经网络 深度学习三部曲: 放一个知乎上写的辅助理解CNN的文章:https://zhuanlan.zhihu.com/p/27908027 Step 1. 搭 阅读全文
摘要:
It is Zhang3's birthday! Zhang3 has bought a birthday cake and now it's time to take it home. There are n villages, labeled 1,2,…,n. There are m bidir 阅读全文
摘要:
Zhang3 a participant of IPhO (Immortal Physics Olympiad). The $0^\mathrm$ problem in the contest is as follows. There are two balls that weigh \(a\) k 阅读全文
摘要:
Problem Description Zhang3 is playing a shooting game with Father. In the game there are two players trying to kill each other to win the game. The ga 阅读全文
摘要:
Princess CJB has lived almost her entire life in the isolated town of Ertona, where CJB uses her unique ability to recognize where crystals of materia 阅读全文
摘要:
There are n members in our ACM club. Little W wants to select three persons from our club to form a new team taking part in provincial ACM contests, a 阅读全文
摘要:
Tokitsukaze has a sequence of length n, denoted by a . Tokitsukaze can merge two consecutive elements of a as many times as she wants. After each oper 阅读全文
摘要:
Given a string P consisting of only parentheses and asterisk characters (i.e. "(", ")" and ""), you are asked to replace all the asterisk characters i 阅读全文