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 listJan 2, 2023 16:48Hal FHal FScore: 4,864Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:484,84832,820,50015,512,00002,277,376
2Jan 2, 2023 16:484,84931,260,67914,483,0001,034,0002,285,568
3Jan 2, 2023 16:484,85432,479,48814,498,0001,035,0002,281,472
4Jan 2, 2023 16:484,85434,671,15214,499,0001,035,0002,293,760
5Jan 2, 2023 16:484,85939,328,48014,514,0001,036,0002,277,376
6Jan 2, 2023 16:484,86242,122,74514,521,0001,037,0002,531,328
7Jan 2, 2023 16:484,86440,229,80714,529,0001,037,0002,285,568
8Jan 2, 2023 16:484,86538,506,82314,531,0001,037,0002,277,376
9Jan 2, 2023 16:484,89733,363,62115,669,00002,281,472
10Jan 2, 2023 16:485,04385,432,36116,138,47202,289,664
11Jan 2, 2023 16:485,05675,195,67816,180,49602,174,976
12Jan 2, 2023 16:485,08873,947,76316,280,76602,293,760