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 13, 2021 20:10alex3dalex3dScore: 4,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 20:104,78832,125,08115,323,00002,519,040
2May 13, 2021 20:104,79430,328,46914,318,0001,022,0002,519,040
3May 13, 2021 20:104,79639,075,06615,347,00002,519,040
4May 13, 2021 20:104,80332,678,54615,369,00002,506,752
5May 13, 2021 20:104,80941,078,52014,363,0001,025,0002,519,040
6May 13, 2021 20:104,81041,713,00613,340,0002,052,0002,392,064
7May 13, 2021 20:104,82037,064,86014,395,0001,028,0002,519,040
8May 13, 2021 20:104,82231,285,60415,429,00002,519,040
9May 13, 2021 20:104,82336,294,97714,404,0001,028,0002,387,968
10May 13, 2021 20:105,06280,311,71916,199,04002,281,472
11May 13, 2021 20:105,07663,393,29216,244,37702,285,568
12May 13, 2021 20:105,10566,840,06016,336,26502,281,472