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 25, 2025 07:21Adam FolwarcznyAdam FolwarcznyScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 07:214,47028,633,09013,282,0001,021,0002,445,312
2Apr 25, 2025 07:214,47035,232,26813,284,0001,021,0002,445,312
3Apr 25, 2025 07:214,47528,014,37713,297,0001,022,0002,445,312
4Apr 25, 2025 07:214,47731,483,84513,304,0001,023,0002,531,328
5Apr 25, 2025 07:214,48229,318,93413,318,0001,024,0002,531,328
6Apr 25, 2025 07:214,48633,823,29013,330,0001,025,0002,449,408
7Apr 25, 2025 07:214,49026,747,63413,342,0001,026,0002,531,328
8Apr 25, 2025 07:214,49337,060,55613,352,0001,027,0002,531,328
9Apr 25, 2025 07:214,49629,329,70613,360,0001,027,0002,445,312