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 listJan 10, 2024 05:37cavemanloverboycavemanloverboyScore: 2,525,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2024 05:372,515,4048,107,074,1488,049,292,38002,260,992
2Jan 10, 2024 05:372,525,3118,140,471,8948,080,996,35602,256,896
3Jan 10, 2024 05:372,707,6598,723,531,2298,664,509,58302,256,896