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 19, 2021 19:47Yuriy LyfenkoYuriy LyfenkoScore: 6,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 19:496,1704,774,890,06819,745,25202,285,568
2May 19, 2021 19:476,2002,545,879,43619,840,72102,285,568
3May 19, 2021 19:496,2054,469,560,86219,855,11002,277,376
4May 19, 2021 19:496,2491,972,729,61919,997,85702,281,472
5May 19, 2021 19:496,252955,714,34920,005,13002,281,472
6May 19, 2021 19:476,265420,617,87920,049,14502,220,032
7May 19, 2021 19:496,2662,633,027,93620,050,53402,281,472
8May 19, 2021 19:476,2852,508,811,01020,111,09202,281,472
9May 19, 2021 19:476,2943,742,014,16720,139,30902,289,664
10May 19, 2021 19:496,2954,699,461,60320,144,70202,281,472
11May 19, 2021 19:496,3022,553,918,29120,166,41202,199,552
12May 19, 2021 19:496,3063,933,089,97720,179,17402,277,376
13May 19, 2021 19:496,3313,331,522,70120,258,56502,285,568
14May 19, 2021 19:476,3364,593,699,04620,274,02002,281,472
15May 19, 2021 19:496,3362,766,145,44020,274,90702,285,568
16May 19, 2021 19:496,3401,369,238,46620,289,15002,285,568
17May 19, 2021 19:496,3515,050,813,76920,323,85402,285,568
18May 19, 2021 19:476,3531,520,038,63320,328,20502,285,568