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 listAug 8, 2024 23:17Casper BelierCasper BelierScore: 5,895Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2024 23:175,65471,912,13018,091,75102,174,976
2Aug 8, 2024 23:175,66486,912,20518,125,98802,297,856
3Aug 8, 2024 23:175,70282,837,12118,245,16002,174,976
4Aug 8, 2024 23:175,89344,608,85316,874,0001,985,0002,289,664
5Aug 8, 2024 23:175,89441,570,28518,861,00002,269,184
6Aug 8, 2024 23:175,89445,455,88817,870,000992,0002,527,232
7Aug 8, 2024 23:175,89545,745,57316,880,0001,985,0002,289,664
8Aug 8, 2024 23:175,89651,830,84216,882,0001,986,0002,289,664
9Aug 8, 2024 23:175,89745,046,54016,883,0001,986,0002,523,136
10Aug 8, 2024 23:175,91145,356,62817,920,000995,0002,289,664
11Aug 8, 2024 23:175,91740,612,82316,941,0001,993,0002,289,664
12Aug 8, 2024 23:175,91741,731,85716,942,0001,993,0002,367,488