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 listApr 10, 2024 23:35Drew GarciaDrew GarciaScore: 5,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 23:355,37538,650,84614,166,0003,035,0002,277,376
2Apr 10, 2024 23:355,40534,777,74014,245,0003,052,0002,281,472
3Apr 10, 2024 23:355,41940,208,44016,320,0001,020,0002,281,472
4Apr 10, 2024 23:355,41943,532,99216,322,0001,020,0002,281,472
5Apr 10, 2024 23:355,42447,253,44115,315,0002,042,0002,273,280
6Apr 10, 2024 23:355,42844,328,49515,326,0002,043,0002,273,280
7Apr 10, 2024 23:355,43739,632,65216,374,0001,023,0002,289,664
8Apr 10, 2024 23:355,44044,040,36115,360,0002,048,0002,281,472
9Apr 10, 2024 23:355,46840,443,55416,467,0001,029,0002,277,376
10Apr 10, 2024 23:355,61987,173,44517,979,27202,179,072
11Apr 10, 2024 23:355,62859,640,81318,009,96502,179,072
12Apr 10, 2024 23:355,65782,010,18118,103,78202,191,360