Winged Edge 2

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

Winged Edge 2


a
*--------------------*
|\ /|
| \ / |
| \c c/ |
| \ c / |
b| *----------* |b
| / \ |
| /c c\ |
| / \ |
|/ \|
*--------------------*
a

a > b

input data: a b
output data: c

The answer is rounded off and made an integer.

Options

exec is denied

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

Sample input:_

7819 6783
9622 5442
7387 3510
2066 1918
7713 1818
5507 3469
3194 242
4836 3141
8489 3821
6866 5944
8050 2397
8728 7770
4194 612
7621 1479
4393 2472
3363 587
6074 4372
9202 610
7725 847
2918 2127
8527 605
8601 1801
5900 3961
7738 1528
7271 2817
6006 3229
3184 1739
7115 6534
1760 571
5740 3091
8870 5323
7024 5464
4306 3400
5795 1300
9107 2919
4423 1122
7991 7677
8858 6641
6102 2395
2648 1356
9756 8285
3422 837
5255 3193
7968 6998
5861 5669
8399 6723
4801 2988
7807 6757
6126 2206
8530 5742
6582 1881
8644 8079
2087 288
7985 4029
9241 8932
7194 6637
8996 464
9279 2611
8179 4215
4596 3511
8126 3070
6836 6558
8555 4806
9914 2428
3087 2481
4464 2498
7159 6788
6933 1422
5661 3884
6290 4655
9178 3012
8394 2172
7682 469
4711 3037
9632 6486
3696 2609
8246 4322
9953 5140
5289 588
6700 3710
8803 8522
2548 12
1643 394
8439 2390
9688 3731
2389 1435
9816 4518
6750 92
8850 1201
996 881
7168 5845
4241 3711
9813 1232
1683 1363
3326 615
5405 2236
9699 6397
5000 630
3504 2787
6225 1800

Sample output:

3914
3935
2863
1079
2677
2346
1069
2087
3244
3432
2859
4438
1420
2612
1794
1146
2747
3077
2598
1328
2853
2961
2583
2654
2689
2415
1287
3689
632
2309
3708
3305
2042
2004
3265
1545
4266
4088
2263
1048
4822
1191
2207
4018
3143
4013
2036
3902
2236
3739
2326
4533
706
3148
4954
3741
3005
3274
3245
2142
2991
3646
3491
3452
1478
1819
3789
2383
2503
2884
3302
2937
2568
2027
4223
1656
3288
3951
1779
2720
4724
849
571
2980
3579
999
3773
2250
2991
504
3461
2134
3310
809
1137
2026
4213
1686
1669
2203

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1teebee570.02762012/10/03 17:37:010B / 26B / 28B
2clock570.02362012/10/03 17:51:580B / 26B / 28B

Perl _

RankUserSizeTimeDateStatistics
1teebee470.01432012/09/28 06:25:480B / 18B / 28B
2tails470.01202012/10/02 20:47:470B / 18B / 28B
3macik510.03192012/10/09 01:37:580B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1clock770.02012012/09/29 04:33:350B / 42B / 34B
2Hendrik770.02042012/09/29 04:41:430B / 42B / 34B
3teebee770.02702012/09/29 17:21:180B / 42B / 34B
4hallvabo770.01892012/10/03 01:56:270B / 42B / 34B

PHP _

RankUserSizeTimeDateStatistics
1teebee750.01762012/09/29 03:00:165B / 34B / 36B
2clock750.02632012/09/29 04:15:185B / 34B / 36B

Scheme _

RankUserSizeTimeDateStatistics
1youz830.26402012/10/02 00:52:510B / 40B / 36B
2kaki(youz)800.03242013/03/25 05:12:010B / 37B / 39B

Common LISP _

RankUserSizeTimeDateStatistics
1youz780.03452012/10/02 00:58:160B / 42B / 29B

Arc _

RankUserSizeTimeDateStatistics
1youz631.30912012/10/02 00:52:590B / 32B / 26B

Io _

RankUserSizeTimeDateStatistics
1teebee1000.08032012/10/01 00:52:230B / 71B / 25B
2clock1000.09902012/10/01 08:30:510B / 74B / 22B
3pooq1020.10482012/09/30 23:31:360B / 74B / 24B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee740.02602012/10/03 05:02:180B / 41B / 32B
2Hendrik740.04532012/10/03 05:52:310B / 41B / 32B
3clock740.02262012/10/03 08:40:530B / 41B / 32B

Lua _

RankUserSizeTimeDateStatistics
1clock700.01182012/10/03 08:51:540B / 39B / 27B
2teebee700.01382012/10/03 18:04:150B / 39B / 27B
3Hendrik710.02392012/10/03 06:17:540B / 39B / 31B

Tcl _

RankUserSizeTimeDateStatistics
1teebee750.02672012/10/03 18:09:210B / 40B / 28B
2clock750.02732012/10/03 18:12:550B / 43B / 25B

Xtal _

RankUserSizeTimeDateStatistics
1teebee1050.01652012/09/29 23:52:160B / 55B / 48B
2clock1050.01812012/10/01 13:13:140B / 55B / 48B

Icon _

RankUserSizeTimeDateStatistics
1teebee830.00612012/09/30 00:00:480B / 49B / 30B
2clock830.00702012/10/01 13:14:580B / 50B / 29B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee840.03152012/10/01 02:41:370B / 42B / 42B
2clock840.02822012/10/01 04:56:260B / 44B / 40B

Prolog _

RankUserSizeTimeDateStatistics
1teebee580.05752012/10/03 04:53:170B / 30B / 27B
2clock580.05022012/10/03 11:09:440B / 28B / 29B

BASIC _

RankUserSizeTimeDateStatistics
1teebee520.01972012/10/01 00:37:510B / 28B / 23B
2clock520.01622012/10/01 04:59:290B / 28B / 22B
3pooq520.01292012/10/01 07:07:380B / 28B / 22B

J _

RankUserSizeTimeDateStatistics
1I., S.420.03752012/09/28 20:18:400B / 14B / 27B

K _

RankUserSizeTimeDateStatistics
1teebee390.00772012/09/29 18:40:190B / 13B / 25B

C _

RankUserSizeTimeDateStatistics
1ush780.01082012/09/28 08:46:120B / 40B / 38B
2fill780.01082012/09/28 11:33:350B / 38B / 40B
3clock780.01232012/09/28 12:09:100B / 38B / 40B
4teebee780.01082012/09/29 03:14:260B / 38B / 40B
5Hendrik780.01092012/09/29 05:36:400B / 38B / 40B
6youz780.01082012/10/02 00:53:090B / 38B / 40B
7tromp860.02002012/09/28 00:34:460B / ?B / ?B

OCaml _

RankUserSizeTimeDateStatistics
1Hendrik1000.03592012/09/29 06:06:380B / 55B / 38B
2teebee1000.03702012/10/03 18:40:580B / 53B / 42B

Haskell _

RankUserSizeTimeDateStatistics
1Hendrik770.02292012/09/29 20:37:230B / 48B / 27B
2henkma770.02812012/09/30 08:38:060B / 48B / 27B

Java _

RankUserSizeTimeDateStatistics
1teebee1640.19152012/10/03 17:58:120B / 104B / 54B

Pascal _

RankUserSizeTimeDateStatistics
1teebee850.00742012/10/03 18:45:140B / 57B / 24B
2clock850.01092012/10/04 02:49:080B / 57B / 24B

Fortran _

RankUserSizeTimeDateStatistics
1teebee610.00432012/10/03 18:51:540B / 33B / 27B
2clock610.00602012/10/04 02:51:290B / 33B / 27B

C# _

RankUserSizeTimeDateStatistics
1Hendrik1780.06522012/10/06 00:22:010B / 114B / 58B
2macik1820.06042012/10/06 00:06:150B / ?B / ?B

COBOL _

RankUserSizeTimeDateStatistics
1teebee2410.00942012/10/03 19:41:140B / 164B / 45B

Maxima _

RankUserSizeTimeDateStatistics
1teebee670.09752012/10/01 00:41:570B / 37B / 30B
2clock670.09092012/10/03 11:13:500B / 37B / 30B
3pooq690.30842012/10/01 07:02:030B / 39B / 27B

Octave _

RankUserSizeTimeDateStatistics
1teebee740.22192012/10/03 05:09:350B / 29B / 45B
2clock740.18272012/10/09 02:07:450B / 29B / 45B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee650.09412012/10/01 06:18:240B / 38B / 26B
2clock650.10122012/10/03 11:21:030B / 38B / 26B

AWK _

RankUserSizeTimeDateStatistics
1I., S.360.01252012/09/28 20:05:490B / 14B / 22B
2teebee360.01062012/09/29 02:55:570B / 14B / 22B
3Hendrik360.01072012/09/29 04:05:250B / 15B / 21B
4clock360.01392012/09/29 04:09:270B / 14B / 22B

bc _

RankUserSizeTimeDateStatistics
1teebee650.00932012/09/29 15:56:470B / 36B / 28B
2clock660.00902012/09/29 16:24:290B / 37B / 28B

dc _

RankUserSizeTimeDateStatistics
1tails360.02112012/10/02 21:09:450B / 23B / 13B

xgawk _

RankUserSizeTimeDateStatistics
1Hendrik360.06372012/09/29 04:10:420B / 15B / 21B
2teebee360.01572012/09/29 14:43:210B / 14B / 22B
3clock360.01092012/09/29 14:46:290B / 14B / 22B

R _

RankUserSizeTimeDateStatistics
1teebee720.17572012/10/03 18:59:190B / 36B / 36B
2clock720.14512012/10/10 17:16:310B / 36B / 36B

GolfScript _

RankUserSizeTimeDateStatistics
1tails350.08552012/10/02 23:04:130B / 10B / 25B
2clock350.08502012/10/04 14:05:270B / 9B / 26B
3macik680.53862012/10/06 23:37:100B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1clock490.02462012/10/11 08:04:220B / 18B / 31B

Groovy _

RankUserSizeTimeDateStatistics
1teebee861.20002012/10/03 05:14:400B / 50B / 36B
2clock861.14962012/10/03 08:44:510B / 50B / 36B

Logo _

RankUserSizeTimeDateStatistics
1teebee570.01972012/09/29 17:29:020B / 35B / 19B
2clock570.01502012/10/03 11:34:260B / 35B / 19B

Language Ranking_

RankLangUserSizeScore
1GolfScripttails3510000
2AWKI., S.369722
3xgawkHendrik369722
4dctails369722
5Kteebee398974
6JI., S.428333
7Perlteebee477446
8Burlesqueclock497142
9BASICteebee526730
10Logoteebee576140
11Rubyteebee576140
12Prologteebee586034
13Fortranteebee615737
14Arcyouz635555
15bcteebee655384
16Asymptoteteebee655384
17Maximateebee675223
18Luaclock705000
19Rteebee724861
20JavaScriptteebee744729
21Octaveteebee744729
22PHPteebee754666
23Tclteebee754666
24Pythonclock774545
25HaskellHendrik774545
26Cush784487
27Common LISPyouz784487
28Schemekaki(youz)804375
29Iconteebee834216
30PARI/GPteebee844166
31Pascalteebee854117
32Groovyteebee864069
33OCamlHendrik1003500
34Ioteebee1003500
35Xtalteebee1053333
36Javateebee1642134
37C#Hendrik1781966
38COBOLteebee2411452

return top