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 listNov 7, 2024 15:42CountHarebourgCountHarebourgScore: 5,903Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 15:425,83549,117,44417,634,0001,037,0002,269,184
2Nov 7, 2024 15:415,89246,061,68316,871,0001,984,0002,289,664
3Nov 7, 2024 15:415,89639,231,04217,874,000993,0002,269,184
4Nov 7, 2024 15:425,90043,980,85217,886,000993,0002,371,584
5Nov 7, 2024 15:425,90350,930,20916,903,0001,988,0002,289,664
6Nov 7, 2024 15:425,90744,465,23217,852,0001,050,0002,289,664
7Nov 7, 2024 15:425,90750,565,22117,909,000994,0002,289,664
8Nov 7, 2024 15:415,90942,706,81916,919,0001,990,0002,375,680
9Nov 7, 2024 15:425,93551,683,27816,993,0001,999,0002,277,376