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:22Adam FolwarcznyAdam FolwarcznyScore: 4,465Success
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:224,41937,182,72112,120,0002,020,0002,531,328
2Apr 25, 2025 07:224,44838,966,66712,201,0002,033,0002,269,184
3Apr 25, 2025 07:224,45327,485,82212,214,0002,035,0002,531,328
4Apr 25, 2025 07:224,45831,628,14912,229,0002,038,0002,531,328
5Apr 25, 2025 07:224,46527,737,80713,269,0001,020,0002,531,328
6Apr 25, 2025 07:224,46631,361,57713,271,0001,020,0002,531,328
7Apr 25, 2025 07:224,47539,417,58313,298,0001,022,0002,269,184
8Apr 25, 2025 07:224,48232,584,64013,318,0001,024,0002,531,328
9Apr 25, 2025 07:224,48625,880,29314,355,00002,437,120