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 24, 2025 19:32lukostlukostScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:465,21943,889,75615,658,0001,043,0002,449,408
2Apr 24, 2025 19:325,22541,109,07516,719,00002,445,312
3Apr 24, 2025 19:325,22645,257,05416,724,00002,453,504
4Apr 24, 2025 19:325,23341,088,41715,698,0001,046,0002,437,120
5Apr 24, 2025 19:465,26739,233,02315,862,000991,0002,531,328
6Apr 24, 2025 19:465,26845,509,20313,884,0002,975,0002,531,328
7Apr 24, 2025 19:465,27139,700,00615,875,000992,0002,531,328
8Apr 24, 2025 19:325,27341,415,79514,889,0001,985,0002,531,328
9Apr 24, 2025 19:465,27335,602,79715,883,000992,0002,441,216
10Apr 24, 2025 19:465,27342,545,11315,883,000992,0002,441,216
11Apr 24, 2025 19:465,27438,323,65215,885,000992,0002,445,312
12Apr 24, 2025 19:465,27445,709,51015,885,000992,0002,437,120
13Apr 24, 2025 19:465,27542,140,75615,887,000992,0002,531,328
14Apr 24, 2025 19:325,27646,049,86815,890,000993,0002,269,184
15Apr 24, 2025 19:325,27641,003,93414,897,0001,986,0002,531,328
16Apr 24, 2025 19:325,27944,028,59115,899,000993,0002,445,312
17Apr 24, 2025 19:325,27930,734,23514,906,0001,987,0002,531,328
18Apr 24, 2025 19:325,28143,351,94516,899,00002,441,216