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:08Alexander MonakovAlexander MonakovScore: 5,268Success
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:085,21032,444,54815,630,0001,042,0002,281,472
2Mar 16, 2023 01:085,21343,855,21315,640,0001,042,0002,281,472
3Mar 16, 2023 01:085,21535,999,00215,645,0001,043,0002,457,600
4Mar 16, 2023 01:085,21739,770,04615,650,0001,043,0002,281,472
5Mar 16, 2023 01:085,22044,854,21615,660,0001,044,0002,281,472
6Mar 16, 2023 01:085,25634,095,48314,841,0001,978,0002,281,472
7Mar 16, 2023 01:085,26834,434,41014,873,0001,983,0002,281,472
8Mar 16, 2023 01:085,27443,342,98415,884,000992,0002,453,504
9Mar 16, 2023 01:085,27546,657,60814,894,0001,985,0002,453,504
10Mar 16, 2023 01:085,42293,713,26717,349,87502,203,648
11Mar 16, 2023 01:085,43297,405,55817,383,40502,199,552
12Mar 16, 2023 01:085,44180,744,64717,410,82602,199,552