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 listJul 21, 2023 11:58gchebanovgchebanovScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 11:585,56040,566,46816,805,000988,0002,387,968
2Jul 21, 2023 11:585,57844,223,00715,866,0001,983,0002,265,088
3Jul 21, 2023 11:585,57942,059,17015,869,0001,983,0002,527,232
4Jul 21, 2023 11:585,58148,050,85216,867,000992,0002,265,088
5Jul 21, 2023 11:585,58137,415,91215,876,0001,984,0002,265,088
6Jul 21, 2023 11:585,58650,609,07316,881,000993,0002,392,064
7Jul 21, 2023 11:585,58842,947,16016,889,000993,0002,387,968
8Jul 21, 2023 11:585,58944,122,50816,892,000993,0002,265,088
9Jul 21, 2023 11:585,59142,543,11216,898,000994,0002,392,064
10Jul 21, 2023 11:585,72984,414,80018,334,29002,240,512
11Jul 21, 2023 11:585,74977,328,52618,398,06102,277,376
12Jul 21, 2023 11:585,80575,608,92618,574,90602,277,376