754b专题

CodeForces 754B Ilya and tic-tac-toe game

题目链接:http://codeforces.com/contest/754/problem/B 题意:给你一个4x4的棋盘,然后上面有一些棋子,x和o,x是先手的,如果有三个一样的符号连在一起那一方就胜利,问你x能否胜利,能就输出YES,否则输出NO 解析:其实就是那个xo棋,只是棋盘变大了,我一开始以为会复杂,所以懒得想直接判断先手第一步能否胜利,不能就直接输出NO了,因为我猜两边都赢不了

CodeForces - 754B Ilya and tic-tac-toe game(模拟)

题目: B. Ilya and tic-tac-toe game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ilya is an experienced player in ti