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 14, 2024 05:50AnSaAnSaScore: 5,768Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2024 05:505,73533,860,12917,332,0001,019,0002,277,376
2Jun 14, 2024 05:505,73636,069,53516,317,0002,039,0002,281,472
3Jun 14, 2024 05:505,73740,002,19717,339,0001,019,0002,273,280
4Jun 14, 2024 05:505,74539,852,30317,363,0001,021,0002,281,472
5Jun 14, 2024 05:505,74639,235,34917,365,0001,021,0002,281,472
6Jun 14, 2024 05:505,75351,934,49215,341,0003,068,0002,281,472
7Jun 14, 2024 05:505,76840,248,22217,432,0001,025,0002,277,376
8Jun 14, 2024 05:505,77541,002,14417,453,0001,026,0002,277,376
9Jun 14, 2024 05:505,80639,804,46517,547,0001,032,0002,281,472
10Jun 14, 2024 05:506,06098,785,25219,392,58902,179,072
11Jun 14, 2024 05:506,06269,469,18619,399,27602,301,952
12Jun 14, 2024 05:506,10164,799,17719,522,67702,179,072