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 listMay 14, 2021 20:33alex3dalex3dScore: 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
1May 14, 2021 20:334,81833,328,27115,417,00002,383,872
2May 14, 2021 20:334,82144,291,35214,399,0001,028,0002,387,968
3May 14, 2021 20:334,82235,609,04114,402,0001,028,0002,277,376
4May 14, 2021 20:334,82530,908,42514,412,0001,029,0002,498,560
5May 14, 2021 20:334,82832,290,96313,389,0002,059,0002,527,232
6May 14, 2021 20:334,83051,054,51613,395,0002,060,0002,523,136
7May 14, 2021 20:334,83235,309,57814,431,0001,030,0002,277,376
8May 14, 2021 20:334,84434,909,92215,500,00002,527,232
9May 14, 2021 20:334,87034,811,48014,545,0001,038,0002,387,968
10May 14, 2021 20:335,07381,576,71316,234,67702,260,992
11May 14, 2021 20:335,09099,073,10216,288,06002,269,184
12May 14, 2021 20:335,27966,953,19716,893,55102,260,992