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 15, 2022 21:06korovakkorovakScore: 32,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2022 21:3132,074159,094,109102,636,35902,281,472
2Jan 15, 2022 21:3132,107170,792,004102,743,33202,285,568
3Jan 15, 2022 21:2232,139183,529,187102,844,05602,277,376
4Jan 15, 2022 21:2232,148166,043,959102,872,83502,285,568
5Jan 15, 2022 21:3132,170167,295,252102,943,33402,285,568
6Jan 15, 2022 21:0632,203167,645,884103,048,16802,281,472
7Jan 15, 2022 21:0632,212157,942,713103,077,66702,281,472
8Jan 15, 2022 21:0632,245170,373,633103,185,43502,277,376
9Jan 15, 2022 21:2232,291164,024,687103,330,00402,273,280