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 9, 2024 18:37matsuoka-601matsuoka-601Score: 4,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:374,77531,150,42813,242,0002,037,0002,285,568
2Jun 9, 2024 18:374,79432,753,04314,320,0001,022,0002,285,568
3Jun 9, 2024 18:374,79834,647,20714,330,0001,023,0002,404,352
4Jun 9, 2024 18:374,80832,993,11415,387,00002,285,568
5Jun 9, 2024 18:374,80931,983,11114,364,0001,026,0002,400,256
6Jun 9, 2024 18:374,81430,576,24714,379,0001,027,0002,285,568
7Jun 9, 2024 18:374,81839,413,22515,419,00002,396,160
8Jun 9, 2024 18:374,82133,923,19814,399,0001,028,0002,273,280
9Jun 9, 2024 18:374,86734,992,35815,574,00002,285,568
10Jun 9, 2024 18:375,028111,099,65216,089,56702,306,048
11Jun 9, 2024 18:375,03557,352,79016,110,48002,301,952
12Jun 9, 2024 18:375,03977,994,20416,126,08802,183,168