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 listOct 14, 2025 21:52CountHarebourgCountHarebourgScore: 4,489Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2025 21:524,47028,101,88113,282,0001,021,0002,424,832
2Oct 14, 2025 21:524,47135,900,80614,306,00002,531,328
3Oct 14, 2025 21:524,47229,400,83814,311,00002,531,328
4Oct 14, 2025 21:524,48538,424,43913,327,0001,025,0002,531,328
5Oct 14, 2025 21:524,48928,667,87514,365,00002,420,736
6Oct 14, 2025 21:524,49034,630,59413,341,0001,026,0002,416,640
7Oct 14, 2025 21:524,49230,288,12514,375,00002,424,832
8Oct 14, 2025 21:524,49537,161,26313,358,0001,027,0002,437,120
9Oct 14, 2025 21:524,49736,282,27614,389,00002,269,184