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 5, 2025 19:28CountHarebourgCountHarebourgScore: 5,946Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 19:285,93152,126,07416,982,0001,997,0002,277,376
2Apr 5, 2025 19:285,94646,115,28017,025,0002,003,0002,523,136
3Apr 5, 2025 19:285,96751,998,09917,084,0002,009,0002,269,184