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 15, 2023 21:06Alexander MonakovAlexander MonakovScore: 5,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 21:065,16133,681,12915,484,0001,032,0002,404,352
2Mar 15, 2023 21:065,16438,716,37616,526,00002,408,448
3Mar 15, 2023 21:065,16933,015,41915,507,0001,033,0002,408,448
4Mar 15, 2023 21:065,20433,117,40015,614,0001,040,0002,281,472
5Mar 15, 2023 21:065,20642,792,27116,658,00002,281,472
6Mar 15, 2023 21:065,21132,106,20815,633,0001,042,0002,281,472
7Mar 15, 2023 21:065,21242,717,94816,677,00002,281,472
8Mar 15, 2023 21:065,21240,611,79015,636,0001,042,0002,281,472
9Mar 15, 2023 21:065,22446,225,05615,673,0001,044,0002,281,472
10Mar 15, 2023 21:065,35088,783,73517,120,90802,285,568
11Mar 15, 2023 21:065,37094,778,13617,184,11702,293,760
12Mar 15, 2023 21:065,38380,373,56717,226,83202,297,856