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 listJul 27, 2024 20:02HuynhHuynhScore: 5,609Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 20:025,58741,941,08015,893,0001,986,0002,527,232
2Jul 27, 2024 20:025,59937,003,75316,921,000995,0002,269,184
3Jul 27, 2024 20:025,59941,826,41115,926,0001,990,0002,424,832
4Jul 27, 2024 20:025,60438,934,03815,940,0001,992,0002,428,928
5Jul 27, 2024 20:025,60741,334,74714,953,0002,990,0002,531,328
6Jul 27, 2024 20:025,60946,148,03213,960,0003,988,0002,531,328
7Jul 27, 2024 20:025,60935,387,10016,951,000997,0002,424,832
8Jul 27, 2024 20:025,61136,631,91316,958,000997,0002,437,120
9Jul 27, 2024 20:025,61640,005,25615,974,0001,996,0002,433,024
10Jul 27, 2024 20:025,76178,979,92918,436,67402,179,072
11Jul 27, 2024 20:025,762110,723,27318,439,29402,179,072
12Jul 27, 2024 20:025,77481,891,84318,478,02002,183,168