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 23, 2024 20:17IhebIhebScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 20:175,34247,729,60815,084,0002,011,0002,392,064
2Dec 23, 2024 20:175,36332,645,34116,151,0001,009,0002,510,848
3Dec 23, 2024 20:175,39036,522,05816,235,0001,014,0002,383,872