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,435Success
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,38843,242,36815,213,0002,028,0002,441,216
2Jul 27, 2024 22:435,38843,031,34214,199,0003,042,0002,457,600
3Jul 27, 2024 22:435,38840,286,16617,243,00002,531,328
4Jul 27, 2024 22:435,39831,992,56216,257,0001,016,0002,269,184
5Jul 27, 2024 22:435,39839,163,54216,259,0001,016,0002,531,328
6Jul 27, 2024 22:435,41342,587,14817,320,00002,531,328
7Jul 27, 2024 22:435,43540,492,53917,393,00002,449,408
8Jul 27, 2024 22:435,44438,586,85717,420,00002,445,312
9Jul 27, 2024 22:435,46635,577,25116,462,0001,028,0002,531,328
10Jul 27, 2024 22:435,67797,098,85618,165,71102,211,840
11Jul 27, 2024 22:435,70665,877,63318,257,63502,199,552
12Jul 27, 2024 22:435,71059,874,95618,273,10802,207,744