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 listSep 4, 2021 22:01Andrey TsvetkovAndrey TsvetkovScore: 5,798Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:015,75443,486,49818,414,00002,437,120
2Sep 4, 2021 22:015,75843,217,13617,401,0001,023,0002,342,912
3Sep 4, 2021 22:015,78075,614,42118,496,64302,277,376
4Sep 4, 2021 22:015,78140,454,54416,444,0002,055,0002,441,216
5Sep 4, 2021 22:015,79294,575,78518,532,98402,281,472
6Sep 4, 2021 22:015,79543,969,70718,545,00002,428,928
7Sep 4, 2021 22:015,79837,753,76417,524,0001,030,0002,342,912
8Sep 4, 2021 22:015,80947,736,46817,556,0001,032,0002,428,928
9Sep 4, 2021 22:015,81085,901,84418,593,25402,277,376
10Sep 4, 2021 22:015,81039,769,84018,591,00002,342,912
11Sep 4, 2021 22:015,81849,072,12617,582,0001,034,0002,342,912
12Sep 4, 2021 22:015,82844,759,81817,614,0001,036,0002,428,928