【模拟】Tic-tac-toe C…
来源:互联网 发布:淘宝手机营销中心 编辑:程序博客网 时间:2024/06/05 18:55
Certainly, everyone is familiar with tic-tac-toe game. The rulesare very simple indeed. Two players take turns marking the cells ina
You are given a
- illegal
—if the given board layout can't appear during a validgame; - the firstplayer won
— if in the given board layoutthe first player has just won; - thesecond player won
— if in the given boardlayout the second player has just won; - draw
—if the given board layout has just let to adraw.
The input consists of three lines, each of the lines containscharacters ".","X"or "0"(a period, a capital letter X, or a digit zero).
Print one of the six verdicts:
X0X
.0.
.X.
second
#include
#include
#include
using namespace std;
inta[3][3];
boolcheck(intx)
{
}
intmain()
{
}
- 【模拟】Tic-tac-toe C…
- C. Tic-tac-toe【模拟】
- cf 3C Tic-tac-toe(模拟)
- C - Tic-tac-toe
- [Codeforces]C. Tic-tac-toe
- codeforces - 3C - Tic-tac-toe(模拟)
- CodeForces 3C Tic-tac-toe(模拟)
- POJ 2361 Tic Tac Toe 模拟
- poj 3075 Tic-Tac-Toe 五子棋模拟
- poj 2361 Tic Tac Toe 五子棋模拟
- FZU --- 2283 Tic-Tac-Toe 【三子棋小模拟】
- FZU 2283 Tic-Tac-Toe (模拟)
- CF 3C Tic-tac-toe
- NEFU-2-C-Tic-tac-toe
- codeforces 3C. Tic-tac-toe
- codeforces 3C Tic-tac-toe
- Codeforces 3C. Tic-tac-toe
- Codeforces 3 C. Tic-tac-toe
- 【线段树】 POJ 2828 Buy Tickets
- 【搜索】优雅的暴力合集
- 【矩阵快速幂】Fibonacci
- 【线段树】敌兵布阵
- 【模拟】Books CodeForces 279B
- 【模拟】Tic-tac-toe C…
- 【图论】A Walk Through…
- Permutation CodeForces 359B
- 【模拟】Cupboard and Balloons
- 九度OJ 1086 清华大学2011年机试 《最小花费》
- android value string.xml %d\% %1$s的用法
- C算法精解 ->集合->实现和分析
- 破解Keil3时出现错误:ERROR R208: RENEW LICENSE ID CODE (LIC)的原因及处理方法
- Mysql库表状态查询