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, 2024 16:29matsuoka-601matsuoka-601Score: 4,864Success
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, 2024 16:294,82337,465,25814,404,0001,028,0002,289,664
2Jan 15, 2024 16:294,82431,955,79814,408,0001,029,0002,269,184
3Jan 15, 2024 16:294,82541,407,88414,410,0001,029,0002,289,664
4Jan 15, 2024 16:294,83440,424,30014,439,0001,031,0002,527,232
5Jan 15, 2024 16:294,84535,485,63814,470,0001,033,0002,265,088
6Jan 15, 2024 16:294,86234,083,19714,521,0001,037,0002,265,088
7Jan 15, 2024 16:294,86434,233,99314,527,0001,037,0002,289,664
8Jan 15, 2024 16:294,88137,906,08414,579,0001,041,0002,273,280
9Jan 15, 2024 16:294,88531,319,81215,632,00002,289,664
10Jan 15, 2024 16:295,04574,572,98016,144,41102,301,952
11Jan 15, 2024 16:295,07577,373,03916,238,56202,301,952
12Jan 15, 2024 16:295,079102,059,60616,251,78402,174,976