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 11, 2024 17:42Drew GarciaDrew GarciaScore: 5,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 17:425,34134,726,60116,085,0001,005,0002,400,256
2Apr 11, 2024 17:425,34240,007,19416,088,0001,005,0002,269,184
3Apr 11, 2024 17:425,35136,995,89315,109,0002,014,0002,269,184
4Apr 11, 2024 17:425,35534,847,38316,128,0001,008,0002,269,184
5Apr 11, 2024 17:425,35740,230,95715,126,0002,016,0002,269,184
6Apr 11, 2024 17:425,36143,341,09515,137,0002,018,0002,269,184
7Apr 11, 2024 17:425,37538,457,92015,177,0002,023,0002,404,352
8Apr 11, 2024 17:425,38034,440,81015,191,0002,025,0002,273,280
9Apr 11, 2024 17:425,39140,762,46416,236,0001,014,0002,269,184
10Apr 11, 2024 17:425,77391,901,22918,474,37102,297,856
11Apr 11, 2024 17:425,79876,834,55218,554,23702,289,664
12Apr 11, 2024 17:425,86998,549,16218,779,36802,260,992