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 21:33Hal FHal FScore: 4,716Success
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 21:334,69036,543,72013,008,0002,001,0002,289,664
2Jan 3, 2023 21:334,69833,559,43213,029,0002,004,0002,289,664
3Jan 3, 2023 21:334,70333,048,45413,043,0002,006,0002,265,088
4Jan 3, 2023 21:334,70838,641,11913,057,0002,008,0002,289,664
5Jan 3, 2023 21:334,71033,455,28413,063,0002,009,0002,289,664
6Jan 3, 2023 21:334,71341,080,62113,072,0002,011,0002,289,664
7Jan 3, 2023 21:334,71637,893,68813,080,0002,012,0002,289,664
8Jan 3, 2023 21:334,72245,818,31713,095,0002,014,0002,289,664
9Jan 3, 2023 21:334,73034,429,02214,128,0001,009,0002,289,664
10Jan 3, 2023 21:334,93675,495,62515,796,68602,293,760
11Jan 3, 2023 21:334,97490,622,49415,916,37802,285,568
12Jan 3, 2023 21:334,97889,767,45415,928,42402,293,760