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 listDec 29, 2025 01:54HattonuriHattonuriScore: 4,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 01:554,46630,574,66013,272,0001,020,0002,449,408
2Dec 29, 2025 01:554,46732,182,04013,273,0001,021,0002,535,424
3Dec 29, 2025 01:554,47232,179,85013,288,0001,022,0002,273,280
4Dec 29, 2025 01:554,48233,993,92413,317,0001,024,0002,531,328
5Dec 29, 2025 01:554,48231,216,57613,318,0001,024,0002,535,424
6Dec 29, 2025 01:554,48529,323,54913,326,0001,025,0002,449,408
7Dec 29, 2025 01:554,48632,219,19913,329,0001,025,0002,449,408
8Dec 29, 2025 01:554,48837,646,58313,336,0001,025,0002,449,408
9Dec 29, 2025 01:554,48934,529,88714,366,00002,531,328
10Dec 29, 2025 01:554,49128,399,97313,344,0001,026,0002,445,312
11Dec 29, 2025 01:544,49328,513,88213,352,0001,027,0002,535,424
12Dec 29, 2025 01:544,49531,438,73713,356,0001,027,0002,535,424
13Dec 29, 2025 01:554,50131,605,04613,376,0001,028,0002,535,424
14Dec 29, 2025 01:554,50334,233,25913,379,0001,029,0002,273,280
15Dec 29, 2025 01:544,66142,111,47213,920,000994,0002,273,280