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 listApr 17, 2024 16:25Joad NacerJoad NacerScore: 5,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 16:255,38638,152,64715,208,0002,027,0002,285,568
2Apr 17, 2024 16:255,38939,262,25616,231,0001,014,0002,289,664
3Apr 17, 2024 16:255,40432,725,80415,260,0002,034,0002,289,664
4Apr 17, 2024 16:255,41742,694,21516,314,0001,019,0002,289,664
5Apr 17, 2024 16:255,43736,730,12815,352,0002,047,0002,273,280
6Apr 17, 2024 16:255,44036,599,47215,360,0002,048,0002,523,136
7Apr 17, 2024 16:255,45344,029,90816,423,0001,026,0002,527,232
8Apr 17, 2024 16:255,47040,739,55816,474,0001,029,0002,273,280
9Apr 17, 2024 16:255,47441,364,58116,486,0001,030,0002,289,664
10Apr 17, 2024 16:255,66387,586,96518,120,16802,297,856
11Apr 17, 2024 16:255,69298,884,16018,214,17002,179,072
12Apr 17, 2024 16:255,69789,564,09918,229,24702,301,952