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 23, 2025 00:36vahookvahookScore: 4,355Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 00:374,34127,233,64012,898,000992,0002,273,280
2Apr 23, 2025 00:374,34431,439,58612,908,000992,0002,273,280
3Apr 23, 2025 00:364,34632,284,05713,906,00002,498,560
4Apr 23, 2025 00:364,35536,814,22912,941,000995,0002,273,280
5Apr 23, 2025 00:364,37430,889,12012,997,000999,0002,494,464
6Apr 23, 2025 00:374,38830,337,62313,040,0001,003,0002,502,656