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 listJun 8, 2024 21:03AndreyTSAndreyTSScore: 5,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:035,26942,299,40914,879,0001,983,0002,265,088
2Jun 8, 2024 21:035,27344,703,42914,888,0001,985,0002,265,088
3Jun 8, 2024 21:035,27638,561,42113,905,0002,979,0002,269,184
4Jun 8, 2024 21:035,27942,039,89614,907,0001,987,0002,273,280
5Jun 8, 2024 21:035,28447,977,87815,854,0001,056,0002,269,184
6Jun 8, 2024 21:035,28550,165,23614,922,0001,989,0002,289,664
7Jun 8, 2024 21:035,29342,687,63714,946,0001,992,0002,273,280
8Jun 8, 2024 21:035,30347,784,13314,974,0001,996,0002,351,104
9Jun 8, 2024 21:035,33234,544,20115,056,0002,007,0002,269,184
10Jun 8, 2024 21:035,48180,731,46617,539,40402,179,072
11Jun 8, 2024 21:035,50188,611,55117,603,27902,301,952
12Jun 8, 2024 21:035,51276,772,93817,639,39002,297,856