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 2, 2023 18:02Hal FHal FScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 18:025,03334,313,73514,094,0002,013,0002,269,184
2Jan 2, 2023 18:025,03944,452,20514,111,0002,015,0002,269,184
3Jan 2, 2023 18:025,05641,318,23514,157,0002,022,0002,269,184
4Jan 2, 2023 18:025,06439,890,87414,181,0002,025,0002,277,376
5Jan 2, 2023 18:025,06635,582,23915,199,0001,013,0002,285,568
6Jan 2, 2023 18:025,07346,156,65915,219,0001,014,0002,289,664
7Jan 2, 2023 18:025,08543,476,65814,239,0002,034,0002,273,280
8Jan 2, 2023 18:025,09333,278,60114,261,0002,037,0002,273,280
9Jan 2, 2023 18:025,11340,439,98914,316,0002,045,0002,289,664
10Jan 2, 2023 18:025,26097,778,52316,833,09402,179,072
11Jan 2, 2023 18:025,27992,204,24416,893,42502,179,072
12Jan 2, 2023 18:025,28985,746,38916,923,57502,293,760