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 19, 2024 10:17Matt StuchlikMatt StuchlikScore: 5,471Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 10:175,43541,987,50315,347,0002,046,0002,322,432
2Jul 19, 2024 10:175,43647,273,25415,348,0002,046,0002,322,432
3Jul 19, 2024 10:175,44642,310,20817,427,00002,334,720
4Jul 19, 2024 10:175,44642,191,80015,378,0002,050,0002,494,464
5Jul 19, 2024 10:175,46246,909,29216,449,0001,028,0002,326,528
6Jul 19, 2024 10:175,46734,424,88716,465,0001,029,0002,326,528
7Jul 19, 2024 10:175,47142,569,33916,477,0001,029,0002,322,432
8Jul 19, 2024 10:175,47443,300,74816,486,0001,030,0002,498,560
9Jul 19, 2024 10:175,47648,814,15816,492,0001,030,0002,334,720
10Jul 19, 2024 10:175,70768,520,77618,262,29802,224,128
11Jul 19, 2024 10:175,71081,001,52218,271,73702,228,224
12Jul 19, 2024 10:175,75887,894,40018,427,10802,220,032