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 listJul 21, 2024 11:02Matt StuchlikMatt StuchlikScore: 4,896Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:024,86734,790,66515,573,00002,277,376
2Jul 21, 2024 11:024,86836,666,76814,541,0001,038,0002,269,184
3Jul 21, 2024 11:024,87233,946,83315,590,00002,277,376
4Jul 21, 2024 11:024,87934,625,28915,612,00002,289,664
5Jul 21, 2024 11:024,88646,913,02015,634,00002,289,664
6Jul 21, 2024 11:024,88747,313,37014,597,0001,042,0002,289,664
7Jul 21, 2024 11:024,89647,200,42314,622,0001,044,0002,265,088
8Jul 21, 2024 11:024,89634,139,88714,623,0001,044,0002,289,664
9Jul 21, 2024 11:024,90234,584,72114,641,0001,045,0002,285,568
10Jul 21, 2024 11:025,14695,780,55216,467,60402,297,856
11Jul 21, 2024 11:025,16690,665,62816,531,73202,285,568
12Jul 21, 2024 11:025,18485,465,06516,590,07502,289,664