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 08:27BenBenScore: 4,647Success
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 08:274,58740,276,39813,630,0001,048,0002,387,968
2Jul 28, 2024 08:274,60235,156,20213,675,0001,051,0002,387,968
3Jul 28, 2024 08:274,60831,505,27914,746,00002,506,752
4Jul 28, 2024 08:274,60932,284,43113,696,0001,053,0002,265,088
5Jul 28, 2024 08:274,64033,816,42012,868,0001,979,0002,392,064
6Jul 28, 2024 08:274,64233,592,06512,873,0001,980,0002,527,232
7Jul 28, 2024 08:274,64734,962,90214,871,00002,387,968
8Jul 28, 2024 08:274,64844,326,80213,882,000991,0002,387,968
9Jul 28, 2024 08:274,64931,379,01414,877,00002,265,088
10Jul 28, 2024 08:274,85086,822,80915,520,63002,240,512
11Jul 28, 2024 08:274,85560,243,02115,535,05802,289,664
12Jul 28, 2024 08:274,85780,966,67015,542,24202,285,568