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 20:25CountHarebourgCountHarebourgScore: 5,715Success
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 20:255,68540,891,28617,182,0001,010,0002,289,664
2Apr 5, 2025 20:255,71547,747,90816,256,0002,032,0002,285,568
3Apr 5, 2025 20:255,73233,077,98217,324,0001,019,0002,383,872