Two coins

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

There is a coin of two kinds of disjoint amounts of money.
Request the highest amount of money that cannot be paid with these coins.

Options

exec is denied

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

Sample input:_

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

Sample output:

899
2393
1673
2051
4471
111
67
3495
5095
1121
8159
3449
2573
5225
1879
919
649
8279
961
5335
4607
179
551
215
1475
267
1703
4689
3305
4271
8917
6323
1859
1295
2507
4783
601
2903
1349
8735
1429
551
8599
8117
4391
3255
3199
229
3853
1427
3329
1301
431
1823
4041
6649
419
4139
123
3331
199
1639
1721
2623
4703
2207
359
883
639
4463
251
179
857
1215
31
2665
419
919
791
2069
4135
1133
57
4331
461
2783
59
7727
1583
3127
559
6079
4987
6793
1407
103
3491
779
1849
4175
2987
4031
449
1403
1799
4229
3399
1673
5459
5183
4663
5779
4559
655
41
1143
8447
2067
203
5975
2819
7177
1223
4967
569
5739
2527
4127
3107
233
1619
65
629
1459
1907
99
4963
1439
7199
3215
5411
2719
2351
1451
2027
5575
3607
1823
1427
1291
3483
3833
2639
6067
299
695
1055
179
145
2327
935
479
7829
587
2323
989
29
5471
1021
1855
2145
2519
53
359
1919
4409
5669
2879
3863
1049
2177
1559
1457
1363
299
879
2437
203
2339
7103
3659
3551
647
2799
3167
599
373
2053
599
1399
317
4679
3023
1385
3955
179
7599
1079
4883
1619
2377
2789
1529
1673
1319
1799
739
73
8231
4599
239
2481
4421
2591
3383
479
755
3233
5543
5123
1699
505
1067
401
923
439
1715
3149
425
5599
2963
1393
1259
185
943
1663
377
1223
119
563
5399
295
5879
8899
959
499
2519
6707
3457
575
3127
6551
3779
1979
4367
6803
2111
5039
4859
3211
3853
1651
8371
3935
3035
3159
1483
3947
181
3653
8623
7307
599
2449
5887
4025
2753
1637
1199
3077
1133
1919
6047
1859
1229
1049
219
1627
797
2375

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1teebee310.02812011/06/19 08:35:470B / 14B / 14B
2leonid310.02412011/06/23 10:43:510B / 14B / 14B
3kaki320.02362011/06/23 10:39:170B / 15B / 15B
4uru320.02852011/06/25 11:31:060B / 15B / 15B
5eban330.04762011/06/20 12:30:340B / 13B / 18B
6yusukezzz540.02992011/06/21 21:39:050B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1teebee270.07502011/06/19 08:22:520B / 8B / 18B
2tails270.02842011/06/19 18:21:240B / 8B / 18B
3lvogel270.03622011/06/23 20:33:510B / 8B / 18B
4risou330.01982011/06/20 20:32:311B / 12B / 18B

Python _

RankUserSizeTimeDateStatistics
1teebee530.02662011/06/19 08:31:330B / 35B / 17B
2hallvabo530.02582011/06/19 08:33:050B / 35B / 17B
3pv2b530.50242011/06/19 13:08:510B / 35B / 17B
4kaki530.03612011/06/20 07:14:160B / 35B / 17B
5leonid530.47642011/06/20 12:49:200B / 35B / 17B
6xulapp531.49002011/06/23 20:53:570B / 35B / 17B
7Kohlrabi620.03752011/06/20 06:22:090B / 38B / 23B
8_2010.04522016/11/09 07:10:508B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1teebee520.03282011/06/19 08:40:515B / 23B / 24B
2xulapp520.03632011/06/23 21:02:135B / 23B / 24B

Scheme _

RankUserSizeTimeDateStatistics
1youz380.23722011/06/19 11:31:100B / 18B / 19B
2kaki380.33262011/06/20 06:47:500B / 18B / 19B

Common LISP _

RankUserSizeTimeDateStatistics
1youz450.51322011/06/19 11:29:460B / 20B / 22B
2kozima450.07072011/06/19 17:52:260B / 20B / 22B
3kaki450.53072011/06/20 07:34:090B / 20B / 22B

Arc _

RankUserSizeTimeDateStatistics
1youz342.02002011/06/19 11:24:230B / 16B / 17B
2murky-satyr342.03522011/06/19 12:03:410B / 16B / 17B

Clojure _

RankUserSizeTimeDateStatistics
1youz412.72012011/06/19 11:31:220B / 20B / 20B

Io _

RankUserSizeTimeDateStatistics
1teebee810.22442011/06/21 04:34:430B / 64B / 13B
2pooq830.22422011/06/21 05:16:110B / 64B / 15B
3pooq800.11852012/11/22 23:37:190B / 64B / 12B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee480.00902011/06/19 08:50:420B / 26B / 21B
2nn480.02972011/06/19 10:51:320B / 27B / 20B
3murky-satyr480.14512011/06/19 13:04:330B / 21B / 26B
4kaki480.02152011/06/20 06:53:470B / 27B / 20B
5xulapp480.12142011/06/23 20:53:520B / 27B / 20B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr480.04652011/06/19 13:33:020B / 29B / 17B
2teebee480.00322011/06/19 13:53:050B / 29B / 17B

Tcl _

RankUserSizeTimeDateStatistics
1teebee500.02122011/06/19 12:31:270B / 29B / 14B
2murky-satyr500.02712011/06/19 12:40:110B / 28B / 15B
3pooq510.22222011/06/19 11:31:180B / 30B / 14B

Xtal _

RankUserSizeTimeDateStatistics
1pooq770.18452011/06/20 22:02:030B / 41B / 33B
2teebee770.04592011/06/20 23:57:010B / 41B / 33B
3teebee680.02742012/03/04 20:42:430B / 35B / 30B

REXX _

RankUserSizeTimeDateStatistics
1pooq310.01362012/04/12 17:47:100B / 21B / 3B

Prolog _

RankUserSizeTimeDateStatistics
1pooq590.25302011/06/19 18:19:220B / 30B / 28B
2pooq410.08332012/03/05 11:45:320B / 21B / 19B

Forth _

RankUserSizeTimeDateStatistics
1zzo38760.05302011/06/27 15:01:150B / 46B / 14B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*300.08532011/06/19 20:33:180B / 19B / 10B
2teebee300.01352011/06/20 02:32:230B / 19B / 10B

Erlang _

RankUserSizeTimeDateStatistics
1pooq1060.14612012/08/24 20:12:060B / 51B / 50B

J _

RankUserSizeTimeDateStatistics
1I., S.230.03892011/06/19 10:32:140B / 8B / 15B
2pooq230.34492011/06/19 19:05:110B / 6B / 17B

A+ _

RankUserSizeTimeDateStatistics
1teebee430.05962011/06/21 07:11:2813B / 19B / 11B

K _

RankUserSizeTimeDateStatistics
1teebee220.01632012/07/02 10:11:270B / 6B / 16B

C _

RankUserSizeTimeDateStatistics
1teebee610.00112011/06/19 08:43:160B / 29B / 32B
2inaniwa610.00112011/06/19 10:29:400B / 30B / 31B
3nn610.00152011/06/19 10:50:080B / 29B / 32B
4not610.00102011/06/19 11:28:500B / 30B / 31B
5uru610.04112011/06/19 11:38:340B / 30B / 31B
6koi610.01002011/06/19 22:39:550B / 30B / 31B
7kaki610.00102011/06/20 07:20:530B / 30B / 31B
8kou610.00862011/06/20 10:26:320B / 30B / 31B
9lvogel610.01442011/06/22 05:04:240B / 31B / 30B
10kiyot610.01382011/06/23 01:04:350B / 30B / 31B
11leonid610.01772011/06/23 10:54:160B / 30B / 31B
12Kohlrabi970.00992011/06/20 07:31:091B / 53B / 40B

C++ _

RankUserSizeTimeDateStatistics
1teebee790.02022011/06/20 08:26:490B / 42B / 35B

OCaml _

RankUserSizeTimeDateStatistics
1teebee730.05992011/06/23 02:22:140B / 45B / 23B
2kaki730.74422011/06/24 07:05:210B / 47B / 19B

Haskell _

RankUserSizeTimeDateStatistics
1teebee570.02412011/06/19 17:45:240B / 38B / 17B
2NearO570.02702011/06/19 23:09:460B / 38B / 17B
3notogawa570.02172011/06/19 23:45:590B / 38B / 17B
4kaki570.02812011/06/20 06:54:130B / 38B / 17B
5feuermonster660.01142011/06/19 23:11:500B / 43B / 19B

ObjC _

RankUserSizeTimeDateStatistics
1teebee610.01752011/06/20 08:29:260B / 30B / 31B

Java _

RankUserSizeTimeDateStatistics
1teebee1230.23412011/06/20 02:11:380B / 81B / 37B

Pascal _

RankUserSizeTimeDateStatistics
1teebee650.00172011/06/19 09:27:040B / 47B / 14B
2uru650.00172011/06/19 10:48:190B / 47B / 14B
3*yuko*650.01102011/06/19 20:33:370B / 47B / 14B

Fortran _

RankUserSizeTimeDateStatistics
1teebee410.00212011/06/19 09:23:440B / 26B / 14B
2*yuko*410.01432011/06/19 20:33:480B / 26B / 14B
3sha410.01402011/06/20 01:22:570B / 26B / 14B
4teebee390.01602011/12/03 08:15:420B / 24B / 14B
5*yuko*390.01402011/12/04 03:53:170B / 24B / 14B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2580.01202011/06/19 20:38:000B / 177B / 41B
2*yuko*2230.00682011/10/10 18:38:570B / 161B / 28B

Maxima _

RankUserSizeTimeDateStatistics
1pooq522.73452011/06/19 11:28:310B / 29B / 23B
2pooq(teebee)492.86652011/06/26 19:05:090B / 28B / 21B
3pooq500.16892011/06/26 13:23:420B / 28B / 22B

Octave _

RankUserSizeTimeDateStatistics
1inaniwa440.43302011/06/20 07:33:550B / 24B / 20B
2teebee440.45302011/06/20 07:48:060B / 24B / 20B
3teebee(inaniwa)420.67022012/03/29 19:47:080B / 23B / 19B

REBOL _

RankUserSizeTimeDateStatistics
1pooq760.04182011/06/20 21:56:020B / 42B / 19B
2teebee760.04332011/06/23 06:31:300B / 42B / 19B
3teebee610.03252012/07/19 05:14:430B / 35B / 15B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq491.07402011/06/20 12:54:440B / 29B / 19B
2teebee490.98552011/06/23 06:55:080B / 29B / 19B
3teebee470.12532011/12/13 04:54:430B / 29B / 17B

AWK _

RankUserSizeTimeDateStatistics
1teebee140.00152011/06/19 09:20:020B / 5B / 9B
2lvogel140.01342011/06/20 04:49:020B / ?B / ?B
3eban140.03932011/06/20 10:00:010B / 4B / 10B

sed _

RankUserSizeTimeDateStatistics
1tails2030.17622012/04/12 21:22:470B / 71B / 107B

jq _

RankUserSizeTimeDateStatistics
1teebee430.01452014/12/16 17:52:240B / 16B / 25B

Bash _

RankUserSizeTimeDateStatistics
1lvogel160.02362011/06/20 05:23:180B / 11B / 4B
2eban170.04302011/06/20 13:43:090B / 11B / 5B

bc _

RankUserSizeTimeDateStatistics
1teebee370.01892011/06/21 07:31:340B / 18B / 18B
2lvogel370.35412011/06/24 04:23:190B / 18B / 18B
3teebee(lvogel)360.02082011/06/26 18:02:130B / 18B / 17B

dc _

RankUserSizeTimeDateStatistics
1lvogel200.02772011/06/20 05:21:390B / 13B / 7B
2tails200.03432011/06/21 02:55:190B / 13B / 7B

xgawk _

RankUserSizeTimeDateStatistics
1teebee140.00332011/06/19 09:21:310B / 5B / 9B
2lvogel140.13332011/06/20 05:13:470B / 5B / 9B

m4 _

RankUserSizeTimeDateStatistics
1lvogel1050.37662011/06/24 05:06:060B / 55B / 47B

R _

RankUserSizeTimeDateStatistics
1teebee500.32342011/06/20 08:44:210B / 28B / 22B
2pooq561.09652011/06/19 19:05:360B / 30B / 26B

GolfScript _

RankUserSizeTimeDateStatistics
1nn120.17392011/06/19 10:10:020B / 2B / 10B
2leonid120.17502011/06/19 10:13:290B / 2B / 10B
3tails120.17222011/06/19 18:27:160B / 2B / 10B
4teebee120.17372011/06/19 18:56:450B / 2B / 10B
5narb120.17632011/06/20 02:07:000B / ?B / ?B
6kaki120.18202011/06/20 07:09:190B / 2B / 10B
7lvogel120.18022011/06/22 05:02:350B / 2B / 10B

FlogScript _

RankUserSizeTimeDateStatistics
1teebee70.59252011/06/19 18:57:470B / 0B / 7B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*551.58282011/06/20 21:45:1233B / 9B / 11B
2lvogel661.60682011/06/21 03:16:1744B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1nn300.16032011/06/19 10:30:352B / 13B / 14B
2teebee300.16702011/06/23 07:04:422B / 13B / 14B
3clock(nn,teebee)280.21272011/12/18 22:50:582B / 10B / 15B

goruby _

RankUserSizeTimeDateStatistics
1leonid230.31112011/06/23 10:55:220B / 8B / 14B
2murky-satyr240.07082011/06/19 12:18:310B / 7B / 17B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr572.96492011/06/19 12:26:240B / 33B / 23B
2teebee612.21162011/06/19 09:00:090B / 41B / 20B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr618.84832011/06/24 01:12:230B / 35B / 25B
2zakki698.75622011/06/24 00:28:580B / 48B / 17B
3teebee738.12972011/06/19 09:13:010B / 49B / 21B
4zakki619.57292011/07/05 08:55:050B / 44B / 15B

Logo _

RankUserSizeTimeDateStatistics
1teebee360.01942011/06/19 09:18:090B / 23B / 11B

Language Ranking_

RankLangUserSizeScore
1FlogScriptteebee710000
2GolfScriptnn125833
3AWKteebee145000
4xgawkteebee145000
5Bashlvogel164375
6dclvogel203500
7Kteebee223181
8JI., S.233043
9gorubyleonid233043
10Perlteebee272592
11Vimclock(nn,teebee)282500
12BASIC*yuko*302333
13Rubyteebee312258
14REXXpooq312258
15Arcyouz342058
16Logoteebee361944
17bcteebee(lvogel)361944
18Schemeyouz381842
19Fortran*yuko*391794
20Clojureyouz411707
21Prologpooq411707
22Octaveteebee(inaniwa)421666
23A+teebee431627
24jqteebee431627
25Common LISPyouz451555
26Asymptoteteebee471489
27JavaScriptteebee481458
28Luamurky-satyr481458
29Maximapooq(teebee)491428
30Tclteebee501400
31Rteebee501400
32PHPteebee521346
33Pythonteebee531320
34z80*yuko*551272
35Groovymurky-satyr571228
36Haskellteebee571228
37Cteebee611147
38ObjCteebee611147
39Scalamurky-satyr611147
40REBOLteebee611147
41Pascalteebee651076
42Xtalteebee681029
43OCamlteebee73958
44Forthzzo3876921
45C++teebee79886
46Iopooq80875
47m4lvogel105666
48Erlangpooq106660
49Javateebee123569
50sedtails203344
51COBOL*yuko*223313

return top