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 23, 2024 19:03AnSaAnSaScore: 5,194Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:035,14241,370,81615,426,0001,028,0002,396,160
2Jan 23, 2024 19:035,15032,019,22415,450,0001,030,0002,396,160
3Jan 23, 2024 19:035,16732,004,51715,502,0001,033,0002,281,472
4Jan 23, 2024 19:035,16833,952,06715,504,0001,033,0002,281,472
5Jan 23, 2024 19:035,17442,883,56415,524,0001,034,0002,281,472
6Jan 23, 2024 19:035,18840,079,51216,601,00002,281,472
7Jan 23, 2024 19:035,19433,789,80716,620,00002,383,872
8Jan 23, 2024 19:035,19833,652,56415,594,0001,039,0002,392,064
9Jan 23, 2024 19:035,20155,571,06415,602,0001,040,0002,392,064
10Jan 23, 2024 19:035,37183,380,46417,188,14502,277,376
11Jan 23, 2024 19:035,37557,183,05617,200,95702,289,664
12Jan 23, 2024 19:035,41986,222,90517,341,55702,281,472