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 20, 2023 14:27LukasLukasScore: 5,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2023 14:275,66740,739,78316,119,0002,014,0002,273,280
2Oct 20, 2023 14:275,68941,959,48516,182,0002,022,0002,269,184
3Oct 20, 2023 14:275,70040,685,76316,214,0002,026,0002,289,664
4Oct 20, 2023 14:275,71437,831,69616,253,0002,031,0002,285,568
5Oct 20, 2023 14:275,72437,207,49616,282,0002,035,0002,289,664
6Oct 20, 2023 14:275,73743,501,68816,319,0002,039,0002,289,664
7Oct 20, 2023 14:275,74739,889,38117,368,0001,021,0002,269,184
8Oct 20, 2023 14:275,75137,554,91817,382,0001,022,0002,265,088
9Oct 20, 2023 14:275,75434,024,23817,391,0001,023,0002,289,664
10Oct 20, 2023 14:276,09066,530,05719,488,72302,301,952
11Oct 20, 2023 14:276,14191,270,67319,651,36102,293,760
12Oct 20, 2023 14:276,14293,847,93819,655,90802,306,048