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 2, 2024 04:38mgildermgilderScore: 5,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 04:385,69647,846,81116,201,0002,025,0002,347,008
2Aug 2, 2024 04:385,72447,788,19016,283,0002,035,0002,351,104
3Aug 2, 2024 04:385,72844,605,84016,294,0002,036,0002,367,488
4Aug 2, 2024 04:385,73138,086,79816,303,0002,037,0002,527,232
5Aug 2, 2024 04:385,73751,501,79517,339,0001,019,0002,523,136
6Aug 2, 2024 04:385,73939,258,37817,346,0001,020,0002,351,104
7Aug 2, 2024 04:385,76346,804,39117,416,0001,024,0002,531,328
8Aug 2, 2024 04:385,76645,663,41216,402,0002,050,0002,523,136
9Aug 2, 2024 04:385,76651,958,14017,427,0001,025,0002,367,488
10Aug 2, 2024 04:385,972110,955,56619,108,80202,342,912
11Aug 2, 2024 04:385,98595,325,67919,153,15002,211,840
12Aug 2, 2024 04:386,00182,648,71519,203,30702,347,008