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 14, 2021 13:14Andrei GrazhdankovAndrei GrazhdankovScore: 34,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 13:1433,986176,640,298108,755,55202,306,048
2May 14, 2021 13:1434,092163,432,741109,095,10102,301,952
3May 14, 2021 13:1434,106174,701,310109,139,24902,301,952
4May 14, 2021 13:1434,149170,008,199109,277,77402,306,048
5May 14, 2021 13:1434,193160,446,808109,416,93902,306,048
6May 14, 2021 13:1434,492180,801,056110,374,54902,174,976