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 19, 2021 15:06Andrei GrazhdankovAndrei GrazhdankovScore: 11,175Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 15:0610,968115,176,15135,096,27702,203,648
2May 19, 2021 15:0610,988107,313,92535,161,96002,199,552
3May 19, 2021 15:0611,15296,076,02835,686,22602,199,552
4May 19, 2021 15:0611,17591,696,84635,759,06302,191,360
5May 19, 2021 15:0611,213104,927,48935,882,86902,195,456
6May 19, 2021 15:0611,281101,276,30336,099,91302,183,168