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 19:31Alexander MonakovAlexander MonakovScore: 5,270Success
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 19:315,21832,082,01215,656,0001,043,0002,396,160
2Mar 15, 2023 19:315,22143,467,79616,707,00002,519,040
3Mar 15, 2023 19:315,22242,515,65116,709,00002,281,472
4Mar 15, 2023 19:315,22242,975,58416,711,00002,404,352
5Mar 15, 2023 19:315,22443,771,71016,717,00002,404,352
6Mar 15, 2023 19:315,26743,911,46114,872,0001,983,0002,408,448
7Mar 15, 2023 19:315,27043,985,49115,872,000992,0002,519,040
8Mar 15, 2023 19:315,27336,618,40915,881,000992,0002,281,472
9Mar 15, 2023 19:315,27435,163,41716,878,00002,281,472
10Mar 15, 2023 19:315,34993,762,04017,117,47202,260,992
11Mar 15, 2023 19:315,36287,770,01917,159,15302,285,568
12Mar 15, 2023 19:315,37782,782,17017,205,84102,289,664