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:37CountHarebourgCountHarebourgScore: 5,686Success
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:375,66844,780,65215,116,0003,023,0002,281,472
2Apr 5, 2025 19:375,67955,890,65416,153,0002,019,0002,269,184
3Apr 5, 2025 19:375,67949,059,71614,134,0004,038,0002,277,376
4Apr 5, 2025 19:375,68650,117,61716,173,0002,021,0002,269,184
5Apr 5, 2025 19:375,69042,985,64417,196,0001,011,0002,277,376
6Apr 5, 2025 19:375,72149,226,65117,289,0001,017,0002,265,088