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 3, 2026 19:23Jasper EdbrookeJasper EdbrookeScore: 5,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 3, 2026 19:235,88946,478,32716,863,0001,983,0002,289,664
2Apr 3, 2026 19:235,89747,198,11016,883,0001,986,0002,289,664
3Apr 3, 2026 19:235,89747,043,93216,883,0001,986,0002,289,664
4Apr 3, 2026 19:235,89744,911,74816,885,0001,986,0002,289,664
5Apr 3, 2026 19:235,89847,339,30818,874,00002,379,776
6Apr 3, 2026 19:235,90442,298,05217,843,0001,049,0002,289,664
7Apr 3, 2026 19:235,90848,869,13316,917,0001,990,0002,289,664
8Apr 3, 2026 19:235,91150,509,46316,924,0001,991,0002,289,664
9Apr 3, 2026 19:235,91938,914,08416,947,0001,993,0002,367,488