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 listJun 30, 2024 13:36AnSaAnSaScore: 7,450Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:364,93780,785,06915,799,76102,240,512
2Jun 30, 2024 13:364,94493,984,82915,821,44702,248,704
3Jun 30, 2024 13:364,96089,499,33215,873,19502,252,800
4Jun 30, 2024 13:367,43752,101,60012,890,00010,907,0002,281,472
5Jun 30, 2024 13:367,44447,850,61514,888,0008,932,0002,404,352
6Jun 30, 2024 13:367,45050,366,06816,887,0006,953,0002,285,568
7Jun 30, 2024 13:367,45050,658,47413,907,0009,934,0002,375,680
8Jun 30, 2024 13:367,45748,642,98013,919,0009,942,0002,285,568
9Jun 30, 2024 13:367,46246,633,29415,572,0008,305,0002,404,352
10Jun 30, 2024 13:367,46449,948,21914,929,0008,957,0002,281,472
11Jun 30, 2024 13:367,46845,280,60612,945,00010,953,0002,375,680
12Jun 30, 2024 13:367,49150,528,58715,980,0007,990,0002,285,568