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 listAug 13, 2024 20:37Daan de GraafDaan de GraafScore: 2,512,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 20:372,507,7718,098,103,5908,024,867,13002,256,896
2Aug 13, 2024 20:372,512,4378,106,194,7828,039,796,98402,355,200
3Aug 13, 2024 20:372,515,4228,123,861,5288,049,351,65502,269,184