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 listFeb 22, 2024 13:28Huy Duc LeHuy Duc LeScore: 4,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:284,79533,799,47713,299,0002,046,0002,289,664
2Feb 22, 2024 13:284,80434,558,52313,324,0002,049,0002,289,664
3Feb 22, 2024 13:284,81133,600,24014,369,0001,026,0002,273,280
4Feb 22, 2024 13:284,82938,564,67014,424,0001,030,0002,289,664
5Feb 22, 2024 13:284,83240,696,23315,463,00002,289,664
6Feb 22, 2024 13:284,83332,525,85615,464,00002,289,664
7Feb 22, 2024 13:284,83832,459,63614,449,0001,032,0002,379,776
8Feb 22, 2024 13:284,85743,289,08214,507,0001,036,0002,289,664
9Feb 22, 2024 13:284,87944,201,07314,572,0001,040,0002,289,664
10Feb 22, 2024 13:285,00490,202,06316,012,85202,174,976
11Feb 22, 2024 13:285,04082,494,74016,128,28502,183,168
12Feb 22, 2024 13:285,06660,027,41716,211,71502,301,952