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 19, 2023 22:07Ulyanov AlekseyUlyanov AlekseyScore: 5,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 22:075,46444,876,81617,484,00002,289,664
2Jun 19, 2023 22:075,46540,353,40416,461,0001,028,0002,269,184
3Jun 19, 2023 22:075,47743,905,52516,496,0001,031,0002,289,664
4Jun 19, 2023 22:075,47843,751,09716,498,0001,031,0002,265,088
5Jun 19, 2023 22:075,49532,250,15816,551,0001,034,0002,289,664
6Jun 19, 2023 22:075,49840,250,48316,559,0001,034,0002,289,664
7Jun 19, 2023 22:075,50245,446,29816,572,0001,035,0002,265,088
8Jun 19, 2023 22:075,50737,900,05416,585,0001,036,0002,281,472
9Jun 19, 2023 22:075,54143,656,05315,761,0001,970,0002,289,664
10Jun 19, 2023 22:075,64385,545,04118,056,00402,293,760
11Jun 19, 2023 22:075,654100,843,88618,093,90902,297,856
12Jun 19, 2023 22:075,66781,731,37218,133,51402,301,952