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 14, 2024 10:22CalCalScore: 5,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 14, 2024 10:225,46832,794,76616,468,0001,029,0002,404,352
2Jan 14, 2024 10:225,50043,396,05016,566,0001,035,0002,281,472
3Jan 14, 2024 10:225,50444,894,49216,577,0001,036,0002,404,352
4Jan 14, 2024 10:225,52147,814,50117,667,00002,400,256
5Jan 14, 2024 10:225,52242,811,64117,671,00002,281,472
6Jan 14, 2024 10:225,53142,476,27116,657,0001,041,0002,404,352
7Jan 14, 2024 10:225,53438,818,39716,668,0001,041,0002,400,256
8Jan 14, 2024 10:225,58345,269,89916,873,000992,0002,281,472
9Jan 14, 2024 10:225,58342,510,25516,874,000992,0002,519,040
10Jan 14, 2024 10:225,63485,542,67818,028,48502,289,664
11Jan 14, 2024 10:225,68161,390,50518,179,66402,293,760
12Jan 14, 2024 10:225,69593,156,95018,224,11402,293,760