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 29, 2022 12:44zhiayangzhiayangScore: 6,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 29, 2022 12:456,19789,621,32519,831,62102,301,952
2Aug 29, 2022 12:446,20188,494,96619,844,61302,293,760
3Aug 29, 2022 12:456,201103,082,10919,844,10902,297,856
4Aug 29, 2022 12:456,212103,678,88419,877,13802,293,760
5Aug 29, 2022 12:446,24293,815,99919,974,57802,293,760
6Aug 29, 2022 12:446,28171,031,40620,098,75702,285,568