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 listAug 14, 2022 09:05Eugene ZhydzetskiEugene ZhydzetskiScore: 18,905Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2022 09:0518,863134,125,64460,360,49702,220,032
2Aug 14, 2022 09:0518,905120,101,28860,494,51602,203,648
3Aug 14, 2022 09:0518,964132,660,51660,683,45502,211,840