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 4, 2024 16:25Christopher TarryChristopher TarryScore: 5,897Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 16:255,85147,357,27917,684,0001,040,0002,289,664
2Apr 4, 2024 16:255,88948,348,24817,855,000991,0002,289,664
3Apr 4, 2024 16:255,89346,082,95316,872,0001,985,0002,273,280
4Apr 4, 2024 16:255,89442,402,59318,861,00002,273,280
5Apr 4, 2024 16:255,89543,072,60517,873,000992,0002,277,376
6Apr 4, 2024 16:255,89635,376,53718,866,00002,289,664
7Apr 4, 2024 16:255,89747,613,37816,885,0001,986,0002,289,664
8Apr 4, 2024 16:255,89834,131,38917,879,000993,0002,289,664
9Apr 4, 2024 16:255,90940,459,85916,919,0001,990,0002,277,376
10Apr 4, 2024 16:256,11892,411,47319,578,43402,293,760
11Apr 4, 2024 16:256,12383,942,37719,593,57802,297,856
12Apr 4, 2024 16:256,16686,536,64019,730,32102,297,856