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 00:41vahookvahookScore: 4,166Success
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 00:414,13731,484,52213,238,00002,273,280
2Apr 24, 2025 00:414,14526,270,54213,264,00002,498,560
3Apr 24, 2025 00:414,15331,957,49413,288,00002,494,464
4Apr 24, 2025 00:414,16628,944,52813,332,00002,273,280
5Apr 24, 2025 00:414,16932,107,49813,340,00002,490,368
6Apr 24, 2025 00:414,18425,529,00813,390,00002,531,328