non increasing subsequence

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

for each row print first longest non-increasing subsequence

IN: 085377471867758
OUT: 853 (not 774, 775)

--BioFALSE

Options

exec is denied

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

Sample input:_

443208261097743
195856650127221
105864361182863
265167136219734

Sample output:

44320
6650
8643
651

Sample input:_

168095490620093363570215491384629270865455172527438298139110965008224234708113554594807696160404719332751672630973269310636948546030612628623587153951
311790662169068484864596430324242529991937716772697510954069877633025749940397053013759133676932055515946248904937460637050416590520693402598310348101
149959980228394200516957021202967915144444888975395039558150800977339232284707466968199219365669279606321089326001137488680652749097360877222098743322
490877014676749589873513171675402690413748636571389354095722094771596543040426231755031561092578874861282094605291325161179874663776414665884211191182
534928780688230772390757065811915518384144408917857342069233997785360613212007755620401454427129552029440476651930142600773711462555949249729685496914
165868093738213257364304515510821214014609322966453428956251832565859224881526403160893174120155601829325983705729573300288518834074730996831128275221
454687642630581142397602841062757306961644672534797990020326707080432671522459287234464317727467282592486466557775932648082810998871539294402424699586
672776283630578912433166833330474470465935989139903860838116284436316797748531983756356379998515648835461927241297464207148519153286907224016435248108
510786130558565409007753918572710643577929466972060611954299773780503058626856723128755467269570065228481589033871513897848034588039959334685478142096
285510894680922901808766046521242774400725665774541862029130308540241629117263713655740947231511039311858082055582437105121404467545393928940671796173

Sample output:

96500
98776330
98743322
8842111
95520
73300
998871
833330
99773
774400

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat580.02332013/12/26 01:17:510B / 27B / 28B

Perl _

RankUserSizeTimeDateStatistics
1tails520.02252013/12/25 23:49:150B / 24B / 26B
2brx580.02332014/01/04 04:03:500B / 26B / 30B
3teebee590.03982013/12/24 00:16:210B / 22B / 36B
4jbb620.02252013/12/27 02:47:470B / 28B / 31B
5whio670.02442014/01/04 08:59:370B / 27B / 39B
6jonathan camacho1000.03002013/12/28 06:43:120B / 36B / 62B
7BioFALSE1860.02772013/12/22 01:48:020B / 69B / 111B
8BioFALSE (for,for,sort)1870.09142013/12/22 02:10:120B / 94B / 83B
9BioFALSE (author)2240.02592013/12/22 01:35:470B / 86B / 102B

Python _

RankUserSizeTimeDateStatistics
1twobit810.13962013/12/30 01:21:170B / 52B / 25B
2hallvabo810.08522013/12/30 01:46:060B / 43B / 28B
3rolf890.15532013/12/23 01:28:230B / 57B / 28B

JavaScript _

RankUserSizeTimeDateStatistics
1Shmiddty850.03242013/12/25 01:59:020B / 43B / 42B
2_nderscore940.03412013/12/22 17:01:380B / 57B / 37B

Lua _

RankUserSizeTimeDateStatistics
1twobit970.02262013/12/30 01:13:320B / 59B / 27B

J _

RankUserSizeTimeDateStatistics
1I., S.420.04682013/12/22 19:18:430B / 9B / 33B

K _

RankUserSizeTimeDateStatistics
1teebee300.02562013/12/22 19:28:010B / 7B / 22B
2twobit300.03822013/12/30 00:47:190B / 7B / 22B

Haskell _

RankUserSizeTimeDateStatistics
1henkma1050.02752013/12/23 10:20:100B / 62B / 36B

C# _

RankUserSizeTimeDateStatistics
1jesanfafon2230.07872014/01/04 10:01:040B / 170B / 46B

sed _

RankUserSizeTimeDateStatistics
1tails680.02322013/12/24 01:08:130B / 25B / 36B

GolfScript _

RankUserSizeTimeDateStatistics
1tails370.18012013/12/26 00:10:310B / 6B / 31B

Language Ranking_

RankLangUserSizeScore
1Kteebee3010000
2GolfScripttails378108
3JI., S.427142
4Perltails525769
5RubyHistocrat585172
6sedtails684411
7Pythontwobit813703
8JavaScriptShmiddty853529
9Luatwobit973092
10Haskellhenkma1052857
11C#jesanfafon2231345

return to the top page