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 3, 2023 21:02Hal FHal FScore: 4,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:024,75033,222,66913,174,0002,026,0002,277,376
2Jan 3, 2023 21:024,76739,499,84113,220,0002,033,0002,289,664
3Jan 3, 2023 21:024,76933,633,00913,227,0002,034,0002,273,280
4Jan 3, 2023 21:024,77336,720,84714,257,0001,018,0002,289,664
5Jan 3, 2023 21:024,77438,845,78614,259,0001,018,0002,289,664
6Jan 3, 2023 21:024,77736,468,50013,248,0002,038,0002,289,664
7Jan 3, 2023 21:024,78332,113,21513,264,0002,040,0002,289,664
8Jan 3, 2023 21:024,78935,242,23513,281,0002,043,0002,281,472
9Jan 3, 2023 21:024,78932,955,23813,282,0002,043,0002,289,664
10Jan 3, 2023 21:025,00498,760,89716,014,04102,293,760
11Jan 3, 2023 21:025,01675,474,59116,051,25002,297,856
12Jan 3, 2023 21:025,03274,166,79016,101,00402,179,072