[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Chinese Chess

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

A has a large chessboard. There is only a "bishop" on it. He wants to know if the bishop can jump from the starting point(x1, y1) to the ending point(x2, y2) using one jump.

The "bishop" moves like this: it can move from (x,y) to (x+2, y+2), (x-2, y+2), (x+2, y-2), (x-2, y-2).

Inputs four integers(x1, y1, x2, and y2) that represent the position of the starting point and the ending point.

If the "bishop" can jump from the starting point to the ending point using one jump, output "Yes", otherwise output "No".

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

2 3 4 5

Sample output:

Yes

Ranking

Ruby2 _

RankUserSizeTimeDateStatistics
1pooq90.04962019/08/14 04:41:300B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer100.02972020/11/14 09:08:370B / 8B / 2B

Python3 _

RankUserSizeTimeDateStatistics
1c_r_5120.03802019/05/01 09:35:340B / ?B / ?B
2Erik the Outgolfer120.04532020/11/14 09:08:460B / 8B / 4B

PHP _

RankUserSizeTimeDateStatistics
1Unihedron ユニ30.03332019/04/17 15:17:390B / 3B / 0B

Arc _

RankUserSizeTimeDateStatistics
1pooq60.74172019/08/08 13:01:210B / ?B / ?B

Clojure _

RankUserSizeTimeDateStatistics
1pooq120.58282019/08/10 05:38:320B / ?B / ?B

Io _

RankUserSizeTimeDateStatistics
1pooq100.04962019/07/17 06:40:380B / ?B / ?B

JavaScript _

RankUserSizeTimeDateStatistics
1pooq120.01122019/10/09 07:27:430B / ?B / ?B

Tcl _

RankUserSizeTimeDateStatistics
1pooq80.01312019/08/19 11:24:270B / ?B / ?B

Xtal _

RankUserSizeTimeDateStatistics
1pooq80.01232019/08/08 17:24:110B / ?B / ?B

Crystal _

RankUserSizeTimeDateStatistics
1pooq100.01162019/08/12 18:10:570B / ?B / ?B

Kite _

RankUserSizeTimeDateStatistics
1_120.02672019/08/23 19:13:570B / ?B / ?B

PARI/GP _

RankUserSizeTimeDateStatistics
1pooq170.01042019/08/10 04:28:130B / ?B / ?B

Squirrel _

RankUserSizeTimeDateStatistics
1pooq120.00012019/08/04 07:57:060B / ?B / ?B

Forth _

RankUserSizeTimeDateStatistics
1pooq60.01672019/08/15 13:26:110B / ?B / ?B

BASIC _

RankUserSizeTimeDateStatistics
1pooq60.00012019/07/16 15:49:350B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1pooq80.01412021/04/13 15:28:050B / ?B / ?B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer40.14512021/05/19 16:54:071B / 3B / 0B

iogii _

RankUserSizeTimeDateStatistics
1#c0ffee40.02022025/01/30 20:46:270B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1_1310.01052019/04/13 14:18:510B / ?B / ?B
2Erik the Outgolfer200.01352020/11/14 09:07:020B / 11B / 9B

Rust _

RankUserSizeTimeDateStatistics
1pooq240.01422021/04/26 16:22:550B / ?B / ?B

COBOL _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer450.01482020/11/14 09:07:360B / 37B / 7B

Chapel _

RankUserSizeTimeDateStatistics
1pooq130.01282019/08/11 11:18:160B / ?B / ?B

Maxima _

RankUserSizeTimeDateStatistics
1McBusLuck130.49842020/11/14 19:37:380B / 8B / 5B
2pooq140.05732019/10/17 12:20:020B / ?B / ?B

Octave _

RankUserSizeTimeDateStatistics
1pooq90.12922019/09/07 10:46:190B / ?B / ?B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq110.07162019/07/24 11:19:500B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1Unihedron ユニ80.01042019/04/17 15:18:300B / 4B / 4B

sed _

RankUserSizeTimeDateStatistics
1Unihedron ユニ40.01042019/04/17 15:18:370B / 4B / 0B

jq _

RankUserSizeTimeDateStatistics
1pooq50.01492019/07/16 04:58:410B / ?B / ?B

Bash _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer80.01452020/11/14 09:06:370B / 7B / 0B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer80.01432020/11/14 09:06:430B / 7B / 0B

Zsh _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer60.00672020/11/14 09:08:220B / 3B / 3B

Fish _

RankUserSizeTimeDateStatistics
1McBusLuck80.04592020/11/14 19:43:180B / 7B / 0B

bc _

RankUserSizeTimeDateStatistics
1pooq60.01062019/07/24 04:51:490B / ?B / ?B

dc _

RankUserSizeTimeDateStatistics
1pooq60.00012019/10/15 09:38:120B / ?B / ?B

m4 _

RankUserSizeTimeDateStatistics
1McBusLuck30.00012019/07/27 18:51:010B / 3B / 0B

Postscript _

RankUserSizeTimeDateStatistics
1pooq60.06812019/10/06 06:19:320B / ?B / ?B

R _

RankUserSizeTimeDateStatistics
1pooq100.10822019/07/27 13:07:190B / ?B / ?B

QCL _

RankUserSizeTimeDateStatistics
1pooq120.00022019/08/08 19:21:450B / ?B / ?B

><> <>" name="><>">_

RankUserSizeTimeDateStatistics
1Erik the Outgolfer80.06242020/11/14 09:06:180B / 4B / 4B

GolfScript _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer60.01972020/11/14 09:08:080B / 3B / 3B

gs2 _

RankUserSizeTimeDateStatistics
1Unihedron ユニ30.05872019/04/17 15:17:560B / 3B / 0B

FlogScript _

RankUserSizeTimeDateStatistics
1pooq60.03842020/12/25 11:49:560B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1pooq70.00012019/08/03 08:02:520B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1McBusLuck70.00012019/07/17 17:49:044B / 2B / 1B

DOS _

RankUserSizeTimeDateStatistics
1McBusLuck112.54842019/05/18 05:49:565B / ?B / ?B

goruby _

RankUserSizeTimeDateStatistics
1pooq60.01882019/08/21 05:22:430B / ?B / ?B

Groovy _

RankUserSizeTimeDateStatistics
1pooq120.63202019/07/28 20:25:340B / ?B / ?B

Scala _

RankUserSizeTimeDateStatistics
1pooq121.39832021/04/03 03:38:420B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1PHPUnihedron ユニ310000
2gs2Unihedron ユニ310000
3m4McBusLuck310000
4sedUnihedron ユニ47500
5JellyErik the Outgolfer47500
6iogii#c0ffee47500
7jqpooq56000
8BASICpooq65000
9bcpooq65000
10Arcpooq65000
11Forthpooq65000
12gorubypooq65000
13Postscriptpooq65000
14dcpooq65000
15GolfScriptErik the Outgolfer65000
16ZshErik the Outgolfer65000
17FlogScriptpooq65000
18z80McBusLuck74285
19Burlesquepooq74285
20AWKUnihedron ユニ83750
21Xtalpooq83750
22Tclpooq83750
23><>Erik the Outgolfer83750
24BashErik the Outgolfer83750
25Bash (builtins)Erik the Outgolfer83750
26FishMcBusLuck83750
27Kpooq83750
28Ruby2pooq93333
29Octavepooq93333
30Iopooq103000
31Rpooq103000
32Crystalpooq103000
33PythonErik the Outgolfer103000
34DOSMcBusLuck112727
35Asymptotepooq112727
36Python3c_r_5122500
37Groovypooq122500
38Squirrelpooq122500
39QCLpooq122500
40Clojurepooq122500
41Kite122500
42JavaScriptpooq122500
43Scalapooq122500
44Chapelpooq132307
45MaximaMcBusLuck132307
46PARI/GPpooq171764
47CErik the Outgolfer201500
48Rustpooq241250
49COBOLErik the Outgolfer45666

return to the top page