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 6, 2025 16:55Chandrasekaran AkashChandrasekaran AkashScore: 4,417Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 16:564,35937,968,37612,953,000996,0002,277,376
2Apr 6, 2025 16:564,37734,543,85813,005,0001,000,0002,277,376
3Apr 6, 2025 16:564,38229,269,40513,022,0001,001,0002,535,424
4Apr 6, 2025 16:554,38534,766,53413,029,0001,002,0002,506,752
5Apr 6, 2025 16:554,38731,505,13913,036,0001,002,0002,277,376
6Apr 6, 2025 16:554,39836,886,61113,067,0001,005,0002,506,752
7Apr 6, 2025 16:564,41731,431,31813,124,0001,009,0002,506,752
8Apr 6, 2025 16:564,41835,303,52713,127,0001,009,0002,506,752
9Apr 6, 2025 16:564,45229,329,72514,247,00002,277,376
10Apr 6, 2025 16:554,47835,041,15714,331,00002,506,752
11Apr 6, 2025 16:554,48337,542,65514,344,00002,277,376
12Apr 6, 2025 16:554,49330,982,90914,378,00002,277,376