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 3, 2023 20:57Hal FHal FScore: 4,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:574,64732,731,24313,878,000991,0002,531,328
2Jan 3, 2023 20:574,65540,132,25312,909,0001,986,0002,289,664
3Jan 3, 2023 20:574,65642,119,30712,912,0001,986,0002,277,376
4Jan 3, 2023 20:574,66635,055,16712,940,0001,990,0002,289,664
5Jan 3, 2023 20:574,67536,533,25112,965,0001,994,0002,289,664
6Jan 3, 2023 20:574,67731,953,14812,970,0001,995,0002,273,280
7Jan 3, 2023 20:574,68339,882,12512,988,0001,998,0002,281,472
8Jan 3, 2023 20:574,70039,991,04713,034,0002,005,0002,273,280
9Jan 3, 2023 20:574,70733,637,97714,058,0001,004,0002,281,472
10Jan 3, 2023 20:574,91791,881,15515,734,36302,289,664
11Jan 3, 2023 20:574,926103,959,71215,763,49002,281,472
12Jan 3, 2023 20:574,96179,819,46615,875,15802,293,760