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 listApr 29, 2024 15:09Joad NacerJoad NacerScore: 4,832Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2024 15:094,81531,529,60414,380,0001,027,0002,387,968
2Apr 29, 2024 15:094,82041,448,80914,396,0001,028,0002,269,184
3Apr 29, 2024 15:094,82242,314,77814,401,0001,028,0002,273,280
4Apr 29, 2024 15:094,82832,584,96015,450,00002,289,664
5Apr 29, 2024 15:094,82835,351,45814,421,0001,030,0002,289,664
6Apr 29, 2024 15:094,83133,008,27914,429,0001,030,0002,527,232
7Apr 29, 2024 15:094,83232,732,08913,401,0002,061,0002,289,664
8Apr 29, 2024 15:094,84835,302,59414,481,0001,034,0002,523,136
9Apr 29, 2024 15:094,87537,624,10914,560,0001,040,0002,289,664
10Apr 29, 2024 15:095,03591,631,89416,113,44802,289,664
11Apr 29, 2024 15:095,05788,377,81916,182,74702,297,856
12Apr 29, 2024 15:095,06894,795,64816,218,86502,174,976