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 20:42Adam FolwarcznyAdam FolwarcznyScore: 4,470Success
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 20:424,44630,151,65312,196,0002,032,0002,441,216
2Apr 25, 2025 20:424,45929,426,49912,232,0002,038,0002,445,312
3Apr 25, 2025 20:424,46140,864,49212,236,0002,039,0002,437,120
4Apr 25, 2025 20:424,46932,546,02613,281,0001,021,0002,531,328
5Apr 25, 2025 20:424,47032,593,87813,282,0001,021,0002,453,504
6Apr 25, 2025 20:424,47231,874,00713,289,0001,022,0002,531,328
7Apr 25, 2025 20:424,47335,642,02913,290,0001,022,0002,269,184
8Apr 25, 2025 20:424,47435,793,48213,294,0001,022,0002,531,328
9Apr 25, 2025 20:424,48130,179,87613,314,0001,024,0002,531,328