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 listJan 22, 2024 13:44AnSaAnSaScore: 7,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 13:447,48481,843,81423,949,68502,232,320
2Jan 22, 2024 13:447,51683,603,45824,050,01802,273,280
3Jan 22, 2024 13:447,54680,682,44024,146,44802,273,280