Domain-Specific LanguagesMichael HungerWHENEVER YOU LiSTEN TO A DiSCUSSiON BY ExPERTS in any domain, be it chess players, kindergarten teachers, or insurance agents, you’ll notice that their vocabulary...
分类:
其他好文 时间:
2015-04-20 09:29:41
阅读次数:
120
Chess
Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)
Submit Statistic Next
Problem
Problem Description
Xiang-qi is a kind of traditional Chinese chess. ...
分类:
其他好文 时间:
2015-04-16 19:59:15
阅读次数:
140
Aeroplane chessTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2060Accepted Submission(s): 1346Pro...
分类:
其他好文 时间:
2015-04-10 22:24:35
阅读次数:
158
Problem Description:
Let's design a new chess game. There are N positions to hold M chesses in this game. Multiple chesses can be located in the same position. The positions are constituted as a topo...
分类:
其他好文 时间:
2015-04-09 19:53:07
阅读次数:
116
Domination
Time Limit: 8 Seconds Memory Limit: 131072 KB Special Judge
Edward is the headmaster of Marjar University. He is enthusiastic about chess and often plays chess with hi...
分类:
其他好文 时间:
2015-04-09 10:37:06
阅读次数:
119
E -Super Jumping! Jumping! Jumping!Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionNowadays, a kind of chess ...
分类:
其他好文 时间:
2015-04-05 23:16:35
阅读次数:
197
题目链接题意:给出m行n列的棋盘,当两皇后在同行同列或同对角线上时可以互相攻击,问共有多少种攻击方式。分析:首先可以利用加法原理分情况讨论:①两皇后在同一行;②两皇后在同一列;③两皇后在同一对角线( / 或 \ ); 其次利用乘法原理分别讨论: ①同一行时(A),先选某一行某一列放置其中一个...
分类:
其他好文 时间:
2015-03-28 01:03:25
阅读次数:
180
1 #include 2 int count = 0; 3 FILE *fp; 4 5 int notDanger(int row,int j,int (*chess)[8]) { 6 int i,k,flag1 =0,flag2=0,flag3=0,flag4=0,flag...
分类:
其他好文 时间:
2015-03-19 00:43:19
阅读次数:
122
题目A: A and B and chess
#include
#include
#include
#include
#include
#include
#include
#include
#define LL long long
using namespace std;
int main()
{
char ch;
int w = 0, b = 0;
for(int i=...
分类:
其他好文 时间:
2015-03-09 22:30:34
阅读次数:
169
Description描述Inspired by a "Little Bishops" problem, Petya now wants to solve problem for rooks.A rook is a piece used in the game of chess which is p...
分类:
其他好文 时间:
2015-03-07 15:37:14
阅读次数:
101