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 listJun 2, 2021 13:45Yuriy LyfenkoYuriy LyfenkoScore: 7,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:207,73984,413,37624,766,16602,297,856
2Jun 2, 2021 13:467,75385,214,44524,810,24702,174,976
3May 27, 2021 17:197,75494,187,39224,812,83702,293,760
4Jun 2, 2021 13:457,75597,248,70724,816,45902,301,952
5May 27, 2021 17:207,75999,550,77224,829,65502,256,896
6Jun 2, 2021 13:447,76380,494,99524,840,79802,297,856
7May 27, 2021 17:197,76483,797,65024,843,74602,359,296
8Jun 2, 2021 13:447,76496,117,83724,844,97602,293,760
9May 27, 2021 17:197,76552,286,70624,847,58802,293,760
10May 27, 2021 17:207,76656,071,98124,850,14902,256,896
11Jun 2, 2021 13:467,77684,429,91024,882,94202,301,952
12Jun 2, 2021 13:457,77994,230,88924,892,61502,297,856
13Jun 2, 2021 13:447,781100,983,10324,898,01302,301,952
14Jun 2, 2021 13:467,782106,848,30024,902,19202,289,664
15Jun 2, 2021 13:457,78491,968,30624,907,96802,174,976