Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 25, 2021 22:58Mikhail DektyarevMikhail DektyarevScore: 4,853Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:584,81941,245,94414,393,0001,028,0002,396,160
2May 25, 2021 22:584,82031,987,43414,396,0001,028,0002,281,472
3May 25, 2021 22:584,82634,788,15715,442,00002,281,472
4May 25, 2021 22:584,82632,910,87914,415,0001,029,0002,404,352
5May 25, 2021 22:584,83131,809,74914,430,0001,030,0002,281,472
6May 25, 2021 22:584,83135,260,89214,428,0001,030,0002,281,472
7May 25, 2021 22:584,83337,583,01815,466,00002,281,472
8May 25, 2021 22:584,83338,709,30314,434,0001,031,0002,281,472
9May 25, 2021 22:584,83431,598,48714,439,0001,031,0002,404,352
10May 25, 2021 22:584,83829,820,03314,448,0001,032,0002,396,160
11May 25, 2021 22:584,83831,824,12515,480,00002,408,448
12May 25, 2021 22:584,83930,862,68814,454,0001,032,0002,387,968
13May 25, 2021 22:584,84139,378,01814,459,0001,032,0002,281,472
14May 25, 2021 22:584,84328,750,87615,499,00002,404,352
15May 25, 2021 22:584,84634,546,34015,508,00002,281,472
16May 25, 2021 22:584,84835,158,62815,514,00002,281,472
17May 25, 2021 22:584,84830,583,06914,481,0001,034,0002,281,472
18May 25, 2021 22:584,84932,940,27015,517,00002,400,256
19May 25, 2021 22:584,85327,126,42114,495,0001,035,0002,281,472
20May 25, 2021 22:584,85533,738,33515,536,00002,281,472
21May 25, 2021 22:584,85537,543,77415,537,00002,392,064
22May 25, 2021 22:584,85641,282,41314,504,0001,036,0002,281,472
23May 25, 2021 22:584,86031,677,35014,517,0001,036,0002,404,352
24May 25, 2021 22:584,86439,492,20414,528,0001,037,0002,281,472
25May 25, 2021 22:584,86730,270,40015,574,00002,281,472
26May 25, 2021 22:584,87339,276,78114,554,0001,039,0002,281,472
27May 25, 2021 22:584,87849,260,77415,608,00002,281,472
28May 25, 2021 22:585,01544,205,20916,046,80002,297,856
29May 25, 2021 22:585,03151,650,82416,099,63002,256,896
30May 25, 2021 22:585,03288,431,20916,102,71102,293,760
31May 25, 2021 22:585,03579,703,71116,111,99102,293,760
32May 25, 2021 22:585,03748,105,52316,119,17002,281,472
33May 25, 2021 22:585,05355,752,76916,170,58302,289,664
34May 25, 2021 22:585,05482,254,04216,172,47702,289,664
35May 25, 2021 22:585,05467,609,46816,173,36802,285,568
36May 25, 2021 22:585,09243,668,51316,294,82702,289,664