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 13, 2024 18:57kytanskytansScore: 5,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 18:575,47839,907,47917,529,00002,269,184
2Jul 13, 2024 18:575,49138,388,94916,537,0001,033,0002,285,568
3Jul 13, 2024 18:575,51844,942,96616,620,0001,038,0002,273,280
4Jul 13, 2024 18:575,52037,125,28916,626,0001,039,0002,293,760
5Jul 13, 2024 18:575,53044,211,12216,656,0001,041,0002,273,280
6Jul 13, 2024 18:575,53736,319,20316,677,0001,042,0002,363,392
7Jul 13, 2024 18:575,53933,992,11816,683,0001,042,0002,269,184
8Jul 13, 2024 18:575,57536,155,13215,858,0001,982,0002,273,280
9Jul 13, 2024 18:575,58834,167,85316,887,000993,0002,293,760
10Jul 13, 2024 18:575,71491,762,73618,284,62702,183,168
11Jul 13, 2024 18:575,73087,062,52518,334,98602,301,952
12Jul 13, 2024 18:575,76292,437,80818,438,84702,179,072