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 24, 2025 17:18lukostlukostScore: 17,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 17:1417,16179,958,08122,964,00031,951,0002,285,568
2Apr 24, 2025 17:1817,30580,269,72424,164,00031,211,0002,285,568
3Apr 24, 2025 17:1417,33378,805,06418,153,00037,314,0002,285,568
4Apr 24, 2025 17:1417,39280,913,89921,249,00034,404,0002,392,064
5Apr 24, 2025 17:1417,45084,205,68924,929,00030,912,0002,285,568
6Apr 24, 2025 17:1417,45589,514,64022,940,00032,915,0002,285,568
7Apr 24, 2025 17:1417,51380,538,63225,019,00031,023,0002,260,992
8Apr 24, 2025 17:1417,53281,117,11133,060,00023,042,0002,285,568
9Apr 24, 2025 17:1417,56877,317,39920,077,00036,139,0002,523,136
10Apr 24, 2025 17:1817,60075,344,61024,137,00032,183,0002,519,040
11Apr 24, 2025 17:1417,61381,626,43822,742,00033,618,0002,519,040
12Apr 24, 2025 17:1817,77678,510,53919,959,00036,925,0002,285,568