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 listJan 3, 2023 18:44Hal FHal FScore: 5,164Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 18:445,09043,907,76215,271,0001,018,0002,289,664
2Jan 3, 2023 18:445,13537,346,56014,378,0002,054,0002,289,664
3Jan 3, 2023 18:445,13839,239,26916,441,00002,277,376
4Jan 3, 2023 18:445,15238,861,27115,456,0001,030,0002,289,664
5Jan 3, 2023 18:445,15337,365,62015,459,0001,030,0002,289,664
6Jan 3, 2023 18:445,15734,077,40815,472,0001,031,0002,289,664
7Jan 3, 2023 18:445,16432,470,95416,526,00002,269,184
8Jan 3, 2023 18:445,19340,800,63115,581,0001,038,0002,289,664
9Jan 3, 2023 18:445,23042,640,71515,691,0001,046,0002,273,280
10Jan 3, 2023 18:445,28690,184,31416,916,08302,301,952
11Jan 3, 2023 18:445,33770,191,16917,079,26302,293,760
12Jan 3, 2023 18:445,35178,142,33517,124,71602,301,952