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 8, 2024 18:38джулисджулисScore: 5,728Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:375,66844,195,71217,131,0001,007,0002,371,584
2Jun 8, 2024 18:375,67538,484,03116,143,0002,017,0002,293,760
3Jun 8, 2024 18:385,68439,894,04717,178,0001,010,0002,293,760
4Jun 8, 2024 18:375,69141,914,04216,187,0002,023,0002,293,760
5Jun 8, 2024 18:375,69340,848,86516,193,0002,024,0002,293,760
6Jun 8, 2024 18:385,69334,506,06716,192,0002,024,0002,293,760
7Jun 8, 2024 18:375,69839,697,62016,207,0002,025,0002,293,760
8Jun 8, 2024 18:385,69943,574,02116,211,0002,026,0002,371,584
9Jun 8, 2024 18:375,71742,896,52717,278,0001,016,0002,367,488
10Jun 8, 2024 18:375,71840,993,35517,281,0001,016,0002,293,760
11Jun 8, 2024 18:385,72439,837,22117,300,0001,017,0002,371,584
12Jun 8, 2024 18:385,72740,918,03217,307,0001,018,0002,375,680
13Jun 8, 2024 18:385,72841,062,57517,311,0001,018,0002,293,760
14Jun 8, 2024 18:385,72945,898,24817,314,0001,018,0002,293,760
15Jun 8, 2024 18:375,73541,197,61817,333,0001,019,0002,293,760
16Jun 8, 2024 18:385,74052,035,05818,369,00002,293,760
17Jun 8, 2024 18:375,74143,488,56017,352,0001,020,0002,293,760
18Jun 8, 2024 18:385,74142,796,43917,350,0001,020,0002,371,584
19Jun 8, 2024 18:385,91277,516,79118,919,42102,244,608
20Jun 8, 2024 18:375,92264,146,35918,951,02602,232,320
21Jun 8, 2024 18:385,94091,798,01919,009,56502,244,608
22Jun 8, 2024 18:385,94395,340,62619,017,90902,236,416
23Jun 8, 2024 18:375,94585,392,29319,023,68402,240,512
24Jun 8, 2024 18:375,94884,794,67219,033,97402,371,584