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 6, 2024 23:40CountHarebourgCountHarebourgScore: 5,904Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 23:405,85047,265,90518,719,00002,289,664
2Nov 6, 2024 23:405,89447,924,12316,876,0001,985,0002,289,664
3Nov 6, 2024 23:405,89848,085,42216,886,0001,986,0002,289,664
4Nov 6, 2024 23:405,90142,436,99017,891,000993,0002,289,664
5Nov 6, 2024 23:405,90445,458,64416,904,0001,988,0002,289,664
6Nov 6, 2024 23:405,90452,716,73916,905,0001,988,0002,273,280
7Nov 6, 2024 23:405,90642,212,77617,904,000994,0002,289,664
8Nov 6, 2024 23:405,90749,719,86116,912,0001,989,0002,289,664
9Nov 6, 2024 23:405,92745,889,17017,967,000998,0002,289,664