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 9, 2024 17:02Casper BelierCasper BelierScore: 5,784Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 17:025,67676,080,99118,163,38802,306,048
2Aug 9, 2024 17:025,69792,623,58518,229,76102,297,856
3Aug 9, 2024 17:025,73294,948,06118,342,47702,183,168
4Aug 9, 2024 17:025,76833,633,40617,432,0001,025,0002,523,136
5Aug 9, 2024 17:025,77143,764,51217,441,0001,025,0002,289,664
6Aug 9, 2024 17:025,77642,565,14717,458,0001,026,0002,289,664
7Aug 9, 2024 17:025,78440,636,49617,482,0001,028,0002,289,664
8Aug 9, 2024 17:025,78843,363,27717,493,0001,029,0002,265,088
9Aug 9, 2024 17:025,79235,261,17617,504,0001,029,0002,527,232
10Aug 9, 2024 17:025,79739,880,60418,549,00002,285,568
11Aug 9, 2024 17:025,79735,868,89717,520,0001,030,0002,289,664
12Aug 9, 2024 17:025,79741,838,56918,551,00002,273,280