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 19, 2021 19:43Yuriy LyfenkoYuriy LyfenkoScore: 6,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 19:436,278519,404,60820,088,58402,285,568
2May 19, 2021 19:436,2872,980,001,28520,116,82502,281,472
3May 19, 2021 19:436,2954,246,651,93520,142,45902,285,568
4May 19, 2021 19:436,2973,203,457,85120,149,95802,289,664
5May 19, 2021 19:436,2983,107,048,92020,153,61002,289,664
6May 19, 2021 19:436,3094,576,341,62620,190,08102,281,472
7May 19, 2021 19:436,311606,961,87020,195,71202,277,376
8May 19, 2021 19:436,3124,379,627,18820,199,73802,289,664
9May 19, 2021 19:436,324299,958,06520,235,92902,289,664
10May 19, 2021 19:436,3263,343,178,63320,243,58902,277,376
11May 19, 2021 19:436,3443,793,639,28420,301,59902,281,472
12May 19, 2021 19:436,3591,456,274,99420,348,02002,285,568