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 listApr 24, 2025 19:58lukostlukostScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:585,22739,606,10715,682,0001,045,0002,269,184
2Apr 24, 2025 19:585,27144,737,87115,874,000992,0002,449,408
3Apr 24, 2025 19:585,27146,752,97815,876,000992,0002,527,232
4Apr 24, 2025 19:585,27243,721,31715,879,000992,0002,449,408
5Apr 24, 2025 19:585,27341,083,12616,874,00002,531,328
6Apr 24, 2025 19:585,27336,339,86214,890,0001,985,0002,531,328
7Apr 24, 2025 19:585,27445,421,67016,876,00002,269,184
8Apr 24, 2025 19:585,27442,369,54115,885,000992,0002,531,328
9Apr 24, 2025 19:585,27641,250,97015,889,000993,0002,269,184