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 4, 2021 05:04evgenikwtevgenikwtScore: 6,040Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 05:046,01246,362,45817,214,0002,025,0002,265,088
2Jun 4, 2021 05:046,01740,633,18017,229,0002,026,0002,265,088
3Jun 4, 2021 05:046,02442,691,29419,278,00002,396,160
4Jun 4, 2021 05:046,02842,597,82218,275,0001,015,0002,265,088
5Jun 4, 2021 05:046,03041,646,70318,281,0001,015,0002,396,160
6Jun 4, 2021 05:046,03750,832,94017,284,0002,033,0002,527,232
7Jun 4, 2021 05:046,04041,766,04618,310,0001,017,0002,265,088
8Jun 4, 2021 05:046,04242,971,68718,318,0001,017,0002,396,160
9Jun 4, 2021 05:046,04437,408,92219,341,00002,265,088
10Jun 4, 2021 05:046,182100,649,47719,781,59202,273,280
11Jun 4, 2021 05:046,22362,009,02919,914,76802,285,568
12Jun 4, 2021 05:046,250105,711,25820,000,70502,289,664