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 16:37Gokberk YaltirakliGokberk YaltirakliScore: 5,636Success
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 16:375,60840,251,13016,950,000997,0002,269,184
2Jan 23, 2024 16:375,61141,747,28915,961,0001,995,0002,289,664
3Jan 23, 2024 16:375,61545,236,98315,972,0001,996,0002,289,664
4Jan 23, 2024 16:375,62635,052,45116,004,0002,000,0002,265,088
5Jan 23, 2024 16:375,62740,074,48216,007,0002,000,0002,383,872
6Jan 23, 2024 16:375,63241,781,37316,020,0002,002,0002,289,664
7Jan 23, 2024 16:375,63643,907,21516,032,0002,004,0002,289,664
8Jan 23, 2024 16:375,64735,194,88116,063,0002,007,0002,289,664
9Jan 23, 2024 16:375,65137,181,84816,075,0002,009,0002,289,664
10Jan 23, 2024 16:375,80280,589,16218,565,75102,301,952
11Jan 23, 2024 16:375,82275,301,87618,629,29702,293,760
12Jan 23, 2024 16:375,85992,496,81518,747,80902,256,896