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 listMar 16, 2023 01:06Alexander MonakovAlexander MonakovScore: 5,135Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 01:065,10936,626,99115,328,0001,021,0002,281,472
2Mar 16, 2023 01:065,11338,200,14915,341,0001,022,0002,445,312
3Mar 16, 2023 01:065,11443,248,94415,342,0001,022,0002,457,600
4Mar 16, 2023 01:065,11941,866,06115,357,0001,023,0002,457,600
5Mar 16, 2023 01:065,12138,588,94515,364,0001,024,0002,281,472
6Mar 16, 2023 01:065,12932,131,02415,387,0001,025,0002,281,472
7Mar 16, 2023 01:065,13531,714,30715,405,0001,027,0002,457,600
8Mar 16, 2023 01:065,14837,964,50215,443,0001,029,0002,449,408
9Mar 16, 2023 01:065,15938,566,44815,479,0001,031,0002,449,408
10Mar 16, 2023 01:065,29474,497,12516,939,73902,211,840
11Mar 16, 2023 01:065,30184,061,60216,962,02802,199,552
12Mar 16, 2023 01:065,32273,048,54817,029,70502,215,936