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 listAug 6, 2024 23:45zielajzielajScore: 4,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 23:454,69342,225,70013,016,0002,002,0002,289,664
2Aug 6, 2024 23:454,70331,766,82513,042,0002,006,0002,285,568
3Aug 6, 2024 23:454,70431,976,09314,049,0001,003,0002,273,280
4Aug 6, 2024 23:454,70539,726,50013,049,0002,007,0002,289,664
5Aug 6, 2024 23:454,70638,517,59013,051,0002,007,0002,269,184
6Aug 6, 2024 23:454,70938,389,60914,065,0001,004,0002,289,664
7Aug 6, 2024 23:454,72539,237,16014,112,0001,008,0002,371,584
8Aug 6, 2024 23:454,72633,227,73913,108,0002,016,0002,289,664
9Aug 6, 2024 23:454,74641,720,62314,176,0001,012,0002,269,184
10Aug 6, 2024 23:454,93878,787,25615,800,82102,179,072
11Aug 6, 2024 23:454,95459,889,68815,853,07102,293,760
12Aug 6, 2024 23:454,96575,502,32215,887,07902,179,072