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 03:08Steve BronderSteve BronderScore: 5,942Success
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 03:085,87888,919,47518,810,78502,306,048
2Apr 10, 2024 03:085,90384,672,25818,890,12702,179,072
3Apr 10, 2024 03:085,90687,821,46618,899,82002,301,952
4Apr 10, 2024 03:085,92844,397,72016,972,0001,996,0002,293,760
5Apr 10, 2024 03:085,93648,266,81616,997,0001,999,0002,293,760
6Apr 10, 2024 03:085,94137,688,23818,011,0001,000,0002,293,760
7Apr 10, 2024 03:085,94241,612,06217,013,0002,001,0002,293,760
8Apr 10, 2024 03:085,94242,387,32217,013,0002,001,0002,273,280
9Apr 10, 2024 03:085,94433,507,03317,018,0002,002,0002,293,760
10Apr 10, 2024 03:085,94642,438,56917,024,0002,002,0002,379,776
11Apr 10, 2024 03:085,95741,367,09217,056,0002,006,0002,293,760
12Apr 10, 2024 03:085,97347,842,39617,101,0002,011,0002,293,760