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 listOct 1, 2022 14:52Sergey SlotinSergey SlotinScore: 5,773Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2022 14:525,70544,489,92617,241,0001,014,0002,277,376
2Oct 1, 2022 14:525,72346,320,23216,278,0002,034,0002,277,376
3Oct 1, 2022 14:525,73544,599,47516,313,0002,039,0002,277,376
4Oct 1, 2022 14:525,74742,775,78817,368,0001,021,0002,531,328
5Oct 1, 2022 14:525,74939,261,36117,374,0001,022,0002,277,376
6Oct 1, 2022 14:525,76243,337,18517,413,0001,024,0002,277,376
7Oct 1, 2022 14:525,77340,689,20317,448,0001,026,0002,277,376
8Oct 1, 2022 14:525,77639,855,52416,430,0002,053,0002,527,232
9Oct 1, 2022 14:525,93747,729,85016,999,0001,999,0002,277,376
10Oct 1, 2022 14:526,01488,734,54419,245,64602,301,952
11Oct 1, 2022 14:526,01892,225,14419,256,62602,174,976
12Oct 1, 2022 14:526,04671,087,05919,347,66702,293,760