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:18Alexander MonakovAlexander MonakovScore: 5,679Success
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:185,63739,152,70116,033,0002,004,0002,281,472
2Mar 16, 2023 01:185,64843,003,94816,066,0002,008,0002,449,408
3Mar 16, 2023 01:185,64935,062,08916,069,0002,008,0002,281,472
4Mar 16, 2023 01:185,64939,665,86616,070,0002,008,0002,281,472
5Mar 16, 2023 01:185,66044,679,18916,099,0002,012,0002,281,472
6Mar 16, 2023 01:185,67838,519,02517,160,0001,009,0002,531,328
7Mar 16, 2023 01:185,67946,699,59816,154,0002,019,0002,281,472
8Mar 16, 2023 01:185,70143,449,42616,216,0002,027,0002,281,472
9Mar 16, 2023 01:185,70339,832,28318,249,00002,531,328
10Mar 16, 2023 01:185,83792,308,82718,679,04502,211,840
11Mar 16, 2023 01:185,85884,574,08418,746,22002,215,936
12Mar 16, 2023 01:185,87584,275,43718,800,46602,195,456