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 listJul 15, 2024 14:08kytanskytansScore: 21,223Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:085,33874,596,35117,080,80602,248,704
2Jul 15, 2024 14:085,34885,426,43517,114,70002,248,704
3Jul 15, 2024 14:085,37597,302,05317,200,22902,252,800
4Jul 15, 2024 14:0820,80393,534,10814,121,00052,449,0002,363,392
5Jul 15, 2024 14:0821,06290,934,45214,083,00053,316,0002,396,160
6Jul 15, 2024 14:0821,06691,661,55113,080,00054,332,0002,396,160
7Jul 15, 2024 14:0821,22390,138,88212,983,00054,929,0002,396,160
8Jul 15, 2024 14:0821,23195,450,59813,987,00053,951,0002,396,160
9Jul 15, 2024 14:0821,33391,379,83914,054,00054,212,0002,396,160
10Jul 15, 2024 14:0821,49195,130,25113,953,00054,818,0002,367,488
11Jul 15, 2024 14:0821,57892,404,54514,010,00055,040,0002,367,488
12Jul 15, 2024 14:0821,81395,060,93414,957,00054,843,0002,396,160