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 10, 2023 07:58parsersmailparsersmailScore: 5,761Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 07:585,70137,032,40617,229,0001,013,0002,289,664
2Aug 10, 2023 07:585,72537,470,50117,304,0001,017,0002,347,008
3Aug 10, 2023 07:585,72635,505,03017,306,0001,018,0002,347,008
4Aug 10, 2023 07:585,73445,025,43517,329,0001,019,0002,347,008
5Aug 10, 2023 07:585,73840,618,32416,321,0002,040,0002,293,760
6Aug 10, 2023 07:585,75042,887,43317,378,0001,022,0002,347,008
7Aug 10, 2023 07:585,76178,375,45918,436,35402,244,608
8Aug 10, 2023 07:585,76334,649,25417,419,0001,024,0002,347,008
9Aug 10, 2023 07:585,76537,375,45018,447,00002,293,760
10Aug 10, 2023 07:585,77940,044,92316,439,0002,054,0002,289,664
11Aug 10, 2023 07:585,83681,062,80518,676,41702,248,704
12Aug 10, 2023 07:585,872101,668,52418,791,93302,252,800