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:45CountHarebourgCountHarebourgScore: 5,898Success
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:455,88545,812,99516,849,0001,982,0002,289,664
2Nov 7, 2024 15:455,88946,877,93316,863,0001,983,0002,289,664
3Nov 7, 2024 15:455,89744,029,25216,885,0001,986,0002,269,184
4Nov 7, 2024 15:455,89850,344,47417,879,000993,0002,531,328
5Nov 7, 2024 15:455,89849,286,61216,889,0001,986,0002,273,280
6Nov 7, 2024 15:455,90039,569,94917,888,000993,0002,289,664
7Nov 7, 2024 15:455,90149,378,93916,896,0001,987,0002,273,280
8Nov 7, 2024 15:455,90347,637,29917,894,000994,0002,265,088
9Nov 7, 2024 15:455,90641,979,27216,910,0001,989,0002,289,664