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 28, 2024 06:29HuynhHuynhScore: 5,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 06:295,35832,517,12516,139,0001,008,0002,449,408
2Jul 28, 2024 06:295,37531,148,50815,177,0002,023,0002,269,184
3Jul 28, 2024 06:295,37838,883,06316,196,0001,012,0002,453,504
4Jul 28, 2024 06:295,38340,923,02816,212,0001,013,0002,527,232
5Jul 28, 2024 06:295,38833,209,84516,228,0001,014,0002,449,408
6Jul 28, 2024 06:295,39531,229,93617,265,00002,269,184
7Jul 28, 2024 06:295,39735,115,73617,270,00002,437,120
8Jul 28, 2024 06:295,39942,022,07317,277,00002,457,600
9Jul 28, 2024 06:295,40731,877,02717,302,00002,531,328
10Jul 28, 2024 06:295,68880,689,57718,200,04702,199,552
11Jul 28, 2024 06:295,69486,955,61118,220,02902,199,552
12Jul 28, 2024 06:295,70279,024,34718,246,17102,195,456