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 18, 2023 19:02IhebIhebScore: 5,748Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 18, 2023 19:025,70651,117,60916,230,0002,028,0002,289,664
2Dec 18, 2023 19:025,71041,918,63517,257,0001,015,0002,277,376
3Dec 18, 2023 19:025,71134,325,41916,244,0002,030,0002,289,664
4Dec 18, 2023 19:025,71440,946,51117,270,0001,015,0002,289,664
5Dec 18, 2023 19:025,71744,477,43816,261,0002,032,0002,289,664
6Dec 18, 2023 19:025,71737,156,13817,278,0001,016,0002,273,280
7Dec 18, 2023 19:025,74848,919,06417,373,0001,021,0002,289,664
8Dec 18, 2023 19:025,77145,148,52217,441,0001,025,0002,289,664
9Dec 18, 2023 19:025,79343,172,14118,539,00002,289,664
10Dec 18, 2023 19:025,92483,365,03818,956,62902,301,952
11Dec 18, 2023 19:025,93185,572,61718,978,81802,289,664
12Dec 18, 2023 19:025,97185,497,65619,107,63202,301,952