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 25, 2021 05:03Yuriy LyfenkoYuriy LyfenkoScore: 5,308Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 05:035,27441,488,54314,891,0001,985,0002,396,160
2May 25, 2021 05:035,27641,573,19015,890,000993,0002,400,256
3May 25, 2021 05:035,27740,059,83016,886,00002,392,064
4May 25, 2021 05:035,27841,812,67315,898,000993,0002,392,064
5May 25, 2021 05:035,28937,330,91215,867,0001,057,0002,400,256
6May 25, 2021 05:035,29841,308,39514,959,0001,994,0002,265,088
7May 25, 2021 05:035,30841,279,33115,986,000999,0002,510,848
8May 25, 2021 05:035,31837,066,41915,017,0002,002,0002,269,184
9May 25, 2021 05:035,32247,180,63615,028,0002,003,0002,387,968
10May 25, 2021 05:035,46870,851,34517,496,99602,285,568
11May 25, 2021 05:035,48848,178,44417,561,53002,277,376
12May 25, 2021 05:035,54339,739,85317,736,32702,285,568