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 16:58Drew GarciaDrew GarciaScore: 5,371Success
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 16:585,33240,697,38115,055,0002,007,0002,277,376
2Apr 10, 2024 16:585,35433,789,17216,127,0001,007,0002,273,280
3Apr 10, 2024 16:585,35740,897,55115,126,0002,016,0002,281,472
4Apr 10, 2024 16:585,35843,834,48715,129,0002,017,0002,281,472
5Apr 10, 2024 16:585,36840,846,25416,168,0001,010,0002,277,376
6Apr 10, 2024 16:585,37044,662,35815,162,0002,021,0002,281,472
7Apr 10, 2024 16:585,37139,920,41214,155,0003,033,0002,281,472
8Apr 10, 2024 16:585,37534,486,53215,178,0002,023,0002,273,280
9Apr 10, 2024 16:585,39339,958,19815,229,0002,030,0002,277,376
10Apr 10, 2024 16:585,60366,433,77417,928,06602,297,856
11Apr 10, 2024 16:585,63178,231,05718,018,33802,183,168
12Apr 10, 2024 16:585,63581,782,80718,033,37402,293,760