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 listMay 17, 2021 17:49Yuriy LyfenkoYuriy LyfenkoScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 17:495,338589,223,91216,078,0001,004,0002,269,184
2May 17, 2021 17:495,3431,796,060,29716,149,000949,0002,269,184
3May 17, 2021 17:495,358209,832,47417,145,00002,527,232
4May 17, 2021 17:495,366189,054,28617,171,00002,400,256
5May 17, 2021 17:495,375893,847,60816,188,0001,011,0002,269,184
6May 17, 2021 17:495,387636,854,61817,238,00002,269,184
7May 17, 2021 17:495,3931,250,907,34315,342,0001,917,0002,269,184
8May 17, 2021 17:495,39760,912,56116,254,0001,015,0002,269,184
9May 17, 2021 17:495,4301,392,757,44516,354,0001,022,0002,392,064
10May 17, 2021 17:495,5471,369,124,50917,750,49802,277,376
11May 17, 2021 17:495,59687,347,01517,906,48702,277,376
12May 17, 2021 17:495,6011,387,972,31617,922,23602,281,472