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 9, 2024 08:57AnSaAnSaScore: 5,590Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 08:575,57644,038,02615,862,0001,982,0002,277,376
2Jun 9, 2024 08:575,57844,542,47515,867,0001,983,0002,281,472
3Jun 9, 2024 08:575,57937,545,46015,869,0001,983,0002,281,472
4Jun 9, 2024 08:575,58345,517,14114,889,0002,977,0002,281,472
5Jun 9, 2024 08:575,58435,809,67916,876,000992,0002,281,472
6Jun 9, 2024 08:575,58744,940,90615,893,0001,986,0002,269,184
7Jun 9, 2024 08:575,59039,202,10815,900,0001,987,0002,400,256
8Jun 9, 2024 08:575,59244,790,63015,905,0001,988,0002,281,472
9Jun 9, 2024 08:575,60143,506,22615,933,0001,991,0002,273,280
10Jun 9, 2024 08:575,87897,683,35018,809,24702,301,952
11Jun 9, 2024 08:575,89687,107,68018,868,69202,183,168
12Jun 9, 2024 08:575,90089,158,44118,879,50002,297,856