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 listJul 21, 2024 12:37Micah SwitzerMicah SwitzerScore: 9,781Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 12:379,704102,498,86931,052,19102,277,376
2Jul 21, 2024 12:379,78194,674,56831,297,99202,277,376
3Jul 21, 2024 12:379,86691,278,42931,571,80702,285,568