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 listMay 22, 2021 13:10Mikhail ShirokovMikhail ShirokovScore: 46,017Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 13:1046,003210,480,178147,211,15002,170,880
2May 22, 2021 13:1046,007225,649,664147,223,19802,289,664
3May 22, 2021 13:1046,009209,585,674147,229,52102,297,856
4May 22, 2021 13:1046,017224,664,325147,254,97602,174,976
5May 22, 2021 13:1046,033203,713,948147,305,92002,170,880
6May 22, 2021 13:1046,053208,073,738147,370,46802,174,976