edge of cuboid

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



___________
/ /|
/ / |
/ C N |
/ / |
/____L_____/ |
| | B |
| | /
| A M /
| | /
|__________|/



input data: area_A area_B area_C
output data: edge_L edge_M edge_N

Options

exec is denied

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

Sample input:_

1316 756 5076
2891 4779 3969
5340 7921 5340
98 5390 55
3600 5520 3105
3610 1615 646
584 2774 304
3312 4692 1836
840 224 240
9702 8526 8613
3968 2560 2480
7663 8439 6873
184 6348 138
5312 5760 7470
3024 1548 3612
240 5340 356
6320 6083 6160
135 450 750
5368 976 1408
2244 3740 1815
66 660 40
7920 6248 6390
3312 1800 4600
72 124 558
418 912 264
4554 3588 3432
770 3245 826
2352 980 2940
208 220 2860
1365 861 2665
1863 2511 6417
9118 485 470
270 918 85
95 1349 355
120 48 360
3854 799 1394
1722 2460 2520
220 1100 125
2046 4712 2508
4860 4482 7470
672 224 588
2700 3690 1230
781 88 568
221 884 676
96 82 1968
3895 3444 7980
3936 2788 1632
295 1180 100
7268 1896 2208
6175 5525 8075
581 406 4814
112 1848 264
5103 6885 5355
2262 2900 7800
58 1334 23
325 6500 500
400 1920 480
28 140 980
130 740 962
3500 3300 1155
3485 6205 2993
400 7040 440
1849 2279 2279
640 5760 900
1836 272 108
299 624 1104
415 3901 235
656 80 205
7469 873 693
1220 2684 880
3894 198 177
1034 2350 1100
117 3861 297
2632 3760 1120
2068 1606 6862
232 2001 552
5963 7387 5561
6880 8084 7520
1365 3055 987
1491 781 231
7410 7600 6240
640 1184 2960
2835 1440 2016
2600 2000 520
780 990 3432
5358 7896 4788
6216 1998 2268
2442 74 33
3465 693 405
3068 5200 5900
39 624 16
1242 2116 1242
952 1680 2040
3936 4800 8200
1606 1166 3869
204 117 2652
261 3915 135
3686 1938 4947
2730 2490 7553
1320 384 880

Sample output:

94 14 54
49 59 81
60 89 89
1 98 55
45 80 69
38 95 17
8 73 38
36 92 51
30 28 8
99 98 87
62 64 40
79 97 87
2 92 69
83 64 90
84 36 43
4 60 89
80 79 77
15 9 50
88 61 16
33 68 55
2 33 20
90 88 71
92 36 50
18 4 31
11 38 24
66 69 52
14 55 59
84 28 35
52 4 55
65 21 41
69 27 93
94 97 5
5 54 17
5 19 71
30 4 12
82 47 17
42 41 60
5 44 25
33 62 76
90 54 83
42 16 14
30 90 41
71 11 8
13 17 52
48 2 41
95 41 84
48 82 34
5 59 20
92 79 24
95 65 85
83 7 58
4 28 66
63 81 85
78 29 100
1 58 23
5 65 100
10 40 48
14 2 70
13 10 74
35 100 33
41 85 73
5 80 88
43 43 53
10 64 90
27 68 4
23 13 48
5 83 47
41 16 5
77 97 9
20 61 44
59 66 3
22 47 50
3 39 99
28 94 40
94 22 73
8 29 69
67 89 83
80 86 94
21 65 47
21 71 11
78 95 80
40 16 74
63 45 32
26 100 20
52 15 66
57 94 84
84 74 27
33 74 1
45 77 9
59 52 100
1 39 16
27 46 46
34 28 60
82 48 100
73 22 53
68 3 39
3 87 45
97 38 51
91 30 83
55 24 16

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1teebee560.02792012/01/20 00:17:390B / 22B / 32B
2leonid560.02592012/01/20 21:30:300B / 22B / 32B
3yvl630.08942012/01/19 20:05:450B / 25B / 35B
4clock650.01892012/01/19 04:53:360B / 28B / 32B
5jingoro790.04482012/01/21 02:20:140B / 38B / 37B
6bk1e820.08632012/01/14 18:12:000B / 40B / 36B

Perl _

RankUserSizeTimeDateStatistics
1teebee430.02302012/01/19 22:54:320B / 18B / 22B
2Hem510.02402012/01/14 13:02:020B / 23B / 26B
3tybalt89520.08102012/01/14 04:55:130B / ?B / ?B
4eban580.01452012/01/14 12:01:220B / 11B / 44B
5sharkey580.01892012/01/20 01:50:070B / 30B / 26B

Python _

RankUserSizeTimeDateStatistics
1Hendrik770.03592012/01/14 18:58:340B / 46B / 29B
2twobit770.03982012/01/17 00:39:020B / 46B / 29B
3recursive770.04382012/01/17 04:10:440B / 46B / 29B
4hallvabo770.02812012/01/18 19:28:270B / 46B / 29B
5leonid770.02822012/01/20 23:37:060B / 46B / 29B
6z790.02722012/01/15 09:00:510B / ?B / ?B
7pv2b790.02692012/01/15 11:04:120B / 47B / 30B

PHP _

RankUserSizeTimeDateStatistics
1o-cn820.04822012/01/14 12:06:279B / 33B / 40B
2clock820.04362012/01/15 21:51:459B / 33B / 40B
3primo860.03062012/01/16 06:03:533B / 35B / 47B

Scheme _

RankUserSizeTimeDateStatistics
1kaki830.13832012/01/15 08:54:200B / 33B / 42B
2dico_leque980.06082012/01/17 06:56:060B / 41B / 47B
3kaki810.05072013/03/25 06:01:410B / 30B / 45B

Common LISP _

RankUserSizeTimeDateStatistics
1youz880.03682012/01/17 16:26:440B / 45B / 34B

Io _

RankUserSizeTimeDateStatistics
1pooq1140.20652012/01/14 09:05:140B / 78B / 30B

JavaScript _

RankUserSizeTimeDateStatistics
1o-cn690.04512012/01/14 12:59:580B / 40B / 28B
2hakusui690.01842012/01/14 19:25:250B / 40B / 28B
3Hendrik690.02012012/01/15 01:42:200B / 40B / 28B
4clock690.04292012/01/15 22:02:520B / 40B / 28B
5nn690.15052012/01/17 00:02:390B / 40B / 28B

Lua _

RankUserSizeTimeDateStatistics
1Hendrik800.09282012/01/17 19:02:500B / 39B / 37B
2twobit800.01912012/01/18 04:33:490B / 38B / 37B
3pooq830.01582012/01/14 19:49:560B / 40B / 40B

Tcl _

RankUserSizeTimeDateStatistics
1pooq990.17712012/01/15 02:10:060B / 54B / 31B

Xtal _

RankUserSizeTimeDateStatistics
1pooq1140.11332012/01/16 00:29:090B / 59B / 51B
2teebee1140.02692012/01/19 10:11:290B / 59B / 51B

Prolog _

RankUserSizeTimeDateStatistics
1Grumzik890.05942012/01/16 08:52:461B / ?B / ?B
2pooq920.06112012/01/15 18:12:210B / 45B / 44B
3bk1e920.34422012/01/16 04:48:020B / 49B / 35B
4teebee(pooq)700.09772012/03/11 01:17:530B / 34B / 33B
5pooq(Grumzik)720.06042012/03/04 19:43:140B / 35B / 34B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*450.29722012/01/21 01:03:080B / 24B / 19B
2pooq480.01572012/01/14 16:52:040B / 26B / 18B

J _

RankUserSizeTimeDateStatistics
1I., S.290.02902012/01/14 20:13:050B / 10B / 19B
2pooq310.05072012/01/17 09:03:480B / 7B / 24B

C _

RankUserSizeTimeDateStatistics
1nai780.01312012/01/14 23:52:100B / 39B / 37B
2inaniwa780.01302012/01/15 00:10:250B / 39B / 37B
3not840.01392012/01/15 19:03:450B / 41B / 41B
4nn840.01372012/01/17 01:39:450B / 41B / 41B
5bk1e920.01272012/01/14 18:03:410B / 45B / 45B
6Ernest930.03992012/01/14 15:50:080B / 46B / 45B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa990.01602012/01/16 23:50:170B / 66B / 31B
2rst76990.03762012/01/17 00:46:330B / 66B / 31B
3henkma990.06682012/01/18 19:49:480B / 66B / 31B
4Hendrik1090.05142012/01/15 06:31:280B / 75B / 30B

Java _

RankUserSizeTimeDateStatistics
1hakusui1780.12442012/01/14 13:43:070B / 105B / 65B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1020.01332012/01/20 19:04:390B / 67B / 28B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*610.01342012/01/20 18:45:260B / 33B / 27B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*3040.01412012/01/21 01:44:210B / 206B / 51B

Maxima _

RankUserSizeTimeDateStatistics
1pooq760.16432012/01/14 15:31:160B / 35B / 35B

Octave _

RankUserSizeTimeDateStatistics
1inaniwa670.40612012/01/17 08:43:580B / 39B / 25B
2sharkey690.33532012/01/17 07:53:410B / 39B / 28B

REBOL _

RankUserSizeTimeDateStatistics
1pooq910.13262012/01/16 01:17:410B / 50B / 26B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee990.11952012/01/19 11:07:330B / 57B / 39B
2teebee970.21312012/01/21 03:35:400B / 56B / 38B

AWK _

RankUserSizeTimeDateStatistics
1lvogel250.01502012/01/16 21:11:440B / 10B / 15B
2yamaya250.02722012/01/20 14:56:350B / 10B / 15B
3eban330.01432012/01/14 11:40:070B / 14B / 18B

Bash _

RankUserSizeTimeDateStatistics
1lvogel310.07072012/01/17 07:52:440B / 13B / 17B

bc _

RankUserSizeTimeDateStatistics
1teebee850.01722012/01/21 01:43:070B / 43B / 39B
2teebee840.01442012/01/21 03:51:230B / 44B / 36B

dc _

RankUserSizeTimeDateStatistics
1lvogel450.01842012/01/17 07:18:330B / 31B / 12B
2tails450.02092012/01/17 08:17:010B / 35B / 10B
3bk1e590.03762012/01/15 11:04:020B / 47B / 11B
4tails (lvogel)420.02042012/01/21 08:02:410B / 34B / 8B

R _

RankUserSizeTimeDateStatistics
1pooq820.24592012/01/15 13:00:260B / 46B / 33B

GolfScript _

RankUserSizeTimeDateStatistics
1tails350.09762012/01/14 05:48:230B / 7B / 27B
2clock381.03632012/01/19 23:22:560B / 6B / 31B
3tails330.17712012/04/15 15:57:220B / 6B / 26B

Vim _

RankUserSizeTimeDateStatistics
1clock550.09192012/01/21 02:08:345B / 20B / 25B
2nn560.20732012/01/17 00:01:325B / 23B / 23B

Groovy _

RankUserSizeTimeDateStatistics
1hakusui861.66162012/01/14 13:13:100B / 50B / 34B
2nn871.95432012/01/17 00:08:400B / 50B / 35B

Logo _

RankUserSizeTimeDateStatistics
1teebee610.01832012/01/19 10:33:500B / 33B / 21B
2teebee580.01832012/01/21 03:47:430B / 32B / 19B

Language Ranking_

RankLangUserSizeScore
1AWKlvogel2510000
2JI., S.298620
3Bashlvogel318064
4GolfScripttails337575
5dctails (lvogel)425952
6Perlteebee435813
7BASIC*yuko*455555
8Vimclock554545
9Rubyteebee564464
10Logoteebee584310
11Fortran*yuko*614098
12Octaveinaniwa673731
13JavaScripto-cn693623
14Prologteebee(pooq)703571
15Maximapooq763289
16PythonHendrik773246
17Cnai783205
18LuaHendrik803125
19Schemekaki813086
20PHPo-cn823048
21Rpooq823048
22bcteebee842976
23Groovyhakusui862906
24Common LISPyouz882840
25REBOLpooq912747
26Asymptoteteebee972577
27Tclpooq992525
28Haskellnotogawa992525
29Pascal*yuko*1022450
30Iopooq1142192
31Xtalpooq1142192
32Javahakusui1781404
33COBOL*yuko*304822

return top