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 listDec 6, 2023 12:56Viktor IarmolaViktor IarmolaScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 12:565,47140,168,36217,507,00002,392,064
2Dec 6, 2023 12:565,48734,533,58617,559,00002,281,472
3Dec 6, 2023 12:565,49233,109,36916,541,0001,033,0002,400,256
4Dec 6, 2023 12:565,49241,403,93517,575,00002,396,160
5Dec 6, 2023 12:565,49839,896,63916,558,0001,034,0002,396,160
6Dec 6, 2023 12:565,50135,581,24916,569,0001,035,0002,396,160
7Dec 6, 2023 12:565,50840,898,83116,591,0001,036,0002,281,472
8Dec 6, 2023 12:565,51244,864,89816,600,0001,037,0002,400,256
9Dec 6, 2023 12:565,52738,596,43917,685,00002,400,256
10Dec 6, 2023 12:565,84086,007,56118,687,41402,293,760
11Dec 6, 2023 12:565,93476,522,53718,988,71602,289,664
12Dec 6, 2023 12:565,95281,135,88819,047,98802,289,664