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:27CountHarebourgCountHarebourgScore: 5,987Success
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:275,98039,125,30416,116,0003,021,0002,277,376
2Apr 5, 2025 19:275,98747,440,18416,134,0003,025,0002,265,088
3Apr 5, 2025 19:276,01951,121,05618,247,0001,013,0002,281,472