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:50Adam FolwarcznyAdam FolwarcznyScore: 4,464Success
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:504,43128,265,29212,155,0002,025,0002,437,120
2Apr 25, 2025 20:504,45233,943,42512,211,0002,035,0002,531,328
3Apr 25, 2025 20:504,45831,667,88812,228,0002,038,0002,449,408
4Apr 25, 2025 20:504,46343,783,05513,261,0001,020,0002,449,408
5Apr 25, 2025 20:504,46436,351,59013,266,0001,020,0002,531,328
6Apr 25, 2025 20:504,46931,228,50913,279,0001,021,0002,449,408
7Apr 25, 2025 20:504,48232,428,04013,317,0001,024,0002,531,328
8Apr 25, 2025 20:504,48730,625,53113,334,0001,025,0002,531,328
9Apr 25, 2025 20:504,49130,281,22513,345,0001,026,0002,445,312