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 1, 2025 11:06KeefeKeefeScore: 4,680Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 1, 2025 11:064,66036,749,75112,923,0001,988,0002,523,136
2Feb 1, 2025 11:064,66538,272,68512,937,0001,990,0002,289,664
3Feb 1, 2025 11:064,67328,596,44413,958,000997,0002,269,184
4Feb 1, 2025 11:064,67837,709,89412,974,0001,996,0002,265,088
5Feb 1, 2025 11:064,68041,557,42613,979,000998,0002,289,664
6Feb 1, 2025 11:064,68930,650,82013,004,0002,000,0002,285,568
7Feb 1, 2025 11:064,69331,890,68713,017,0002,002,0002,269,184
8Feb 1, 2025 11:064,70032,672,16213,034,0002,005,0002,285,568
9Feb 1, 2025 11:064,70831,151,64113,056,0002,008,0002,273,280