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 23, 2022 08:24Robert BurkeRobert BurkeScore: 4,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 08:244,57341,226,70813,590,0001,045,0002,281,472
2Jul 23, 2022 08:244,57840,361,82513,604,0001,046,0002,449,408
3Jul 23, 2022 08:244,59630,677,00713,656,0001,050,0002,277,376
4Jul 23, 2022 08:244,59637,965,96314,707,00002,281,472
5Jul 23, 2022 08:244,59728,225,70313,660,0001,050,0002,449,408
6Jul 23, 2022 08:244,59831,941,18413,664,0001,051,0002,281,472
7Jul 23, 2022 08:244,59940,273,49813,667,0001,051,0002,281,472
8Jul 23, 2022 08:244,60743,560,65413,689,0001,053,0002,281,472
9Jul 23, 2022 08:244,60831,549,56413,693,0001,053,0002,281,472
10Jul 23, 2022 08:244,83477,905,63115,467,67502,203,648
11Jul 23, 2022 08:244,84080,229,09015,487,92302,199,552
12Jul 23, 2022 08:244,84184,913,32415,491,07802,260,992