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 22:43HuynhHuynhScore: 5,370Success
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 22:435,33235,052,48217,062,00002,265,088
2Jul 27, 2024 22:435,33437,328,64415,061,0002,008,0002,449,408
3Jul 27, 2024 22:435,33439,926,66015,061,0002,008,0002,441,216
4Jul 27, 2024 22:435,35839,238,70616,137,0001,008,0002,445,312
5Jul 27, 2024 22:435,36237,830,71815,140,0002,018,0002,531,328
6Jul 27, 2024 22:435,36535,056,36915,149,0002,019,0002,269,184
7Jul 27, 2024 22:435,37039,796,85515,162,0002,021,0002,441,216
8Jul 27, 2024 22:435,37144,230,67316,176,0001,011,0002,445,312
9Jul 27, 2024 22:435,38038,076,65115,192,0002,025,0002,449,408
10Jul 27, 2024 22:435,64482,756,00418,060,76802,330,624
11Jul 27, 2024 22:435,66666,049,89618,131,82702,338,816
12Jul 27, 2024 22:435,67669,006,03318,163,54702,207,744